@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
package/CHANGELOG.md CHANGED
@@ -1,3 +1,19 @@
1
+ ## [9.0.0] - 05-14-2026
2
+
3
+ - **UPDATED** - Upgraded core dependencies: React 18 to 19, MUI 5 to 7, MXUI 1 to 2, mx-icons 1 to 2, and Storybook 8.6.4 to 8.6.18
4
+ - **UPDATED** - Migrated all MUI components from deprecated props to the new slotProps/slots API
5
+ - **UPDATED** - Migrated MUI Grid components from v1 item/xs props to v2 size prop
6
+ - **UPDATED** - Replaced removed MXUI components with mx-icons equivalents
7
+ - **UPDATED** - Migrated theme palette references from border to neutral
8
+
9
+ ## [8.2.5] - 05-14-2026
10
+
11
+ - **FIXED** - Payment due date logic in account details to ensure consistent UTC-based date rendering
12
+
13
+ ## [8.2.4] - 05-13-2026
14
+
15
+ - **UPDATED** - Removed deprecated `variant` and `showBorder` props from Insights Micro Widget after `cardStyle` migration, reduce type duplication for micro insight `cards`
16
+
1
17
  ## [8.2.3] - 05-11-2026
2
18
 
3
19
  - **UPDATED** - Adds suppport for `cardStyle` batcave setting for Insights Micro Widget
@@ -5,7 +5,7 @@ import { H3 as x, InstitutionLogo as D, Text as d, H2 as N } from "@mxenabled/mx
5
5
  import { f as P } from "./NumberFormatting--XMeeBfr.mjs";
6
6
  import p from "react";
7
7
  import { G, d as f, l as O, f as R, a as v, u as w } from "./hooks-BaO_gOI6.mjs";
8
- import { g as L } from "./AccountFields-CAy0x_4i.mjs";
8
+ import { g as L } from "./AccountFields-mwJ8NXsX.mjs";
9
9
  import { A as i } from "./Account-BaJmiJAG.mjs";
10
10
  import H from "@mui/material/Card";
11
11
  import M from "@mui/material/CardContent";
@@ -1,12 +1,12 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
- import { Text as v, Icon as b } from "@mxenabled/mxui";
3
- import { A as d, a as h, P as F, b as T } from "./Account-BaJmiJAG.mjs";
4
- import { i as A, u as D, a as g, b as O, c as C } from "./AccountUtils-T5_Odvos.mjs";
2
+ import { Text as h, Icon as b } from "@mxenabled/mxui";
3
+ import { A as d, a as F, P as T, b as A } from "./Account-BaJmiJAG.mjs";
4
+ import { i as D, u as g, a as O, b as C, c as N } from "./AccountUtils-T5_Odvos.mjs";
5
5
  import { F as m } from "./Accounts-CseLC3lL.mjs";
6
- import { f as N } from "./DateUtil-Bhq59ZVg.mjs";
6
+ import { f } from "./DateUtil-Bhq59ZVg.mjs";
7
7
  import { f as s, i as o, a as S, b as I } from "./NumberFormatting--XMeeBfr.mjs";
8
8
  import { b as i } from "./Localization-DnoVyBNK.mjs";
