@mx-cartographer/experiences 7.0.11-alpha.mega1 → 7.0.11

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 (41) hide show
  1. package/CHANGELOG.md +0 -4
  2. package/dist/{Account-BW3-oYEs.mjs → Account-BVKkr6ft.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-Tm7IjJIc.mjs → AccountDetailsContent-BmQ5a3Lk.mjs} +14 -14
  4. package/dist/{AccountDetailsHeader-sum_Bgdy.mjs → AccountDetailsHeader-vSwO-5Wk.mjs} +3 -3
  5. package/dist/{AccountFields-CIz-r3gP.mjs → AccountFields-VRK4zgvW.mjs} +2 -2
  6. package/dist/{AccountListItem-B-ZjJ4Gp.mjs → AccountListItem-SkBUCsb0.mjs} +2 -2
  7. package/dist/{AccountStore-BaMynkQT.mjs → AccountStore-3Umlm7QY.mjs} +9 -9
  8. package/dist/{Accounts-CA-nqAjT.mjs → Accounts-CYsoAdW-.mjs} +1 -1
  9. package/dist/{ConnectDrawer-phFH6OHt.mjs → ConnectDrawer-BA9H_xx8.mjs} +4 -4
  10. package/dist/{ConnectionsDrawer-ihxkAi1P.mjs → ConnectionsDrawer-Bs-NUsAs.mjs} +1 -1
  11. package/dist/{DebtsStore-Dp-CraCD.mjs → DebtsStore-BwmpJMik.mjs} +1 -1
  12. package/dist/{ExportCsvAction-CbMfQ2Wa.mjs → ExportCsvAction-CvyiKLTh.mjs} +2 -2
  13. package/dist/{GoalStore-BWHkOQ8o.mjs → GoalStore-BH5TWxYr.mjs} +1 -1
  14. package/dist/{ManageIncome-Bef4VWt7.mjs → ManageIncome-DCUX6T2b.mjs} +3 -3
  15. package/dist/{NetWorthStore-B6xF9eGH.mjs → NetWorthStore-NKD8a-19.mjs} +2 -2
  16. package/dist/{RecurringSettings-1EOh67IT.mjs → RecurringSettings-BD_CIXnV.mjs} +2 -2
  17. package/dist/{User-Dq9Qj764.mjs → Transaction-Dns0Kuuy.mjs} +45 -47
  18. package/dist/TransactionDetails-DFDYdDae.mjs +1280 -0
  19. package/dist/{TransactionStore-0tLtBEIC.mjs → TransactionStore-BVKUoEHj.mjs} +2 -2
  20. package/dist/{WidgetContainer-C2NBfpDg.mjs → WidgetContainer-BHhhVctF.mjs} +1 -1
  21. package/dist/accounts/index.es.js +15 -15
  22. package/dist/budgets/index.es.js +5 -5
  23. package/dist/cashflow/index.es.js +5 -5
  24. package/dist/common/index.es.js +12 -12
  25. package/dist/dashboard/index.es.js +6 -6
  26. package/dist/debts/index.es.js +5 -5
  27. package/dist/{exportTransactionsToCSV-BDlt8u0n.mjs → exportTransactionsToCSV-B4JW8rfR.mjs} +1 -1
  28. package/dist/finstrong/index.es.js +4 -4
  29. package/dist/goals/index.es.js +6 -6
  30. package/dist/help/index.es.js +1 -1
  31. package/dist/investments/index.es.js +2 -2
  32. package/dist/networth/index.es.js +4 -4
  33. package/dist/recurringtransactions/index.es.js +5 -5
  34. package/dist/settings/index.es.js +1 -1
  35. package/dist/spending/index.es.js +2 -2
  36. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +0 -1
  37. package/dist/transactions/index.es.js +120 -121
  38. package/dist/trends/index.es.js +3 -3
  39. package/package.json +1 -1
  40. package/dist/TransactionDetails-DYF-P762.mjs +0 -1337
  41. package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +0 -8
package/CHANGELOG.md CHANGED
@@ -1,7 +1,3 @@
1
- ## [7.0.12] - 09-22-2025
2
-
3
- - **ADDED** - Support view-only mode for transaction details based on feature flag
4
-
5
1
  ## [7.0.11] - 09-19-2025
6
2
 
