@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.sms2
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/dist/{Account-B4CDD-zq.mjs → Account-Cp30A3ad.mjs} +1 -1
- package/dist/AccountDetailsContent-C1HumFnW.mjs +683 -0
- package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-NMx79DGs.mjs} +17 -17
- package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-CW6cIthP.mjs} +8 -8
- package/dist/AccountListItem-DxmAs98Z.mjs +90 -0
- package/dist/{AccountStore-HbVblv86.mjs → AccountStore-hIs-yA6W.mjs} +3 -3
- package/dist/{Accounts-CRUehOiy.mjs → Accounts-DUHkUyK4.mjs} +1 -1
- package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-CIDAPPPT.mjs} +30 -30
- package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-naOtJcwo.mjs} +22 -15
- package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqDAA_5I.mjs} +26 -26
- package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-Dn1MlqLz.mjs} +60 -61
- package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-CSo6AFkG.mjs} +2 -2
- package/dist/CurrencyInput-BrGvhgVK.mjs +85 -0
- package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-hi1cqrRk.mjs} +3 -3
- package/dist/{Drawer-BF40nbsH.mjs → Drawer-Dqe5EqvA.mjs} +6 -6
- package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-CQ1grpwo.mjs} +3 -3
- package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-dKZOZ2hM.mjs} +3 -3
- package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-CFeAJloA.mjs} +3 -3
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/{Help-DBfsTkAi.mjs → Help-i4OasOO-.mjs} +176 -158
- package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
- package/dist/Loader-BSWSYqvn.mjs +24 -0
- package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-D_qVX5dN.mjs} +44 -44
- package/dist/{MiniWidgetContainer-CKzf_Ira.mjs → MiniWidgetContainer-D7MkHG15.mjs} +12 -12
- package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-8FFC1Bs0.mjs} +2 -2
- package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-BsWiYD94.mjs} +67 -67
- package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-62e0mU_3.mjs} +7 -7
- package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-RfZ8Wuhh.mjs} +3 -3
- package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-Bhx56aA3.mjs} +76 -76
- package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-D3EOKZ2B.mjs} +1 -1
- package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-C6KH8JH4.mjs} +1 -1
- package/dist/SearchBox-B2_zLv8-.mjs +42 -0
- package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +1 -1
- package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CZzDb-7d.mjs} +10 -10
- package/dist/TransactionDetails-Duv1X9ec.mjs +1379 -0
- package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-DgLrYW4C.mjs} +3 -3
- package/dist/{User-BklmOUSd.mjs → User-DqNX2GAK.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-CH9E-jOx.mjs} +178 -177
- package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-B1Jzb4XA.mjs} +6 -6
- package/dist/accounts/index.es.js +45 -45
- package/dist/analytics/index.es.js +22 -22
- package/dist/budgets/index.es.js +266 -265
- package/dist/cashflow/index.es.js +155 -154
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/Loader.d.ts +2 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/barchart/Bar.d.ts +25 -0
- package/dist/common/components/barchart/BarChart.d.ts +34 -0
- package/dist/common/components/barchart/BarColumn.d.ts +37 -0
- package/dist/common/components/barchart/Legend.d.ts +8 -0
- package/dist/common/components/barchart/Util.d.ts +42 -0
- package/dist/common/components/barchart/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/index.es.js +659 -394
- package/dist/common/utils/Theme.d.ts +3 -1
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/components/DebtsChart.d.ts +2 -1
- package/dist/debts/index.es.js +438 -438
- package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-BFpuIAXW.mjs} +1 -1
- package/dist/finstrong/index.es.js +113 -113
- package/dist/goals/index.es.js +379 -385
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/index.es.js +3 -3
- package/dist/investments/index.es.js +279 -278
- package/dist/merchants/index.es.js +16 -16
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -3
- package/dist/networth/index.es.js +185 -191
- package/dist/notifications/index.es.js +29 -29
- package/dist/recurringtransactions/index.es.js +82 -82
- package/dist/settings/index.es.js +254 -254
- package/dist/spending/index.es.js +43 -43
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
- package/dist/transactions/index.es.js +150 -149
- package/dist/trends/index.es.js +297 -296
- package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-usSZCQ7I.mjs} +1 -1
- package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
- package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/package.json +30 -30
- package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
- package/dist/AccountListItem-wgmlex-_.mjs +0 -90
- package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
- package/dist/Loader-Ckqi9Rx6.mjs +0 -21
- package/dist/SearchBox-B7km148n.mjs +0 -39
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as l, jsx as e, Fragment as
|
|
1
|
+
import { jsxs as l, jsx as e, Fragment as M } from "react/jsx-runtime";
|
|
2
2
|
import g from "react";
|
|
3
3
|
import { observer as C } from "mobx-react-lite";
|
|
4
4
|
import v from "@mui/material/Divider";
|
|
@@ -7,7 +7,7 @@ import O from "@mui/material/ListItem";
|
|
|
7
7
|
import L from "@mui/material/ListItemText";
|
|
8
8
|
import V from "@mui/material/ListItemButton";
|
|
9
9
|
import m from "@mui/material/Stack";
|
|
10
|
-
import { ChevronRight as
|
|
10
|
+
import { ChevronRight as w, ExpandMore as K, Star as Q } from "@mxenabled/mx-icons";
|
|
11
11
|
import { Text as x, InstitutionLogo as Y, H3 as F } from "@mxenabled/mxui";
|
|
12
12
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
13
13
|
import { startOfMonth as ee } from "date-fns/startOfMonth";
|
|
@@ -16,12 +16,12 @@ import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProv
|
|
|
16
16
|
import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
17
17
|
import { A as oe, T as R, a as P, N as y } from "./ToggleListItem-ciFTiqRS.mjs";
|
|
18
18
|
import { D as N } from "./Dialog-CDV0kKxj.mjs";
|
|
19
|
-
import { C as se } from "./CurrencyInput-
|
|
19
|
+
import { C as se } from "./CurrencyInput-BrGvhgVK.mjs";
|
|
20
20
|
import { u as D, s as T, p as I, d as ae, g as ce, a as W, n as le, b as re } from "./hooks-C41HAxM5.mjs";
|
|
21
21
|
import { b as de } from "./Localization-2MODESHW.mjs";
|
|
22
22
|
import { b as me, f as he } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
23
|
-
import { u as _e } from "./useScreenSize-
|
|
24
|
-
import { D as J } from "./Drawer-
|
|
23
|
+
import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
24
|
+
import { D as J } from "./Drawer-Dqe5EqvA.mjs";
|
|
25
25
|
import ue from "@mui/material/Collapse";
|
|
26
26
|
import pe from "@mui/material/Card";
|
|
27
27
|
import fe from "@mui/material/CardContent";
|
|
@@ -29,19 +29,19 @@ import G from "@mui/material/Box";
|
|
|
29
29
|
import j from "@mui/material/Button";
|
|
30
30
|
import U from "@mui/material/TextField";
|
|
31
31
|
import { u as ge } from "./useDimensions-27p2evRx.mjs";
|
|
32
|
-
import
|
|
32
|
+
import X from "@mui/material/styles/useTheme";
|
|
33
33
|
import { u as ye } from "./useInsightsEnabled-CNjP5cfR.mjs";
|
|
34
|
-
import { L as be } from "./Loader-
|
|
34
|
+
import { L as be } from "./Loader-BSWSYqvn.mjs";
|
|
35
35
|
const xe = C(() => {
|
|
36
|
-
const { common: n, settings: t } = D(), { sendEmailVerification: o } = T(), { user: r } = I(), s =
|
|
36
|
+
const { common: n, settings: t } = D(), { sendEmailVerification: o } = T(), { user: r } = I(), s = X(), [c, a] = g.useState(!1), i = () => {
|
|
37
37
|
a(!1);
|
|
38
38
|
}, _ = () => {
|
|
39
39
|
a(!0);
|
|
40
40
|
};
|
|
41
41
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
|
42
42
|
/* @__PURE__ */ l(j, { onClick: _, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
|
|
43
|
-
/* @__PURE__ */ e(x, { variant: "
|
|
44
|
-
/* @__PURE__ */ e(
|
|
43
|
+
/* @__PURE__ */ e(x, { variant: "Small", children: t.verify_email }),
|
|
44
|
+
/* @__PURE__ */ e(w, {})
|
|
45
45
|
] }),
|
|
46
46
|
/* @__PURE__ */ e(
|
|
47
47
|
N,
|
|
@@ -62,21 +62,21 @@ const xe = C(() => {
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
children: /* @__PURE__ */ l(m, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
|
|
65
|
-
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "
|
|
66
|
-
/* @__PURE__ */ e(x, { truncate: !1, variant: "
|
|
65
|
+
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "Body", children: t.confirm_your_email }),
|
|
66
|
+
/* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.confirm_email }),
|
|
67
67
|
/* @__PURE__ */ e(
|
|
68
68
|
x,
|
|
69
69
|
{
|
|
70
70
|
sx: {
|
|
71
|
-
border: `1px solid ${s.palette.
|
|
71
|
+
border: `1px solid ${s.palette.border.light}`,
|
|
72
72
|
borderRadius: "4px",
|
|
73
73
|
p: "16px 32px"
|
|
74
74
|
},
|
|
75
|
-
variant: "
|
|
75
|
+
variant: "H3",
|
|
76
76
|
children: r.email
|
|
77
77
|
}
|
|
78
78
|
),
|
|
79
|
-
/* @__PURE__ */ e(x, { truncate: !1, variant: "
|
|
79
|
+
/* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.verification_notice_email })
|
|
80
80
|
] })
|
|
81
81
|
}
|
|
82
82
|
)
|
|
@@ -107,7 +107,7 @@ const xe = C(() => {
|
|
|
107
107
|
);
|
|
108
108
|
}
|
|
109
109
|
), ve = C(() => {
|
|
110
|
-
const { common: n, settings: t } = D(), { sendPhoneVerification: o, verifyPhoneToken: r } = T(), { user: s } = I(), c =
|
|
110
|
+
const { common: n, settings: t } = D(), { sendPhoneVerification: o, verifyPhoneToken: r } = T(), { user: s } = I(), c = X(), [a, i] = g.useState(!1), [_, d] = g.useState(!1), h = () => {
|
|
111
111
|
i(!1);
|
|
112
112
|
}, u = () => {
|
|
113
113
|
i(!0);
|
|
@@ -122,8 +122,8 @@ const xe = C(() => {
|
|
|
122
122
|
};
|
|
123
123
|
return /* @__PURE__ */ l(g.Fragment, { children: [
|
|
124
124
|
/* @__PURE__ */ l(j, { onClick: u, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
|
|
125
|
-
/* @__PURE__ */ e(x, { variant: "
|
|
126
|
-
/* @__PURE__ */ e(
|
|
125
|
+
/* @__PURE__ */ e(x, { variant: "Small", children: t.verify_phone }),
|
|
126
|
+
/* @__PURE__ */ e(w, {})
|
|
127
127
|
] }),
|
|
128
128
|
/* @__PURE__ */ e(
|
|
129
129
|
N,
|
|
@@ -144,21 +144,21 @@ const xe = C(() => {
|
|
|
144
144
|
}
|
|
145
145
|
},
|
|
146
146
|
children: /* @__PURE__ */ l(m, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
|
|
147
|
-
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "
|
|
148
|
-
/* @__PURE__ */ e(x, { truncate: !1, variant: "
|
|
147
|
+
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "Body", children: t.confirm_your_phone }),
|
|
148
|
+
/* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.confirm_phone }),
|
|
149
149
|
/* @__PURE__ */ e(
|
|
150
150
|
x,
|
|
151
151
|
{
|
|
152
152
|
sx: {
|
|
153
|
-
border: `1px solid ${c.palette.
|
|
153
|
+
border: `1px solid ${c.palette.border.light}`,
|
|
154
154
|
borderRadius: "4px",
|
|
155
155
|
p: "16px 32px"
|
|
156
156
|
},
|
|
157
|
-
variant: "
|
|
157
|
+
variant: "H3",
|
|
158
158
|
children: s.phone
|
|
159
159
|
}
|
|
160
160
|
),
|
|
161
|
-
/* @__PURE__ */ e(x, { truncate: !1, variant: "
|
|
161
|
+
/* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.verification_notice_phone })
|
|
162
162
|
] })
|
|
163
163
|
}
|
|
164
164
|
),
|
|
@@ -178,7 +178,7 @@ const xe = C(() => {
|
|
|
178
178
|
), p = t.account?.name || t.account?.feed_name || "", b = t.account?.day_payment_is_due ? de(
|
|
179
179
|
s.notification_debt_payment_date,
|
|
180
180
|
me(t.account?.day_payment_is_due)
|
|
181
|
-
) : s.notification_debt_payment_zero_state,
|
|
181
|
+
) : s.notification_debt_payment_zero_state, S = a ? b : he(t.threshold ?? 0, "0,0"), A = async () => {
|
|
182
182
|
a && t.account ? await c({ ...t.account, day_payment_is_due: u }) : n({ ...t, threshold: d });
|
|
183
183
|
};
|
|
184
184
|
return /* @__PURE__ */ l(m, { children: [
|
|
@@ -192,7 +192,7 @@ const xe = C(() => {
|
|
|
192
192
|
institutionGuid: t.account?.institution_guid
|
|
193
193
|
}
|
|
194
194
|
) : void 0,
|
|
195
|
-
endIcon: /* @__PURE__ */ e(
|
|
195
|
+
endIcon: /* @__PURE__ */ e(w, {}),
|
|
196
196
|
isChecked: t.is_enabled,
|
|
197
197
|
isDisabled: !t.is_enabled,
|
|
198
198
|
isPrimaryTextBold: !0,
|
|
@@ -202,7 +202,7 @@ const xe = C(() => {
|
|
|
202
202
|
is_enabled: !t.is_enabled
|
|
203
203
|
}),
|
|
204
204
|
primaryText: p,
|
|
205
|
-
secondaryText: t.is_enabled ?
|
|
205
|
+
secondaryText: t.is_enabled ? S : s.notification_disabled
|
|
206
206
|
}
|
|
207
207
|
),
|
|
208
208
|
/* @__PURE__ */ e(
|
|
@@ -222,8 +222,8 @@ const xe = C(() => {
|
|
|
222
222
|
{
|
|
223
223
|
maxDate: Z(/* @__PURE__ */ new Date()),
|
|
224
224
|
minDate: ee(/* @__PURE__ */ new Date()),
|
|
225
|
-
onChange: (
|
|
226
|
-
f(
|
|
225
|
+
onChange: (k) => {
|
|
226
|
+
f(k.getDate());
|
|
227
227
|
},
|
|
228
228
|
slots: {
|
|
229
229
|
// Hides the arrows
|
|
@@ -245,8 +245,8 @@ const xe = C(() => {
|
|
|
245
245
|
autoFocus: !0,
|
|
246
246
|
fullWidth: !0,
|
|
247
247
|
minAmount: 0,
|
|
248
|
-
setAmount: (
|
|
249
|
-
sx: { ".MuiTypography-
|
|
248
|
+
setAmount: (k) => h(Number(k) || 0),
|
|
249
|
+
sx: { ".MuiTypography-Body": { p: 0 } }
|
|
250
250
|
}
|
|
251
251
|
)
|
|
252
252
|
}
|
|
@@ -265,7 +265,7 @@ const xe = C(() => {
|
|
|
265
265
|
sms_notifications_enabled: p
|
|
266
266
|
} = s;
|
|
267
267
|
return /* @__PURE__ */ l(m, { children: [
|
|
268
|
-
(u || p || f) && /* @__PURE__ */ l(
|
|
268
|
+
(u || p || f) && /* @__PURE__ */ l(M, { children: [
|
|
269
269
|
/* @__PURE__ */ e(x, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "caption", children: o.delivery_method_title }),
|
|
270
270
|
/* @__PURE__ */ l(E, { sx: { bgcolor: "background.paper" }, children: [
|
|
271
271
|
u && /* @__PURE__ */ e(m, { sx: { pl: 24 }, children: /* @__PURE__ */ e(
|
|
@@ -319,7 +319,7 @@ const xe = C(() => {
|
|
|
319
319
|
] })
|
|
320
320
|
] });
|
|
321
321
|
}
|
|
322
|
-
),
|
|
322
|
+
), H = C(() => {
|
|
323
323
|
const { accountProfiles: n, updateNotificationProfile: t } = T(), [o, r] = g.useState(""), s = g.useMemo(
|
|
324
324
|
() => n.find((i) => i.guid === o),
|
|
325
325
|
[n, o]
|
|
@@ -335,7 +335,7 @@ const xe = C(() => {
|
|
|
335
335
|
n.filter((i) => i.children && i.children.length > 0).map((i) => /* @__PURE__ */ e(
|
|
336
336
|
R,
|
|
337
337
|
{
|
|
338
|
-
endIcon: /* @__PURE__ */ e(
|
|
338
|
+
endIcon: /* @__PURE__ */ e(w, {}),
|
|
339
339
|
isChecked: i.is_enabled,
|
|
340
340
|
isDisabled: !i.is_enabled,
|
|
341
341
|
onClick: () => r(i.guid),
|
|
@@ -361,7 +361,7 @@ const xe = C(() => {
|
|
|
361
361
|
}
|
|
362
362
|
)
|
|
363
363
|
] });
|
|
364
|
-
}),
|
|
364
|
+
}), q = C(({ profile: n }) => {
|
|
365
365
|
const { settings: t } = D(), {
|
|
366
366
|
clientCommunicationProfile: {
|
|
367
367
|
email_notifications_enabled: o,
|
|
@@ -376,15 +376,15 @@ const xe = C(() => {
|
|
|
376
376
|
}
|
|
377
377
|
} = T(), { user: d } = I(), [h, u] = g.useState(!1), f = async () => {
|
|
378
378
|
await p({ ...n, is_enabled: !n.is_enabled }), n.is_enabled && u(!1);
|
|
379
|
-
}, p = async (
|
|
380
|
-
await c(
|
|
379
|
+
}, p = async (S) => {
|
|
380
|
+
await c(S);
|
|
381
381
|
}, b = o || s || r;
|
|
382
382
|
return /* @__PURE__ */ l(E, { sx: { bgcolor: "background.paper" }, children: [
|
|
383
383
|
/* @__PURE__ */ e(
|
|
384
384
|
R,
|
|
385
385
|
{
|
|
386
386
|
endIcon: b ? /* @__PURE__ */ e(
|
|
387
|
-
|
|
387
|
+
K,
|
|
388
388
|
{
|
|
389
389
|
sx: {
|
|
390
390
|
transition: "transform 0.3s ease-in-out",
|
|
@@ -443,9 +443,9 @@ const xe = C(() => {
|
|
|
443
443
|
] }) }),
|
|
444
444
|
/* @__PURE__ */ e(v, {})
|
|
445
445
|
] }, n.guid);
|
|
446
|
-
}),
|
|
446
|
+
}), z = C(() => {
|
|
447
447
|
const { budgetProfiles: n } = T();
|
|
448
|
-
return /* @__PURE__ */ e(m, { children: n.map((t) => /* @__PURE__ */ e(
|
|
448
|
+
return /* @__PURE__ */ e(m, { children: n.map((t) => /* @__PURE__ */ e(q, { profile: t }, t.guid)) });
|
|
449
449
|
}), De = C(() => {
|
|
450
450
|
const { onEvent: n } = ce(), { settings: t } = D(), {
|
|
451
451
|
clientCommunicationProfile: o,
|
|
@@ -461,7 +461,7 @@ const xe = C(() => {
|
|
|
461
461
|
};
|
|
462
462
|
return /* @__PURE__ */ l(m, { children: [
|
|
463
463
|
/* @__PURE__ */ e(F, { sx: { mt: 24 }, children: t.delivery_method_title }),
|
|
464
|
-
o.email_notifications_enabled && /* @__PURE__ */ l(
|
|
464
|
+
o.email_notifications_enabled && /* @__PURE__ */ l(M, { children: [
|
|
465
465
|
/* @__PURE__ */ e(
|
|
466
466
|
P,
|
|
467
467
|
{
|
|
@@ -478,7 +478,7 @@ const xe = C(() => {
|
|
|
478
478
|
),
|
|
479
479
|
(o.sms_notifications_enabled || o.push_notifications_enabled) && /* @__PURE__ */ e(v, {})
|
|
480
480
|
] }),
|
|
481
|
-
o.sms_notifications_enabled && /* @__PURE__ */ l(
|
|
481
|
+
o.sms_notifications_enabled && /* @__PURE__ */ l(M, { children: [
|
|
482
482
|
/* @__PURE__ */ e(
|
|
483
483
|
P,
|
|
484
484
|
{
|
|
@@ -505,20 +505,20 @@ const xe = C(() => {
|
|
|
505
505
|
}
|
|
506
506
|
),
|
|
507
507
|
o.sms_notifications_enabled && /* @__PURE__ */ e(pe, { sx: { backgroundColor: "background.default", mt: 12 }, variant: "outlined", children: /* @__PURE__ */ e(fe, { children: /* @__PURE__ */ l(m, { alignItems: "flex-start", direction: "row", gap: 6, children: [
|
|
508
|
-
/* @__PURE__ */ e(
|
|
509
|
-
/* @__PURE__ */ e(x, { sx: { whiteSpace: "wrap" }, variant: "
|
|
508
|
+
/* @__PURE__ */ e(Q, { color: "primary", filled: !0 }),
|
|
509
|
+
/* @__PURE__ */ e(x, { sx: { whiteSpace: "wrap" }, variant: "XSmall", children: t.delivery_method_sms_note_1 })
|
|
510
510
|
] }) }) })
|
|
511
511
|
] });
|
|
512
|
-
}),
|
|
512
|
+
}), $ = C(() => {
|
|
513
513
|
const { insightsProfiles: n } = T();
|
|
514
|
-
return /* @__PURE__ */ e(m, { children: n.map((t) => /* @__PURE__ */ e(
|
|
515
|
-
}),
|
|
514
|
+
return /* @__PURE__ */ e(m, { children: n.map((t) => /* @__PURE__ */ e(q, { profile: t }, t.guid)) });
|
|
515
|
+
}), Se = () => {
|
|
516
516
|
const { config: n } = W(), [t, { width: o }] = ge(), { common: r, settings: s } = D(), { updateUser: c } = T(), { user: a } = I(), [i, _] = g.useState(!1), [d, h] = g.useState({
|
|
517
517
|
email: a.email,
|
|
518
518
|
phone: a.phone
|
|
519
|
-
}), u = d.email && !a.email_is_verified && !i, f = d.phone && !a.phone_is_verified && !i, p = (
|
|
520
|
-
const { name: A, value:
|
|
521
|
-
h(
|
|
519
|
+
}), u = d.email && !a.email_is_verified && !i, f = d.phone && !a.phone_is_verified && !i, p = (S) => {
|
|
520
|
+
const { name: A, value: k } = S.target, B = { ...d, [A]: k };
|
|
521
|
+
h(B), _(JSON.stringify({ ...a, ...B }) !== JSON.stringify(a));
|
|
522
522
|
}, b = async () => {
|
|
523
523
|
await c({ ...a, ...d }), _(!1);
|
|
524
524
|
};
|
|
@@ -594,7 +594,7 @@ const xe = C(() => {
|
|
|
594
594
|
)
|
|
595
595
|
] })
|
|
596
596
|
] });
|
|
597
|
-
},
|
|
597
|
+
}, ke = C(Se), lt = C(
|
|
598
598
|
({
|
|
599
599
|
notificationTypes: n = [y.Accounts, y.Budgets],
|
|
600
600
|
showPersonalDetails: t = !1,
|
|
@@ -614,18 +614,18 @@ const xe = C(() => {
|
|
|
614
614
|
const {
|
|
615
615
|
email_notifications_enabled: p,
|
|
616
616
|
sms_notifications_enabled: b,
|
|
617
|
-
push_notifications_enabled:
|
|
618
|
-
} = i, A = p || b ||
|
|
617
|
+
push_notifications_enabled: S
|
|
618
|
+
} = i, A = p || b || S;
|
|
619
619
|
if (o === "accounts")
|
|
620
|
-
return /* @__PURE__ */ e(
|
|
620
|
+
return /* @__PURE__ */ e(H, {});
|
|
621
621
|
if (o === "budgets")
|
|
622
|
-
return /* @__PURE__ */ e(
|
|
622
|
+
return /* @__PURE__ */ e(z, {});
|
|
623
623
|
if (o === "insights")
|
|
624
|
-
return /* @__PURE__ */ e(
|
|
625
|
-
const
|
|
624
|
+
return /* @__PURE__ */ e($, {});
|
|
625
|
+
const k = s.display_email_edit_field_in_settings || s.display_sms_edit_field_in_settings, B = t && i.can_edit_contact_info && k;
|
|
626
626
|
return /* @__PURE__ */ l(m, { sx: { pt: A ? 0 : 24 }, children: [
|
|
627
627
|
/* @__PURE__ */ l(m, { sx: { px: 24 }, children: [
|
|
628
|
-
A && /* @__PURE__ */ l(
|
|
628
|
+
A && /* @__PURE__ */ l(M, { children: [
|
|
629
629
|
/* @__PURE__ */ e(De, {}),
|
|
630
630
|
/* @__PURE__ */ e(v, { sx: { my: 24 } })
|
|
631
631
|
] }),
|
|
@@ -634,18 +634,18 @@ const xe = C(() => {
|
|
|
634
634
|
/* @__PURE__ */ l(E, { children: [
|
|
635
635
|
n.includes(y.Accounts) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => u(y.Accounts), children: [
|
|
636
636
|
/* @__PURE__ */ e(L, { primary: c.accounts_title, secondary: c.accounts_subtitle }),
|
|
637
|
-
/* @__PURE__ */ e(
|
|
637
|
+
/* @__PURE__ */ e(w, {})
|
|
638
638
|
] }) }),
|
|
639
639
|
n.includes(y.Budgets) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => u(y.Budgets), children: [
|
|
640
640
|
/* @__PURE__ */ e(L, { primary: c.budgets_title, secondary: c.budgets_subtitle }),
|
|
641
|
-
/* @__PURE__ */ e(
|
|
641
|
+
/* @__PURE__ */ e(w, {})
|
|
642
642
|
] }) }),
|
|
643
643
|
n.includes(y.Insights) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => u(y.Insights), children: [
|
|
644
644
|
/* @__PURE__ */ e(L, { primary: c.insights_title, secondary: c.insights_subtitle }),
|
|
645
|
-
/* @__PURE__ */ e(
|
|
645
|
+
/* @__PURE__ */ e(w, {})
|
|
646
646
|
] }) })
|
|
647
647
|
] }),
|
|
648
|
-
|
|
648
|
+
B && /* @__PURE__ */ e(m, { sx: { px: 24 }, children: /* @__PURE__ */ e(ke, {}) }),
|
|
649
649
|
/* @__PURE__ */ e(
|
|
650
650
|
J,
|
|
651
651
|
{
|
|
@@ -653,9 +653,9 @@ const xe = C(() => {
|
|
|
653
653
|
onClose: () => u(void 0),
|
|
654
654
|
title: f,
|
|
655
655
|
children: /* @__PURE__ */ l(m, { children: [
|
|
656
|
-
h === y.Accounts && /* @__PURE__ */ e(
|
|
657
|
-
h === y.Budgets && /* @__PURE__ */ e(
|
|
658
|
-
h === y.Insights && /* @__PURE__ */ e(
|
|
656
|
+
h === y.Accounts && /* @__PURE__ */ e(H, {}),
|
|
657
|
+
h === y.Budgets && /* @__PURE__ */ e(z, {}),
|
|
658
|
+
h === y.Insights && /* @__PURE__ */ e($, {})
|
|
659
659
|
] })
|
|
660
660
|
}
|
|
661
661
|
)
|
|
@@ -663,9 +663,9 @@ const xe = C(() => {
|
|
|
663
663
|
}
|
|
664
664
|
);
|
|
665
665
|
export {
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
666
|
+
H as A,
|
|
667
|
+
z as B,
|
|
668
|
+
$ as I,
|
|
669
669
|
lt as N,
|
|
670
670
|
xe as V,
|
|
671
671
|
ve as a
|
|
@@ -5,7 +5,7 @@ import v from "@mui/material/TextField";
|
|
|
5
5
|
import { L as y } from "./ListItemAction-BNCWQAN_.mjs";
|
|
6
6
|
import { u as h, l as b } from "./hooks-C41HAxM5.mjs";
|
|
7
7
|
import { a as T, f as S } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
8
|
+
import { C as f } from "./CurrencyInput-BrGvhgVK.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 };
|
|
@@ -39,7 +39,7 @@ const F = p(({ goal: e }) => {
|
|
|
39
39
|
)
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
|
-
}),
|
|
42
|
+
}), B = p(({ goal: e }) => {
|
|
43
43
|
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.monthly_payment ?? 0), c = !e.guid, i = t < 0 || t > 9999999999e-2, d = async () => {
|
|
44
44
|
const n = { ...e, monthly_payment: t };
|
|
45
45
|
e.monthly_payment = t, c ? l(n) : (await m({ ...e, monthly_payment: t }), r(a.alert_goal_updated_payment));
|
|
@@ -68,12 +68,12 @@ const F = p(({ goal: e }) => {
|
|
|
68
68
|
fullWidth: !0,
|
|
69
69
|
minAmount: 0,
|
|
70
70
|
setAmount: (n) => s(isNaN(Number(n)) ? t : Number(n)),
|
|
71
|
-
sx: { ".MuiTypography-
|
|
71
|
+
sx: { ".MuiTypography-Body": { p: 0 } }
|
|
72
72
|
}
|
|
73
73
|
)
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
|
-
}),
|
|
76
|
+
}), M = p(({ goal: e }) => {
|
|
77
77
|
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.initial_amount), c = !e.guid, i = t < 0 || t > 9999999999e-2, d = async () => {
|
|
78
78
|
const n = { ...e, initial_amount: t };
|
|
79
79
|
e.initial_amount = t, c ? l(n) : (await m({ ...e, initial_amount: t }), r(a.alert_goal_updated_balance));
|
|
@@ -102,7 +102,7 @@ const F = p(({ goal: e }) => {
|
|
|
102
102
|
fullWidth: !0,
|
|
103
103
|
minAmount: 0,
|
|
104
104
|
setAmount: (n) => s(isNaN(Number(n)) ? t : Number(n)),
|
|
105
|
-
sx: { ".MuiTypography-
|
|
105
|
+
sx: { ".MuiTypography-Body": { p: 0 } }
|
|
106
106
|
}
|
|
107
107
|
)
|
|
108
108
|
}
|
|
@@ -110,6 +110,6 @@ const F = p(({ goal: e }) => {
|
|
|
110
110
|
});
|
|
111
111
|
export {
|
|
112
112
|
F as I,
|
|
113
|
-
M,
|
|
114
|
-
|
|
113
|
+
B as M,
|
|
114
|
+
M as O
|
|
115
115
|
};
|
|
@@ -7,10 +7,10 @@ import R from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import b from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-D_qVX5dN.mjs";
|
|
11
11
|
import { u as _, j as A, g as f } from "./hooks-C41HAxM5.mjs";
|
|
12
|
-
import { R as y, F as N } from "./RecurringTransactions-
|
|
13
|
-
import { A as m } from "./WidgetContainer-
|
|
12
|
+
import { R as y, F as N } from "./RecurringTransactions-Bhx56aA3.mjs";
|
|
13
|
+
import { A as m } from "./WidgetContainer-B1Jzb4XA.mjs";
|
|
14
14
|
const I = h(() => {
|
|
15
15
|
const { recurring: g } = _(), { detailedRepeatingTransactions: n } = A(), { onEvent: a } = f(), l = (r) => {
|
|
16
16
|
a(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|