@mx-cartographer/experiences 9.0.12 → 9.0.13-alpha.mm1

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 +4 -0
  2. package/dist/{AccountDetailsDrawer-BuxLfuIm.mjs → AccountDetailsDrawer-BuMEKwr4.mjs} +9 -9
  3. package/dist/{AccountDetailsHeader-ByGNPZpO.mjs → AccountDetailsHeader-Cq8gJeKI.mjs} +27 -28
  4. package/dist/{Analytics-CkYXKvco.mjs → Analytics-CttfDu8q.mjs} +1 -1
  5. package/dist/{ApiEndpoints-DXwIYNUV.mjs → ApiEndpoints-CJfDTZiz.mjs} +1 -0
  6. package/dist/{CategorySelectorDrawer-NJsFsKP1.mjs → CategorySelectorDrawer-B0hohJug.mjs} +31 -32
  7. package/dist/{Connect-BH0Pt6zc.mjs → Connect-DpCOQuon.mjs} +1 -1
  8. package/dist/{ConnectCard-D7uxoH5Y.mjs → ConnectCard-2ddqF--u.mjs} +1 -1
  9. package/dist/{ConnectDrawer-CW4LA3H3.mjs → ConnectDrawer-CtKFKQ4v.mjs} +2 -2
  10. package/dist/{ConnectionsDrawer-CZU9ku-k.mjs → ConnectionsDrawer-DR_uFsmI.mjs} +2 -2
  11. package/dist/{CurrencyInput-DaGEQaLW.mjs → CurrencyInput-CDkPAmY3.mjs} +1 -1
  12. package/dist/{EmbeddedCard-BxgB26dd.mjs → EmbeddedCard-D4Gc6FqI.mjs} +18 -19
  13. package/dist/{Error-Dtw6yxkf.mjs → Error-C4fV38X2.mjs} +1 -1
  14. package/dist/{ExportCsvAction-BV69DnpC.mjs → ExportCsvAction-BEIt7Uvs.mjs} +2 -2
  15. package/dist/{GlobalAccountFilter-BhzR5Vb1.mjs → GlobalAccountFilter-BgFoR-uF.mjs} +1 -1
  16. package/dist/{GlobalCopyApi-wcnDUzMV.mjs → GlobalCopyApi-Dh3dZAlu.mjs} +1 -1
  17. package/dist/{Help-BMCejaQr.mjs → Help-CAUHpIcv.mjs} +17 -18
  18. package/dist/{LineChart-CUfiH86G.mjs → LineChart-C748C07J.mjs} +1 -1
  19. package/dist/{ListItemAction-BqUCLj_w.mjs → ListItemAction-5QxK1Kpg.mjs} +1 -1
  20. package/dist/{ListItemWrapper-BHIbqx7E.mjs → ListItemWrapper-WrydKfdb.mjs} +1 -1
  21. package/dist/Loader-D4P2dFXa.mjs +95 -0
  22. package/dist/{ManageIncome-CPy6xnnI.mjs → ManageIncome-C2fYj8yu.mjs} +6 -6
  23. package/dist/{MicroWidgetContainer-B2NnKBgW.mjs → MicroWidgetContainer-NaPOzFYb.mjs} +1 -1
  24. package/dist/{MiniWidgetContainer-Bmv_WeUd.mjs → MiniWidgetContainer-kqPSVO5C.mjs} +1 -1
  25. package/dist/{NotificationSettings-CW7okUrk.mjs → NotificationSettings-RUJH7TGl.mjs} +46 -47
  26. package/dist/{OriginalBalanceAction-YrvxBYAl.mjs → OriginalBalanceAction-Bllvg830.mjs} +3 -3
  27. package/dist/{RecurringSettings-fr6qhQ7f.mjs → RecurringSettings-6HEG8Gpk.mjs} +2 -2
  28. package/dist/{SpendingLegend-CxvNOg3c.mjs → SpendingLegend-X4cMvsKB.mjs} +1 -1
  29. package/dist/{TransactionDetails-DQ_eE7M4.mjs → TransactionDetails-3_ReLEN7.mjs} +15 -16
  30. package/dist/{UserStore-66-vYoey.mjs → UserStore-BnWaTxnV.mjs} +137 -95
  31. package/dist/{ViewMoreMicroCard-Dxghxphh.mjs → ViewMoreMicroCard-pAH2oSdC.mjs} +4 -4
  32. package/dist/{WidgetContainer-DJnp6t6c.mjs → WidgetContainer-amVXNdG2.mjs} +54 -55
  33. package/dist/accounts/index.es.js +30 -31
  34. package/dist/analytics/index.es.js +18 -19
  35. package/dist/budgets/index.es.js +35 -36
  36. package/dist/cashflow/index.es.js +32 -33
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/context/hooks.d.ts +1 -0
  39. package/dist/common/context/index.d.ts +1 -1
  40. package/dist/common/index.es.js +79 -79
  41. package/dist/core/api/AgreementApi.d.ts +7 -0
  42. package/dist/core/api/index.d.ts +1 -0
  43. package/dist/core/constants/ApiEndpoints.d.ts +1 -0
  44. package/dist/core/index.es.js +84 -82
  45. package/dist/core/stores/AgreementStore.d.ts +11 -0
  46. package/dist/core/stores/GlobalStore.d.ts +2 -1
  47. package/dist/core/stores/GlobalUiStore.d.ts +1 -0
  48. package/dist/core/stores/UserStore.d.ts +1 -0
  49. package/dist/core/stores/index.d.ts +1 -0
  50. package/dist/core/types/Agreement.d.ts +6 -0
  51. package/dist/core/types/User.d.ts +1 -0
  52. package/dist/core/types/index.d.ts +1 -0
  53. package/dist/core/types/localization/CommonCopy.d.ts +13 -0
  54. package/dist/dashboard/WelcomeDialog.d.ts +8 -0
  55. package/dist/dashboard/index.d.ts +2 -0
  56. package/dist/dashboard/index.es.js +245 -92
  57. package/dist/debts/index.es.js +101 -102
  58. package/dist/finstrong/index.es.js +14 -15
  59. package/dist/goals/index.es.js +26 -27
  60. package/dist/help/index.es.js +16 -17
  61. package/dist/insights/index.es.js +4 -4
  62. package/dist/investments/index.es.js +20 -21
  63. package/dist/merchants/index.es.js +3 -4
  64. package/dist/microinsights/index.es.js +1 -1
  65. package/dist/networth/index.es.js +14 -15
  66. package/dist/notifications/index.es.js +19 -20
  67. package/dist/recurringtransactions/index.es.js +60 -61
  68. package/dist/settings/index.es.js +42 -43
  69. package/dist/spending/index.es.js +17 -18
  70. package/dist/transactions/index.es.js +17 -18
  71. package/dist/trends/index.es.js +28 -29
  72. package/dist/{useAccountDisplayName-BsiXA0qf.mjs → useAccountDisplayName-BADe2cCd.mjs} +1 -1
  73. package/dist/{useInsightsEnabled-D5Sdm0TJ.mjs → useInsightsEnabled-CBJKlTJ0.mjs} +1 -1
  74. package/dist/{useWidgetLoadTimer-B0tB-yzL.mjs → useWidgetLoadTimer-B02UcM5C.mjs} +1 -1
  75. package/package.json +1 -1
  76. package/dist/Loader-CxeBwuPG.mjs +0 -21
  77. package/dist/hooks-97sNJ_lf.mjs +0 -77
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [9.0.13] - 06-02-2026
2
+
3
+ - **ADDED** - Dashboard WelcomeDialog onboarding modal
4
+
1
5
  ## [9.0.12] - 06-02-2026
