@mx-cartographer/experiences 7.0.35 → 7.0.37-alpha-recurring-transactions-divider-padding-ram1
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/{Account-DeMa6XJz.mjs → Account-9Tt9DsMn.mjs} +1 -1
- package/dist/{AccountDetailsContent-BwTOak3W.mjs → AccountDetailsContent-B5HMpGeJ.mjs} +8 -8
- package/dist/{AccountDetailsHeader-BCW4d-j4.mjs → AccountDetailsHeader-Bt8O2raZ.mjs} +5 -5
- package/dist/{AccountFields-B-igjxt-.mjs → AccountFields-DvACKQho.mjs} +2 -2
- package/dist/{AccountListItem-DAF9c7_x.mjs → AccountListItem-FmvNfEP8.mjs} +3 -3
- package/dist/{AccountStore-Bzy6rKGo.mjs → AccountStore-BKK7dA8Y.mjs} +2 -2
- package/dist/{Accounts-DNMSlq9A.mjs → Accounts-DR3xTyAx.mjs} +1 -1
- package/dist/{BudgetUtil-Iw9hUxhI.mjs → BudgetUtil-n3gEKIub.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-CMorcKFW.mjs → CategorySelectorDrawer-993LpETZ.mjs} +1 -1
- package/dist/{ConnectDrawer-jeSmGg38.mjs → ConnectDrawer-L1_xPNYt.mjs} +54 -55
- package/dist/{ConnectionsDrawer-hdOVHICr.mjs → ConnectionsDrawer-B-dZx6gH.mjs} +2 -2
- package/dist/{CurrencyInput-C0wTgNV6.mjs → CurrencyInput-pHmLzc_c.mjs} +1 -1
- package/dist/{DebtsStore-C2OfwE0t.mjs → DebtsStore-3kGPnxRQ.mjs} +1 -1
- package/dist/{ExportCsvAction-BlKpQTTL.mjs → ExportCsvAction-hsbyeBjg.mjs} +3 -3
- package/dist/{GoalStore-D2A2Lqd5.mjs → GoalStore-B_nwDz-L.mjs} +2 -2
- package/dist/{Help-DwKXfnqC.mjs → Help-PP2i0N9Y.mjs} +1 -1
- package/dist/{LineChart-DNC5UEt4.mjs → LineChart-CbOmpTDP.mjs} +1 -1
- package/dist/{ListItemAction-Dt9A2GQk.mjs → ListItemAction-DXyHyJn0.mjs} +1 -1
- package/dist/{ManageIncome-C0CbczlY.mjs → ManageIncome-BaZyK1CD.mjs} +4 -4
- package/dist/{MicroWidgetContainer-DVRe-MJs.mjs → MicroWidgetContainer-Dpu8VDSP.mjs} +1 -1
- package/dist/{MiniWidgetContainer-C_N1u9ad.mjs → MiniWidgetContainer-BhHaL8eb.mjs} +1 -1
- package/dist/{NetWorthStore-CD4WWdXC.mjs → NetWorthStore-fst-mYe9.mjs} +2 -2
- package/dist/{NotificationSettings-CtbJFbrv.mjs → NotificationSettings-zI5EGf1a.mjs} +68 -68
- package/dist/{OriginalBalanceAction-CqQ5j4OW.mjs → OriginalBalanceAction-DSA8sk5b.mjs} +3 -3
- package/dist/{RecurringSettings-DR9KuVEN.mjs → RecurringSettings-DHPyexin.mjs} +3 -3
- package/dist/{TransactionDetails-BafSm7_T.mjs → TransactionDetails-C-2UEbmQ.mjs} +5 -5
- package/dist/{TransactionStore-C4LPHwzx.mjs → TransactionStore-De9d82Ao.mjs} +2 -2
- package/dist/{TrendsStore-BM-JjAs5.mjs → TrendsStore-DWVFqEC-.mjs} +1 -1
- package/dist/{User-BYkzrOdM.mjs → User-BwjK6Fwz.mjs} +1 -1
- package/dist/{WidgetContainer-CPBhSP3k.mjs → WidgetContainer-ztkGgdIH.mjs} +97 -96
- package/dist/accounts/index.es.js +13 -13
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +7 -7
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/constants/Analytics.d.ts +1 -0
- package/dist/common/index.es.js +23 -23
- package/dist/dashboard/index.es.js +31 -31
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-21c0EV3t.mjs → exportTransactionsToCSV--LPpH3es.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +504 -505
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-BhSK6dal.mjs → hooks-BAAimqdq.mjs} +2 -2
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +306 -305
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/index.es.js +13 -13
- package/dist/trends/index.es.js +379 -367
- package/dist/{useInsightsEnabled-DqM4sFO1.mjs → useInsightsEnabled-BwLaOKWW.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as l, jsx as e, Fragment as B } from "react/jsx-runtime";
|
|
2
2
|
import f from "react";
|
|
3
3
|
import { observer as C } from "mobx-react-lite";
|
|
4
4
|
import v from "@mui/material/Divider";
|
|
@@ -15,11 +15,11 @@ import { DateCalendar as te } from "@mui/x-date-pickers/DateCalendar";
|
|
|
15
15
|
import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProvider";
|
|
16
16
|
import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
17
17
|
import { A as oe, T as F, a as P, N as y } from "./Notification-aGCHxikw.mjs";
|
|
18
|
-
import { u as D, r as T, o as A, c as se, f as ae,
|
|
19
|
-
import { b as
|
|
18
|
+
import { u as D, r as T, o as A, c as se, f as ae, l as W, a as le } from "./hooks-BAAimqdq.mjs";
|
|
19
|
+
import { b as ce } from "./Localization-2MODESHW.mjs";
|
|
20
20
|
import { b as re, f as de } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
21
21
|
import { a as M } from "./Dialog-CWW597AF.mjs";
|
|
22
|
-
import { C as me } from "./CurrencyInput-
|
|
22
|
+
import { C as me } from "./CurrencyInput-pHmLzc_c.mjs";
|
|
23
23
|
import { u as he } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
24
24
|
import { D as J } from "./Drawer-kEE73B87.mjs";
|
|
25
25
|
import _e from "@mui/material/Collapse";
|
|
@@ -30,16 +30,16 @@ import R from "@mui/material/Button";
|
|
|
30
30
|
import L from "@mui/material/TextField";
|
|
31
31
|
import { u as fe } from "./useDimensions-27p2evRx.mjs";
|
|
32
32
|
import X from "@mui/material/styles/useTheme";
|
|
33
|
-
import { u as ge } from "./useInsightsEnabled-
|
|
33
|
+
import { u as ge } from "./useInsightsEnabled-BwLaOKWW.mjs";
|
|
34
34
|
import { L as ye } from "./Loader-DUaFpDGv.mjs";
|
|
35
35
|
const be = C(() => {
|
|
36
|
-
const { common: n, settings: t } = D(), { sendEmailVerification: s } = T(), { user:
|
|
36
|
+
const { common: n, settings: t } = D(), { sendEmailVerification: s } = T(), { user: c } = A(), i = X(), [d, a] = f.useState(!1), o = () => {
|
|
37
37
|
a(!1);
|
|
38
38
|
}, h = () => {
|
|
39
39
|
a(!0);
|
|
40
40
|
};
|
|
41
|
-
return /* @__PURE__ */
|
|
42
|
-
/* @__PURE__ */
|
|
41
|
+
return /* @__PURE__ */ l(f.Fragment, { children: [
|
|
42
|
+
/* @__PURE__ */ l(R, { onClick: h, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
|
|
43
43
|
/* @__PURE__ */ e(x, { variant: "Small", children: t.verify_email }),
|
|
44
44
|
/* @__PURE__ */ e(w, {})
|
|
45
45
|
] }),
|
|
@@ -61,7 +61,7 @@ const be = C(() => {
|
|
|
61
61
|
justifyContent: "center"
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
|
-
children: /* @__PURE__ */
|
|
64
|
+
children: /* @__PURE__ */ l(m, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
|
|
65
65
|
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "Body", children: t.confirm_your_email }),
|
|
66
66
|
/* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.confirm_email }),
|
|
67
67
|
/* @__PURE__ */ e(
|
|
@@ -73,7 +73,7 @@ const be = C(() => {
|
|
|
73
73
|
p: "16px 32px"
|
|
74
74
|
},
|
|
75
75
|
variant: "H3",
|
|
76
|
-
children:
|
|
76
|
+
children: c.email
|
|
77
77
|
}
|
|
78
78
|
),
|
|
79
79
|
/* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.verification_notice_email })
|
|
@@ -83,7 +83,7 @@ const be = C(() => {
|
|
|
83
83
|
] });
|
|
84
84
|
}), xe = C(
|
|
85
85
|
({ handleClose: n, handleVerify: t, isOpen: s }) => {
|
|
86
|
-
const { common:
|
|
86
|
+
const { common: c, settings: i } = D(), [d, a] = f.useState("");
|
|
87
87
|
return /* @__PURE__ */ e(
|
|
88
88
|
M,
|
|
89
89
|
{
|
|
@@ -93,7 +93,7 @@ const be = C(() => {
|
|
|
93
93
|
onPrimaryAction: () => t(d),
|
|
94
94
|
onSecondaryAction: n,
|
|
95
95
|
primaryText: i.verify,
|
|
96
|
-
secondaryText:
|
|
96
|
+
secondaryText: c.cancel_button,
|
|
97
97
|
sx: {
|
|
98
98
|
"& .MuiDialogContent-root": { pt: 0, width: 400 },
|
|
99
99
|
"& .MuiToolbar-root:last-child": {
|
|
@@ -107,7 +107,7 @@ const be = C(() => {
|
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
109
|
), Ce = C(() => {
|
|
110
|
-
const { common: n, settings: t } = D(), { sendPhoneVerification: s, verifyPhoneToken:
|
|
110
|
+
const { common: n, settings: t } = D(), { sendPhoneVerification: s, verifyPhoneToken: c } = T(), { user: i } = A(), d = X(), [a, o] = f.useState(!1), [h, r] = f.useState(!1), _ = () => {
|
|
111
111
|
o(!1);
|
|
112
112
|
}, u = () => {
|
|
113
113
|
o(!0);
|
|
@@ -116,12 +116,12 @@ const be = C(() => {
|
|
|
116
116
|
r(!0);
|
|
117
117
|
});
|
|
118
118
|
}, p = (b) => {
|
|
119
|
-
|
|
119
|
+
c(b).finally(() => {
|
|
120
120
|
r(!1);
|
|
121
121
|
});
|
|
122
122
|
};
|
|
123
|
-
return /* @__PURE__ */
|
|
124
|
-
/* @__PURE__ */
|
|
123
|
+
return /* @__PURE__ */ l(f.Fragment, { children: [
|
|
124
|
+
/* @__PURE__ */ l(R, { onClick: u, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
|
|
125
125
|
/* @__PURE__ */ e(x, { variant: "Small", children: t.verify_phone }),
|
|
126
126
|
/* @__PURE__ */ e(w, {})
|
|
127
127
|
] }),
|
|
@@ -143,7 +143,7 @@ const be = C(() => {
|
|
|
143
143
|
justifyContent: "center"
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
|
-
children: /* @__PURE__ */
|
|
146
|
+
children: /* @__PURE__ */ l(m, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
|
|
147
147
|
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "Body", children: t.confirm_your_phone }),
|
|
148
148
|
/* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.confirm_phone }),
|
|
149
149
|
/* @__PURE__ */ e(
|
|
@@ -173,15 +173,15 @@ const be = C(() => {
|
|
|
173
173
|
] });
|
|
174
174
|
}), ve = C(
|
|
175
175
|
({ onProfileUpdated: n, profile: t }) => {
|
|
176
|
-
const { common: s, recurring:
|
|
176
|
+
const { common: s, recurring: c, settings: i } = D(), { updateAccount: d } = se(), a = t.notification_type === oe.DebtPaymentReminder, [o, h] = f.useState(!1), [r, _] = f.useState(t.threshold || 0), [u, g] = f.useState(
|
|
177
177
|
t.account?.day_payment_is_due || 0
|
|
178
|
-
), p = t.account?.name || t.account?.feed_name || "", b = t.account?.day_payment_is_due ?
|
|
178
|
+
), p = t.account?.name || t.account?.feed_name || "", b = t.account?.day_payment_is_due ? ce(
|
|
179
179
|
i.notification_debt_payment_date,
|
|
180
180
|
re(t.account?.day_payment_is_due)
|
|
181
181
|
) : i.notification_debt_payment_zero_state, S = a ? b : de(t.threshold ?? 0, "0,0"), I = async () => {
|
|
182
182
|
a && t.account ? await d({ ...t.account, day_payment_is_due: u }) : n({ ...t, threshold: r });
|
|
183
183
|
};
|
|
184
|
-
return /* @__PURE__ */
|
|
184
|
+
return /* @__PURE__ */ l(m, { children: [
|
|
185
185
|
/* @__PURE__ */ e(
|
|
186
186
|
F,
|
|
187
187
|
{
|
|
@@ -208,7 +208,7 @@ const be = C(() => {
|
|
|
208
208
|
M,
|
|
209
209
|
{
|
|
210
210
|
copy: {
|
|
211
|
-
title: a ?
|
|
211
|
+
title: a ? c.day_of_the_month : i.notification_threshold_label,
|
|
212
212
|
close_aria: s.close_aria
|
|
213
213
|
},
|
|
214
214
|
disablePrimaryButton: a && u === 0,
|
|
@@ -254,7 +254,7 @@ const be = C(() => {
|
|
|
254
254
|
}
|
|
255
255
|
), Te = C(
|
|
256
256
|
({ onUpdateProfile: n, profile: t }) => {
|
|
257
|
-
const { settings: s } = D(), { user:
|
|
257
|
+
const { settings: s } = D(), { user: c } = A(), { clientCommunicationProfile: i, userCommunicationsProfile: d } = T(), { isMobile: a } = he(), o = t.notification_type > 2, {
|
|
258
258
|
opted_out_of_email_notifications: h,
|
|
259
259
|
opted_out_of_push_notifications: r,
|
|
260
260
|
opted_out_of_sms_notifications: _
|
|
@@ -263,18 +263,18 @@ const be = C(() => {
|
|
|
263
263
|
push_notifications_enabled: g,
|
|
264
264
|
sms_notifications_enabled: p
|
|
265
265
|
} = i;
|
|
266
|
-
return /* @__PURE__ */
|
|
267
|
-
(u || p || g) && /* @__PURE__ */
|
|
266
|
+
return /* @__PURE__ */ l(m, { children: [
|
|
267
|
+
(u || p || g) && /* @__PURE__ */ l(B, { children: [
|
|
268
268
|
/* @__PURE__ */ e(x, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "caption", children: s.delivery_method_title }),
|
|
269
|
-
/* @__PURE__ */
|
|
269
|
+
/* @__PURE__ */ l(E, { sx: { bgcolor: "background.paper" }, children: [
|
|
270
270
|
u && /* @__PURE__ */ e(m, { sx: { pl: 24 }, children: /* @__PURE__ */ e(
|
|
271
271
|
P,
|
|
272
272
|
{
|
|
273
|
-
isChecked: !h && t.email_channel && !!
|
|
274
|
-
isDisabled: h || !
|
|
273
|
+
isChecked: !h && t.email_channel && !!c.email,
|
|
274
|
+
isDisabled: h || !c.email,
|
|
275
275
|
onToggle: () => n({ ...t, email_channel: !t.email_channel }),
|
|
276
276
|
primaryText: s.delivery_method_email_label,
|
|
277
|
-
secondaryText: h || !t.email_channel || !
|
|
277
|
+
secondaryText: h || !t.email_channel || !c.email ? s.notification_disabled : s.notification_enabled,
|
|
278
278
|
useExtraPadding: !1
|
|
279
279
|
}
|
|
280
280
|
) }),
|
|
@@ -282,11 +282,11 @@ const be = C(() => {
|
|
|
282
282
|
p && /* @__PURE__ */ e(m, { sx: { pl: 24 }, children: /* @__PURE__ */ e(
|
|
283
283
|
P,
|
|
284
284
|
{
|
|
285
|
-
isChecked: !_ && t.sms_channel && !!
|
|
286
|
-
isDisabled: _ || !
|
|
285
|
+
isChecked: !_ && t.sms_channel && !!c.phone,
|
|
286
|
+
isDisabled: _ || !c.phone,
|
|
287
287
|
onToggle: () => n({ ...t, sms_channel: !t.sms_channel }),
|
|
288
288
|
primaryText: `${s.delivery_method_sms_label}`,
|
|
289
|
-
secondaryText: _ || !t.sms_channel || !
|
|
289
|
+
secondaryText: _ || !t.sms_channel || !c.phone ? s.notification_disabled : s.notification_enabled,
|
|
290
290
|
useExtraPadding: !1
|
|
291
291
|
}
|
|
292
292
|
) }),
|
|
@@ -305,7 +305,7 @@ const be = C(() => {
|
|
|
305
305
|
/* @__PURE__ */ e(v, {})
|
|
306
306
|
] })
|
|
307
307
|
] }),
|
|
308
|
-
o && !!t.children?.length && /* @__PURE__ */
|
|
308
|
+
o && !!t.children?.length && /* @__PURE__ */ l(m, { children: [
|
|
309
309
|
/* @__PURE__ */ e(x, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "caption", children: s.accounts_threshold_title }),
|
|
310
310
|
/* @__PURE__ */ e(E, { sx: { bgcolor: "background.paper" }, children: t.children?.map((b) => /* @__PURE__ */ e(
|
|
311
311
|
ve,
|
|
@@ -319,7 +319,7 @@ const be = C(() => {
|
|
|
319
319
|
] });
|
|
320
320
|
}
|
|
321
321
|
), H = C(() => {
|
|
322
|
-
const { accountProfiles: n, updateNotificationProfile: t } = T(), [s,
|
|
322
|
+
const { accountProfiles: n, updateNotificationProfile: t } = T(), [s, c] = f.useState(""), i = f.useMemo(
|
|
323
323
|
() => n.find((o) => o.guid === s),
|
|
324
324
|
[n, s]
|
|
325
325
|
), d = async (o) => {
|
|
@@ -330,14 +330,14 @@ const be = C(() => {
|
|
|
330
330
|
}, a = async (o) => {
|
|
331
331
|
await t(o);
|
|
332
332
|
};
|
|
333
|
-
return /* @__PURE__ */
|
|
333
|
+
return /* @__PURE__ */ l(m, { sx: { backgroundColor: "background.paper" }, children: [
|
|
334
334
|
n.filter((o) => o.children && o.children.length > 0).map((o) => /* @__PURE__ */ e(
|
|
335
335
|
F,
|
|
336
336
|
{
|
|
337
337
|
endIcon: /* @__PURE__ */ e(w, {}),
|
|
338
338
|
isChecked: o.is_enabled,
|
|
339
339
|
isDisabled: !o.is_enabled,
|
|
340
|
-
onClick: () =>
|
|
340
|
+
onClick: () => c(o.guid),
|
|
341
341
|
onToggle: () => d(o),
|
|
342
342
|
primaryText: o.label,
|
|
343
343
|
secondaryText: o.is_enabled ? o.deliveryMethodsLabel : void 0
|
|
@@ -348,7 +348,7 @@ const be = C(() => {
|
|
|
348
348
|
J,
|
|
349
349
|
{
|
|
350
350
|
isOpen: !!i,
|
|
351
|
-
onClose: () =>
|
|
351
|
+
onClose: () => c(""),
|
|
352
352
|
title: i ? i.label : "",
|
|
353
353
|
children: i && /* @__PURE__ */ e(
|
|
354
354
|
Te,
|
|
@@ -364,7 +364,7 @@ const be = C(() => {
|
|
|
364
364
|
const { settings: t } = D(), {
|
|
365
365
|
clientCommunicationProfile: {
|
|
366
366
|
email_notifications_enabled: s,
|
|
367
|
-
push_notifications_enabled:
|
|
367
|
+
push_notifications_enabled: c,
|
|
368
368
|
sms_notifications_enabled: i
|
|
369
369
|
},
|
|
370
370
|
updateNotificationProfile: d,
|
|
@@ -377,8 +377,8 @@ const be = C(() => {
|
|
|
377
377
|
await p({ ...n, is_enabled: !n.is_enabled }), n.is_enabled && u(!1);
|
|
378
378
|
}, p = async (S) => {
|
|
379
379
|
await d(S);
|
|
380
|
-
}, b = s || i ||
|
|
381
|
-
return /* @__PURE__ */
|
|
380
|
+
}, b = s || i || c;
|
|
381
|
+
return /* @__PURE__ */ l(E, { sx: { bgcolor: "background.paper" }, children: [
|
|
382
382
|
/* @__PURE__ */ e(
|
|
383
383
|
F,
|
|
384
384
|
{
|
|
@@ -400,7 +400,7 @@ const be = C(() => {
|
|
|
400
400
|
},
|
|
401
401
|
n.guid
|
|
402
402
|
),
|
|
403
|
-
b && /* @__PURE__ */ e(_e, { in: _, children: /* @__PURE__ */
|
|
403
|
+
b && /* @__PURE__ */ e(_e, { in: _, children: /* @__PURE__ */ l(E, { sx: { bgcolor: "background.paper" }, children: [
|
|
404
404
|
s && /* @__PURE__ */ e(
|
|
405
405
|
P,
|
|
406
406
|
{
|
|
@@ -413,7 +413,7 @@ const be = C(() => {
|
|
|
413
413
|
primaryText: t.delivery_method_email_label
|
|
414
414
|
}
|
|
415
415
|
),
|
|
416
|
-
s && (i ||
|
|
416
|
+
s && (i || c) && /* @__PURE__ */ e(v, { sx: { ml: 48 } }),
|
|
417
417
|
i && /* @__PURE__ */ e(
|
|
418
418
|
P,
|
|
419
419
|
{
|
|
@@ -426,8 +426,8 @@ const be = C(() => {
|
|
|
426
426
|
primaryText: t.delivery_method_sms_label
|
|
427
427
|
}
|
|
428
428
|
),
|
|
429
|
-
i &&
|
|
430
|
-
|
|
429
|
+
i && c && /* @__PURE__ */ e(v, { sx: { ml: 48 } }),
|
|
430
|
+
c && /* @__PURE__ */ e(
|
|
431
431
|
P,
|
|
432
432
|
{
|
|
433
433
|
isChecked: !o && n.push_channel,
|
|
@@ -448,7 +448,7 @@ const be = C(() => {
|
|
|
448
448
|
}), Pe = C(() => {
|
|
449
449
|
const { onEvent: n } = ae(), { settings: t } = D(), {
|
|
450
450
|
clientCommunicationProfile: s,
|
|
451
|
-
updateUserCommunicationProfile:
|
|
451
|
+
updateUserCommunicationProfile: c,
|
|
452
452
|
userCommunicationsProfile: i
|
|
453
453
|
} = T(), { user: d } = A(), a = async (o, h) => {
|
|
454
454
|
const r = { ...i, [o]: h };
|
|
@@ -456,11 +456,11 @@ const be = C(() => {
|
|
|
456
456
|
const u = o.split("_")[3];
|
|
457
457
|
h === !1 ? n("opt_in_notification_method", { notificationType: u }) : n("opt_out_notification_method", { notificationType: u });
|
|
458
458
|
}
|
|
459
|
-
await
|
|
459
|
+
await c(r);
|
|
460
460
|
};
|
|
461
|
-
return /* @__PURE__ */
|
|
461
|
+
return /* @__PURE__ */ l(m, { children: [
|
|
462
462
|
/* @__PURE__ */ e(U, { sx: { mt: 24 }, children: t.delivery_method_title }),
|
|
463
|
-
s.email_notifications_enabled && /* @__PURE__ */
|
|
463
|
+
s.email_notifications_enabled && /* @__PURE__ */ l(B, { children: [
|
|
464
464
|
/* @__PURE__ */ e(
|
|
465
465
|
P,
|
|
466
466
|
{
|
|
@@ -477,7 +477,7 @@ const be = C(() => {
|
|
|
477
477
|
),
|
|
478
478
|
(s.sms_notifications_enabled || s.push_notifications_enabled) && /* @__PURE__ */ e(v, {})
|
|
479
479
|
] }),
|
|
480
|
-
s.sms_notifications_enabled && /* @__PURE__ */
|
|
480
|
+
s.sms_notifications_enabled && /* @__PURE__ */ l(B, { children: [
|
|
481
481
|
/* @__PURE__ */ e(
|
|
482
482
|
P,
|
|
483
483
|
{
|
|
@@ -503,7 +503,7 @@ const be = C(() => {
|
|
|
503
503
|
useExtraPadding: !1
|
|
504
504
|
}
|
|
505
505
|
),
|
|
506
|
-
s.sms_notifications_enabled && /* @__PURE__ */ e(ue, { sx: { backgroundColor: "background.default", mt: 12 }, variant: "outlined", children: /* @__PURE__ */ e(pe, { children: /* @__PURE__ */
|
|
506
|
+
s.sms_notifications_enabled && /* @__PURE__ */ e(ue, { sx: { backgroundColor: "background.default", mt: 12 }, variant: "outlined", children: /* @__PURE__ */ e(pe, { children: /* @__PURE__ */ l(m, { alignItems: "flex-start", direction: "row", gap: 6, children: [
|
|
507
507
|
/* @__PURE__ */ e(Q, { color: "primary", filled: !0 }),
|
|
508
508
|
/* @__PURE__ */ e(x, { sx: { whiteSpace: "wrap" }, variant: "XSmall", children: t.delivery_method_sms_note_1 })
|
|
509
509
|
] }) }) })
|
|
@@ -512,7 +512,7 @@ const be = C(() => {
|
|
|
512
512
|
const { insightsProfiles: n } = T();
|
|
513
513
|
return /* @__PURE__ */ e(m, { children: n.map((t) => /* @__PURE__ */ e(q, { profile: t }, t.guid)) });
|
|
514
514
|
}), De = () => {
|
|
515
|
-
const { config: n } = W(), [t, { width: s }] = fe(), { common:
|
|
515
|
+
const { config: n } = W(), [t, { width: s }] = fe(), { common: c, settings: i } = D(), { updateUser: d } = T(), { user: a } = A(), [o, h] = f.useState(!1), [r, _] = f.useState({
|
|
516
516
|
email: a.email,
|
|
517
517
|
phone: a.phone
|
|
518
518
|
}), u = r.email && !a.email_is_verified && !o, g = r.phone && !a.phone_is_verified && !o, p = (S) => {
|
|
@@ -521,12 +521,12 @@ const be = C(() => {
|
|
|
521
521
|
}, b = async () => {
|
|
522
522
|
await d({ ...a, ...r }), h(!1);
|
|
523
523
|
};
|
|
524
|
-
return /* @__PURE__ */
|
|
524
|
+
return /* @__PURE__ */ l(m, { ref: t, children: [
|
|
525
525
|
/* @__PURE__ */ e(v, {}),
|
|
526
|
-
/* @__PURE__ */
|
|
526
|
+
/* @__PURE__ */ l(m, { sx: { pt: 12 }, children: [
|
|
527
527
|
/* @__PURE__ */ e(U, { sx: { lineHeight: "20px", pb: 4, pt: 16 }, children: i.personal_details }),
|
|
528
|
-
/* @__PURE__ */
|
|
529
|
-
n.display_email_edit_field_in_settings && /* @__PURE__ */
|
|
528
|
+
/* @__PURE__ */ l(m, { sx: { flexDirection: s <= 768 ? "column" : "row", gap: 24, py: 16 }, children: [
|
|
529
|
+
n.display_email_edit_field_in_settings && /* @__PURE__ */ l(m, { sx: { flex: 1, pb: 14 }, children: [
|
|
530
530
|
/* @__PURE__ */ e(
|
|
531
531
|
L,
|
|
532
532
|
{
|
|
@@ -553,7 +553,7 @@ const be = C(() => {
|
|
|
553
553
|
}
|
|
554
554
|
)
|
|
555
555
|
] }),
|
|
556
|
-
n.display_sms_edit_field_in_settings && /* @__PURE__ */
|
|
556
|
+
n.display_sms_edit_field_in_settings && /* @__PURE__ */ l(m, { sx: { flex: 1, pb: 14 }, children: [
|
|
557
557
|
/* @__PURE__ */ e(
|
|
558
558
|
L,
|
|
559
559
|
{
|
|
@@ -588,18 +588,18 @@ const be = C(() => {
|
|
|
588
588
|
onClick: b,
|
|
589
589
|
sx: { width: 84 },
|
|
590
590
|
variant: "contained",
|
|
591
|
-
children:
|
|
591
|
+
children: c.save_button
|
|
592
592
|
}
|
|
593
593
|
)
|
|
594
594
|
] })
|
|
595
595
|
] });
|
|
596
|
-
}, Se = C(De),
|
|
596
|
+
}, Se = C(De), lt = C(
|
|
597
597
|
({
|
|
598
598
|
notificationTypes: n = [y.Accounts, y.Budgets],
|
|
599
599
|
showPersonalDetails: t = !1,
|
|
600
600
|
view: s
|
|
601
601
|
}) => {
|
|
602
|
-
const { config:
|
|
602
|
+
const { config: c } = W(), { settings: i } = D(), { isInitialized: d } = le(), { clientCommunicationProfile: a, loadNotificationProfiles: o } = T(), h = ge(), [r, _] = f.useState(
|
|
603
603
|
void 0
|
|
604
604
|
);
|
|
605
605
|
if (n.length > 0 && h && n.push(y.Insights), f.useEffect(() => {
|
|
@@ -619,25 +619,25 @@ const be = C(() => {
|
|
|
619
619
|
return /* @__PURE__ */ e(z, {});
|
|
620
620
|
if (s === "insights")
|
|
621
621
|
return /* @__PURE__ */ e($, {});
|
|
622
|
-
const I =
|
|
623
|
-
return /* @__PURE__ */
|
|
624
|
-
/* @__PURE__ */
|
|
625
|
-
S && /* @__PURE__ */
|
|
622
|
+
const I = c.display_email_edit_field_in_settings || c.display_sms_edit_field_in_settings, k = t && a.can_edit_contact_info && I;
|
|
623
|
+
return /* @__PURE__ */ l(m, { sx: { pt: S ? 0 : 24 }, children: [
|
|
624
|
+
/* @__PURE__ */ l(m, { sx: { px: 24 }, children: [
|
|
625
|
+
S && /* @__PURE__ */ l(B, { children: [
|
|
626
626
|
/* @__PURE__ */ e(Pe, {}),
|
|
627
627
|
/* @__PURE__ */ e(v, { sx: { my: 24 } })
|
|
628
628
|
] }),
|
|
629
629
|
/* @__PURE__ */ e(U, { sx: { mb: 4 }, children: i.notification_types_title })
|
|
630
630
|
] }),
|
|
631
|
-
/* @__PURE__ */
|
|
632
|
-
n.includes(y.Accounts) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */
|
|
631
|
+
/* @__PURE__ */ l(E, { children: [
|
|
632
|
+
n.includes(y.Accounts) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => _(y.Accounts), children: [
|
|
633
633
|
/* @__PURE__ */ e(N, { primary: i.accounts_title, secondary: i.accounts_subtitle }),
|
|
634
634
|
/* @__PURE__ */ e(w, {})
|
|
635
635
|
] }) }),
|
|
636
|
-
n.includes(y.Budgets) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */
|
|
636
|
+
n.includes(y.Budgets) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => _(y.Budgets), children: [
|
|
637
637
|
/* @__PURE__ */ e(N, { primary: i.budgets_title, secondary: i.budgets_subtitle }),
|
|
638
638
|
/* @__PURE__ */ e(w, {})
|
|
639
639
|
] }) }),
|
|
640
|
-
n.includes(y.Insights) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */
|
|
640
|
+
n.includes(y.Insights) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => _(y.Insights), children: [
|
|
641
641
|
/* @__PURE__ */ e(N, { primary: i.insights_title, secondary: i.insights_subtitle }),
|
|
642
642
|
/* @__PURE__ */ e(w, {})
|
|
643
643
|
] }) })
|
|
@@ -649,7 +649,7 @@ const be = C(() => {
|
|
|
649
649
|
isOpen: !!r,
|
|
650
650
|
onClose: () => _(void 0),
|
|
651
651
|
title: u,
|
|
652
|
-
children: /* @__PURE__ */
|
|
652
|
+
children: /* @__PURE__ */ l(m, { children: [
|
|
653
653
|
r === y.Accounts && /* @__PURE__ */ e(H, {}),
|
|
654
654
|
r === y.Budgets && /* @__PURE__ */ e(z, {}),
|
|
655
655
|
r === y.Insights && /* @__PURE__ */ e($, {})
|
|
@@ -663,7 +663,7 @@ export {
|
|
|
663
663
|
H as A,
|
|
664
664
|
z as B,
|
|
665
665
|
$ as I,
|
|
666
|
-
|
|
666
|
+
lt as N,
|
|
667
667
|
be as V,
|
|
668
668
|
Ce as a
|
|
669
669
|
};
|
|
@@ -2,10 +2,10 @@ import { jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import _ from "react";
|
|
3
3
|
import { observer as p } from "mobx-react-lite";
|
|
4
4
|
import v from "@mui/material/TextField";
|
|
5
|
-
import { L as y } from "./ListItemAction-
|
|
6
|
-
import { u as h, k as b } from "./hooks-
|
|
5
|
+
import { L as y } from "./ListItemAction-DXyHyJn0.mjs";
|
|
6
|
+
import { u as h, k as b } from "./hooks-BAAimqdq.mjs";
|
|
7
7
|
import { a as T, f as S } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
8
|
+
import { C as f } from "./CurrencyInput-pHmLzc_c.mjs";
|
|
9
9
|
const F = p(({ goal: e }) => {
|
|
10
10
|
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
|
|
11
11
|
const n = { ...e, interest_rate: t };
|
|
@@ -7,10 +7,10 @@ import R from "@mui/material/Tabs";
|
|
|
7
7
|
import l from "@mui/material/Divider";
|
|
8
8
|
import T from "@mui/material/List";
|
|
9
9
|
import C from "@mui/material/Stack";
|
|
10
|
-
import { R as x, A as S, a as E, M as A } from "./ManageIncome-
|
|
11
|
-
import { u as h, i as y, f as _ } from "./hooks-
|
|
10
|
+
import { R as x, A as S, a as E, M as A } from "./ManageIncome-BaZyK1CD.mjs";
|
|
11
|
+
import { u as h, i as y, f as _ } from "./hooks-BAAimqdq.mjs";
|
|
12
12
|
import { R as v, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
|
|
13
|
-
import { A as d } from "./WidgetContainer-
|
|
13
|
+
import { A as d } from "./WidgetContainer-ztkGgdIH.mjs";
|
|
14
14
|
const I = u(() => {
|
|
15
15
|
const { recurring: r } = h(), { repeatingTransactions: s } = y(), { onEvent: o } = _(), a = (n) => {
|
|
16
16
|
o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|
|
@@ -9,15 +9,15 @@ import { MerchantLogo as pe, Icon as S, Text as T, useTokens as ee, CategoryIcon
|
|
|
9
9
|
import B from "@mui/material/ListItemAvatar";
|
|
10
10
|
import M from "@mui/material/ListItemText";
|
|
11
11
|
import f from "@mui/material/Stack";
|
|
12
|
-
import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-
|
|
13
|
-
import { G as Be, g as v, u as A, f as L,
|
|
12
|
+
import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-BwjK6Fwz.mjs";
|
|
13
|
+
import { G as Be, g as v, u as A, f as L, m as xe, a as Fe, o as He } from "./hooks-BAAimqdq.mjs";
|
|
14
14
|
import { f as te } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
15
15
|
import { Receipt as ze, Delete as oe, ChevronRight as Ue, Cancel as ie, Search as Xe, Edit as Ve, Flag as We } from "@mxenabled/mx-icons";
|
|
16
16
|
import { fromUnixTime as W } from "date-fns/fromUnixTime";
|
|
17
17
|
import { isSameDay as Ne } from "date-fns/isSameDay";
|
|
18
18
|
import { h as Ye } from "./DateUtil-BcuH7ErC.mjs";
|
|
19
19
|
import { L as Ie } from "./Loader-DUaFpDGv.mjs";
|
|
20
|
-
import { A as P } from "./WidgetContainer-
|
|
20
|
+
import { A as P } from "./WidgetContainer-ztkGgdIH.mjs";
|
|
21
21
|
import ne from "@mui/material/Paper";
|
|
22
22
|
import ce from "@mui/material/Button";
|
|
23
23
|
import je from "@mui/material/FormGroup";
|
|
@@ -30,14 +30,14 @@ import F from "@mui/material/ListItem";
|
|
|
30
30
|
import { a as V, f as Ee, D as Oe } from "./Dialog-CWW597AF.mjs";
|
|
31
31
|
import U from "@mui/material/ListItemButton";
|
|
32
32
|
import X from "@mui/material/ListItemIcon";
|
|
33
|
-
import { a as we } from "./CategorySelectorDrawer-
|
|
33
|
+
import { a as we } from "./CategorySelectorDrawer-993LpETZ.mjs";
|
|
34
34
|
import { b as se } from "./Localization-2MODESHW.mjs";
|
|
35
35
|
import { getUnixTime as Ze } from "date-fns/getUnixTime";
|
|
36
36
|
import { D as de } from "./Drawer-kEE73B87.mjs";
|
|
37
37
|
import ye from "@mui/material/InputAdornment";
|
|
38
38
|
import Je from "@mui/material/Checkbox";
|
|
39
39
|
import ge from "@mui/material/Grid";
|
|
40
|
-
import { C as Qe } from "./CurrencyInput-
|
|
40
|
+
import { C as Qe } from "./CurrencyInput-pHmLzc_c.mjs";
|
|
41
41
|
import et from "@mui/material/Switch";
|
|
42
42
|
var q = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(q || {}), re = /* @__PURE__ */ ((t) => (t[t.SplitTransaction = 0] = "SplitTransaction", t[t.HideTransaction = 1] = "HideTransaction", t[t.MerchantLogo = 2] = "MerchantLogo", t))(re || {});
|
|
43
43
|
const tt = [
|
|
@@ -13,10 +13,10 @@ import { isBefore as B } from "date-fns/isBefore";
|
|
|
13
13
|
import { startOfMonth as R } from "date-fns/startOfMonth";
|
|
14
14
|
import { startOfToday as G } from "date-fns/startOfToday";
|
|
15
15
|
import { subDays as Y } from "date-fns/subDays";
|
|
16
|
-
import { O as n, a as b, T as F } from "./User-
|
|
16
|
+
import { O as n, a as b, T as F } from "./User-BwjK6Fwz.mjs";
|
|
17
17
|
import { T as p } from "./TransactionApi-B3Tksf7L.mjs";
|
|
18
18
|
import { b as W } from "./Category-CevNQ03n.mjs";
|
|
19
|
-
import { f as z } from "./exportTransactionsToCSV
|
|
19
|
+
import { f as z } from "./exportTransactionsToCSV--LPpH3es.mjs";
|
|
20
20
|
import { format as k } from "date-fns/format";
|
|
21
21
|
import { f as g, D as O, O as $ } from "./Dialog-CWW597AF.mjs";
|
|
22
22
|
import { endOfMonth as X } from "date-fns/endOfMonth";
|
|
@@ -12,7 +12,7 @@ import Dt from "@mui/material/CardContent";
|
|
|
12
12
|
import P from "@mui/material/Divider";
|
|
13
13
|
import X from "@mui/material/Grid";
|
|
14
14
|
import { CategoryIcon as At, Text as S } from "@mxenabled/mxui";
|
|
15
|
-
import { u as Lt,
|
|
15
|
+
import { u as Lt, m as Q } from "./hooks-BAAimqdq.mjs";
|
|
16
16
|
import { b as Rt } from "./Localization-2MODESHW.mjs";
|
|
17
17
|
import { C as O } from "./CurrencyText-YUhH2caW.mjs";
|
|
18
18
|
import { useTheme as wt, Card as Ht, CardContent as It, Box as kt } from "@mui/material";
|
|
@@ -22,7 +22,7 @@ import { isWithinInterval as Q } from "date-fns/isWithinInterval";
|
|
|
22
22
|
import nn from "@mui/material/styles/useTheme";
|
|
23
23
|
import k from "@mui/material/ListItem";
|
|
24
24
|
import an from "@mui/material/ListItemButton";
|
|
25
|
-
import { f as tn } from "./hooks-
|
|
25
|
+
import { f as tn } from "./hooks-BAAimqdq.mjs";
|
|
26
26
|
const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
|
|
27
27
|
const c = v(), l = en(c);
|
|
28
28
|
return /* @__PURE__ */ h("div", { className: `mx-cmn-calendar-header ${l}`, children: [
|