7
3
  - **FIXED** - Graphs from preventing scroll Gesture
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-phFH6OHt.mjs";
1
+ import { A as C } from "./ConnectDrawer-BA9H_xx8.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -11,18 +11,18 @@ import M from "@mui/material/Divider";
11
11
  import v from "@mui/material/ListItem";
12
12
  import N from "@mui/material/ListItemButton";
13
13
  import w from "@mui/material/ListItemText";
14
- import { u as D } from "./AccountDetailsHeader-sum_Bgdy.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-vSwO-5Wk.mjs";
15
15
  import { c as z, u as E, e as O, f as X } from "./hooks-DkUqN6JE.mjs";
16
- import { A as at } from "./AccountListItem-B-ZjJ4Gp.mjs";
17
- import { A as k } from "./WidgetContainer-C2NBfpDg.mjs";
18
- import { a as V, f as B, D as j } from "./Dialog-CWW597AF.mjs";
16
+ import { A as at } from "./AccountListItem-SkBUCsb0.mjs";
17
+ import { A as k } from "./WidgetContainer-BHhhVctF.mjs";
18
+ import { a as V, f as B, D as K } from "./Dialog-CWW597AF.mjs";
19
19
  import { b as h } from "./Localization-2MODESHW.mjs";
20
20
  import { D as J } from "./Drawer-kEE73B87.mjs";
21
21
  import R from "@mui/material/ListItemAvatar";
22
22
  import ct from "@mui/material/Stack";
23
23
  import st from "@mui/material/styles/useTheme";
24
24
  import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
25
- import { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-phFH6OHt.mjs";
25
+ import { k as m, N as Q, h as Z, F as P } from "./ConnectDrawer-BA9H_xx8.mjs";
26
26
  import { fromUnixTime as lt } from "date-fns/fromUnixTime";
27
27
  import { isToday as dt } from "date-fns/isToday";
28
28
  import { isYesterday as ut } from "date-fns/isYesterday";
@@ -38,14 +38,14 @@ import At from "@mui/material/MenuItem";
38
38
  import bt from "@mui/material/Select";
39
39
  import Tt from "@mui/material/TextField";
40
40
  import { C as St } from "./CurrencyInput-bEx2Mbd0.mjs";
41
- import { a as Dt } from "./AccountFields-CIz-r3gP.mjs";
41
+ import { a as Dt } from "./AccountFields-VRK4zgvW.mjs";
42
42
  import Et from "@mui/material/Alert";
43
43
  import yt from "@mui/material/AlertTitle";
44
44
  import xt from "@mui/material/Link";
45
45
  import wt from "@mui/material/Paper";
46
46
  import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
47
- import { T as vt, a as Lt } from "./TransactionDetails-DYF-P762.mjs";
48
- import { T as K } from "./TabContentContainer-j01JYR_7.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-DFDYdDae.mjs";
48
+ import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
51
51
  isLast: o = !1,
@@ -314,11 +314,11 @@ const U = ({
314
314
  };
315
315
  default: {
316
316
  const c = () => {
317
- const i = e.successfully_aggregated_at ? lt(e.successfully_aggregated_at) : void 0, u = i && B(i, j.TIME_STAMP_HOUR_MINUTE);
317
+ const i = e.successfully_aggregated_at ? lt(e.successfully_aggregated_at) : void 0, u = i && B(i, K.TIME_STAMP_HOUR_MINUTE);
318
318
  if (u)
319
319
  return dt(i) ? h(o.last_updated_at, o.today, u) : ut(i) ? h(o.last_updated_at, o.yesterday, u) : h(
320
320
  o.last_updated_at,
321
- B(i, j.MONTH_DAY_YEAR),
321
+ B(i, K.MONTH_DAY_YEAR),
322
322
  u
323
323
  );
324
324
  };
@@ -609,7 +609,7 @@ const U = ({
609
609
  }
610
610
  )
611
611
  ] });
612
- }, Bt = b(Gt), jt = () => {
612
+ }, Bt = b(Gt), Kt = () => {
613
613
  const [e, o] = _.useState(""), { onEvent: n } = O(), { selectedAccount: c } = D(), { accounts: i } = E(), { setFilter: u, sortedTransactions: l } = X(), s = _.useMemo(
614
614
  () => l.find((r) => r.guid === e),
615
615
  [e, l]
@@ -632,7 +632,7 @@ const U = ({
632
632
  }
633
633
  )
634
634
  ] });