2
6
 
3
7
  - **FIXED** - Debts widget briefly displaying zero percent interest rates before account data finished loading
@@ -1,10 +1,10 @@
1
1
  import { jsx as e, jsxs as u, Fragment as T } from "react/jsx-runtime";
2
2
  import { observer as x } from "mobx-react-lite";
3
3
  import { useTheme as $, alpha as rt } from "@mui/material/styles";
4
- import { u as S, a as lt, b as dt, A as ut } from "./AccountDetailsHeader-ByGNPZpO.mjs";
5
- import { L as _t } from "./LineChart-CUfiH86G.mjs";
4
+ import { u as S, a as lt, b as dt, A as ut } from "./AccountDetailsHeader-Cq8gJeKI.mjs";
5
+ import { L as _t } from "./LineChart-C748C07J.mjs";
6
6
  import { g as mt, a as pt, b as ht } from "./SpendingData-Fii_xATx.mjs";
7
- import { l as gt, u as D, c as V, i as Ct, f as P, g as Q } from "./hooks-97sNJ_lf.mjs";
7
+ import { l as gt, u as D, c as V, i as Ct, f as P, g as Q } from "./Loader-D4P2dFXa.mjs";
8
8
  import { c as Y, C as G, e as m, N as Z } from "./Account-DR7Plrqy.mjs";
9
9
  import { I as tt, P as et, S as nt, T as H } from "./TabContentContainer-B0eYJP5p.mjs";
10
10
  import _ from "react";
@@ -24,12 +24,12 @@ import L from "@mui/material/ListItemAvatar";
24
24
  import { Error as W, Language as Tt, CheckCircle as xt } from "@mxenabled/mx-icons";
25
25
  import { I as O } from "./IconBacking-DgT8DCeh.mjs";
26
26
  import { f as Dt } from "./NumberFormatting--XMeeBfr.mjs";
27
- import { u as St } from "./useAccountDisplayName-BsiXA0qf.mjs";
27
+ import { u as St } from "./useAccountDisplayName-BADe2cCd.mjs";
28
28
  import { A as I } from "./Analytics-WeZYytR0.mjs";
29
29
  import { D as U } from "./Dialog-Bvd2n8hz.mjs";
30
30
  import { D as z } from "./Drawer-DsnW2o0v.mjs";
31
31
  import Et from "@mui/material/Stack";
32
- import { C as st } from "./ConnectDrawer-CW4LA3H3.mjs";
32
+ import { C as st } from "./ConnectDrawer-CtKFKQ4v.mjs";
33
33
  import { fromUnixTime as vt } from "date-fns/fromUnixTime";
34
34
  import { isToday as wt } from "date-fns/isToday";
35
35
  import { isYesterday as It } from "date-fns/isYesterday";
@@ -43,15 +43,15 @@ import { LocalizationProvider as Pt } from "@mui/x-date-pickers-pro";
43
43
  import J from "@mui/material/MenuItem";
44
44
  import Rt from "@mui/material/Select";
45
45
  import Bt from "@mui/material/TextField";
46
- import { F as R } from "./Connect-BH0Pt6zc.mjs";
47
- import { C as Ft } from "./CurrencyInput-DaGEQaLW.mjs";
46
+ import { F as R } from "./Connect-DpCOQuon.mjs";
47
+ import { C as Ft } from "./CurrencyInput-CDkPAmY3.mjs";
48
48
  import Ut from "@mui/material/Alert";