9
- import { f, D as c } from "./DateFormats-HudZ3Bjs.mjs";
9
+ import { f as c, D as y } from "./DateFormats-HudZ3Bjs.mjs";
10
10
  const Y = (l, e) => {
11
11
  const n = [
12
12
  {
@@ -19,7 +19,7 @@ const Y = (l, e) => {
19
19
  valueFormatter: (a) => a
20
20
  }
21
21
  ];
22
- if (A(l)) {
22
+ if (D(l)) {
23
23
  n.unshift({
24
24
  label: e.account_balance,
25
25
  name: "balance",
@@ -30,7 +30,7 @@ const Y = (l, e) => {
30
30
  const a = Object.keys(d).filter((t) => Number(t)).map((t) => ({
31
31
  label: e.account_types[t],
32
32
  value: Number(t),
33
- icon: /* @__PURE__ */ p(b, { name: h[t] })
33
+ icon: /* @__PURE__ */ p(b, { name: F[t] })
34
34
  }));
35
35
  n.push({
36
36
  label: e.account_type,
@@ -42,10 +42,10 @@ const Y = (l, e) => {
42
42
  });
43
43
  }
44
44
  if (l.account_type === d.PROPERTY) {
45
- const a = Object.keys(F).filter((t) => Number(t)).map((t) => ({
45
+ const a = Object.keys(T).filter((t) => Number(t)).map((t) => ({
46
46
  label: e.property_types[t],
47
47
  value: Number(t),
48
- icon: /* @__PURE__ */ p(b, { name: T[t] })
48
+ icon: /* @__PURE__ */ p(b, { name: A[t] })
49
49
  }));
50
50
  n.push({
51
51
  label: e.property_type,
@@ -56,7 +56,7 @@ const Y = (l, e) => {
56
56
  valueFormatter: (t) => a.find((r) => r.value === t)?.label
57
57
  });
58
58
  }
59
- if (D(l)) {
59
+ if (g(l)) {
60
60
  let a = e.interest_rate, t = "interest_rate";
61
61
  l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), n.push({
62
62
  event: "account_details_click_interest_rate",
@@ -68,7 +68,7 @@ const Y = (l, e) => {
68
68
  valueFormatter: (r) => o(r) ? S(r / 100) : r
69
69
  });
70
70
  }
71
- return g(l) && (n.push({
71
+ return O(l) && (n.push({
72
72
  label: e.minimum_payment,
73
73
  name: "minimum_payment",
74
74
  placeholder: i(e.enter_value, e.minimum_payment),
@@ -79,8 +79,8 @@ const Y = (l, e) => {
79
79
  name: "payment_due_at",
80
80
  type: m.Date,
81
81
  valueFormatter: (a) => {
82
- const t = typeof a == "number" ? new Date(a * 1e3) : a;
83
- return f(t, c.MED_MONTH_SHORT_DAY_FULL_YEAR);
82
+ const t = typeof a == "number" ? f(a) : a;
83
+ return c(t, y.MED_MONTH_SHORT_DAY_FULL_YEAR);
84
84
  }
85
85
  }) : n.push({
86
86
  label: e.day_payment_due,
@@ -91,13 +91,13 @@ const Y = (l, e) => {
91
91
  e.day_of_every_month,
92
92
  I(a <= 31 ? a : new Date(a).getDate())
93
93
  )
94
- })), O(l) && n.push({
94
+ })), C(l) && n.push({
95
95
  label: e.credit_limit,
96
96
  name: "credit_limit",
97
97
  placeholder: i(e.enter_value, e.credit_limit),
98
98
  type: m.Currency,
99
99
  valueFormatter: (a) => s(a, "0,0.00")
100
- }), C(l) && n.push({
100
+ }), N(l) && n.push({
101
101
  label: e.original_balance,
102
102
  minAmount: 1,
103
103
  name: "original_balance",
@@ -115,11 +115,11 @@ const Y = (l, e) => {
115
115
  }
116
116
  default:
117
117
  if (a = e.current_balance, t = l.balance, l.minimum_payment && l.payment_due_at) {
118
- const y = N(l.payment_due_at);
119
- r = /* @__PURE__ */ p(v, { component: "strong", variant: "caption", children: i(
118
+ const v = f(l.payment_due_at);
119
+ r = /* @__PURE__ */ p(h, { component: "strong", variant: "caption", children: i(
120
120
  e.payment_due_on,
121
121
  s(l.minimum_payment, "0,0.00"),
122
- f(y, c.FULL_MONTH_DAY)
122
+ c(v, y.FULL_MONTH_DAY)
123
123
  ) });
124
124
  } else l.credit_limit && (r = e.available_credit, _ = s(l.credit_limit - (l?.balance ?? 0), "0,0.00"));
125
125
  }
@@ -6,14 +6,14 @@ import v from "@mui/material/ListItem";
6
6
  import C from "@mui/material/ListItemAvatar";
7
7
  import S from "@mui/material/ListItemButton";
8
8
  import A from "@mui/material/ListItemText";
9
- import L from "@mui/material/styles/useTheme";
9
+ import { useTheme as L } from "@mui/material/styles";
10
10
  import { InstitutionLogo as B, Text as r } from "@mxenabled/mxui";
11
11
  import { Error as j } from "@mxenabled/mx-icons";
12
12
  import { I as T } from "./IconBacking-DgT8DCeh.mjs";
13
13
  import { f as $ } from "./NumberFormatting--XMeeBfr.mjs";
14
- import { g as k } from "./AccountFields-CAy0x_4i.mjs";
15
- import { u as w } from "./useAccountDisplayName-CFa_MrS6.mjs";
16
- import { a as E, u as M } from "./hooks-BaO_gOI6.mjs";
14
+ import { g as k } from "./AccountFields-mwJ8NXsX.mjs";
15
+ import { u as E } from "./useAccountDisplayName-CFa_MrS6.mjs";
16
+ import { a as M, u as w } from "./hooks-BaO_gOI6.mjs";
17
17
  import { C as d } from "./Account-BaJmiJAG.mjs";
18
18
  const z = {
19
19
  gridRow: 1,
@@ -25,7 +25,7 @@ const z = {
25
25
  listItemProps: s,
26
26
  shouldShowConnectionStatus: p = !1
27
27
  }) => {
28
- const u = L(), f = w(t), { config: g } = E(), { accounts: i } = M(), { firstSubtitle: h, firstValue: x, secondSubtitle: b, secondValue: y } = k(
28
+ const u = L(), f = E(t), { config: g } = M(), { accounts: i } = w(), { firstSubtitle: h, firstValue: b, secondSubtitle: x, secondValue: y } = k(
29
29
  t,
30
30
  i,
31
31
  g.display_available_balance_in_accounts
@@ -54,7 +54,6 @@ const z = {
54
54
  {
55
55
  bold: !0,
56
56
  color: t.is_hidden ? u.palette.text.secondary : void 0,
57
- sx: { whiteSpace: "normal" },
58
57
  variant: "body1",
59
58
  children: [
60
59
  `${f} ${t.account_number ? `*${t.account_number}` : ""}`,
@@ -67,10 +66,10 @@ const z = {
67
66
  secondary: /* @__PURE__ */ o(c, { children: [
68
67
  /* @__PURE__ */ o(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
69
68
  /* @__PURE__ */ e(r, { variant: "caption", children: h }),
70
- /* @__PURE__ */ e(r, { bold: !0, variant: "body2", children: $(x, "0,0.00") })
69
+ /* @__PURE__ */ e(r, { bold: !0, variant: "body2", children: $(b, "0,0.00") })
71
70
  ] }),
72
71
  /* @__PURE__ */ o(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
73
- /* @__PURE__ */ e(r, { variant: "caption", children: b }),
72
+ /* @__PURE__ */ e(r, { variant: "caption", children: x }),
74
73
  /* @__PURE__ */ e(r, { ml: "auto", variant: "caption", children: y })
75
74
  ] })
76
75
  ] })
@@ -1,13 +1,13 @@
1
- import { jsx as t, jsxs as _ } from "react/jsx-runtime";
2
- import { observer as E } from "mobx-react-lite";
3
- import p from "react";
1
+ import { jsx as t, jsxs as g } from "react/jsx-runtime";
2
+ import { observer as p } from "mobx-react-lite";
3
+ import E from "react";
4
4
  import $ from "@mui/material/Stack";
5
5
  import { G as K, l as f, u as S, g as A, b as B } from "./hooks-BaO_gOI6.mjs";
6
6
  import U from "@mui/material/List";
7
7
  import V from "@mui/material/Paper";
8
- import { b as g } from "./Localization-DnoVyBNK.mjs";
8
+ import { b as _ } from "./Localization-DnoVyBNK.mjs";
9
9
  import Y from "@mui/material/Divider";
10
- import x from "@mui/material/ListItem";
10
+ import T from "@mui/material/ListItem";
11
11
  import W from "@mui/material/ListItemAvatar";
12
12
  import N from "@mui/material/ListItemButton";
13
13
  import F from "@mui/material/ListItemIcon";
@@ -16,16 +16,16 @@ import { CheckCircle as M, Edit as j, Delete as X, ExpandMore as z } from "@mxen
16
16
  import { Text as q, TextField as H, CategoryIcon as J } from "@mxenabled/mxui";
17
17
  import Q from "@mui/material/Collapse";
18
18
  import Z from "@mui/material/DialogContent";
19
- import { D as ee } from "./Dialog-iLlBR8TG.mjs";
19
+ import { D as ee } from "./Dialog-CwWc0AbH.mjs";
20
20
  import te from "@mui/material/Box";
21
21
  import oe from "@mui/material/Chip";
22
22
  import v from "@mui/material/IconButton";
23
23
  import { u as ae } from "./useAriaLive-MkYebyUR.mjs";
24
24
  import { L as k } from "./Loader-CxeBwuPG.mjs";
25
- import { S as re } from "./SearchBox-CwDgvWVJ.mjs";
26
- import { D as ne } from "./Drawer-XPaLYjiO.mjs";
27
- const b = () => {
28
- if (!p.useContext(K))
25
+ import { S as re } from "./SearchBox-Cpgu_gdO.mjs";
26
+ import { D as ne } from "./Drawer-BXqqBMxg.mjs";
27
+ const y = () => {
28
+ if (!E.useContext(K))
29
29
  throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
30
30
  return f().uiStore;
31
31
  }, C = {
@@ -49,20 +49,20 @@ const se = ({
49
49
  isOpen: l,
50
50
  type: i
51
51
  }) => {
52
- const [a, c] = p.useState(e), { categories: r } = S(), { setShouldDisableDrawerScroll: n } = b();
52
+ const [a, c] = E.useState(e), { categories: r } = S(), { setShouldDisableDrawerScroll: n } = y();
53
53
  let d = "", m = [];
54
- const u = i === "delete", h = e.length > 50 ? `${e.slice(0, 50)}...` : e, y = i === "edit" ? g(r.edit_subcategory_aria, h) : r.add_subcategory_aria;
54
+ const u = i === "delete", h = e.length > 50 ? `${e.slice(0, 50)}...` : e, b = i === "edit" ? _(r.edit_subcategory_aria, h) : r.add_subcategory_aria;
55
55
  switch (i) {
56
56
  case "add":
57
57
  d = r.add_subcategory_title;
58
58
  break;
59
59
  case "edit":
60
- d = g(r.edit_subcategory_title, h);
60
+ d = _(r.edit_subcategory_title, h);
61
61
  break;
62
62
  case "delete":
63
- d = r.delete_subcategory_heading, m = g(
63
+ d = r.delete_subcategory_heading, m = _(
64
64
  r.all_transactions_in_this_subcategory,
65
- /* @__PURE__ */ t(q, { bold: !0, component: "span", children: g(r.all_parent_category, h) })
65
+ /* @__PURE__ */ t(q, { bold: !0, component: "span", children: _(r.all_parent_category, h) })
66
66
  );
67
67
  break;
68
68
  }
@@ -83,34 +83,37 @@ const se = ({
83
83
  children: /* @__PURE__ */ t(Z, { children: u ? m : /* @__PURE__ */ t(
84
84
  H,
85
85
  {
86
- inputProps: {
87
- "aria-label": y,
88
- maxLength: 50
89
- },
90
- label: y,
86
+ label: b,
91
87
  name: "modify-subcategory",
92
88
  onChange: (D) => c(D.target.value),
93
89
  placeholder: r.input_placeholder,
90
+ slotProps: {
91
+ htmlInput: {
92
+ "aria-label": b,
93
+ maxLength: 50
94
+ }
95
+ },
94
96
  sx: { width: "100%" },
97
+ truncate: !0,
95
98
  value: a
96
99
  }
97
100
  ) })
98
101
  }
99
102
  );
100
- }, R = E(se), ie = ({ announce: e, parentCategory: s }) => {
101
- const [o, l] = p.useState(!1), { addCategory: i } = f(), { categories: a } = S(), { onEvent: c } = A(), { setShouldDisableDrawerScroll: r } = b(), n = async (u) => {
102
- await i(u.trim(), s.guid), e(g(a.add_subcategory_announcement, u)), c(C.ON_SUBCATEGORY_ADDED), l(!1);
103
+ }, R = p(se), ie = ({ announce: e, parentCategory: s }) => {
104
+ const [o, l] = E.useState(!1), { addCategory: i } = f(), { categories: a } = S(), { onEvent: c } = A(), { setShouldDisableDrawerScroll: r } = y(), n = async (u) => {
105
+ await i(u.trim(), s.guid), e(_(a.add_subcategory_announcement, u)), c(C.ON_SUBCATEGORY_ADDED), l(!1);
103
106
  }, d = async () => {
104
107
  c(C.ON_SUBCATEGORY_ADD_CLICK), r(!0), l(!0);
105
108
  }, m = () => {
106
109
  l(!1), c(C.ON_SUBCATEGORY_ADD_CANCEL_CLICK);
107
110
  };
108
- return /* @__PURE__ */ _(x, { disableGutters: !0, disablePadding: !0, children: [
111
+ return /* @__PURE__ */ g(T, { disableGutters: !0, disablePadding: !0, children: [
109
112
  /* @__PURE__ */ t(N, { onClick: d, sx: { ml: 60 }, children: /* @__PURE__ */ t(
110
113
  G,
111
114
  {
112
115
  primary: a.add_subcategory_button,
113
- primaryTypographyProps: { color: "primary", fontWeight: "normal", variant: "body1" }
116
+ slotProps: { primary: { color: "primary", fontWeight: "normal", variant: "body1" } }
114
117
  }
115
118
  ) }),
116
119
  o && /* @__PURE__ */ t(
@@ -123,14 +126,14 @@ const se = ({
123
126
  }
124
127
  )
125
128
  ] });
126
- }, ce = E(ie), le = ({
129
+ }, ce = p(ie), le = ({
127
130
  announce: e,
128
131
  setShowRename: s,
129
132
  subCategory: o,
130
133
  showRename: l
131
134
  }) => {
132
135
  const { onEvent: i } = A(), { updateCategory: a } = f(), { categories: c } = S(), r = async (d) => {
133
- await a({ ...o, name: d }), e(g(c.edit_subcategory_announcement, o.name, d)), i(C.ON_SUBCATEGORY_SAVED), s(!1);
136
+ await a({ ...o, name: d }), e(_(c.edit_subcategory_announcement, o.name, d)), i(C.ON_SUBCATEGORY_SAVED), s(!1);
134
137
  }, n = () => {
135
138
  s(!1), i(C.ON_SUBCATEGORY_EDIT_CANCEL_CLICK);
136
139
  };
@@ -144,7 +147,7 @@ const se = ({
144
147
  type: L.EDIT
145
148
  }
146
149
  );
147
- }, de = E(le), ue = ({
150
+ }, de = p(le), ue = ({
148
151
  announce: e,
149
152
  parentCategory: s,
150
153
  showDelete: o,
@@ -154,7 +157,7 @@ const se = ({
154
157
  const { onEvent: a } = A(), { removeCategory: c } = f(), { categories: r } = S(), n = () => {
155
158
  l(!1), a(C.ON_SUBCATEGORY_DELETE_CLICK);
156
159
  }, d = async () => {
157
- await c(i.guid), e(g(r.delete_subcategory_announcement, i.name)), a(C.ON_SUBCATEGORY_DELETED), l(!1);
160
+ await c(i.guid), e(_(r.delete_subcategory_announcement, i.name)), a(C.ON_SUBCATEGORY_DELETED), l(!1);
158
161
  };
159
162
  return /* @__PURE__ */ t(
160
163
  R,
@@ -166,7 +169,7 @@ const se = ({
166
169
  type: L.DELETE
167
170
  }
168
171
  );
169
- }, me = E(ue), Ce = ({
172
+ }, me = p(ue), Ce = ({
170
173
  announce: e,
171
174
  parentCategory: s,
172
175
  subCategory: o
@@ -179,16 +182,16 @@ const se = ({
179
182
  showSelected: r,
180
183
  unselectable: n,
181
184
  unselectableText: d
182
- } = b(), { categories: m } = S(), { onEvent: u } = A(), [h, y] = p.useState(!1), [D, O] = p.useState(!1), T = !!o.revision, w = o.guid === i, I = !n.some((P) => P === o.guid);
183
- return /* @__PURE__ */ _(
184
- x,
185
+ } = y(), { categories: m } = S(), { onEvent: u } = A(), [h, b] = E.useState(!1), [D, O] = E.useState(!1), x = !!o.revision, w = o.guid === i, I = !n.some((P) => P === o.guid);
186
+ return /* @__PURE__ */ g(
187
+ T,
185
188
  {
186
189
  className: "mx-cat-subcategory-row",
187
190
  disableGutters: !0,
188
191
  disablePadding: !0,
189
192
  sx: { pl: 58 },
190
193
  children: [
191
- /* @__PURE__ */ _(
194
+ /* @__PURE__ */ g(
192
195
  N,
193
196
  {
194
197
  "aria-pressed": w,
@@ -202,7 +205,7 @@ const se = ({
202
205
  G,
203
206
  {
204
207
  primary: o.name,
205
- primaryTypographyProps: { fontWeight: "normal", variant: "body1", noWrap: !0 }
208
+ slotProps: { primary: { fontWeight: "normal", variant: "body1", noWrap: !0 } }
206
209
  }
207
210
  ),
208
211
  r && w && /* @__PURE__ */ t(M, { fontSize: "small" }),
@@ -210,7 +213,7 @@ const se = ({
210
213
  ]
211
214
  }
212
215
  ),
213
- T && /* @__PURE__ */ _(
216
+ x && /* @__PURE__ */ g(
214
217
  te,
215
218
  {
216
219
  className: "mx-cat-subcategory-edit-container",
@@ -219,9 +222,9 @@ const se = ({
219
222
  /* @__PURE__ */ t(
220
223
  v,
221
224
  {
222
- "aria-label": g(m.edit_subcategory_title, o.name),
225
+ "aria-label": _(m.edit_subcategory_title, o.name),
223
226
  onClick: () => {
224
- y(!0), c(!0), u(C.ON_SUBCATEGORY_EDIT_CLICK);
227
+ b(!0), c(!0), u(C.ON_SUBCATEGORY_EDIT_CLICK);
225
228
  },
226
229
  children: /* @__PURE__ */ t(j, { color: "secondary" })
227
230
  }
@@ -229,7 +232,7 @@ const se = ({
229
232
  /* @__PURE__ */ t(
230
233
  v,
231
234
  {
232
- "aria-label": g(m.delete_subcategory_aria, o.name),
235
+ "aria-label": _(m.delete_subcategory_aria, o.name),
233
236
  edge: "end",
234
237
  onClick: () => {
235
238
  O(!0), c(!0), u(C.ON_SUBCATEGORY_DELETE_CLICK);
@@ -254,7 +257,7 @@ const se = ({
254
257
  de,
255
258
  {
256
259
  announce: e,
257
- setShowRename: y,
260
+ setShowRename: b,
258
261
  showRename: h,
259
262
  subCategory: o
260
263
  }
@@ -262,9 +265,9 @@ const se = ({
262
265
  ]
263
266
  }
264
267
  );
265
- }, ge = E(Ce), _e = ({ categories: e, parentCategory: s }) => {
266
- const { expandedGuid: o, searchValue: l } = b(), { announce: i, ariaLive: a } = ae(), c = s.guid === o, r = !!l;
267
- return /* @__PURE__ */ _(
268
+ }, _e = p(Ce), ge = ({ categories: e, parentCategory: s }) => {
269
+ const { expandedGuid: o, searchValue: l } = y(), { announce: i, ariaLive: a } = ae(), c = s.guid === o, r = !!l;
270
+ return /* @__PURE__ */ g(
268
271
  Q,
269
272
  {
270
273
  in: c || r,
@@ -273,16 +276,16 @@ const se = ({
273
276
  unmountOnExit: !0,
274
277
  children: [
275
278
  a,
276
- /* @__PURE__ */ _(
279
+ /* @__PURE__ */ g(
277
280
  U,
278
281
  {
279
282
  "aria-labelledby": `category-${s.guid}`,
280
283
  className: "mx-cat-subcategory-list",
281
284
  id: `subcategories-${s.guid}`,
282
285
  children: [
283
- e.map((n) => /* @__PURE__ */ _(p.Fragment, { children: [
286
+ e.map((n) => /* @__PURE__ */ g(E.Fragment, { children: [
284
287
  /* @__PURE__ */ t(
285
- ge,
288
+ _e,
286
289
  {
287
290
  announce: i,
288
291
  parentCategory: s,
@@ -298,13 +301,13 @@ const se = ({
298
301
  ]
299
302
  }
300
303
  );
301
- }, pe = E(_e), Ee = ({ category: e, subCategories: s }) => {
302
- const { expandedGuid: o, searchValue: l, setExpandedGuid: i } = b(), { onEvent: a } = A(), c = e.guid === o, r = () => {
304
+ }, Ee = p(ge), pe = ({ category: e, subCategories: s }) => {
305
+ const { expandedGuid: o, searchValue: l, setExpandedGuid: i } = y(), { onEvent: a } = A(), c = e.guid === o, r = () => {
303
306
  const n = e.guid !== o ? e.guid : null;
304
307
  i(n), a(n ? C.ON_CATEGORY_EXPANDED : C.ON_CATEGORY_COLLAPSED);
305
308
  };
306
- return /* @__PURE__ */ _(p.Fragment, { children: [
307
- /* @__PURE__ */ t(x, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ _(
309
+ return /* @__PURE__ */ g(E.Fragment, { children: [
310
+ /* @__PURE__ */ t(T, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ g(
308
311
  N,
309
312
  {
310
313
  "aria-controls": `subcategories-${e.guid}`,
@@ -318,7 +321,7 @@ const se = ({
318
321
  G,
319
322
  {
320
323
  primary: e.name,
321
- primaryTypographyProps: { fontWeight: "normal", variant: "body1" }
324
+ slotProps: { primary: { fontWeight: "normal", variant: "body1" } }
322
325
  }
323
326
  ),
324
327
  /* @__PURE__ */ t(F, { children: /* @__PURE__ */ t(
@@ -335,15 +338,15 @@ const se = ({
335
338
  e.guid
336
339
  ) }),
337
340
  /* @__PURE__ */ t(Y, { "aria-hidden": "true", component: "li", sx: { ml: 58 } }),
338
- /* @__PURE__ */ t("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ t(pe, { categories: s, parentCategory: e }) })
341
+ /* @__PURE__ */ t("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ t(Ee, { categories: s, parentCategory: e }) })
339
342
  ] });
340
- }, he = E(Ee), Se = () => {
341
- const { categories: e } = f(), { searchValue: s } = b(), { categories: o } = S(), i = ((a, c = "") => a.reduce((r, n) => {
343
+ }, he = p(pe), Se = () => {
344
+ const { categories: e } = f(), { searchValue: s } = y(), { categories: o } = S(), i = ((a, c = "") => a.reduce((r, n) => {
342
345
  if (n.parent_guid === null) {
343
346
  const m = [
344
347
  {
345
348
  ...n,
346
- name: g(o.all_parent_category, n.name),
349
+ name: _(o.all_parent_category, n.name),
347
350
  parent_guid: n.guid
348
351
  },
349
352
  ...a
@@ -363,7 +366,7 @@ const se = ({
363
366
  },
364
367
  a.category.guid
365
368
  )) }) });
366
- }, ye = E(Se), be = ({
369
+ }, be = p(Se), ye = ({
367
370
  initialSelected: e,
368
371
  onSelect: s = void 0,
369
372
  showSelected: o = !0,
@@ -375,30 +378,30 @@ const se = ({
375
378
  setOnSelect: m,
376
379
  setSearchValue: u,
377
380
  setSelectedGuid: h,
378
- setShowSelected: y,
381
+ setShowSelected: b,
379
382
  setUnselectable: D,
380
383
  setUnselectableText: O
381
- } = b();
382
- return p.useEffect(() => {
384
+ } = y();
385
+ return E.useEffect(() => {
383
386
  s && m(s);
384
- }), p.useEffect(() => {
387
+ }), E.useEffect(() => {
385
388
  a.length || c();
386
- }, []), p.useEffect(() => {
387
- e && h(e), y(o), D(l), O(i);
388
- }, [e, o, l, i]), n ? /* @__PURE__ */ _($, { className: "mx-cat-category-selector", sx: { width: "100%" }, children: [
389
+ }, []), E.useEffect(() => {
390
+ e && h(e), b(o), D(l), O(i);
391
+ }, [e, o, l, i]), n ? /* @__PURE__ */ g($, { className: "mx-cat-category-selector", sx: { width: "100%" }, children: [
389
392
  /* @__PURE__ */ t(
390
393
  re,
391
394
  {
392
395
  ariaLabel: r.search_aria,
393
396
  cancelAriaLabel: r.cancel_search_aria,
394
- onChange: (T) => u(T),
397
+ onChange: (x) => u(x),
395
398
  placeholder: r.search_placeholder,
396
399
  searchValue: d
397
400
  }
398
401
  ),
399
- /* @__PURE__ */ t(ye, {})
402
+ /* @__PURE__ */ t(be, {})
400
403
  ] }) : /* @__PURE__ */ t(k, {});
401
- }, De = E(be), fe = ({
404
+ }, De = p(ye), fe = ({
402
405
  id: e,
403
406
  onClose: s,
404
407
  title: o,
@@ -418,10 +421,10 @@ const se = ({
418
421
  children: /* @__PURE__ */ t(De, { ...i })
419
422
  }
420
423
  ) : /* @__PURE__ */ t(k, {});
421
- }, Je = E(fe);
424
+ }, Je = p(fe);
422
425
  export {
423
426
  he as C,
424
427
  De as a,
425
428
  Je as b,
426
- b as u
429
+ y as u
427
430
  };
@@ -5,11 +5,11 @@ import l from "@mui/material/Card";
5
5
  import d from "@mui/material/CardContent";
6
6
  import p from "@mui/material/CardHeader";
7
7
  import C from "@mui/material/Stack";
8
- import { AccountBalance as f, ChevronRight as x } from "@mxenabled/mx-icons";
8
+ import { AccountBalance as f, ChevronRight as h } from "@mxenabled/mx-icons";
9
9
  import { Text as a } from "@mxenabled/mxui";
10
- import { C as h } from "./ConnectDrawer-DgfsTpyW.mjs";
11
- const H = ({ description: i, label: e, title: s }) => {
12
- const [c, o] = n.useState(!1);
10
+ import { C as x } from "./ConnectDrawer-Cnjr3Ddg.mjs";
11
+ const H = ({ description: i, label: e, title: c }) => {
12
+ const [s, o] = n.useState(!1);
13
13
  return /* @__PURE__ */ r(n.Fragment, { children: [
14
14
  /* @__PURE__ */ r(l, { sx: { m: 24 }, children: [
15
15
  /* @__PURE__ */ t(
@@ -17,15 +17,15 @@ const H = ({ description: i, label: e, title: s }) => {
17
17
  {
18
18
  avatar: /* @__PURE__ */ t(f, {}),
19
19
  sx: { ".MuiCardHeader-avatar": { mr: 8 } },
20
- title: /* @__PURE__ */ t(a, { bold: !0, variant: "body1", children: s })
20
+ title: /* @__PURE__ */ t(a, { bold: !0, variant: "body1", children: c })
21
21
  }
22
22
  ),
23
23
  /* @__PURE__ */ t(d, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ r(C, { alignItems: "flex-start", spacing: 2, children: [
24
- /* @__PURE__ */ t(a, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "subtitle2", children: i }),
24
+ /* @__PURE__ */ t(a, { color: "text.secondary", variant: "subtitle2", children: i }),
25
25
  /* @__PURE__ */ t(
26
26
  m,
27
27
  {
28
- endIcon: /* @__PURE__ */ t(x, {}),
28
+ endIcon: /* @__PURE__ */ t(h, {}),
29
29
  onClick: () => o(!0),
30
30
  sx: {
31
31
  pl: 0,
@@ -40,10 +40,10 @@ const H = ({ description: i, label: e, title: s }) => {
40
40
  ] }) })
41
41
  ] }),
42
42
  /* @__PURE__ */ t(
43
- h,
43
+ x,
44
44
  {
45
45
  onClose: () => o(!1),
46
- showConnectWidget: c,
46
+ showConnectWidget: s,
47
47
  title: e
48
48
  }
49
49
  )
@@ -1,12 +1,12 @@
1
1
  import { jsx as r, jsxs as E } from "react/jsx-runtime";
2
2
  import s from "react";
3
3
  import { observer as _ } from "mobx-react-lite";
4
- import g from "@mui/material/styles/useTheme";
4
+ import { useTheme as g } from "@mui/material/styles";
5
5
  import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
6
6
  import { b as a, a as c } from "./Connect-Dk6GZEsA.mjs";
7
7
  import { M as i } from "./Accounts-CseLC3lL.mjs";
8
8
  import { d as D, e as L, u as w } from "./hooks-BaO_gOI6.mjs";
9
- import { D as y } from "./Drawer-XPaLYjiO.mjs";
9
+ import { D as y } from "./Drawer-BXqqBMxg.mjs";
10
10
  const I = ({
11
11
  loadWidgetProps: l,
12
12
  onClose: m,
@@ -6,7 +6,7 @@ import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
6
6
  import { C as a, a as c } from "./Connect-Dk6GZEsA.mjs";
7
7
  import { M as i } from "./Accounts-CseLC3lL.mjs";
8
8
  import { d as D, e as L, u as w } from "./hooks-BaO_gOI6.mjs";
9
- import { D as x } from "./Drawer-XPaLYjiO.mjs";
9
+ import { D as x } from "./Drawer-BXqqBMxg.mjs";
10
10
  const I = ({
11
11
  onClose: l,
12
12
  showConnectionsWidget: o,