@mx-cartographer/experiences 8.2.3 → 8.2.4-alpha-ram1-bug-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 +16 -0
- package/dist/{AccountDetailsHeader-CfdnKyJK.mjs → AccountDetailsHeader-DIysk_4w.mjs} +1 -1
- package/dist/{AccountFields-CAy0x_4i.mjs → AccountFields-mwJ8NXsX.mjs} +18 -18
- package/dist/{AccountListItem-BYyeeCf6.mjs → AccountListItem-BDXHs4tV.mjs} +7 -8
- package/dist/{CategorySelectorDrawer-Cu1ohxeM.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +71 -68
- package/dist/{ConnectCard-Dix8BoV_.mjs → ConnectCard-CCep7Zqe.mjs} +9 -9
- package/dist/{ConnectDrawer-DgfsTpyW.mjs → ConnectDrawer-Cnjr3Ddg.mjs} +2 -2
- package/dist/{ConnectionsDrawer-D7IXAza2.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +1 -1
- package/dist/{CurrencyDialog-d4dL7vA5.mjs → CurrencyDialog-DumQCTPO.mjs} +18 -16
- package/dist/{CurrencyInput-B59ugxPN.mjs → CurrencyInput-adTIRtL3.mjs} +28 -26
- package/dist/{Dialog-iLlBR8TG.mjs → Dialog-CwWc0AbH.mjs} +11 -11
- package/dist/{Drawer-XPaLYjiO.mjs → Drawer-BXqqBMxg.mjs} +26 -28
- package/dist/{EmbeddedCard-BNl3quCs.mjs → EmbeddedCard-DPwJjqMH.mjs} +37 -37
- package/dist/{EmptyState-DHAkGsjk.mjs → EmptyState-CJUDc3kD.mjs} +17 -17
- package/dist/{ExportCsvAction-hDprC41l.mjs → ExportCsvAction-Bw02ZJEj.mjs} +2 -2
- package/dist/{GlobalAccountFilter-DrhtwPqh.mjs → GlobalAccountFilter-7Cg2-9A5.mjs} +25 -25
- package/dist/{Help-BSQm9o29.mjs → Help-DJ8PrVHX.mjs} +56 -73
- package/dist/{ListItemAction-DGjHxNDJ.mjs → ListItemAction-CwspSmQi.mjs} +22 -22
- package/dist/{ManageIncome-DwylSiWs.mjs → ManageIncome-B1JfqslT.mjs} +6 -6
- package/dist/{NotificationSettings-CCg-Tml2.mjs → NotificationSettings-6p-h5phZ.mjs} +48 -48
- package/dist/{OriginalBalanceAction-CvDx0K6k.mjs → OriginalBalanceAction-CkJPnp2c.mjs} +2 -2
- package/dist/{RecurringSettings-CPXLW6AR.mjs → RecurringSettings-cm6MK_aS.mjs} +1 -1
- package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-CC9F_Ezk.mjs} +1 -1
- package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
- package/dist/Select-BFt-HD-L.mjs +55 -0
- package/dist/{SelectionBox-Bx2a5rh4.mjs → SelectionBox-B4xELRgp.mjs} +1 -1
- package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
- package/dist/{SpendingLegend-BmkEr9Nh.mjs → SpendingLegend-5Ct_FZ8o.mjs} +1 -1
- package/dist/{ToggleListItem-BLu_fWA2.mjs → ToggleListItem-Dl1lXNwj.mjs} +29 -28
- package/dist/{TransactionDetails-CbBSxdOi.mjs → TransactionDetails-C3dlAzYf.mjs} +386 -393
- package/dist/{ViewMoreMicroCard-D_LoKlJU.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +526 -518
- package/dist/{WidgetContainer-CYcmwsSu.mjs → WidgetContainer-DNuz_s7W.mjs} +5 -5
- package/dist/accounts/index.es.js +199 -194
- package/dist/analytics/index.es.js +1 -1
- package/dist/budgets/index.es.js +183 -184
- package/dist/cashflow/index.es.js +70 -80
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/WidgetContainer.d.ts +1 -1
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +1 -1
- package/dist/common/index.es.js +206 -194
- package/dist/common/utils/Theme.d.ts +6 -5
- package/dist/common/utils/index.d.ts +1 -1
- package/dist/dashboard/index.es.js +47 -47
- package/dist/debts/index.es.js +140 -140
- package/dist/finstrong/index.es.js +40 -32
- package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
- package/dist/goals/index.es.js +154 -165
- package/dist/help/index.es.js +2 -2
- package/dist/insights/components/insights/UserFeedback/Types.d.ts +1 -1
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +3 -3
- package/dist/insights/hooks/useContainerDimensions.d.ts +1 -1
- package/dist/insights/index.es.js +677 -687
- package/dist/insights/themes/Typography.d.ts +0 -2
- package/dist/investments/index.es.js +205 -207
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/cards/InsightCard.d.ts +2 -2
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -5
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -5
- package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -5
- package/dist/microinsights/carousel/BeatList.d.ts +2 -2
- package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +11 -5
- package/dist/networth/index.es.js +85 -87
- package/dist/notifications/index.es.js +7 -8
- package/dist/recurringtransactions/index.es.js +53 -53
- package/dist/settings/index.es.js +111 -111
- package/dist/spending/index.es.js +7 -7
- package/dist/transactions/components/shared/TransactionList.d.ts +2 -2
- package/dist/transactions/index.es.js +138 -140
- package/dist/trends/index.es.js +293 -292
- package/dist/{useScreenSize-CeFhWTt_.mjs → useScreenSize-mWpmnh5w.mjs} +1 -1
- package/package.json +29 -23
- package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
- package/dist/Select-BZRUpOib.mjs +0 -51
|
@@ -10,41 +10,41 @@ import { getUnixTime as _e } from "date-fns/getUnixTime";
|
|
|
10
10
|
import { AdapterDateFns as ge } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
11
11
|
import { DatePicker as be } from "@mui/x-date-pickers";
|
|
12
12
|
import { LocalizationProvider as ye } from "@mui/x-date-pickers/LocalizationProvider";
|
|
13
|
-
import { useTheme as
|
|
13
|
+
import { useTheme as L, alpha as V } from "@mui/material/styles";
|
|
14
14
|
import W from "@mui/material/Box";
|
|
15
15
|
import Z from "@mui/material/Button";
|
|
16
|
-
import
|
|
17
|
-
import { H3 as Y, P as M, Text as x, Icon as
|
|
18
|
-
import { V as
|
|
19
|
-
import { A as
|
|
20
|
-
import { u as w, a as G, A as E, C as
|
|
21
|
-
import { u as
|
|
22
|
-
import { D as
|
|
16
|
+
import I from "@mui/material/TextField";
|
|
17
|
+
import { H3 as Y, P as M, Text as x, Icon as B } from "@mxenabled/mxui";
|
|
18
|
+
import { V as xe, a as ve, N as J } from "../NotificationSettings-6p-h5phZ.mjs";
|
|
19
|
+
import { A as $t, B as Jt, I as Kt } from "../NotificationSettings-6p-h5phZ.mjs";
|
|
20
|
+
import { u as w, a as G, A as E, C as Ce, b as ee, l as j } from "../hooks-BaO_gOI6.mjs";
|
|
21
|
+
import { u as O } from "../useScreenSize-mWpmnh5w.mjs";
|
|
22
|
+
import { D as $ } from "../Dialog-CwWc0AbH.mjs";
|
|
23
23
|
import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
|
|
24
24
|
import { fromUnixTime as oe } from "date-fns/fromUnixTime";
|
|
25
|
-
import O from "@mui/material/styles/useTheme";
|
|
26
25
|
import z from "@mui/material/IconButton";
|
|
27
|
-
import { DataGridPro as
|
|
28
|
-
import { b as
|
|
26
|
+
import { DataGridPro as De } from "@mui/x-data-grid-pro";
|
|
27
|
+
import { b as H } from "../Localization-DnoVyBNK.mjs";
|
|
29
28
|
import { H as U } from "../HeaderCell-P8w6CmfO.mjs";
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
29
|
+
import we from "@mui/material/Accordion";
|
|
30
|
+
import ke from "@mui/material/AccordionDetails";
|
|
31
|
+
import Se from "@mui/material/AccordionSummary";
|
|
33
32
|
import { L as ie } from "../Loader-CxeBwuPG.mjs";
|
|
34
|
-
import
|
|
33
|
+
import Te from "@mui/material/List";
|
|
35
34
|
import K from "@mui/material/Divider";
|
|
36
|
-
import
|
|
37
|
-
import { b as
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
42
|
-
import {
|
|
35
|
+
import Ae from "@mui/material/ListSubheader";
|
|
36
|
+
import { b as Ie, u as Ee } from "../CategorySelectorDrawer-CmaDLhnf.mjs";
|
|
37
|
+
import Pe from "@mui/material/ListItem";
|
|
38
|
+
import Re from "@mui/material/ListItemButton";
|
|
39
|
+
import Ne from "@mui/material/ListItemIcon";
|
|
40
|
+
import Me from "@mui/material/ListItemText";
|
|
41
|
+
import { ChevronRight as Le } from "@mxenabled/mx-icons";
|
|
42
|
+
import { D as Be } from "../Drawer-BXqqBMxg.mjs";
|
|
43
43
|
import { u as ne } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
44
|
-
import { H as
|
|
45
|
-
import { W as q } from "../WidgetContainer-
|
|
46
|
-
const
|
|
47
|
-
const i =
|
|
44
|
+
import { H as He } from "../Help-DJ8PrVHX.mjs";
|
|
45
|
+
import { W as q } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
46
|
+
const Oe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
47
|
+
const i = L(), { common: o, settings: n } = w(), { isDesktop: u, isMobile: s, isSmallMobile: a, isTablet: l } = O(t), { config: b } = G(), { updateUser: _ } = E(), { user: d } = Ce(), [p, k] = m.useState({
|
|
48
48
|
first_name: d.first_name,
|
|
49
49
|
last_name: d.last_name,
|
|
50
50
|
email: d.email,
|
|
@@ -52,7 +52,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
52
52
|
birthday: d.birthday,
|
|
53
53
|
postal_code: d.postal_code,
|
|
54
54
|
credit_score: d.credit_score
|
|
55
|
-
}), [v, S] = m.useState(!1), [
|
|
55
|
+
}), [v, S] = m.useState(!1), [A, T] = m.useState(!1), g = m.useRef(null), D = p.email && !d.email_is_verified && !v, F = p.phone && !d.phone_is_verified && !v;
|
|
56
56
|
m.useEffect(() => {
|
|
57
57
|
if (r) {
|
|
58
58
|
const f = (R) => {
|
|
@@ -106,7 +106,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
106
106
|
sx: { mb: 44, pt: 32 },
|
|
107
107
|
children: [
|
|
108
108
|
/* @__PURE__ */ e(
|
|
109
|
-
|
|
109
|
+
I,
|
|
110
110
|
{
|
|
111
111
|
defaultValue: p.first_name,
|
|
112
112
|
label: n.first_name,
|
|
@@ -114,7 +114,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
114
114
|
}
|
|
115
115
|
),
|
|
116
116
|
/* @__PURE__ */ e(
|
|
117
|
-
|
|
117
|
+
I,
|
|
118
118
|
{
|
|
119
119
|
defaultValue: p.last_name,
|
|
120
120
|
label: n.last_name,
|
|
@@ -127,18 +127,18 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
127
127
|
/* @__PURE__ */ c(h, { direction: s ? "column" : "row", children: [
|
|
128
128
|
b.display_email_edit_field_in_settings && /* @__PURE__ */ c(h, { sx: { mb: D ? 20 : 44, mr: s ? 0 : 24 }, children: [
|
|
129
129
|
/* @__PURE__ */ e(
|
|
130
|
-
|
|
130
|
+
I,
|
|
131
131
|
{
|
|
132
132
|
defaultValue: p.email,
|
|
133
133
|
label: n.email_address,
|
|
134
134
|
onChange: (f) => P({ email: f.target.value })
|
|
135
135
|
}
|
|
136
136
|
),
|
|
137
|
-
D && /* @__PURE__ */ e(
|
|
137
|
+
D && /* @__PURE__ */ e(xe, {})
|
|
138
138
|
] }),
|
|
139
139
|
b.display_sms_edit_field_in_settings && /* @__PURE__ */ c(h, { sx: { mb: F ? 20 : 44 }, children: [
|
|
140
140
|
/* @__PURE__ */ e(
|
|
141
|
-
|
|
141
|
+
I,
|
|
142
142
|
{
|
|
143
143
|
defaultValue: p.phone,
|
|
144
144
|
label: n.mobile_number,
|
|
@@ -146,7 +146,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
146
146
|
type: "tel"
|
|
147
147
|
}
|
|
148
148
|
),
|
|
149
|
-
F && /* @__PURE__ */ e(
|
|
149
|
+
F && /* @__PURE__ */ e(ve, {})
|
|
150
150
|
] })
|
|
151
151
|
] }),
|
|
152
152
|
/* @__PURE__ */ c(h, { direction: s ? "column" : "row", spacing: s ? 44 : 24, sx: { mb: 44 }, children: [
|
|
@@ -180,7 +180,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
180
180
|
}
|
|
181
181
|
) }),
|
|
182
182
|
/* @__PURE__ */ e(
|
|
183
|
-
|
|
183
|
+
I,
|
|
184
184
|
{
|
|
185
185
|
defaultValue: p.postal_code,
|
|
186
186
|
label: n.zip_code,
|
|
@@ -190,7 +190,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
190
190
|
] }),
|
|
191
191
|
/* @__PURE__ */ c(h, { children: [
|
|
192
192
|
/* @__PURE__ */ e(
|
|
193
|
-
|
|
193
|
+
I,
|
|
194
194
|
{
|
|
195
195
|
defaultValue: p.credit_score,
|
|
196
196
|
label: n.credit_score,
|
|
@@ -213,10 +213,10 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
213
213
|
}
|
|
214
214
|
),
|
|
215
215
|
/* @__PURE__ */ e(
|
|
216
|
-
|
|
216
|
+
$,
|
|
217
217
|
{
|
|
218
218
|
copy: { title: n.discard_changes },
|
|
219
|
-
isOpen:
|
|
219
|
+
isOpen: A,
|
|
220
220
|
onClose: ce,
|
|
221
221
|
onSecondaryAction: le,
|
|
222
222
|
primaryText: n.keep_editing,
|
|
@@ -225,14 +225,14 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
|
|
|
225
225
|
}
|
|
226
226
|
)
|
|
227
227
|
] });
|
|
228
|
-
},
|
|
228
|
+
}, Fe = C(Oe);
|
|
229
229
|
var y = /* @__PURE__ */ ((t) => (t.Delete = "delete", t.Edit = "edit", t.Token = "token", t))(y || {});
|
|
230
|
-
const
|
|
230
|
+
const Ue = ({
|
|
231
231
|
devices: t,
|
|
232
232
|
onClickDeviceEdit: r,
|
|
233
233
|
onClickDeviceDelete: i
|
|
234
234
|
}) => {
|
|
235
|
-
const o =
|
|
235
|
+
const o = L(), { settings: n } = w(), u = [
|
|
236
236
|
{
|
|
237
237
|
field: "name",
|
|
238
238
|
headerName: n.mobile_devices_column_name,
|
|
@@ -245,7 +245,7 @@ const Ve = ({
|
|
|
245
245
|
"aria-label": n.mobile_devices_edit_label,
|
|
246
246
|
color: "secondary",
|
|
247
247
|
onClick: () => r(a.row),
|
|
248
|
-
children: /* @__PURE__ */ e(
|
|
248
|
+
children: /* @__PURE__ */ e(B, { name: "edit" })
|
|
249
249
|
}
|
|
250
250
|
)
|
|
251
251
|
] }),
|
|
@@ -282,7 +282,7 @@ const Ve = ({
|
|
|
282
282
|
"aria-label": n.mobile_devices_delete_label,
|
|
283
283
|
color: "secondary",
|
|
284
284
|
onClick: () => i(a.row),
|
|
285
|
-
children: /* @__PURE__ */ e(
|
|
285
|
+
children: /* @__PURE__ */ e(B, { name: "delete" })
|
|
286
286
|
}
|
|
287
287
|
) }),
|
|
288
288
|
sortable: !1,
|
|
@@ -295,7 +295,7 @@ const Ve = ({
|
|
|
295
295
|
device_type: `${a.make} ${a.model}`
|
|
296
296
|
})), [t]);
|
|
297
297
|
return /* @__PURE__ */ e(W, { sx: { width: "100%" }, children: /* @__PURE__ */ e(
|
|
298
|
-
|
|
298
|
+
De,
|
|
299
299
|
{
|
|
300
300
|
columns: u,
|
|
301
301
|
disableColumnFilter: !0,
|
|
@@ -318,7 +318,7 @@ const Ve = ({
|
|
|
318
318
|
alignItems: "center",
|
|
319
319
|
p: "12px 16px"
|
|
320
320
|
},
|
|
321
|
-
children: /* @__PURE__ */ e(x, { color: o.palette.text.secondary, variant: "body2", children:
|
|
321
|
+
children: /* @__PURE__ */ e(x, { color: o.palette.text.secondary, variant: "body2", children: H(
|
|
322
322
|
n.mobile_devices_count,
|
|
323
323
|
/* @__PURE__ */ e("b", { children: t.length }),
|
|
324
324
|
/* @__PURE__ */ e("b", { children: t.length })
|
|
@@ -342,26 +342,26 @@ const Ve = ({
|
|
|
342
342
|
}
|
|
343
343
|
}
|
|
344
344
|
) });
|
|
345
|
-
},
|
|
345
|
+
}, Ve = ({
|
|
346
346
|
devices: t,
|
|
347
347
|
onClickDeviceEdit: r,
|
|
348
348
|
onClickDeviceDelete: i
|
|
349
349
|
}) => {
|
|
350
|
-
const o =
|
|
350
|
+
const o = L(), { settings: n } = w(), [u, s] = m.useState(!1), a = (l) => (b, _) => {
|
|
351
351
|
s(_ ? l : !1);
|
|
352
352
|
};
|
|
353
353
|
return /* @__PURE__ */ c(h, { mx: -28, sx: { "& .MuiAccordion-root": { mb: 0, mt: 0 } }, children: [
|
|
354
354
|
t.map((l) => /* @__PURE__ */ c(
|
|
355
|
-
|
|
355
|
+
we,
|
|
356
356
|
{
|
|
357
357
|
expanded: u === l.guid,
|
|
358
358
|
onChange: a(l.guid),
|
|
359
359
|
sx: { boxShadow: "none" },
|
|
360
360
|
children: [
|
|
361
361
|
/* @__PURE__ */ e(
|
|
362
|
-
|
|
362
|
+
Se,
|
|
363
363
|
{
|
|
364
|
-
expandIcon: /* @__PURE__ */ e(
|
|
364
|
+
expandIcon: /* @__PURE__ */ e(B, { color: "secondary", name: "keyboard_arrow_down", size: 24 }),
|
|
365
365
|
sx: {
|
|
366
366
|
padding: "14px 24px",
|
|
367
367
|
borderBottom: "1px solid",
|
|
@@ -375,7 +375,7 @@ const Ve = ({
|
|
|
375
375
|
}
|
|
376
376
|
),
|
|
377
377
|
/* @__PURE__ */ c(
|
|
378
|
-
|
|
378
|
+
ke,
|
|
379
379
|
{
|
|
380
380
|
sx: { backgroundColor: o.palette.background.default, p: "0 0 0 24px" },
|
|
381
381
|
children: [
|
|
@@ -394,7 +394,7 @@ const Ve = ({
|
|
|
394
394
|
borderColor: o.palette.divider
|
|
395
395
|
},
|
|
396
396
|
children: [
|
|
397
|
-
/* @__PURE__ */ e(z, { "aria-label": n.mobile_devices_edit_label, color: "secondary", children: /* @__PURE__ */ e(
|
|
397
|
+
/* @__PURE__ */ e(z, { "aria-label": n.mobile_devices_edit_label, color: "secondary", children: /* @__PURE__ */ e(B, { name: "edit" }) }),
|
|
398
398
|
/* @__PURE__ */ e(x, { variant: "body1", children: n.mobile_devices_edit_label })
|
|
399
399
|
]
|
|
400
400
|
}
|
|
@@ -412,7 +412,7 @@ const Ve = ({
|
|
|
412
412
|
cursor: "pointer"
|
|
413
413
|
},
|
|
414
414
|
children: [
|
|
415
|
-
/* @__PURE__ */ e(z, { "aria-label": n.mobile_devices_delete_label, color: "secondary", children: /* @__PURE__ */ e(
|
|
415
|
+
/* @__PURE__ */ e(z, { "aria-label": n.mobile_devices_delete_label, color: "secondary", children: /* @__PURE__ */ e(B, { name: "delete" }) }),
|
|
416
416
|
/* @__PURE__ */ e(x, { variant: "body1", children: n.mobile_devices_delete_label })
|
|
417
417
|
]
|
|
418
418
|
}
|
|
@@ -433,7 +433,7 @@ const Ve = ({
|
|
|
433
433
|
borderColor: o.palette.divider,
|
|
434
434
|
p: "12px 16px"
|
|
435
435
|
},
|
|
436
|
-
children: /* @__PURE__ */ e(x, { color: o.palette.text.secondary, variant: "body2", children:
|
|
436
|
+
children: /* @__PURE__ */ e(x, { color: o.palette.text.secondary, variant: "body2", children: H(
|
|
437
437
|
n.mobile_devices_count,
|
|
438
438
|
/* @__PURE__ */ e("b", { children: t.length }),
|
|
439
439
|
/* @__PURE__ */ e("b", { children: t.length })
|
|
@@ -441,14 +441,14 @@ const Ve = ({
|
|
|
441
441
|
}
|
|
442
442
|
)
|
|
443
443
|
] });
|
|
444
|
-
},
|
|
444
|
+
}, We = ({
|
|
445
445
|
dialogType: t,
|
|
446
446
|
isOpen: r,
|
|
447
447
|
onClose: i,
|
|
448
448
|
device: o,
|
|
449
449
|
deviceToken: n = ""
|
|
450
450
|
}) => {
|
|
451
|
-
const u =
|
|
451
|
+
const u = L(), { common: s, settings: a } = w(), { updateDevice: l, deleteDevice: b, setAlert: _, loadDevices: d } = E(), [p, k] = m.useState("");
|
|
452
452
|
m.useEffect(() => {
|
|
453
453
|
o && k(o.name);
|
|
454
454
|
}, [o, t]);
|
|
@@ -472,7 +472,7 @@ const Ve = ({
|
|
|
472
472
|
default:
|
|
473
473
|
return "";
|
|
474
474
|
}
|
|
475
|
-
},
|
|
475
|
+
}, A = () => {
|
|
476
476
|
const g = {
|
|
477
477
|
"& .MuiDialogContent-root": {
|
|
478
478
|
width: 400,
|
|
@@ -508,20 +508,20 @@ const Ve = ({
|
|
|
508
508
|
if (t === y.Token && i(), t === y.Edit && o) {
|
|
509
509
|
const g = { ...o, name: p };
|
|
510
510
|
(await l(g)).success ? (_(a.mobile_devices_edit_success, "success"), d()) : _(
|
|
511
|
-
|
|
511
|
+
H(a.mobile_devices_edit_error, o.name),
|
|
512
512
|
"error"
|
|
513
513
|
), i();
|
|
514
514
|
}
|
|
515
515
|
t === y.Delete && o && ((await b(o.guid)).success ? (_(
|
|
516
|
-
|
|
516
|
+
H(a.mobile_devices_delete_success, o.name),
|
|
517
517
|
"success"
|
|
518
518
|
), d()) : _(
|
|
519
|
-
|
|
519
|
+
H(a.mobile_devices_delete_error, o.name),
|
|
520
520
|
"error"
|
|
521
521
|
), i());
|
|
522
522
|
};
|
|
523
523
|
return /* @__PURE__ */ c(
|
|
524
|
-
|
|
524
|
+
$,
|
|
525
525
|
{
|
|
526
526
|
copy: { title: v() },
|
|
527
527
|
isOpen: r,
|
|
@@ -531,7 +531,7 @@ const Ve = ({
|
|
|
531
531
|
primaryColor: t === y.Delete ? "error" : void 0,
|
|
532
532
|
primaryText: S(),
|
|
533
533
|
secondaryText: t === y.Token ? s.back : s.cancel_button,
|
|
534
|
-
sx:
|
|
534
|
+
sx: A(),
|
|
535
535
|
children: [
|
|
536
536
|
t === y.Token && /* @__PURE__ */ c(h, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
|
|
537
537
|
/* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "body1", children: a.mobile_devices_access_label }),
|
|
@@ -550,13 +550,13 @@ const Ve = ({
|
|
|
550
550
|
),
|
|
551
551
|
/* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: a.mobile_devices_access_info_2 })
|
|
552
552
|
] }),
|
|
553
|
-
t === y.Edit && /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(
|
|
553
|
+
t === y.Edit && /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(I, { onChange: (g) => k(g.target.value), value: p }) }),
|
|
554
554
|
t === y.Delete && /* @__PURE__ */ e(M, { children: a.mobile_devices_delete_info })
|
|
555
555
|
]
|
|
556
556
|
}
|
|
557
557
|
);
|
|
558
|
-
},
|
|
559
|
-
const { isMobile: t } =
|
|
558
|
+
}, ze = C(We), Ge = C(() => {
|
|
559
|
+
const { isMobile: t } = O(), { settings: r } = w(), { isCopyLoaded: i, isInitialized: o } = ee(), { setAlert: n, devices: u, loadDevices: s, generateDeviceToken: a } = E(), [l, b] = m.useState({ open: !1, type: "" }), [_, d] = m.useState(), [p, k] = m.useState("");
|
|
560
560
|
m.useEffect(() => {
|
|
561
561
|
o && s();
|
|
562
562
|
}, [o]);
|
|
@@ -565,7 +565,7 @@ const Ve = ({
|
|
|
565
565
|
g ? (k(g), b({ open: !0, type: y.Token })) : n(r.mobile_devices_access_error, "error");
|
|
566
566
|
}, S = (g) => {
|
|
567
567
|
d(g), b({ open: !0, type: y.Edit });
|
|
568
|
-
},
|
|
568
|
+
}, A = (g) => {
|
|
569
569
|
d(g), b({ open: !0, type: y.Delete });
|
|
570
570
|
}, T = () => {
|
|
571
571
|
b({ open: !1, type: "" }), d(void 0);
|
|
@@ -584,17 +584,17 @@ const Ve = ({
|
|
|
584
584
|
/* @__PURE__ */ e(M, { variant: "body1", children: r.mobile_devices_info })
|
|
585
585
|
] }),
|
|
586
586
|
t ? /* @__PURE__ */ e(
|
|
587
|
-
|
|
587
|
+
Ve,
|
|
588
588
|
{
|
|
589
589
|
devices: u,
|
|
590
|
-
onClickDeviceDelete:
|
|
590
|
+
onClickDeviceDelete: A,
|
|
591
591
|
onClickDeviceEdit: S
|
|
592
592
|
}
|
|
593
593
|
) : /* @__PURE__ */ e(
|
|
594
|
-
|
|
594
|
+
Ue,
|
|
595
595
|
{
|
|
596
596
|
devices: u,
|
|
597
|
-
onClickDeviceDelete:
|
|
597
|
+
onClickDeviceDelete: A,
|
|
598
598
|
onClickDeviceEdit: S
|
|
599
599
|
}
|
|
600
600
|
),
|
|
@@ -604,7 +604,7 @@ const Ve = ({
|
|
|
604
604
|
/* @__PURE__ */ e(Z, { onClick: v, variant: "text", children: r.mobile_devices_access_cta })
|
|
605
605
|
] }),
|
|
606
606
|
/* @__PURE__ */ e(
|
|
607
|
-
|
|
607
|
+
ze,
|
|
608
608
|
{
|
|
609
609
|
device: _,
|
|
610
610
|
deviceToken: p,
|
|
@@ -618,14 +618,14 @@ const Ve = ({
|
|
|
618
618
|
);
|
|
619
619
|
}), Q = C(
|
|
620
620
|
({ onClick: t, primaryText: r, secondaryText: i, sx: o }) => {
|
|
621
|
-
const n =
|
|
622
|
-
return /* @__PURE__ */ e(
|
|
623
|
-
/* @__PURE__ */ e(
|
|
624
|
-
/* @__PURE__ */ e(
|
|
621
|
+
const n = L();
|
|
622
|
+
return /* @__PURE__ */ e(Pe, { sx: { bgcolor: n.palette.background.paper }, children: /* @__PURE__ */ c(Re, { alignItems: "flex-start", onClick: t, sx: o, children: [
|
|
623
|
+
/* @__PURE__ */ e(Me, { primary: r, secondary: i }),
|
|
624
|
+
/* @__PURE__ */ e(Ne, { children: /* @__PURE__ */ e(Le, {}) })
|
|
625
625
|
] }) });
|
|
626
626
|
}
|
|
627
627
|
), je = C(() => {
|
|
628
|
-
const { settings: t } = w(), { categories: r } =
|
|
628
|
+
const { settings: t } = w(), { categories: r } = j(), { selectedRule: i, updateRuleCategory: o } = E(), [n, u] = m.useState(!1), s = () => {
|
|
629
629
|
u(!1);
|
|
630
630
|
}, a = () => {
|
|
631
631
|
u(!0);
|
|
@@ -642,7 +642,7 @@ const Ve = ({
|
|
|
642
642
|
}
|
|
643
643
|
),
|
|
644
644
|
/* @__PURE__ */ e(
|
|
645
|
-
|
|
645
|
+
Ie,
|
|
646
646
|
{
|
|
647
647
|
initialSelected: i?.category_guid ? i.category_guid : void 0,
|
|
648
648
|
onClose: s,
|
|
@@ -652,8 +652,8 @@ const Ve = ({
|
|
|
652
652
|
}
|
|
653
653
|
)
|
|
654
654
|
] });
|
|
655
|
-
}),
|
|
656
|
-
const { common: t, settings: r } = w(), { selectedRule: i, updateRulePayee: o } = E(), n =
|
|
655
|
+
}), $e = C(() => {
|
|
656
|
+
const { common: t, settings: r } = w(), { selectedRule: i, updateRulePayee: o } = E(), n = L(), [u, s] = m.useState(!1), a = i?.description ? i.description : i?.match_description, [l, b] = m.useState(a || ""), _ = () => {
|
|
657
657
|
s(!0);
|
|
658
658
|
}, d = async () => {
|
|
659
659
|
l !== a && i && (i.description = l, await o(i), s(!1));
|
|
@@ -668,7 +668,7 @@ const Ve = ({
|
|
|
668
668
|
}
|
|
669
669
|
),
|
|
670
670
|
/* @__PURE__ */ e(
|
|
671
|
-
|
|
671
|
+
$,
|
|
672
672
|
{
|
|
673
673
|
copy: { title: r.edit_payee },
|
|
674
674
|
isOpen: u,
|
|
@@ -682,7 +682,7 @@ const Ve = ({
|
|
|
682
682
|
path: { fill: n.palette.secondary.darker }
|
|
683
683
|
},
|
|
684
684
|
children: /* @__PURE__ */ e(
|
|
685
|
-
|
|
685
|
+
I,
|
|
686
686
|
{
|
|
687
687
|
onChange: (p) => b(p.target.value),
|
|
688
688
|
sx: { width: 352 },
|
|
@@ -692,10 +692,10 @@ const Ve = ({
|
|
|
692
692
|
}
|
|
693
693
|
)
|
|
694
694
|
] });
|
|
695
|
-
}),
|
|
695
|
+
}), Je = C(({ onClose: t, onDelete: r, isOpen: i }) => {
|
|
696
696
|
const { common: o, settings: n } = w();
|
|
697
697
|
return /* @__PURE__ */ e(
|
|
698
|
-
|
|
698
|
+
$,
|
|
699
699
|
{
|
|
700
700
|
copy: { title: n.delete_rule },
|
|
701
701
|
isOpen: i,
|
|
@@ -710,11 +710,11 @@ const Ve = ({
|
|
|
710
710
|
children: /* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: n.delete_rule_confirm })
|
|
711
711
|
}
|
|
712
712
|
);
|
|
713
|
-
}),
|
|
713
|
+
}), Ke = C(
|
|
714
714
|
({ isOpen: t, onClose: r, onDelete: i }) => {
|
|
715
715
|
const { common: o, settings: n } = w(), [u, s] = m.useState(!1);
|
|
716
716
|
return /* @__PURE__ */ c(
|
|
717
|
-
|
|
717
|
+
Be,
|
|
718
718
|
{
|
|
719
719
|
hasSecondaryAction: !1,
|
|
720
720
|
isOpen: t,
|
|
@@ -726,13 +726,13 @@ const Ve = ({
|
|
|
726
726
|
primaryText: o.delete_button,
|
|
727
727
|
title: n.edit_rule,
|
|
728
728
|
children: [
|
|
729
|
-
/* @__PURE__ */ e(
|
|
730
|
-
/* @__PURE__ */ e(
|
|
729
|
+
/* @__PURE__ */ e(Ae, { children: /* @__PURE__ */ e(x, { bold: !0, variant: "caption", children: n.details }) }),
|
|
730
|
+
/* @__PURE__ */ e($e, {}),
|
|
731
731
|
/* @__PURE__ */ e(K, { sx: { ml: 24 } }),
|
|
732
732
|
/* @__PURE__ */ e(je, {}),
|
|
733
733
|
/* @__PURE__ */ e(K, { sx: { ml: 24 } }),
|
|
734
734
|
/* @__PURE__ */ e(
|
|
735
|
-
|
|
735
|
+
Je,
|
|
736
736
|
{
|
|
737
737
|
isOpen: u,
|
|
738
738
|
onClose: () => s(!1),
|
|
@@ -743,8 +743,8 @@ const Ve = ({
|
|
|
743
743
|
}
|
|
744
744
|
);
|
|
745
745
|
}
|
|
746
|
-
),
|
|
747
|
-
const { categories: r } =
|
|
746
|
+
), Ye = C(({ rule: t }) => {
|
|
747
|
+
const { categories: r } = j(), { setSelectedGuid: i } = Ee(), { deleteTransactionRule: o, setSelectedRule: n } = E(), { isDesktop: u, isTablet: s } = O(), [a, l] = m.useState(!1), b = () => {
|
|
748
748
|
l(!1), i(null), n(void 0);
|
|
749
749
|
}, _ = async () => {
|
|
750
750
|
await o(), b();
|
|
@@ -761,7 +761,7 @@ const Ve = ({
|
|
|
761
761
|
}
|
|
762
762
|
),
|
|
763
763
|
/* @__PURE__ */ e(K, { sx: { ml: s || u ? 0 : 24 } }),
|
|
764
|
-
/* @__PURE__ */ e(
|
|
764
|
+
/* @__PURE__ */ e(Ke, { isOpen: a, onClose: b, onDelete: _ })
|
|
765
765
|
] });
|
|
766
766
|
}), re = C(() => {
|
|
767
767
|
const { settings: t } = w(), { loadTransactionRules: r, transactionRules: i } = E(), [o, n] = m.useState(!1);
|
|
@@ -775,18 +775,18 @@ const Ve = ({
|
|
|
775
775
|
/* @__PURE__ */ e(Y, { children: t.transaction_rules_label }),
|
|
776
776
|
/* @__PURE__ */ e(M, { variant: "body1", children: t.transaction_rules_description })
|
|
777
777
|
] }),
|
|
778
|
-
/* @__PURE__ */ e(
|
|
778
|
+
/* @__PURE__ */ e(Te, { children: i.map((u, s) => /* @__PURE__ */ e(Ye, { rule: u }, s)) })
|
|
779
779
|
] });
|
|
780
|
-
}),
|
|
780
|
+
}), qe = C(({ selectedTab: t }) => {
|
|
781
781
|
const { alert: r, setAlert: i } = E(), {
|
|
782
782
|
config: { display_user_profile_in_settings: o }
|
|
783
783
|
} = G();
|
|
784
784
|
return /* @__PURE__ */ c(X, { children: [
|
|
785
|
-
t === N.Profile && /* @__PURE__ */ e(
|
|
786
|
-
t === N.Devices && /* @__PURE__ */ e(
|
|
785
|
+
t === N.Profile && /* @__PURE__ */ e(Fe, {}),
|
|
786
|
+
t === N.Devices && /* @__PURE__ */ e(Ge, {}),
|
|
787
787
|
t === N.Notifications && /* @__PURE__ */ e(J, { showPersonalDetails: !o }),
|
|
788
788
|
t === N.TransactionRules && /* @__PURE__ */ e(re, {}),
|
|
789
|
-
t === N.Help && /* @__PURE__ */ e(h, { sx: { px: 24 }, children: /* @__PURE__ */ e(
|
|
789
|
+
t === N.Help && /* @__PURE__ */ e(h, { sx: { px: 24 }, children: /* @__PURE__ */ e(He, {}) }),
|
|
790
790
|
/* @__PURE__ */ e(
|
|
791
791
|
fe,
|
|
792
792
|
{
|
|
@@ -810,8 +810,8 @@ const Ve = ({
|
|
|
810
810
|
] });
|
|
811
811
|
});
|
|
812
812
|
var N = /* @__PURE__ */ ((t) => (t[t.Profile = 0] = "Profile", t[t.Devices = 1] = "Devices", t[t.Notifications = 2] = "Notifications", t[t.TransactionRules = 3] = "TransactionRules", t[t.Help = 4] = "Help", t))(N || {});
|
|
813
|
-
const
|
|
814
|
-
const { settings: o } = w(), { isCopyLoaded: n, isInitialized: u } = ee(), { config: s } = G(), { isMobile: a } =
|
|
813
|
+
const Vt = C(({ onBackClick: t, onMenuClick: r, sx: i }) => {
|
|
814
|
+
const { settings: o } = w(), { isCopyLoaded: n, isInitialized: u } = ee(), { config: s } = G(), { isMobile: a } = O(), { categoriesLoaded: l, loadCategories: b } = j();
|
|
815
815
|
ne({
|
|
816
816
|
widgetName: "SettingsWidget",
|
|
817
817
|
isLoaded: u && n
|
|
@@ -830,7 +830,7 @@ const Wt = C(({ onBackClick: t, onMenuClick: r, sx: i }) => {
|
|
|
830
830
|
{ enabled: p, index: 2, label: o?.notifications_label },
|
|
831
831
|
{ enabled: k, index: 3, label: o?.transaction_rules_label },
|
|
832
832
|
{ enabled: v, index: 4, label: o?.help_label }
|
|
833
|
-
],
|
|
833
|
+
], A = S.find((D) => D.enabled), [T, g] = m.useState(A ? A.index : -1);
|
|
834
834
|
return !n || !u ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ e(
|
|
835
835
|
q,
|
|
836
836
|
{
|
|
@@ -853,30 +853,30 @@ const Wt = C(({ onBackClick: t, onMenuClick: r, sx: i }) => {
|
|
|
853
853
|
)
|
|
854
854
|
}
|
|
855
855
|
),
|
|
856
|
-
/* @__PURE__ */ e(
|
|
856
|
+
/* @__PURE__ */ e(qe, { selectedTab: T })
|
|
857
857
|
] })
|
|
858
858
|
}
|
|
859
859
|
);
|
|
860
|
-
}),
|
|
860
|
+
}), Wt = C((t) => {
|
|
861
861
|
const { clientConfig: r } = G(), i = r?.master?.deep_link_params?.view;
|
|
862
862
|
return i ? /* @__PURE__ */ e(J, { view: i }) : /* @__PURE__ */ e(q, { ...t, showAccountFilter: !1, children: /* @__PURE__ */ e(h, { my: 24, children: /* @__PURE__ */ e(J, {}) }) });
|
|
863
|
-
}),
|
|
864
|
-
const { isMobile: r } =
|
|
863
|
+
}), zt = (t) => {
|
|
864
|
+
const { isMobile: r } = O(), { categoriesLoaded: i, loadCategories: o } = j();
|
|
865
865
|
return m.useEffect(() => {
|
|
866
866
|
i || o().finally();
|
|
867
867
|
}), /* @__PURE__ */ e(q, { ...t, showAccountFilter: !1, children: /* @__PURE__ */ e(h, { sx: { mx: r ? 0 : 48, my: 24 }, children: /* @__PURE__ */ e(re, {}) }) });
|
|
868
868
|
};
|
|
869
869
|
export {
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
870
|
+
$t as AccountNotificationProfiles,
|
|
871
|
+
Jt as BudgetNotificationProfiles,
|
|
872
|
+
Ge as DeviceTab,
|
|
873
|
+
Kt as InsightsNotificationProfiles,
|
|
874
874
|
J as NotificationSettings,
|
|
875
|
-
|
|
876
|
-
|
|
875
|
+
Wt as NotificationSettingsWidget,
|
|
876
|
+
Fe as ProfileTab,
|
|
877
877
|
N as SettingsTabs,
|
|
878
|
-
|
|
879
|
-
|
|
878
|
+
Vt as SettingsWidget,
|
|
879
|
+
qe as SettingsWidgetContents,
|
|
880
880
|
re as TransactionRulesTab,
|
|
881
|
-
|
|
881
|
+
zt as TransactionRulesWidget
|
|
882
882
|
};
|
|
@@ -7,8 +7,8 @@ import L from "@mui/material/Box";
|
|
|
7
7
|
import y from "@mui/material/Stack";
|
|
8
8
|
import $ from "@mui/material/Tab";
|
|
9
9
|
import rt from "@mui/material/Tabs";
|
|
10
|
-
import _t from "@mui/material/styles
|
|
11
|
-
import { g as st, a as lt, S as B, b as q } from "../SpendingLegend-
|
|
10
|
+
import { useTheme as _t } from "@mui/material/styles";
|
|
11
|
+
import { g as st, a as lt, S as B, b as q } from "../SpendingLegend-5Ct_FZ8o.mjs";
|
|
12
12
|
import { Text as T, Icon as bt } from "@mxenabled/mxui";
|
|
13
13
|
import { f as k } from "../NumberFormatting--XMeeBfr.mjs";
|
|
14
14
|
import { u as A, l as R, d as ct, b as P, a as H, h as dt, g as yt } from "../hooks-BaO_gOI6.mjs";
|
|
@@ -19,19 +19,19 @@ import { startOfToday as J } from "date-fns/startOfToday";
|
|
|
19
19
|
import St from "@mui/material/Button";
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
21
|
import { e as Mt } from "../TransactionUtils-BphBJBbU.mjs";
|
|
22
|
-
import { T as Dt } from "../EmbeddedCard-
|
|
23
|
-
import { T as xt } from "../TransactionDetails-
|
|
22
|
+
import { T as Dt } from "../EmbeddedCard-DPwJjqMH.mjs";
|
|
23
|
+
import { T as xt } from "../TransactionDetails-C3dlAzYf.mjs";
|
|
24
24
|
import vt from "@mui/material/Collapse";
|
|
25
25
|
import wt from "@mui/material/Divider";
|
|
26
26
|
import Q from "@mui/material/List";
|
|
27
27
|
import X from "@mui/material/ListItem";
|
|
28
28
|
import Z from "@mui/material/ListItemButton";
|
|
29
|
-
import { u as Lt } from "../useScreenSize-
|
|
30
|
-
import { D as tt } from "../Drawer-
|
|
29
|
+
import { u as Lt } from "../useScreenSize-mWpmnh5w.mjs";
|
|
30
|
+
import { D as tt } from "../Drawer-BXqqBMxg.mjs";
|
|
31
31
|
import { C as w } from "../Category-DEKZGLYe.mjs";
|
|
32
32
|
import { parseISO as et } from "date-fns/parseISO";
|
|
33
33
|
import { A as nt } from "../Analytics-CzGzz_sE.mjs";
|
|
34
|
-
import { W as It } from "../WidgetContainer-
|
|
34
|
+
import { W as It } from "../WidgetContainer-DNuz_s7W.mjs";
|
|
35
35
|
const G = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(y, { direction: "column", children: [
|
|
36
36
|
/* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: d }),
|
|
37
37
|
/* @__PURE__ */ t(T, { variant: "caption", children: k(n, o === "mini" ? "0,0" : "0,0.00") })
|
|
@@ -4,13 +4,13 @@ export interface TransactionListProps {
|
|
|
4
4
|
bgcolor?: string;
|
|
5
5
|
filter?: (t: Transaction) => boolean;
|
|
6
6
|
height?: number | string;
|
|
7
|
-
loader?: JSX.Element;
|
|
7
|
+
loader?: React.JSX.Element;
|
|
8
8
|
onClick?: (guid: string) => void;
|
|
9
9
|
showInsights?: boolean;
|
|
10
10
|
showLoader?: boolean;
|
|
11
11
|
transaction?: Transaction[];
|
|
12
12
|
width?: number | string;
|
|
13
|
-
zeroState?: JSX.Element;
|
|
13
|
+
zeroState?: React.JSX.Element;
|
|
14
14
|
}
|
|
15
15
|
declare const _default: React.FunctionComponent<TransactionListProps>;
|
|
16
16
|
export default _default;
|