49
49
  import $t from "@mui/material/AlertTitle";
50
50
  import Vt from "@mui/material/Link";
51
51
  import Wt from "@mui/material/Paper";
52
52
  import { endOfToday as zt, subDays as Yt, startOfToday as Gt } from "date-fns";
53
- import { T as Ht } from "./EmbeddedCard-BxgB26dd.mjs";
54
- import { T as jt } from "./TransactionDetails-DQ_eE7M4.mjs";
53
+ import { T as Ht } from "./EmbeddedCard-D4Gc6FqI.mjs";
54
+ import { T as jt } from "./TransactionDetails-3_ReLEN7.mjs";
55
55
  const Kt = (t, o) => {
56
56
  const n = tt.includes(o) ? mt(t) : [], a = et.includes(o) ? pt(t) : [], c = nt.includes(o) ? ht(t) : [];
57
57
  return [n, a, c].filter((l) => l.length > 0);
@@ -4,24 +4,23 @@ import d from "@mui/material/Stack";
4
4
  import { Text as b, Icon as y, H3 as w, InstitutionLogo as G, H2 as M } from "@mxenabled/mxui";
5
5
  import { f as _, i as C, a as H, b as U } from "./NumberFormatting--XMeeBfr.mjs";
6
6
  import h from "react";
7
- import { G as Y, c as A, l as j, e as k, i as V, u as B } from "./hooks-97sNJ_lf.mjs";
8
- import { c as u, b as z, f as W, h as $ } from "./Account-DR7Plrqy.mjs";
9
- import { a as q, u as K, i as J, b as Q, c as X } from "./AccountUtils-B8ZzWI-d.mjs";
10
- import { F as o } from "./Connect-BH0Pt6zc.mjs";
7
+ import { G as Y, c as A, l as j, e as k, L as V, i as B, u as z } from "./Loader-D4P2dFXa.mjs";
8
+ import { c as u, b as W, f as $, h as q } from "./Account-DR7Plrqy.mjs";
9
+ import { a as K, u as J, i as Q, b as X, c as Z } from "./AccountUtils-B8ZzWI-d.mjs";
10
+ import { F as o } from "./Connect-DpCOQuon.mjs";
11
11
  import { j as g } from "./DateUtil-CzBmbjmA.mjs";
12
12
  import { b as s } from "./Localization-DnoVyBNK.mjs";
13
13
  import { f as T, D } from "./DateFormats-HudZ3Bjs.mjs";
14
- import Z from "@mui/material/Card";
15
- import ee from "@mui/material/CardContent";
16
- import te from "@mui/material/CardHeader";
17
- import { L as ae } from "./Loader-CxeBwuPG.mjs";
14
+ import ee from "@mui/material/Card";
15
+ import te from "@mui/material/CardContent";
16
+ import ae from "@mui/material/CardHeader";
18
17
  import { I as ne, P as ie, S as re } from "./TabContentContainer-B0eYJP5p.mjs";
19
- import { u as le } from "./useAccountDisplayName-BsiXA0qf.mjs";
18
+ import { u as le } from "./useAccountDisplayName-BADe2cCd.mjs";
20
19
  const S = () => {
21
20
  if (!h.useContext(Y))
22
21
  throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
23
22
  return A().uiStore;
24
- }, Oe = (a, e) => {
23
+ }, Fe = (a, e) => {
25
24
  const r = [
26
25
  {
27
26
  event: "account_details_click_account_name",
@@ -33,7 +32,7 @@ const S = () => {
33
32
  valueFormatter: (t) => t
34
33
  }
35
34
  ];
36
- if (q(a)) {
35
+ if (K(a)) {
37
36
  r.unshift({
38
37
  label: e.account_balance,
39
38
  name: "balance",
@@ -44,7 +43,7 @@ const S = () => {
44
43
  const t = Object.keys(u).filter((n) => Number(n)).map((n) => ({
45
44
  label: e.account_types[n],
46
45
  value: Number(n),
47
- icon: /* @__PURE__ */ l(y, { name: z[n] })
46
+ icon: /* @__PURE__ */ l(y, { name: W[n] })
48
47
  }));
49
48
  r.push({
50
49
  label: e.account_type,
@@ -56,10 +55,10 @@ const S = () => {
56
55
  });
57
56
  }
58
57
  if (a.account_type === u.PROPERTY) {
59
- const t = Object.keys(W).filter((n) => Number(n)).map((n) => ({
58
+ const t = Object.keys($).filter((n) => Number(n)).map((n) => ({
60
59
  label: e.property_types[n],
61
60
  value: Number(n),
62
- icon: /* @__PURE__ */ l(y, { name: $[n] })
61
+ icon: /* @__PURE__ */ l(y, { name: q[n] })
63
62
  }));
64
63
  r.push({
65
64
  label: e.property_type,
@@ -70,7 +69,7 @@ const S = () => {
70
69
  valueFormatter: (n) => t.find((i) => i.value === n)?.label
71
70
  });
72
71
  }
73
- if (K(a)) {
72
+ if (J(a)) {
74
73
  let t = e.interest_rate, n = "interest_rate";
75
74
  a.is_manual || (typeof a.apr == "number" && (t = e.apr, n = "apr"), typeof a.apy == "number" && (t = e.apy, n = "apy")), r.push({
76
75
  event: "account_details_click_interest_rate",
@@ -82,7 +81,7 @@ const S = () => {
82
81
  valueFormatter: (i) => C(i) ? H(i / 100) : i
83
82
  });
84
83
  }
85
- return J(a) && (r.push({
84
+ return Q(a) && (r.push({
86
85
  label: e.minimum_payment,
87
86
  name: "minimum_payment",
88
87
  placeholder: s(e.enter_value, e.minimum_payment),
@@ -105,13 +104,13 @@ const S = () => {
105
104
  e.day_of_every_month,
106
105
  U(t <= 31 ? t : new Date(t).getDate())
107
106
  )
108
- })), Q(a) && r.push({
107
+ })), X(a) && r.push({
109
108
  label: e.credit_limit,
110
109
  name: "credit_limit",
111
110
  placeholder: s(e.enter_value, e.credit_limit),
112
111
  type: o.Currency,
113
112
  valueFormatter: (t) => _(t, "0,0.00")
114
- }), X(a) && r.push({
113
+ }), Z(a) && r.push({
115
114
  label: e.original_balance,
116
115
  minAmount: 1,
117
116
  name: "original_balance",
@@ -144,7 +143,7 @@ const S = () => {
144
143
  secondValue: m,
145
144
  hasAvailableBalance: c
146
145
  };
147
- }, Pe = (a, e, r) => a.reduce((n, i) => {
146
+ }, Oe = (a, e, r) => a.reduce((n, i) => {
148
147
  const c = I(i, e, r).firstValue || 0;
149
148
  return n + c;
150
149
  }, 0), se = (a, e) => {
@@ -167,8 +166,8 @@ const S = () => {
167
166
  n && t([i]).finally(() => {
168
167
  c(!0);
169
168
  });
170
- }, [n, i]), !n || !m ? /* @__PURE__ */ l(ae, {}) : /* @__PURE__ */ p(
171
- Z,
169
+ }, [n, i]), !n || !m ? /* @__PURE__ */ l(V, {}) : /* @__PURE__ */ p(
170
+ ee,
172
171
  {
173
172
  sx: {
174
173
  "& .MuiCardContent-root:last-child": {
@@ -177,8 +176,8 @@ const S = () => {
177
176
  ...a
178
177
  },
179
178
  children: [
180
- /* @__PURE__ */ l(te, { sx: { pb: 0 }, title: /* @__PURE__ */ l(w, { sx: { pb: 4 }, children: r }) }),
181
- /* @__PURE__ */ l(ee, { sx: { p: 0 }, children: e ? /* @__PURE__ */ l(e, {}) : null })
179
+ /* @__PURE__ */ l(ae, { sx: { pb: 0 }, title: /* @__PURE__ */ l(w, { sx: { pb: 4 }, children: r }) }),
180
+ /* @__PURE__ */ l(te, { sx: { p: 0 }, children: e ? /* @__PURE__ */ l(e, {}) : null })
182
181
  ]
183
182
  }
184
183
  );
@@ -186,7 +185,7 @@ const S = () => {
186
185
  customDetailsChart: a,
187
186
  ChartComponent: e
188
187
  }) => {
189
- const { institutions: r } = A(), { selectedAccount: t } = S(), { config: n } = V(), { accounts: i } = B(), { firstSubtitle: m, firstValue: c, hasAvailableBalance: f, secondSubtitle: N, secondValue: E } = I(t, i, n.display_available_balance_in_accounts), F = r.find(
188
+ const { institutions: r } = A(), { selectedAccount: t } = S(), { config: n } = B(), { accounts: i } = z(), { firstSubtitle: m, firstValue: c, hasAvailableBalance: f, secondSubtitle: N, secondValue: E } = I(t, i, n.display_available_balance_in_accounts), F = r.find(
190
189
  (L) => L.guid === t?.institution_guid
191
190
  ), O = [
192
191
  ...ne,
@@ -218,11 +217,11 @@ const S = () => {
218
217
  ] }),
219
218
  O && /* @__PURE__ */ l(d, { "aria-label": R, role: "img", children: a || /* @__PURE__ */ l(ue, { ChartComponent: e, header: x }) })
220
219
  ] });
221
- }, xe = v(me);
220
+ }, Pe = v(me);
222
221
  export {
223
- xe as A,
222
+ Pe as A,
224
223
  I as a,
225
- Oe as b,
226
- Pe as g,
224
+ Fe as b,
225
+ Oe as g,
227
226
  S as u
228
227
  };
@@ -1,6 +1,6 @@
1
1
  import u from "react";
2
2
  import { getUnixTime as r } from "date-fns/getUnixTime";
3
- import { A as l } from "./GlobalCopyApi-wcnDUzMV.mjs";
3
+ import { A as l } from "./GlobalCopyApi-Dh3dZAlu.mjs";
4
4
  const A = (s, i) => {
5
5
  const { session: t } = i, o = Object.values(i).reduce((e, n) => t && n?.onAnalyticEvent && typeof n?.onAnalyticEvent == "function" ? [...e, n.onAnalyticEvent] : e, []), a = [...s, ...o];
6
6
  return u.useMemo(() => (e) => {
@@ -1,5 +1,6 @@
1
1
  const _ = {
2
2
  ACCOUNTS: "accounts",
3
+ AGREEMENT: "agreement",
3
4
  ANALYTICS_EVENTS: "analytics_events",
4
5
  ANALYTICS_FEATURE_VISITS: "feature_visits",
5
6
  ANALYTICS_PAGEVIEWS: "analytics_pageviews",
@@ -1,12 +1,12 @@
1
1
  import { jsx as t, jsxs as g } from "react/jsx-runtime";
2
- import { observer as p } from "mobx-react-lite";
2
+ import { observer as h } from "mobx-react-lite";
3
3
  import E from "react";
4
4
  import $ from "@mui/material/Stack";
5
- import { G as K, l as f, u as S, f as A, a as B } from "./hooks-97sNJ_lf.mjs";
6
- import U from "@mui/material/List";
5
+ import { G as K, l as f, u as S, f as A, a as B, L as U } from "./Loader-D4P2dFXa.mjs";
6
+ import Y from "@mui/material/List";
7
7
  import V from "@mui/material/Paper";
8
8
  import { b as _ } from "./Localization-DnoVyBNK.mjs";
9
- import Y from "@mui/material/Divider";
9
+ import k from "@mui/material/Divider";
10
10
  import T from "@mui/material/ListItem";
11
11
  import W from "@mui/material/ListItemAvatar";
12
12
  import N from "@mui/material/ListItemButton";
@@ -21,7 +21,6 @@ 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
- import { L as k } from "./Loader-CxeBwuPG.mjs";
25
24
  import { S as re } from "./SearchBox-Cpgu_gdO.mjs";
26
25
  import { D as ne } from "./Drawer-DsnW2o0v.mjs";
27
26
  const y = () => {
@@ -51,18 +50,18 @@ const se = ({
51
50
  }) => {
52
51
  const [a, c] = E.useState(e), { categories: r } = S(), { setShouldDisableDrawerScroll: n } = y();
53
52
  let d = "", m = [];
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;
53
+ const u = i === "delete", p = e.length > 50 ? `${e.slice(0, 50)}...` : e, b = i === "edit" ? _(r.edit_subcategory_aria, p) : r.add_subcategory_aria;
55
54
  switch (i) {
56
55
  case "add":
57
56
  d = r.add_subcategory_title;
58
57
  break;
59
58
  case "edit":
60
- d = _(r.edit_subcategory_title, h);
59
+ d = _(r.edit_subcategory_title, p);
61
60
  break;
62
61
  case "delete":
63
62
  d = r.delete_subcategory_heading, m = _(
64
63
  r.all_transactions_in_this_subcategory,
65
- /* @__PURE__ */ t(q, { bold: !0, component: "span", children: _(r.all_parent_category, h) })
64
+ /* @__PURE__ */ t(q, { bold: !0, component: "span", children: _(r.all_parent_category, p) })
66
65
  );
67
66
  break;
68
67
  }
@@ -100,7 +99,7 @@ const se = ({
100
99
  ) })
101
100
  }
102
101
  );
103
- }, R = p(se), ie = ({ announce: e, parentCategory: s }) => {
102
+ }, R = h(se), ie = ({ announce: e, parentCategory: s }) => {
104
103
  const [o, l] = E.useState(!1), { addCategory: i } = f(), { categories: a } = S(), { onEvent: c } = A(), { setShouldDisableDrawerScroll: r } = y(), n = async (u) => {
105
104
  await i(u.trim(), s.guid), e(_(a.add_subcategory_announcement, u)), c(C.ON_SUBCATEGORY_ADDED), l(!1);
106
105
  }, d = async () => {
@@ -126,7 +125,7 @@ const se = ({
126
125
  }
127
126
  )
128
127
  ] });
129
- }, ce = p(ie), le = ({
128
+ }, ce = h(ie), le = ({
130
129
  announce: e,
131
130
  setShowRename: s,
132
131
  subCategory: o,
@@ -147,7 +146,7 @@ const se = ({
147
146
  type: L.EDIT
148
147
  }
149
148
  );
150
- }, de = p(le), ue = ({
149
+ }, de = h(le), ue = ({
151
150
  announce: e,
152
151
  parentCategory: s,
153
152
  showDelete: o,
@@ -169,7 +168,7 @@ const se = ({
169
168
  type: L.DELETE
170
169
  }
171
170
  );
172
- }, me = p(ue), Ce = ({
171
+ }, me = h(ue), Ce = ({
173
172
  announce: e,
174
173
  parentCategory: s,
175
174
  subCategory: o
@@ -182,7 +181,7 @@ const se = ({
182
181
  showSelected: r,
183
182
  unselectable: n,
184
183
  unselectableText: d
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);
184
+ } = y(), { categories: m } = S(), { onEvent: u } = A(), [p, b] = E.useState(!1), [D, O] = E.useState(!1), x = !!o.revision, w = o.guid === i, I = !n.some((P) => P === o.guid);
186
185
  return /* @__PURE__ */ g(
187
186
  T,
188
187
  {
@@ -253,19 +252,19 @@ const se = ({
253
252
  subCategory: o
254
253
  }
255
254
  ),
256
- h && /* @__PURE__ */ t(
255
+ p && /* @__PURE__ */ t(
257
256
  de,
258
257
  {
259
258
  announce: e,
260
259
  setShowRename: b,
261
- showRename: h,
260
+ showRename: p,
262
261
  subCategory: o
263
262
  }
264
263
  )
265
264
  ]
266
265
  }
267
266
  );
268
- }, _e = p(Ce), ge = ({ categories: e, parentCategory: s }) => {
267
+ }, _e = h(Ce), ge = ({ categories: e, parentCategory: s }) => {
269
268
  const { expandedGuid: o, searchValue: l } = y(), { announce: i, ariaLive: a } = ae(), c = s.guid === o, r = !!l;
270
269
  return /* @__PURE__ */ g(
271
270
  Q,
@@ -277,7 +276,7 @@ const se = ({
277
276
  children: [
278
277
  a,
279
278
  /* @__PURE__ */ g(
280
- U,
279
+ Y,
281
280
  {
282
281
  "aria-labelledby": `category-${s.guid}`,
283
282
  className: "mx-cat-subcategory-list",
@@ -292,7 +291,7 @@ const se = ({
292
291
  subCategory: n
293
292
  }
294
293
  ),
295
- /* @__PURE__ */ t(Y, { "aria-hidden": "true", component: "li", sx: { ml: 58 } })
294
+ /* @__PURE__ */ t(k, { "aria-hidden": "true", component: "li", sx: { ml: 58 } })
296
295
  ] }, n.guid)),
297
296
  !r && /* @__PURE__ */ t(ce, { announce: i, parentCategory: s })
298
297
  ]
@@ -301,7 +300,7 @@ const se = ({
301
300
  ]
302
301
  }
303
302
  );
304
- }, Ee = p(ge), pe = ({ category: e, subCategories: s }) => {
303
+ }, Ee = h(ge), he = ({ category: e, subCategories: s }) => {
305
304
  const { expandedGuid: o, searchValue: l, setExpandedGuid: i } = y(), { onEvent: a } = A(), c = e.guid === o, r = () => {
306
305
  const n = e.guid !== o ? e.guid : null;
307
306
  i(n), a(n ? C.ON_CATEGORY_EXPANDED : C.ON_CATEGORY_COLLAPSED);
@@ -337,10 +336,10 @@ const se = ({
337
336
  },
338
337
  e.guid
339
338
  ) }),
340
- /* @__PURE__ */ t(Y, { "aria-hidden": "true", component: "li", sx: { ml: 58 } }),
339
+ /* @__PURE__ */ t(k, { "aria-hidden": "true", component: "li", sx: { ml: 58 } }),
341
340
  /* @__PURE__ */ t("li", { style: { listStyle: "none" }, children: /* @__PURE__ */ t(Ee, { categories: s, parentCategory: e }) })
342
341
  ] });
343
- }, he = p(pe), Se = () => {
342
+ }, pe = h(he), Se = () => {
344
343
  const { categories: e } = f(), { searchValue: s } = y(), { categories: o } = S(), i = ((a, c = "") => a.reduce((r, n) => {
345
344
  if (n.parent_guid === null) {
346
345
  const m = [
@@ -358,15 +357,15 @@ const se = ({
358
357
  }
359
358
  return r;
360
359
  }, []))(e, s);
361
- return /* @__PURE__ */ t(V, { className: "mx-cat-category-list", sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(U, { children: i.map((a) => /* @__PURE__ */ t(
362
- he,
360
+ return /* @__PURE__ */ t(V, { className: "mx-cat-category-list", sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(Y, { children: i.map((a) => /* @__PURE__ */ t(
361
+ pe,
363
362
  {
364
363
  category: a.category,
365
364
  subCategories: a.children
366
365
  },
367
366
  a.category.guid
368
367
  )) }) });
369
- }, be = p(Se), ye = ({
368
+ }, be = h(Se), ye = ({
370
369
  initialSelected: e,
371
370
  onSelect: s = void 0,
372
371
  showSelected: o = !0,
@@ -377,7 +376,7 @@ const se = ({
377
376
  searchValue: d,
378
377
  setOnSelect: m,
379
378
  setSearchValue: u,
380
- setSelectedGuid: h,
379
+ setSelectedGuid: p,
381
380
  setShowSelected: b,
382
381
  setUnselectable: D,
383
382
  setUnselectableText: O
@@ -387,7 +386,7 @@ const se = ({
387
386
  }), E.useEffect(() => {
388
387
  a.length || c();
389
388
  }, []), E.useEffect(() => {
390
- e && h(e), b(o), D(l), O(i);
389
+ e && p(e), b(o), D(l), O(i);
391
390
  }, [e, o, l, i]), n ? /* @__PURE__ */ g($, { className: "mx-cat-category-selector", sx: { width: "100%" }, children: [
392
391
  /* @__PURE__ */ t(
393
392
  re,
@@ -400,8 +399,8 @@ const se = ({
400
399
  }
401
400
  ),
402
401
  /* @__PURE__ */ t(be, {})
403
- ] }) : /* @__PURE__ */ t(k, {});
404
- }, De = p(ye), fe = ({
402
+ ] }) : /* @__PURE__ */ t(U, {});
403
+ }, De = h(ye), fe = ({
405
404
  id: e,
406
405
  onClose: s,
407
406
  title: o,
@@ -420,11 +419,11 @@ const se = ({
420
419
  title: o,
421
420
  children: /* @__PURE__ */ t(De, { ...i })
422
421
  }
423
- ) : /* @__PURE__ */ t(k, {});
424
- }, Je = p(fe);
422
+ ) : /* @__PURE__ */ t(U, {});
423
+ }, He = h(fe);
425
424
  export {
426
- he as C,
425
+ pe as C,
427
426
  De as a,
428
- Je as b,
427
+ He as b,
429
428
  y as u
430
429
  };
@@ -4,7 +4,7 @@ import i from "@mui/material/Box";
4
4
  import s from "@mui/material/CircularProgress";
5
5
  import a from "@mui/material/Stack";
6
6
  import { Text as m } from "@mxenabled/mxui";
7
- import { u as p } from "./hooks-97sNJ_lf.mjs";
7
+ import { u as p } from "./Loader-D4P2dFXa.mjs";
8
8
  const g = ({ status: r = o.Loading }) => {
9
9
  const { connect: n } = p();
10
10
  return /* @__PURE__ */ t(
@@ -7,7 +7,7 @@ import p from "@mui/material/CardHeader";
7
7
  import C from "@mui/material/Stack";
8
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 x } from "./ConnectDrawer-CW4LA3H3.mjs";
10
+ import { C as x } from "./ConnectDrawer-CtKFKQ4v.mjs";
11
11
  const H = ({ description: i, label: e, title: c }) => {
12
12
  const [s, o] = n.useState(!1);
13
13
  return /* @__PURE__ */ r(n.Fragment, { children: [
@@ -3,8 +3,8 @@ import s from "react";
3
3
  import { observer as _ } from "mobx-react-lite";
4
4
  import { useTheme as g } from "@mui/material/styles";
5
5
  import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
6
- import { b as a, a as c, M as i } from "./Connect-BH0Pt6zc.mjs";
7
- import { c as D, d as L, u as w } from "./hooks-97sNJ_lf.mjs";
6
+ import { b as a, a as c, M as i } from "./Connect-DpCOQuon.mjs";
7
+ import { c as D, d as L, u as w } from "./Loader-D4P2dFXa.mjs";
8
8
  import { D as y } from "./Drawer-DsnW2o0v.mjs";
9
9
  const I = ({
10
10
  loadWidgetProps: l,
@@ -3,8 +3,8 @@ import s from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as _ } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
6
- import { C as a, a as c, M as i } from "./Connect-BH0Pt6zc.mjs";
7
- import { c as D, d as L, u as w } from "./hooks-97sNJ_lf.mjs";
6
+ import { C as a, a as c, M as i } from "./Connect-DpCOQuon.mjs";
7
+ import { c as D, d as L, u as w } from "./Loader-D4P2dFXa.mjs";
8
8
  import { D as x } from "./Drawer-DsnW2o0v.mjs";
9
9
  const I = ({
10
10
  onClose: l,
@@ -5,7 +5,7 @@ import { v4 as q } from "uuid";
5
5
  import { TextField as B, P as p } from "@mxenabled/mxui";
6
6
  import { g as L, C as O, f as y, M as C } from "./NumberFormatting--XMeeBfr.mjs";
7
7
  import { b as h, g as b } from "./Localization-DnoVyBNK.mjs";
8
- import { u as W } from "./hooks-97sNJ_lf.mjs";
8
+ import { u as W } from "./Loader-D4P2dFXa.mjs";
9
9
  const J = ({
10
10
  allowDecimals: o = !0,
11
11
  ariaLabel: g,
@@ -10,17 +10,16 @@ import { observer as V } from "mobx-react-lite";
10
10
  import { useVirtualizer as at } from "@tanstack/react-virtual";
11
11
  import st from "@mui/material/Divider";
12
12
  import ct from "@mui/material/List";
13
- import { G as lt, g as G, u as z, f as dt, a as Tt } from "./hooks-97sNJ_lf.mjs";
13
+ import { G as lt, g as G, u as z, f as dt, L as F, a as Tt } from "./Loader-D4P2dFXa.mjs";
14
14
  import ht from "@mui/material/ListItemAvatar";
15
15
  import Ct from "@mui/material/ListItemText";
16
16
  import { useTheme as M } from "@mui/material/styles";
17
17
  import { f as H } from "./NumberFormatting--XMeeBfr.mjs";
18
- import { L as _t } from "./ListItemWrapper-BHIbqx7E.mjs";
18
+ import { L as _t } from "./ListItemWrapper-WrydKfdb.mjs";
19
19
  import { fromUnixTime as v } from "date-fns/fromUnixTime";
20
- import { isSameDay as F } from "date-fns/isSameDay";
20
+ import { isSameDay as Z } from "date-fns/isSameDay";
21
21
  import { f as ut, D as pt } from "./DateFormats-HudZ3Bjs.mjs";
22
22
  import { k as mt } from "./DateUtil-CzBmbjmA.mjs";
23
- import { L as Z } from "./Loader-CxeBwuPG.mjs";
24
23
  import { A as gt } from "./Analytics-WeZYytR0.mjs";
25
24
  import At from "@mui/material/Tab";
26
25
  import Nt from "@mui/material/Tabs";
@@ -91,7 +90,7 @@ function Lt(t) {
91
90
  type: "mx/moneyDashboard/insightOnTransaction"
92
91
  });
93
92
  }
94
- function fe(t) {
93
+ function Ne(t) {
95
94
  return Q({
96
95
  metadata: { template: t },
97
96
  mx: !0,
@@ -187,11 +186,11 @@ const yt = ({ transaction: t, onClick: r }) => {
187
186
  ] });
188
187
  }, vt = V(kt), W = (t, r) => {
189
188
  const n = v(r[t].date), i = v(r[t - 1]?.date);
190
- return !F(n, i);
189
+ return !Z(n, i);
191
190
  }, Gt = (t, r) => {
192
191
  const n = v(r[t].date), i = v(r[t + 1]?.date);
193
- return F(n, i);
194
- }, Ie = (t) => t?.data ? t.data.map((r) => Object.fromEntries((t.names || []).map((n, i) => [n, r[i]]))) : [], xe = (t, r = "") => t.map((i) => {
192
+ return Z(n, i);
193
+ }, fe = (t) => t?.data ? t.data.map((r) => Object.fromEntries((t.names || []).map((n, i) => [n, r[i]]))) : [], Ie = (t, r = "") => t.map((i) => {
195
194
  const o = ut(i.date, pt.MONTH_SHORT);
196
195
  return {
197
196
  ariaLabel: `
@@ -206,7 +205,7 @@ const yt = ({ transaction: t, onClick: r }) => {
206
205
  bgcolor: t,
207
206
  filter: r,
208
207
  height: n = "calc(100dvh - 36px)",
209
- loader: i = /* @__PURE__ */ e(Z, { label: "Loading", size: 40 }),
208
+ loader: i = /* @__PURE__ */ e(F, { label: "Loading", size: 40 }),
210
209
  onClick: o,
211
210
  showInsights: c = !1,
212
211
  showLoader: T = !1,
@@ -654,7 +653,7 @@ const yt = ({ transaction: t, onClick: r }) => {
654
653
  ),
655
654
  D && T === "bottom" && N
656
655
  ] });
657
- }, Se = ({
656
+ }, xe = ({
658
657
  ariaLabel: t,
659
658
  barChartProps: r,
660
659
  beat: n,
@@ -726,8 +725,8 @@ const yt = ({ transaction: t, onClick: r }) => {
726
725
  /* @__PURE__ */ e(Ht, { ..._ })
727
726
  ] })
728
727
  }
729
- ) }) : /* @__PURE__ */ e(Z, {});
730
- }, Oe = ({
728
+ ) }) : /* @__PURE__ */ e(F, {});
729
+ }, Se = ({
731
730
  amount: t,
732
731
  borderRadius: r = "2px",
733
732
  count: n,
@@ -780,7 +779,7 @@ const yt = ({ transaction: t, onClick: r }) => {
780
779
  /* @__PURE__ */ e(m, { variant: "body2", children: C })
781
780
  ] })
782
781
  ] })
783
- ] }), De = ({
782
+ ] }), Oe = ({
784
783
  title: t,
785
784
  description: r,
786
785
  callToAction: n,
@@ -838,19 +837,19 @@ const yt = ({ transaction: t, onClick: r }) => {
838
837
  ] });
839
838
  export {
840
839
  Bt as B,
841
- Se as C,
842
- De as E,
840
+ xe as C,
841
+ Oe as E,
843
842
  bt as O,
844
843
  Rt as S,
845
844
  Ht as T,
846
845
  wt as a,
847
- Oe as b,
848
- Ie as c,
849
- xe as d,
846
+ Se as b,
847
+ fe as c,
848
+ Ie as d,
850
849
  Vt as e,
851
850
  $t as f,
852
851
  Gt as h,
853
- fe as p,
852
+ Ne as p,
854
853
  W as s,
855
854
  K as u
856
855
  };
@@ -3,7 +3,7 @@ import c from "react";
3
3
  import { observer as g } from "mobx-react-lite";
4
4
  import { Stack as i, Box as f, Button as u, useTheme as y } from "@mui/material";
5
5
  import { Icon as C, Text as l } from "@mxenabled/mxui";
6
- import { G as b } from "./hooks-97sNJ_lf.mjs";
6
+ import { G as b } from "./Loader-D4P2dFXa.mjs";
7
7
  const m = c.forwardRef(
8
8
  (r, o) => {
9
9
  const n = y();
@@ -2,8 +2,8 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import { observer as c } from "mobx-react-lite";
3
3
  import { Icon as i } from "@mxenabled/mxui";
4
4
  import { e as p } from "./TransactionUtils-BphBJBbU.mjs";
5
- import { O as m } from "./EmbeddedCard-BxgB26dd.mjs";
6
- import { f as x, g as _, u as C } from "./hooks-97sNJ_lf.mjs";
5
+ import { O as m } from "./EmbeddedCard-D4Gc6FqI.mjs";
6
+ import { f as x, g as _, u as C } from "./Loader-D4P2dFXa.mjs";
7
7
  import { R as l } from "./ResponsiveButton-CC9F_Ezk.mjs";
8
8
  const v = ({ filter: t }) => {
9
9
  const { onEvent: r } = x(), { tags: e, sortedTransactions: s } = _(), { transactions: n } = C(), a = () => {
@@ -15,7 +15,7 @@ import g from "@mui/material/ListItem";
15
15
  import _ from "@mui/material/ListItemButton";
16
16
  import H from "@mui/material/ListItemIcon";
17
17
  import v from "@mui/material/ListItemText";
18
- import { a as M, u as W, c as z } from "./hooks-97sNJ_lf.mjs";
18
+ import { a as M, u as W, c as z } from "./Loader-D4P2dFXa.mjs";
19
19
  const R = I(
20
20
  ({ allowedAccountTypes: l }) => {
21
21
  const { accountFilterMap: s, updateAccountFilterMap: m } = M(), { accounts: x, common: y } = W(), { account_filter: u } = y, { accountsByTypeMap: a } = z(), k = B.useMemo(
@@ -1,5 +1,5 @@
1
1
  import c from "bowser";
2
- import { A as a } from "./ApiEndpoints-DXwIYNUV.mjs";
2
+ import { A as a } from "./ApiEndpoints-CJfDTZiz.mjs";
3
3
  import { g as h } from "./Localization-DnoVyBNK.mjs";
4
4
  class o {
5
5
  endpoint = "/";