@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.
Files changed (77) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{AccountDetailsHeader-CfdnKyJK.mjs → AccountDetailsHeader-DIysk_4w.mjs} +1 -1
  3. package/dist/{AccountFields-CAy0x_4i.mjs → AccountFields-mwJ8NXsX.mjs} +18 -18
  4. package/dist/{AccountListItem-BYyeeCf6.mjs → AccountListItem-BDXHs4tV.mjs} +7 -8
  5. package/dist/{CategorySelectorDrawer-Cu1ohxeM.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +71 -68
  6. package/dist/{ConnectCard-Dix8BoV_.mjs → ConnectCard-CCep7Zqe.mjs} +9 -9
  7. package/dist/{ConnectDrawer-DgfsTpyW.mjs → ConnectDrawer-Cnjr3Ddg.mjs} +2 -2
  8. package/dist/{ConnectionsDrawer-D7IXAza2.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +1 -1
  9. package/dist/{CurrencyDialog-d4dL7vA5.mjs → CurrencyDialog-DumQCTPO.mjs} +18 -16
  10. package/dist/{CurrencyInput-B59ugxPN.mjs → CurrencyInput-adTIRtL3.mjs} +28 -26
  11. package/dist/{Dialog-iLlBR8TG.mjs → Dialog-CwWc0AbH.mjs} +11 -11
  12. package/dist/{Drawer-XPaLYjiO.mjs → Drawer-BXqqBMxg.mjs} +26 -28
  13. package/dist/{EmbeddedCard-BNl3quCs.mjs → EmbeddedCard-DPwJjqMH.mjs} +37 -37
  14. package/dist/{EmptyState-DHAkGsjk.mjs → EmptyState-CJUDc3kD.mjs} +17 -17
  15. package/dist/{ExportCsvAction-hDprC41l.mjs → ExportCsvAction-Bw02ZJEj.mjs} +2 -2
  16. package/dist/{GlobalAccountFilter-DrhtwPqh.mjs → GlobalAccountFilter-7Cg2-9A5.mjs} +25 -25
  17. package/dist/{Help-BSQm9o29.mjs → Help-DJ8PrVHX.mjs} +56 -73
  18. package/dist/{ListItemAction-DGjHxNDJ.mjs → ListItemAction-CwspSmQi.mjs} +22 -22
  19. package/dist/{ManageIncome-DwylSiWs.mjs → ManageIncome-B1JfqslT.mjs} +6 -6
  20. package/dist/{NotificationSettings-CCg-Tml2.mjs → NotificationSettings-6p-h5phZ.mjs} +48 -48
  21. package/dist/{OriginalBalanceAction-CvDx0K6k.mjs → OriginalBalanceAction-CkJPnp2c.mjs} +2 -2
  22. package/dist/{RecurringSettings-CPXLW6AR.mjs → RecurringSettings-cm6MK_aS.mjs} +1 -1
  23. package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-CC9F_Ezk.mjs} +1 -1
  24. package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
  25. package/dist/Select-BFt-HD-L.mjs +55 -0
  26. package/dist/{SelectionBox-Bx2a5rh4.mjs → SelectionBox-B4xELRgp.mjs} +1 -1
  27. package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
  28. package/dist/{SpendingLegend-BmkEr9Nh.mjs → SpendingLegend-5Ct_FZ8o.mjs} +1 -1
  29. package/dist/{ToggleListItem-BLu_fWA2.mjs → ToggleListItem-Dl1lXNwj.mjs} +29 -28
  30. package/dist/{TransactionDetails-CbBSxdOi.mjs → TransactionDetails-C3dlAzYf.mjs} +386 -393
  31. package/dist/{ViewMoreMicroCard-D_LoKlJU.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +526 -518
  32. package/dist/{WidgetContainer-CYcmwsSu.mjs → WidgetContainer-DNuz_s7W.mjs} +5 -5
  33. package/dist/accounts/index.es.js +199 -194
  34. package/dist/analytics/index.es.js +1 -1
  35. package/dist/budgets/index.es.js +183 -184
  36. package/dist/cashflow/index.es.js +70 -80
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  39. package/dist/common/components/WidgetContainer.d.ts +1 -1
  40. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
  41. package/dist/common/hooks/usePrevious.d.ts +1 -1
  42. package/dist/common/index.es.js +206 -194
  43. package/dist/common/utils/Theme.d.ts +6 -5
  44. package/dist/common/utils/index.d.ts +1 -1
  45. package/dist/dashboard/index.es.js +47 -47
  46. package/dist/debts/index.es.js +140 -140
  47. package/dist/finstrong/index.es.js +40 -32
  48. package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
  49. package/dist/goals/index.es.js +154 -165
  50. package/dist/help/index.es.js +2 -2
  51. package/dist/insights/components/insights/UserFeedback/Types.d.ts +1 -1
  52. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +3 -3
  53. package/dist/insights/hooks/useContainerDimensions.d.ts +1 -1
  54. package/dist/insights/index.es.js +677 -687
  55. package/dist/insights/themes/Typography.d.ts +0 -2
  56. package/dist/investments/index.es.js +205 -207
  57. package/dist/merchants/index.es.js +1 -1
  58. package/dist/microinsights/cards/InsightCard.d.ts +2 -2
  59. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -5
  60. package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -5
  61. package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -5
  62. package/dist/microinsights/carousel/BeatList.d.ts +2 -2
  63. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -1
  64. package/dist/microinsights/index.es.js +1 -1
  65. package/dist/microinsights/interfaces.d.ts +11 -5
  66. package/dist/networth/index.es.js +85 -87
  67. package/dist/notifications/index.es.js +7 -8
  68. package/dist/recurringtransactions/index.es.js +53 -53
  69. package/dist/settings/index.es.js +111 -111
  70. package/dist/spending/index.es.js +7 -7
  71. package/dist/transactions/components/shared/TransactionList.d.ts +2 -2
  72. package/dist/transactions/index.es.js +138 -140
  73. package/dist/trends/index.es.js +293 -292
  74. package/dist/{useScreenSize-CeFhWTt_.mjs → useScreenSize-mWpmnh5w.mjs} +1 -1
  75. package/package.json +29 -23
  76. package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
  77. package/dist/Select-BZRUpOib.mjs +0 -51
@@ -1,5 +1,5 @@
1
1
  import { jsxs as c, jsx as e, Fragment as N } from "react/jsx-runtime";
2
- import p from "react";
2
+ import f from "react";
3
3
  import { observer as C } from "mobx-react-lite";
4
4
  import v from "@mui/material/Divider";
5
5
  import E from "@mui/material/List";
@@ -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 h from "@mui/material/Stack";
10
- import { ChevronRight as S, ExpandMore as ee, Star as te } from "@mxenabled/mx-icons";
10
+ import { ChevronRight as A, ExpandMore as ee, Star as te } from "@mxenabled/mx-icons";
11
11
  import { Text as x, InstitutionLogo as ne, H3 as F } from "@mxenabled/mxui";
12
12
  import { endOfMonth as ie } from "date-fns/endOfMonth";
13
13
  import { startOfMonth as oe } from "date-fns/startOfMonth";
@@ -16,34 +16,34 @@ import { LocalizationProvider as ae } from "@mui/x-date-pickers/LocalizationProv
16
16
  import { AdapterDateFns as ce } from "@mui/x-date-pickers/AdapterDateFnsV3";
17
17
  import { b as le } from "./Localization-DnoVyBNK.mjs";
18
18
  import { b as re, f as de } from "./NumberFormatting--XMeeBfr.mjs";
19
- import { u as k, A as T, C as A, d as J, g as me, a as q, b as he } from "./hooks-BaO_gOI6.mjs";
19
+ import { u as k, A as T, C as S, d as J, g as me, a as q, b as he } from "./hooks-BaO_gOI6.mjs";
20
20
  import { A as ue, N as b } from "./Notification-DTNYSd8P.mjs";
21
- import { T as R, a as D } from "./ToggleListItem-BLu_fWA2.mjs";
22
- import { D as B } from "./Dialog-iLlBR8TG.mjs";
23
- import { C as _e } from "./CurrencyInput-B59ugxPN.mjs";
24
- import { u as pe } from "./useScreenSize-CeFhWTt_.mjs";
25
- import { D as K } from "./Drawer-XPaLYjiO.mjs";
26
- import fe from "@mui/material/Collapse";
21
+ import { T as R, a as D } from "./ToggleListItem-Dl1lXNwj.mjs";
22
+ import { D as B } from "./Dialog-CwWc0AbH.mjs";
23
+ import { C as _e } from "./CurrencyInput-adTIRtL3.mjs";
24
+ import { u as fe } from "./useScreenSize-mWpmnh5w.mjs";
25
+ import { D as K } from "./Drawer-BXqqBMxg.mjs";
26
+ import pe from "@mui/material/Collapse";
27
27
  import ge from "@mui/material/Card";
28
28
  import ye from "@mui/material/CardContent";
29
29
  import W from "@mui/material/Box";
30
30
  import j from "@mui/material/Button";
31
31
  import U from "@mui/material/TextField";
32
32
  import { u as be } from "./useDimensions-CeDR9V8N.mjs";
33
- import Q from "@mui/material/styles/useTheme";
33
+ import { useTheme as Q } from "@mui/material/styles";
34
34
  import { u as xe } from "./useInsightsEnabled-DaNLPmUU.mjs";
35
35
  import { u as Ce } from "./useWidgetLoadTimer-CJb-RELP.mjs";
36
36
  import { L as ve } from "./Loader-CxeBwuPG.mjs";
37
37
  const Te = C(() => {
38
- const { common: n, settings: t } = k(), { sendEmailVerification: s } = T(), { user: l } = A(), i = Q(), [r, a] = p.useState(!1), o = () => {
38
+ const { common: n, settings: t } = k(), { sendEmailVerification: s } = T(), { user: l } = S(), i = Q(), [r, a] = f.useState(!1), o = () => {
39
39
  a(!1);
40
40
  }, u = () => {
41
41
  a(!0);
42
42
  };
43
- return /* @__PURE__ */ c(p.Fragment, { children: [
43
+ return /* @__PURE__ */ c(f.Fragment, { children: [
44
44
  /* @__PURE__ */ c(j, { onClick: u, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
45
45
  /* @__PURE__ */ e(x, { variant: "body2", children: t.verify_email }),
46
- /* @__PURE__ */ e(S, {})
46
+ /* @__PURE__ */ e(A, {})
47
47
  ] }),
48
48
  /* @__PURE__ */ e(
49
49
  B,
@@ -85,7 +85,7 @@ const Te = C(() => {
85
85
  ] });
86
86
  }), Pe = C(
87
87
  ({ handleClose: n, handleVerify: t, isOpen: s }) => {
88
- const { common: l, settings: i } = k(), [r, a] = p.useState("");
88
+ const { common: l, settings: i } = k(), [r, a] = f.useState("");
89
89
  return /* @__PURE__ */ e(
90
90
  B,
91
91
  {
@@ -109,7 +109,7 @@ const Te = C(() => {
109
109
  );
110
110
  }
111
111
  ), De = C(() => {
112
- const { common: n, settings: t } = k(), { sendPhoneVerification: s, verifyPhoneToken: l } = T(), { user: i } = A(), r = Q(), [a, o] = p.useState(!1), [u, d] = p.useState(!1), f = () => {
112
+ const { common: n, settings: t } = k(), { sendPhoneVerification: s, verifyPhoneToken: l } = T(), { user: i } = S(), r = Q(), [a, o] = f.useState(!1), [u, d] = f.useState(!1), p = () => {
113
113
  o(!1);
114
114
  }, _ = () => {
115
115
  o(!0);
@@ -122,19 +122,19 @@ const Te = C(() => {
122
122
  d(!1);
123
123
  });
124
124
  };
125
- return /* @__PURE__ */ c(p.Fragment, { children: [
125
+ return /* @__PURE__ */ c(f.Fragment, { children: [
126
126
  /* @__PURE__ */ c(j, { onClick: _, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
127
127
  /* @__PURE__ */ e(x, { variant: "body2", children: t.verify_phone }),
128
- /* @__PURE__ */ e(S, {})
128
+ /* @__PURE__ */ e(A, {})
129
129
  ] }),
130
130
  /* @__PURE__ */ e(
131
131
  B,
132
132
  {
133
133
  copy: { title: "" },
134
134
  isOpen: a,
135
- onClose: f,
135
+ onClose: p,
136
136
  onPrimaryAction: y,
137
- onSecondaryAction: f,
137
+ onSecondaryAction: p,
138
138
  primaryText: t.send_verification,
139
139
  secondaryText: n.back,
140
140
  sx: {
@@ -175,7 +175,7 @@ const Te = C(() => {
175
175
  ] });
176
176
  }), ke = C(
177
177
  ({ onProfileUpdated: n, profile: t }) => {
178
- const { common: s, recurring: l, settings: i } = k(), { updateAccount: r } = J(), a = t.notification_type === ue.DebtPaymentReminder, [o, u] = p.useState(!1), [d, f] = p.useState(t.threshold || 0), [_, y] = p.useState(
178
+ const { common: s, recurring: l, settings: i } = k(), { updateAccount: r } = J(), a = t.notification_type === ue.DebtPaymentReminder, [o, u] = f.useState(!1), [d, p] = f.useState(t.threshold || 0), [_, y] = f.useState(
179
179
  t.account?.day_payment_is_due || 0
180
180
  ), m = t.account?.name || t.account?.feed_name || "", g = t.account?.day_payment_is_due ? le(
181
181
  i.notification_debt_payment_date,
@@ -194,7 +194,7 @@ const Te = C(() => {
194
194
  institutionGuid: t.account?.institution_guid
195
195
  }
196
196
  ) : void 0,
197
- endIcon: /* @__PURE__ */ e(S, {}),
197
+ endIcon: /* @__PURE__ */ e(A, {}),
198
198
  isChecked: t.is_enabled,
199
199
  isDisabled: !t.is_enabled,
200
200
  isPrimaryTextBold: !0,
@@ -247,7 +247,7 @@ const Te = C(() => {
247
247
  autoFocus: !0,
248
248
  fullWidth: !0,
249
249
  minAmount: 0,
250
- setAmount: (w) => f(Number(w) || 0),
250
+ setAmount: (w) => p(Number(w) || 0),
251
251
  sx: { ".MuiTypography-body1": { p: 0 } }
252
252
  }
253
253
  )
@@ -257,10 +257,10 @@ const Te = C(() => {
257
257
  }
258
258
  ), we = C(
259
259
  ({ onUpdateProfile: n, profile: t }) => {
260
- const { settings: s } = k(), { user: l } = A(), { clientCommunicationProfile: i, userCommunicationsProfile: r } = T(), { isMobile: a } = pe(), o = t.notification_type > 2, {
260
+ const { settings: s } = k(), { user: l } = S(), { clientCommunicationProfile: i, userCommunicationsProfile: r } = T(), { isMobile: a } = fe(), o = t.notification_type > 2, {
261
261
  opted_out_of_email_notifications: u,
262
262
  opted_out_of_push_notifications: d,
263
- opted_out_of_sms_notifications: f
263
+ opted_out_of_sms_notifications: p
264
264
  } = r, {
265
265
  email_notifications_enabled: _,
266
266
  push_notifications_enabled: y,
@@ -285,11 +285,11 @@ const Te = C(() => {
285
285
  m && /* @__PURE__ */ e(h, { sx: { pl: 24 }, children: /* @__PURE__ */ e(
286
286
  D,
287
287
  {
288
- isChecked: !f && t.sms_channel && !!l.phone,
289
- isDisabled: f || !l.phone,
288
+ isChecked: !p && t.sms_channel && !!l.phone,
289
+ isDisabled: p || !l.phone,
290
290
  onToggle: () => n({ ...t, sms_channel: !t.sms_channel }),
291
291
  primaryText: `${s.delivery_method_sms_label}`,
292
- secondaryText: f || !t.sms_channel || !l.phone ? s.notification_disabled : s.notification_enabled,
292
+ secondaryText: p || !t.sms_channel || !l.phone ? s.notification_disabled : s.notification_enabled,
293
293
  useExtraPadding: !1
294
294
  }
295
295
  ) }),
@@ -322,7 +322,7 @@ const Te = C(() => {
322
322
  ] });
323
323
  }
324
324
  ), z = C(() => {
325
- const { accountProfiles: n, updateNotificationProfile: t } = T(), [s, l] = p.useState(""), i = p.useMemo(
325
+ const { accountProfiles: n, updateNotificationProfile: t } = T(), [s, l] = f.useState(""), i = f.useMemo(
326
326
  () => n.find((o) => o.guid === s),
327
327
  [n, s]
328
328
  ), r = async (o) => {
@@ -337,7 +337,7 @@ const Te = C(() => {
337
337
  n.filter((o) => o.children && o.children.length > 0).map((o) => /* @__PURE__ */ e(
338
338
  R,
339
339
  {
340
- endIcon: /* @__PURE__ */ e(S, {}),
340
+ endIcon: /* @__PURE__ */ e(A, {}),
341
341
  isChecked: o.is_enabled,
342
342
  isDisabled: !o.is_enabled,
343
343
  onClick: () => l(o.guid),
@@ -376,7 +376,7 @@ const Te = C(() => {
376
376
  opted_out_of_push_notifications: o,
377
377
  opted_out_of_sms_notifications: u
378
378
  }
379
- } = T(), { user: d } = A(), [f, _] = p.useState(!1), y = async () => {
379
+ } = T(), { user: d } = S(), [p, _] = f.useState(!1), y = async () => {
380
380
  await m({ ...n, is_enabled: !n.is_enabled }), n.is_enabled && _(!1);
381
381
  }, m = async (P) => {
382
382
  await r(P);
@@ -390,20 +390,20 @@ const Te = C(() => {
390
390
  {
391
391
  sx: {
392
392
  transition: "transform 0.3s ease-in-out",
393
- transform: f ? "rotate(180deg)" : "rotate(0deg)"
393
+ transform: p ? "rotate(180deg)" : "rotate(0deg)"
394
394
  }
395
395
  }
396
396
  ) : void 0,
397
397
  isChecked: n.is_enabled,
398
398
  isDisabled: !n.is_enabled,
399
- onClick: () => _(!f),
399
+ onClick: () => _(!p),
400
400
  onToggle: () => y(),
401
401
  primaryText: n.label,
402
402
  secondaryText: n.is_enabled ? n.deliveryMethodsLabel : void 0
403
403
  },
404
404
  n.guid
405
405
  ),
406
- g && /* @__PURE__ */ e(fe, { in: f, children: /* @__PURE__ */ c(E, { sx: { bgcolor: "background.paper" }, children: [
406
+ g && /* @__PURE__ */ e(pe, { in: p, children: /* @__PURE__ */ c(E, { sx: { bgcolor: "background.paper" }, children: [
407
407
  s && /* @__PURE__ */ e(
408
408
  D,
409
409
  {
@@ -448,12 +448,12 @@ const Te = C(() => {
448
448
  }), $ = C(() => {
449
449
  const { budgetProfiles: n } = T();
450
450
  return /* @__PURE__ */ e(h, { children: n.map((t) => /* @__PURE__ */ e(X, { profile: t }, t.guid)) });
451
- }), Se = C(() => {
451
+ }), Ae = C(() => {
452
452
  const { onEvent: n } = me(), { settings: t } = k(), {
453
453
  clientCommunicationProfile: s,
454
454
  updateUserCommunicationProfile: l,
455
455
  userCommunicationsProfile: i
456
- } = T(), { user: r } = A(), a = async (o, u) => {
456
+ } = T(), { user: r } = S(), a = async (o, u) => {
457
457
  const d = { ...i, [o]: u };
458
458
  if (n) {
459
459
  const _ = o.split("_")[3];
@@ -508,19 +508,19 @@ const Te = C(() => {
508
508
  ),
509
509
  s.sms_notifications_enabled && /* @__PURE__ */ e(ge, { sx: { backgroundColor: "background.default", mt: 12 }, variant: "outlined", children: /* @__PURE__ */ e(ye, { children: /* @__PURE__ */ c(h, { alignItems: "flex-start", direction: "row", gap: 6, children: [
510
510
  /* @__PURE__ */ e(te, { color: "primary", filled: !0 }),
511
- /* @__PURE__ */ e(x, { sx: { whiteSpace: "wrap" }, variant: "caption", children: t.delivery_method_sms_note_1 })
511
+ /* @__PURE__ */ e(x, { variant: "caption", children: t.delivery_method_sms_note_1 })
512
512
  ] }) }) })
513
513
  ] });
514
514
  }), H = C(() => {
515
515
  const { insightsProfiles: n } = T();
516
516
  return /* @__PURE__ */ e(h, { children: n.map((t) => /* @__PURE__ */ e(X, { profile: t }, t.guid)) });
517
- }), Ae = () => {
518
- const { config: n } = q(), [t, { width: s }] = be(), { common: l, settings: i } = k(), { updateUser: r } = T(), { user: a } = A(), [o, u] = p.useState(!1), [d, f] = p.useState({
517
+ }), Se = () => {
518
+ const { config: n } = q(), [t, { width: s }] = be(), { common: l, settings: i } = k(), { updateUser: r } = T(), { user: a } = S(), [o, u] = f.useState(!1), [d, p] = f.useState({
519
519
  email: a.email,
520
520
  phone: a.phone
521
521
  }), _ = d.email && !a.email_is_verified && !o, y = d.phone && !a.phone_is_verified && !o, m = (P) => {
522
522
  const { name: I, value: w } = P.target, M = { ...d, [I]: w };
523
- f(M), u(JSON.stringify({ ...a, ...M }) !== JSON.stringify(a));
523
+ p(M), u(JSON.stringify({ ...a, ...M }) !== JSON.stringify(a));
524
524
  }, g = async () => {
525
525
  await r({ ...a, ...d }), u(!1);
526
526
  };
@@ -596,21 +596,21 @@ const Te = C(() => {
596
596
  )
597
597
  ] })
598
598
  ] });
599
- }, Ie = C(Ae), ut = C(
599
+ }, Ie = C(Se), ut = C(
600
600
  ({
601
601
  notificationTypes: n = [b.Accounts, b.Budgets],
602
602
  showPersonalDetails: t = !1,
603
603
  view: s
604
604
  }) => {
605
- const { config: l } = q(), { settings: i } = k(), { isInitialized: r } = he(), { isAccountDataLoaded: a, loadAccountData: o } = J(), { clientCommunicationProfile: u, loadNotificationProfiles: d } = T(), f = xe(), [_, y] = p.useState(!1), [m, g] = p.useState(
605
+ const { config: l } = q(), { settings: i } = k(), { isInitialized: r } = he(), { isAccountDataLoaded: a, loadAccountData: o } = J(), { clientCommunicationProfile: u, loadNotificationProfiles: d } = T(), p = xe(), [_, y] = f.useState(!1), [m, g] = f.useState(
606
606
  void 0
607
607
  );
608
- if (n.length > 0 && f && n.push(b.Insights), Ce({
608
+ if (n.length > 0 && p && n.push(b.Insights), Ce({
609
609
  widgetName: "NotificationSettingsWidget",
610
610
  isLoaded: _
611
- }), p.useEffect(() => {
611
+ }), f.useEffect(() => {
612
612
  a || o().finally();
613
- }, []), p.useEffect(() => {
613
+ }, []), f.useEffect(() => {
614
614
  r && d().finally(() => y(!0));
615
615
  }, [r]), !r)
616
616
  return /* @__PURE__ */ e(ve, {});
@@ -631,7 +631,7 @@ const Te = C(() => {
631
631
  return /* @__PURE__ */ c(h, { sx: { pt: G ? 0 : 24 }, children: [
632
632
  /* @__PURE__ */ c(h, { sx: { px: 24 }, children: [
633
633
  G && /* @__PURE__ */ c(N, { children: [
634
- /* @__PURE__ */ e(Se, {}),
634
+ /* @__PURE__ */ e(Ae, {}),
635
635
  /* @__PURE__ */ e(v, { sx: { my: 24 } })
636
636
  ] }),
637
637
  /* @__PURE__ */ e(F, { sx: { mb: 4 }, children: i.notification_types_title })
@@ -639,15 +639,15 @@ const Te = C(() => {
639
639
  /* @__PURE__ */ c(E, { children: [
640
640
  n.includes(b.Accounts) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ c(V, { onClick: () => g(b.Accounts), children: [
641
641
  /* @__PURE__ */ e(L, { primary: i.accounts_title, secondary: i.accounts_subtitle }),
642
- /* @__PURE__ */ e(S, {})
642
+ /* @__PURE__ */ e(A, {})
643
643
  ] }) }),
644
644
  n.includes(b.Budgets) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ c(V, { onClick: () => g(b.Budgets), children: [
645
645
  /* @__PURE__ */ e(L, { primary: i.budgets_title, secondary: i.budgets_subtitle }),
646
- /* @__PURE__ */ e(S, {})
646
+ /* @__PURE__ */ e(A, {})
647
647
  ] }) }),
648
648
  n.includes(b.Insights) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ c(V, { onClick: () => g(b.Insights), children: [
649
649
  /* @__PURE__ */ e(L, { primary: i.insights_title, secondary: i.insights_subtitle }),
650
- /* @__PURE__ */ e(S, {})
650
+ /* @__PURE__ */ e(A, {})
651
651
  ] }) })
652
652
  ] }),
653
653
  Z && /* @__PURE__ */ e(h, { sx: { px: 24 }, children: /* @__PURE__ */ e(Ie, {}) }),
@@ -4,8 +4,8 @@ import { observer as p } from "mobx-react-lite";
4
4
  import v from "@mui/material/TextField";
5
5
  import { a as T, f as S } from "./NumberFormatting--XMeeBfr.mjs";
6
6
  import { u as y, k as h } from "./hooks-BaO_gOI6.mjs";
7
- import { L as b } from "./ListItemAction-DGjHxNDJ.mjs";
8
- import { C as f } from "./CurrencyInput-B59ugxPN.mjs";
7
+ import { L as b } from "./ListItemAction-CwspSmQi.mjs";
8
+ import { C as f } from "./CurrencyInput-adTIRtL3.mjs";
9
9
  const F = p(({ goal: e }) => {
10
10
  const { goals: n } = y(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = h(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
11
11
  const a = { ...e, interest_rate: t };
@@ -7,7 +7,7 @@ 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-DwylSiWs.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-B1JfqslT.mjs";
11
11
  import { u as _, i as A, g as f } from "./hooks-BaO_gOI6.mjs";
12
12
  import { R as y, F as N } from "./RecurringTransactionsUtil-B3rLEx_g.mjs";
13
13
  import { A as m } from "./Analytics-CzGzz_sE.mjs";
@@ -3,7 +3,7 @@ import p from "react";
3
3
  import d from "@mui/material/Button";
4
4
  import a from "@mui/material/IconButton";
5
5
  import f from "@mui/material/Tooltip";
6
- import c from "@mui/material/styles/useTheme";
6
+ import { useTheme as c } from "@mui/material/styles";
7
7
  const B = ({
8
8
  icon: e,
9
9
  label: i,
@@ -0,0 +1,50 @@
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import { observer as s } from "mobx-react-lite";
3
+ import m from "@mui/material/Box";
4
+ import p from "@mui/material/IconButton";
5
+ import t from "@mui/material/InputAdornment";
6
+ import { TextField as d, Icon as n } from "@mxenabled/mxui";
7
+ const x = ({
8
+ ariaLabel: c = "Search",
9
+ cancelAriaLabel: a = "Cancel Search",
10
+ onChange: e,
11
+ placeholder: i = "Search",
12
+ searchValue: r
13
+ }) => /* @__PURE__ */ o(m, { className: "mx-cmn-search-box", px: 24, py: 16, children: /* @__PURE__ */ o(
14
+ d,
15
+ {
16
+ "aria-label": c,
17
+ name: "search",
18
+ onChange: (l) => e(l.target.value),
19
+ placeholder: i,
20
+ slotProps: {
21
+ input: {
22
+ startAdornment: /* @__PURE__ */ o(t, { position: "start", children: /* @__PURE__ */ o(n, { name: "search", size: 26, sx: { color: "action.active" } }) }),
23
+ endAdornment: /* @__PURE__ */ o(t, { position: "end", sx: { p: 0 }, children: r ? /* @__PURE__ */ o(
24
+ p,
25
+ {
26
+ "aria-label": a,
27
+ className: "mx-cat-cancel-search-button",
28
+ color: "primary",
29
+ onClick: () => e(""),
30
+ children: /* @__PURE__ */ o(n, { name: "cancel", size: 24 })
31
+ }
32
+ ) : null }),
33
+ sx: {
34
+ "& .MuiOutlinedInput-notchedOutline": {
35
+ borderColor: "text.secondary",
36
+ opacity: 0.5
37
+ },
38
+ "& input::placeholder": { color: "text.secondary", opacity: 1 }
39
+ }
40
+ }
41
+ },
42
+ sx: {
43
+ width: "100%"
44
+ },
45
+ value: r
46
+ }
47
+ ) }), v = s(x);
48
+ export {
49
+ v as S
50
+ };
@@ -0,0 +1,55 @@
1
+ import { jsx as r, jsxs as m, Fragment as d } from "react/jsx-runtime";
2
+ import c from "@mui/material/Avatar";
3
+ import l from "@mui/material/ListItem";
4
+ import h from "@mui/material/ListItemAvatar";
5
+ import p from "@mui/material/ListItemButton";
6
+ import u from "@mui/material/ListItemIcon";
7
+ import f from "@mui/material/ListItemText";
8
+ import { Icon as s } from "@mxenabled/mxui";
9
+ import g from "@mui/material/MenuItem";
10
+ import x from "@mui/material/TextField";
11
+ import { ExpandMore as b } from "@mxenabled/mx-icons";
12
+ const G = ({ iconName: a, label: n, onClick: e, value: i }) => {
13
+ const o = /* @__PURE__ */ m(d, { children: [
14
+ /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(c, { sx: { bgcolor: "neutral.light" }, variant: "rounded", children: /* @__PURE__ */ r(s, { name: a, sx: { color: "text.primary" } }) }) }),
15
+ /* @__PURE__ */ r(
16
+ f,
17
+ {
18
+ primary: n,
19
+ secondary: i,
20
+ slotProps: {
21
+ primary: { variant: "caption", fontWeight: "normal" },
22
+ secondary: { color: "text.default", variant: "body1", fontWeight: 600 }
23
+ }
24
+ }
25
+ )
26
+ ] });
27
+ return e ? /* @__PURE__ */ r(l, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ m(p, { onClick: e, children: [
28
+ o,
29
+ /* @__PURE__ */ r(u, { children: /* @__PURE__ */ r(s, { name: "chevron_right", size: 24 }) })
30
+ ] }) }) : /* @__PURE__ */ r(l, { disableGutters: !1, disablePadding: !1, children: o });
31
+ }, M = ({ label: a, onChange: n, options: e, value: i, ...o }) => /* @__PURE__ */ r(
32
+ x,
33
+ {
34
+ defaultValue: 0,
35
+ label: a,
36
+ onChange: (t) => {
37
+ n(Number(t.target.value));
38
+ },
39
+ select: !0,
40
+ slotProps: {
41
+ inputLabel: { shrink: !0 },
42
+ select: {
43
+ IconComponent: (t) => /* @__PURE__ */ r(b, { size: 20, sx: { mr: 4 }, ...t })
44
+ }
45
+ },
46
+ value: i,
47
+ variant: "outlined",
48
+ ...o,
49
+ children: e.map((t) => /* @__PURE__ */ r(g, { value: t.id, children: t.label }, t.id))
50
+ }
51
+ );
52
+ export {
53
+ G as D,
54
+ M as S
55
+ };
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
2
2
  import c from "@mui/material/Box";
3
3
  import n from "@mui/material/FormControlLabel";
4
4
  import s from "@mui/material/Radio";
5
- import d from "@mui/material/styles/useTheme";
5
+ import { useTheme as d } from "@mui/material/styles";
6
6
  import b from "@mui/material/Tooltip";
7
7
  const C = ({
8
8
  checked: r = !1,
@@ -1,6 +1,6 @@
1
1
  import { jsxs as a, jsx as o } from "react/jsx-runtime";
2
2
  import l from "@mui/material/Box";
3
- import D from "@mui/material/styles/useTheme";
3
+ import { useTheme as D } from "@mui/material/styles";
4
4
  const p = 48, d = 4, y = ({
5
5
  color: m = "",
6
6
  percent: r = 0,
@@ -12,7 +12,7 @@ import { f as b } from "./NumberFormatting--XMeeBfr.mjs";
12
12
  import { D as j } from "./Donut-SzzfZDHF.mjs";
13
13
  import { u as R } from "./useAriaLive-MkYebyUR.mjs";
14
14
  import { u as v } from "./hooks-BaO_gOI6.mjs";
15
- import { u as V } from "./useScreenSize-CeFhWTt_.mjs";
15
+ import { u as V } from "./useScreenSize-mWpmnh5w.mjs";
16
16
  const D = 5, B = (i, l, s, m) => m.reduce((o, n) => {
17
17
  const r = i.find((u) => u.guid === n.category_guid);
18
18
  if (!r) return o;
@@ -1,35 +1,35 @@
1
- import { jsx as t, jsxs as a } from "react/jsx-runtime";
2
- import p from "@mui/material/ListItem";
1
+ import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
+ import l from "@mui/material/ListItem";
3
3
  import f from "@mui/material/ListItemButton";
4
4
  import g from "@mui/material/ListItemIcon";
5
5
  import d from "@mui/material/ListItemText";
6
- import m from "@mui/material/Stack";
7
- import h from "@mui/material/Switch";
6
+ import a from "@mui/material/Stack";
7
+ import p from "@mui/material/Switch";
8
8
  import { Text as s } from "@mxenabled/mxui";
9
9
  import I from "@mui/material/ListItemAvatar";
10
- const C = ({
10
+ const S = ({
11
11
  avatar: r,
12
12
  endIcon: o,
13
13
  isChecked: c,
14
14
  isDisabled: i = !1,
15
15
  isPrimaryTextBold: n = !1,
16
16
  onClick: e,
17
- onToggle: l,
18
- primaryText: y,
19
- secondaryText: x
17
+ onToggle: h,
18
+ primaryText: x,
19
+ secondaryText: y
20
20
  }) => (
21
21
  //TODO: implement common/components/ListItemRow.tsx
22
22
  /* @__PURE__ */ t(
23
- p,
23
+ l,
24
24
  {
25
- secondaryAction: /* @__PURE__ */ t(h, { checked: c, onChange: l }),
25
+ secondaryAction: /* @__PURE__ */ t(p, { checked: c, onChange: h }),
26
26
  sx: {
27
27
  "& .MuiListItemSecondaryAction-root": { right: o ? 64 : 24 },
28
28
  "& .MuiListItemButton-root": { pr: 24 }
29
29
  },
30
- children: /* @__PURE__ */ a(f, { onClick: i ? void 0 : () => e(), children: [
30
+ children: /* @__PURE__ */ m(f, { onClick: i ? void 0 : () => e(), children: [
31
31
  r && /* @__PURE__ */ t(I, { children: r }),
32
- /* @__PURE__ */ t(d, { primaryTypographyProps: { fontWeight: 400 }, children: /* @__PURE__ */ t(m, { alignItems: "center", direction: "row", justifyContent: "space-between", children: /* @__PURE__ */ a(m, { sx: { width: "100%" }, children: [
32
+ /* @__PURE__ */ t(d, { slotProps: { primary: { fontWeight: 400 } }, children: /* @__PURE__ */ t(a, { alignItems: "center", direction: "row", justifyContent: "space-between", children: /* @__PURE__ */ m(a, { sx: { width: "100%" }, children: [
33
33
  /* @__PURE__ */ t(
34
34
  s,
35
35
  {
@@ -39,10 +39,10 @@ const C = ({
39
39
  mr: 80
40
40
  },
41
41
  variant: "body1",
42
- children: y
42
+ children: x
43
43
  }
44
44
  ),
45
- /* @__PURE__ */ t(s, { color: "text.secondary", variant: "caption", children: x })
45
+ /* @__PURE__ */ t(s, { color: "text.secondary", variant: "caption", children: y })
46
46
  ] }) }) }),
47
47
  !i && o && /* @__PURE__ */ t(g, { children: o })
48
48
  ] })
@@ -56,9 +56,9 @@ const C = ({
56
56
  secondaryText: n = void 0,
57
57
  useExtraPadding: e = !0
58
58
  }) => /* @__PURE__ */ t(
59
- p,
59
+ l,
60
60
  {
61
- secondaryAction: /* @__PURE__ */ t(h, { checked: r, disabled: o, onChange: c }),
61
+ secondaryAction: /* @__PURE__ */ t(p, { checked: r, disabled: o, onChange: c }),
62
62
  sx: {
63
63
  pl: e ? 48 : 0,
64
64
  "& .MuiListItemSecondaryAction-root": { right: e ? 64 : 24 }
@@ -67,24 +67,25 @@ const C = ({
67
67
  d,
68
68
  {
69
69
  primary: i,
70
- primaryTypographyProps: {
71
- fontWeight: 400,
72
- variant: "body1",
73
- maxWidth: "calc(100% - 60px)",
74
- color: "text.primary"
75
- },
76
70
  secondary: n,
77
- secondaryTypographyProps: {
78
- color: "text.secondary",
79
- maxWidth: "calc(100% - 60px)",
80
- variant: "caption",
81
- whiteSpace: "wrap"
71
+ slotProps: {
72
+ primary: {
73
+ fontWeight: 400,
74
+ variant: "body1",
75
+ maxWidth: "calc(100% - 60px)",
76
+ color: "text.primary"
77
+ },
78
+ secondary: {
79
+ color: "text.secondary",
80
+ maxWidth: "calc(100% - 60px)",
81
+ variant: "caption"
82
+ }
82
83
  }
83
84
  }
84
85
  )
85
86
  }
86
87
  );
87
88
  export {
88
- C as T,
89
+ S as T,
89
90
  W as a
90
91
  };