635
- }, Kt = b(jt), Yt = () => {
635
+ }, jt = b(Kt), Yt = () => {
636
636
  const [e, o] = _.useState(0), { accounts: n } = E();
637
637
  return /* @__PURE__ */ d(g, { children: [
638
638
  /* @__PURE__ */ t(Bt, { setTabValue: o }),
@@ -665,8 +665,8 @@ const U = ({
665
665
  ]
666
666
  }
667
667
  ),
668
- /* @__PURE__ */ t(K, { index: 0, name: "transaction-details", value: e, children: /* @__PURE__ */ t(Kt, {}) }),
669
- /* @__PURE__ */ t(K, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(Ht, {}) })
668
+ /* @__PURE__ */ t(j, { index: 0, name: "transaction-details", value: e, children: /* @__PURE__ */ t(jt, {}) }),
669
+ /* @__PURE__ */ t(j, { index: 1, name: "account-details", value: e, children: /* @__PURE__ */ t(Ht, {}) })
670
670
  ] });
671
671
  }, He = b(Yt);
672
672
  export {
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
2
  import { observer as p } from "mobx-react-lite";
3
3
  import d from "@mui/material/Stack";
4
4
  import { H3 as w, InstitutionLogo as I, Text as m, H2 as L } from "@mxenabled/mxui";
5
- import { g as N } from "./AccountFields-CIz-r3gP.mjs";
5
+ import { g as N } from "./AccountFields-VRK4zgvW.mjs";
6
6
  import h from "react";
7
7
  import { G as v, c as S, k as y, u as _, l as E } from "./hooks-DkUqN6JE.mjs";
8
8
  import G from "@mui/material/Card";
@@ -11,8 +11,8 @@ import P from "@mui/material/CardHeader";
11
11
  import { useTheme as M } from "@mui/material/styles";
12
12
  import { g as B, a as H, b as U } from "./SpendingData-D5vsfYKo.mjs";
13
13
  import { L as j } from "./LineChart-BWWmmJxV.mjs";
14
- import { I as f, P as g, S as C } from "./Account-BW3-oYEs.mjs";
15
- import { A } from "./ConnectDrawer-phFH6OHt.mjs";
14
+ import { I as f, P as g, S as C } from "./Account-BVKkr6ft.mjs";
15
+ import { A } from "./ConnectDrawer-BA9H_xx8.mjs";
16
16
  import { L as z } from "./Loader-Dp1P2gNw.mjs";
17
17
  import { f as Y, D as k } from "./Dialog-CWW597AF.mjs";
18
18
  import { f as R } from "./NumberFormatting-CtWHhyBX.mjs";
@@ -1,7 +1,7 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { Icon as p, Text as c } from "@mxenabled/mxui";
3
- import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-phFH6OHt.mjs";
4
- import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-CA-nqAjT.mjs";
3
+ import { F as m, A as b, a as v, P as h, b as F } from "./ConnectDrawer-BA9H_xx8.mjs";
4
+ import { i as D, u as T, a as A, b as O, c as g } from "./Accounts-CYsoAdW-.mjs";
5
5
  import { f as _, i as d, a as N, b as S } from "./NumberFormatting-CtWHhyBX.mjs";
6
6
  import { b as i } from "./Localization-2MODESHW.mjs";
7
7
  import { f, D as o } from "./Dialog-CWW597AF.mjs";
@@ -10,8 +10,8 @@ import C from "@mui/material/styles/useTheme";
10
10
  import { InstitutionLogo as B, Text as o } from "@mxenabled/mxui";
11
11
  import { Error as L } from "@mxenabled/mx-icons";
12
12
  import { I as A } from "./IconBacking-B9oC6uL2.mjs";
13
- import { g as j } from "./AccountFields-CIz-r3gP.mjs";
14
- import { d } from "./ConnectDrawer-phFH6OHt.mjs";
13
+ import { g as j } from "./AccountFields-VRK4zgvW.mjs";
14
+ import { d } from "./ConnectDrawer-BA9H_xx8.mjs";
15
15
  import { u as T } from "./hooks-DkUqN6JE.mjs";
16
16
  import { f as X } from "./NumberFormatting-CtWHhyBX.mjs";
17
17
  const $ = {
@@ -1,11 +1,10 @@
1
1
  import { makeAutoObservable as _, runInAction as a } from "mobx";
2
- import { i as g } from "./User-Dq9Qj764.mjs";
3
- import { F as f, A as i } from "./Fetch-CkFKy79O.mjs";
4
- import { A as s, d as h, E as p, g as y, h as I } from "./ConnectDrawer-phFH6OHt.mjs";
2
+ import { F as g, A as i } from "./Fetch-CkFKy79O.mjs";
3
+ import { A as s, d, E as f, i as p, j as y } from "./ConnectDrawer-BA9H_xx8.mjs";
5
4
  class l {
6
5
  fetchInstance;
7
6
  constructor(t, e) {
8
- this.fetchInstance = new f(t, e);
7
+ this.fetchInstance = new g(t, e);
9
8
  }
10
9
  createAccount = async (t) => this.fetchInstance.post(i.ACCOUNTS, t).then((e) => e.account).catch((e) => e);
11
10
  deleteAccount = async (t) => this.fetchInstance.delete(`${i.ACCOUNTS}/${t}`).catch((e) => e);
@@ -17,6 +16,7 @@ class l {
17
16
  refreshAllMembers = async () => this.fetchInstance.get(`${i.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
18
17
  updateAccount = async (t) => this.fetchInstance.put(`${i.ACCOUNTS}/${t.guid}`, t).then((e) => e.account).catch((e) => e);
19
18
  }
19
+ const I = (h, t) => !!h.find((e) => e.feature_name === t)?.is_enabled;
20
20
  class b {
21
21
  isLoading = !1;
22
22
  selectedAccount = {};
@@ -28,7 +28,7 @@ class b {
28
28
  setSelectedAccount = (t) => this.selectedAccount = t;
29
29
  setSelectedMember = (t) => this.selectedMember = t;
30
30
  }
31
- class N {
31
+ class w {
32
32
  globalStore;
33
33
  api = new l("/", "");
34
34
  accounts = [];
@@ -114,7 +114,7 @@ class N {
114
114
  }
115
115
  };
116
116
  augmentAccounts = (t = this.accounts) => {
117
- const e = [], n = this.globalStore.userStore.userFeatures, c = g(
117
+ const e = [], n = this.globalStore.userStore.userFeatures, c = I(
118
118
  n,
119
119
  "MD_EXCLUDE_EXTERNAL_ACCOUNTS"
120
120
  );
@@ -122,8 +122,8 @@ class N {
122
122
  if (c && r.member_is_managed_by_user) continue;
123
123
  const o = this.members.find((m) => m.guid === r.member_guid);
124
124
  if (!o) continue;
125
- let u = h.Connected;
126
- p.includes(o.connection_status) ? u = h.Error : y.includes(o.connection_status) ? u = h.Processing : I.includes(o.connection_status) && (u = h.RequiresMfa);
125
+ let u = d.Connected;
126
+ f.includes(o.connection_status) ? u = d.Error : p.includes(o.connection_status) ? u = d.Processing : y.includes(o.connection_status) && (u = d.RequiresMfa);
127
127
  const A = [
128
128
  r.user_name || r.feed_name || "",
129
129
  r.account_number ? `*${r.account_number}` : ""
@@ -231,5 +231,5 @@ class N {
231
231
  }
232
232
  export {
233
233
  l as A,
234
- N as a
234
+ w as a
235
235
  };
@@ -1,4 +1,4 @@
1
- import { A as _ } from "./ConnectDrawer-phFH6OHt.mjs";
1
+ import { A as _ } from "./ConnectDrawer-BA9H_xx8.mjs";
2
2
  const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
3
3
  export {
4
4
  s as a,
@@ -498,10 +498,10 @@ export {
498
498
  sE as d,
499
499
  ZE as e,
500
500
  CE as f,
501
- jE as g,
502
- LE as h,
503
- bE as i,
504
- yE as j,
501
+ bE as g,
502
+ yE as h,
503
+ jE as i,
504
+ LE as j,
505
505
  lE as k,
506
506
  iE as l,
507
507
  SE as m
@@ -3,7 +3,7 @@ import r from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as D } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
6
- import { C as a, c, M as i } from "./ConnectDrawer-phFH6OHt.mjs";
6
+ import { C as a, c, M as i } from "./ConnectDrawer-BA9H_xx8.mjs";
7
7
  import { c as b, d as w, u as _ } from "./hooks-DkUqN6JE.mjs";
8
8
  import { D as x } from "./Drawer-kEE73B87.mjs";
9
9
  const I = ({
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as l } from "mobx";
2
2
  import { getDate as o, fromUnixTime as m, startOfMonth as _ } from "date-fns";
3
- import { A as b } from "./ConnectDrawer-phFH6OHt.mjs";
3
+ import { A as b } from "./ConnectDrawer-BA9H_xx8.mjs";
4
4
  var u = /* @__PURE__ */ ((a) => (a[a.HIGHEST_INTEREST = 1] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 2] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 3] = "HIGHEST_BALANCE", a))(u || {});
5
5
  const p = {
6
6
  unnamed_label: "Unnamed Debt"
@@ -1,8 +1,8 @@
1
1
  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
- import { e as p } from "./exportTransactionsToCSV-BDlt8u0n.mjs";
5
- import { O as m } from "./User-Dq9Qj764.mjs";
4
+ import { e as p } from "./exportTransactionsToCSV-B4JW8rfR.mjs";
5
+ import { O as m } from "./Transaction-Dns0Kuuy.mjs";
6
6
  import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
7
7
  import { e as _, f as C, u as l } from "./hooks-DkUqN6JE.mjs";
8
8
  const v = ({ filter: t }) => {
@@ -7,7 +7,7 @@ import N from "@mui/material/CardHeader";
7
7
  import O from "@mui/material/Stack";
8
8
  import { AccountBalance as w, ChevronRight as S } from "@mxenabled/mx-icons";
9
9
  import { Text as A } from "@mxenabled/mxui";
10
- import { j as L } from "./ConnectDrawer-phFH6OHt.mjs";
10
+ import { h as L } from "./ConnectDrawer-BA9H_xx8.mjs";
11
11
  import { m as b } from "./hooks-DkUqN6JE.mjs";
12
12
  import { makeAutoObservable as y, runInAction as c } from "mobx";
13
13
  import { F as D, A as i } from "./Fetch-CkFKy79O.mjs";
@@ -16,7 +16,7 @@ import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import H from "@mui/material/Button";
18
18
  import { Delete as me, Add as ye, ReceiptLong as pe } from "@mxenabled/mx-icons";
19
- import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-DYF-P762.mjs";
19
+ import { T as X, a as he, u as ge, S as fe, b as Ce } from "./TransactionDetails-DFDYdDae.mjs";
20
20
  import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
21
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
22
22
  import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
@@ -25,14 +25,14 @@ import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProv
25
25
  import { u as w, h as M, e as F, a as Ae, f as Z, o as De } from "./hooks-DkUqN6JE.mjs";
26
26
  import { b as Ie, f as J } from "./NumberFormatting-CtWHhyBX.mjs";
27
27
  import { D as O } from "./Drawer-kEE73B87.mjs";
28
- import { A as R } from "./WidgetContainer-C2NBfpDg.mjs";
28
+ import { A as R } from "./WidgetContainer-BHhhVctF.mjs";
29
29
  import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
30
30
  import { formatISO as Le } from "date-fns/formatISO";
31
31
  import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
32
32
  import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
33
33
  import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
34
34
  import { b as B } from "./Category-CevNQ03n.mjs";
35
- import { T as V } from "./User-Dq9Qj764.mjs";
35
+ import { T as V } from "./Transaction-Dns0Kuuy.mjs";
36
36
  const ee = ({
37
37
  frequency: n,
38
38
  firstDay: t,
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
3
3
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
4
4
  import { startOfMonth as _ } from "date-fns/startOfMonth";
5
5
  import { subMonths as B } from "date-fns/subMonths";
6
- import { a as b } from "./Accounts-CA-nqAjT.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-phFH6OHt.mjs";
6
+ import { a as b } from "./Accounts-CYsoAdW-.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-BA9H_xx8.mjs";
8
8
  const f = 13, L = (n, t) => n.filter((e) => {
9
9
  const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
10
10
  return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));
@@ -7,10 +7,10 @@ import R from "@mui/material/Tabs";
7
7
  import l from "@mui/material/Divider";
8
8
  import T from "@mui/material/List";
9
9
  import C from "@mui/material/Stack";
10
- import { R as x, A as S, a as E, M as A } from "./ManageIncome-Bef4VWt7.mjs";
10
+ import { R as x, A as S, a as E, M as A } from "./ManageIncome-DCUX6T2b.mjs";
11
11
  import { u as h, h as y, e as _ } from "./hooks-DkUqN6JE.mjs";
12
12
  import { R as v, F as N } from "./RepeatingTransaction-BW4J-jeJ.mjs";
13
- import { A as d } from "./WidgetContainer-C2NBfpDg.mjs";
13
+ import { A as d } from "./WidgetContainer-BHhhVctF.mjs";
14
14
  const I = u(() => {
15
15
  const { recurring: r } = h(), { repeatingTransactions: s } = y(), { onEvent: o } = _(), a = (n) => {
16
16
  o(d.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
@@ -1,4 +1,4 @@
1
- import { jsxs as h, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as h, jsx as o } from "react/jsx-runtime";
2
2
  import A from "react";
3
3
  import { css as p } from "@mxenabled/cssinjs";
4
4
  import { addDays as b } from "date-fns/addDays";
@@ -11,10 +11,10 @@ import { isBefore as j } from "date-fns/isBefore";
11
11
  import { isSameMonth as W } from "date-fns/isSameMonth";
12
12
  import { startOfMonth as V } from "date-fns/startOfMonth";
13
13
  import { startOfToday as f } from "date-fns/startOfToday";
14
- import { subMonths as F } from "date-fns/subMonths";
14
+ import { subMonths as Y } from "date-fns/subMonths";
15
15
  import E from "@mui/material/Button";
16
- import Y from "@mui/material/Paper";
17
- import { useTokens as v, H2 as z, Text as G } from "@mxenabled/mxui";
16
+ import z from "@mui/material/Paper";
17
+ import { useTokens as v, H2 as F, Text as G } from "@mxenabled/mxui";
18
18
  import { ChevronLeft as X, ChevronRight as Z } from "@mxenabled/mx-icons";
19
19
  import { f as q, D as J } from "./Dialog-CWW597AF.mjs";
20
20
  import { isSameDay as T } from "date-fns/isSameDay";
@@ -23,13 +23,13 @@ import nn from "@mui/material/styles/useTheme";
23
23
  import k from "@mui/material/ListItem";
24
24
  import an from "@mui/material/ListItemButton";
25
25
  import { e as tn } from "./hooks-DkUqN6JE.mjs";
26
- const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
26
+ const on = ({ copy: n, date: t, onNextClick: e, onPreviousClick: r }) => {
27
27
  const c = v(), l = en(c);
28
28
  return /* @__PURE__ */ h("div", { className: `mx-cmn-calendar-header ${l}`, children: [
29
- /* @__PURE__ */ e(z, { className: "mx-cmn-calendar-header-title", variant: "H3", children: q(a, J.MONTH_YEAR) }),
29
+ /* @__PURE__ */ o(F, { className: "mx-cmn-calendar-header-title", variant: "H3", children: q(t, J.MONTH_YEAR) }),
30
30
  /* @__PURE__ */ h("div", { className: "mx-cmn-calendar-header-button-container", children: [
31
- /* @__PURE__ */ e(E, { "aria-label": n.prevAria, onClick: r, children: /* @__PURE__ */ e(X, { size: 24 }) }),
32
- /* @__PURE__ */ e(E, { "aria-label": n.nextAria, onClick: o, children: /* @__PURE__ */ e(Z, { size: 24 }) })
31
+ /* @__PURE__ */ o(E, { "aria-label": n.prevAria, onClick: r, children: /* @__PURE__ */ o(X, { size: 24 }) }),
32
+ /* @__PURE__ */ o(E, { "aria-label": n.nextAria, onClick: e, children: /* @__PURE__ */ o(Z, { size: 24 }) })
33
33
  ] })
34
34
  ] });
35
35
  }, en = (n) => p({
@@ -45,9 +45,9 @@ const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
45
45
  display: "flex",
46
46
  gap: 4
47
47
  }
48
- }), rn = ({ beginDate: n, date: a, endDate: o, isInMonth: r, onClick: c }) => {
49
- const l = nn(), S = cn(l), g = n && o && Q(a, { start: n, end: o }) && !T(a, n) && !T(a, o), s = n && o && T(n, a) && !T(n, o), N = o && n && T(o, a) && !T(n, o), i = n && T(n, a) || o && T(o, a), C = T(a, f());
50
- return /* @__PURE__ */ e(
48
+ }), rn = ({ beginDate: n, date: t, endDate: e, isInMonth: r, onClick: c }) => {
49
+ const l = nn(), S = cn(l), g = n && e && Q(t, { start: n, end: e }) && !T(t, n) && !T(t, e), s = n && e && T(n, t) && !T(n, e), N = e && n && T(e, t) && !T(n, e), i = n && T(n, t) || e && T(e, t), C = T(t, f());
50
+ return /* @__PURE__ */ o(
51
51
  "div",
52
52
  {
53
53
  className: `
@@ -56,7 +56,7 @@ const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
56
56
  ${r ? "" : "mx-cmn-out-of-month"}
57
57
  ${g ? "mx-cmn-date-interval" : ""}
58
58
  `,
59
- children: /* @__PURE__ */ e(
59
+ children: /* @__PURE__ */ o(
60
60
  E,
61
61
  {
62
62
  className: `
@@ -65,9 +65,9 @@ const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
65
65
  ${N ? "mx-cmn-range-end" : ""}
66
66
  `,
67
67
  color: i ? "primary" : "secondary",
68
- onClick: () => c(a),
68
+ onClick: () => c(t),
69
69
  variant: i ? "contained" : "text",
70
- children: /* @__PURE__ */ e(
70
+ children: /* @__PURE__ */ o(
71
71
  G,
72
72
  {
73
73
  className: `
@@ -75,7 +75,7 @@ const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
75
75
  ${i ? "mx-cmn-day-selected" : ""}
76
76
  ${C ? "mx-cmn-today" : ""}`,
77
77
  variant: "Small",
78
- children: y(a, "d")
78
+ children: y(t, "d")
79
79
  }
80
80
  )
81
81
  }
@@ -131,44 +131,44 @@ const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
131
131
  var Tn = /* @__PURE__ */ ((n) => (n.None = "None", n.Single = "Single", n.Range = "Range", n))(Tn || {});
132
132
  const ln = ({
133
133
  copy: n,
134
- beginDate: a = void 0,
135
- endDate: o = void 0,
134
+ beginDate: t = void 0,
135
+ endDate: e = void 0,
136
136
  onDateSelected: r,
137
137
  onRangeSelected: c,
138
138
  selectionType: l = "Single"
139
139
  /* Single */
140
140
  }) => {
141
- const S = v(), g = Cn(S), [s, N] = A.useState(f), [i, C] = A.useState(a), [R, _] = A.useState(o);
141
+ const S = v(), g = Cn(S), [s, N] = A.useState(f), [i, C] = A.useState(t), [R, d] = A.useState(e);
142
142
  A.useEffect(() => {
143
- C(a), _(o), a && N(a);
144
- }, [a, o]);
143
+ C(t), d(e), t && N(t);
144
+ }, [t, e]);
145
145
  const D = A.useMemo(() => {
146
- const t = $({ start: V(s), end: U(s) }), m = [];
147
- for (let d = 0; d < t.length; d++) {
148
- const O = t[d], u = P({ start: O, end: b(O, 6) }), x = [];
149
- for (let L = 0; L < u.length; L++)
150
- x.push(u[L]);
151
- m.push(x);
146
+ const a = $({ start: V(s), end: U(s) }), m = [];
147
+ for (let _ = 0; _ < a.length; _++) {
148
+ const O = a[_], x = P({ start: O, end: b(O, 6) }), u = [];
149
+ for (let L = 0; L < x.length; L++)
150
+ u.push(x[L]);
151
+ m.push(u);
152
152
  }
153
153
  return m;
154
- }, [s]), K = (t) => {
154
+ }, [s]), K = (a) => {
155
155
  if (l !== "None") {
156
156
  if (l === "Single") {
157
- C(t), r?.(t);
157
+ C(a), r?.(a);
158
158
  return;
159
159
  }
160
- !i || R ? (C(t), _(void 0)) : j(t, i) ? (_(i), C(t), c?.(t, i)) : (_(t), c?.(i, t));
160
+ !i || R ? (C(a), d(void 0)) : j(a, i) ? (d(i), C(a), c?.(a, i)) : (d(a), c?.(i, a));
161
161
  }
162
162
  }, M = () => {
163
- const t = f();
164
- N(t), l !== "None" && (C(t), l === "Single" ? r?.(t) : (_(t), c?.(t, t)));
163
+ const a = f();
164
+ N(a), l !== "None" && (C(a), l === "Single" ? r?.(a) : (d(a), c?.(a, a)));
165
165
  }, w = () => {
166
166
  N(B(s, 1));
167
167
  }, H = () => {
168
- N(F(s, 1));
168
+ N(Y(s, 1));
169
169
  };
170
- return /* @__PURE__ */ e("div", { className: `mx-cmn-calendar ${g}`, children: /* @__PURE__ */ h(Y, { sx: { boxShadow: "none" }, children: [
171
- /* @__PURE__ */ e(
170
+ return /* @__PURE__ */ o("div", { className: `mx-cmn-calendar ${g}`, children: /* @__PURE__ */ h(z, { sx: { boxShadow: "none" }, children: [
171
+ /* @__PURE__ */ o(
172
172
  on,
173
173
  {
174
174
  copy: n,
@@ -177,19 +177,19 @@ const ln = ({
177
177
  onPreviousClick: H
178
178
  }
179
179
  ),
180
- /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-header-row", children: D[0].map((t, m) => /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-header-cell", children: /* @__PURE__ */ e(G, { bold: !0, variant: "Small", children: y(t, "EEEEE") }) }, m)) }),
181
- D.map((t, m) => /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-week", children: t.map((d, O) => /* @__PURE__ */ e(
180
+ /* @__PURE__ */ o("div", { className: "mx-cmn-calendar-header-row", children: D[0].map((a, m) => /* @__PURE__ */ o("div", { className: "mx-cmn-calendar-header-cell", children: /* @__PURE__ */ o(G, { bold: !0, variant: "Small", children: y(a, "EEEEE") }) }, m)) }),
181
+ D.map((a, m) => /* @__PURE__ */ o("div", { className: "mx-cmn-calendar-week", children: a.map((_, O) => /* @__PURE__ */ o(
182
182
  rn,
183
183
  {
184
184
  beginDate: i,
185
- date: d,
185
+ date: _,
186
186
  endDate: R,
187
- isInMonth: W(d, s),
187
+ isInMonth: W(_, s),
188
188
  onClick: K
189
189
  },
190
190
  O
191
191
  )) }, `w-${m}`)),
192
- /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-today-container", children: /* @__PURE__ */ e(E, { onClick: M, size: "small", variant: "text", children: n.today }) })
192
+ /* @__PURE__ */ o("div", { className: "mx-cmn-calendar-today-container", children: /* @__PURE__ */ o(E, { onClick: M, size: "small", variant: "text", children: n.today }) })
193
193
  ] }) });
194
194
  }, Cn = (n) => p({
195
195
  width: sn,
@@ -234,20 +234,20 @@ const ln = ({
234
234
  }
235
235
  }), Bn = ln, Pn = ({
236
236
  children: n,
237
- clickEventName: a,
238
- onClick: o,
237
+ clickEventName: t,
238
+ onClick: e,
239
239
  sx: r = {}
240
240
  }) => {
241
241
  const { onEvent: c } = tn();
242
- return o ? /* @__PURE__ */ e(k, { sx: { bgcolor: "background.paper", ...r }, children: /* @__PURE__ */ e(
242
+ return e ? /* @__PURE__ */ o(k, { sx: { bgcolor: "background.paper", ...r }, children: /* @__PURE__ */ o(
243
243
  an,
244
244
  {
245
245
  onClick: () => {
246
- a && c(a), o();
246
+ t && c(t), e();
247
247
  },
248
248
  children: n
249
249
  }
250
- ) }) : /* @__PURE__ */ e(
250
+ ) }) : /* @__PURE__ */ o(
251
251
  k,
252
252
  {
253
253
  disableGutters: !1,
@@ -302,13 +302,11 @@ const ln = ({
302
302
  ON_TRANSACTION_UNSPLIT_CANCEL: "onTransactionUnsplitCancel"
303
303
  };
304
304
  var Nn = /* @__PURE__ */ ((n) => (n[n.CREDIT = 1] = "CREDIT", n[n.DEBIT = 2] = "DEBIT", n))(Nn || {}), mn = /* @__PURE__ */ ((n) => (n[n.POSTED = 1] = "POSTED", n[n.PENDING = 2] = "PENDING", n))(mn || {});
305
- const Un = (n, a) => !!n.find((o) => o.feature_name === a)?.is_enabled;
306
305
  export {
307
306
  Bn as C,
308
307
  Pn as L,
309
308
  $n as O,
310
309
  Nn as T,
311
310
  mn as a,
312
- Tn as b,
313
- Un as i
311
+ Tn as b
314
312
  };