@mx-cartographer/experiences 9.4.25 → 9.4.27

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 (57) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/accounts/components/AccountListItem.es.js +6 -6
  3. package/dist/accounts/components/AccountsListCompact.es.js +6 -6
  4. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js +8 -8
  5. package/dist/budgets/components/addbudget/RecalculateBudgetRow.es.js +5 -5
  6. package/dist/budgets/components/addbudget/UnbudgetedRow.es.js +6 -6
  7. package/dist/categories/components/CategoryRow.es.js +8 -8
  8. package/dist/common/components/DataRow.es.js +9 -9
  9. package/dist/common/components/GlobalAccountFilter.es.js +115 -90
  10. package/dist/common/components/GlobalAccountFilter.es.js.map +1 -1
  11. package/dist/common/components/ListItemRow.es.js +1 -1
  12. package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +2 -1
  13. package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js +114 -99
  14. package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js.map +1 -1
  15. package/dist/common/components/globalaccountfilter/TriStateCheckbox.d.ts +17 -0
  16. package/dist/common/components/globalaccountfilter/TriStateCheckbox.es.js +18 -0
  17. package/dist/common/components/globalaccountfilter/TriStateCheckbox.es.js.map +1 -0
  18. package/dist/common/components/globalaccountfilter/selection.d.ts +17 -0
  19. package/dist/common/components/globalaccountfilter/selection.es.js +10 -0
  20. package/dist/common/components/globalaccountfilter/selection.es.js.map +1 -0
  21. package/dist/common/components/listitems/CollapseExpandListItem.es.js +4 -4
  22. package/dist/common/components/listitems/ToggleButtonListItem.es.js +8 -8
  23. package/dist/core/types/localization/AccountFilterCopy.d.ts +2 -2
  24. package/dist/finstrong/components/ProfileList.es.js +7 -7
  25. package/dist/finstrong/components/shared/Accounts.es.js +4 -4
  26. package/dist/goals/components/AccountSelectionDrawer.es.js +6 -6
  27. package/dist/goals/components/actions/AccountAction.es.js +4 -4
  28. package/dist/goals/components/actions/ChangeAccountAction.es.js +1 -1
  29. package/dist/goals/components/addgoal/AddGoalListItem.es.js +2 -2
  30. package/dist/goals/components/managegoals/CompleteListItem.es.js +6 -6
  31. package/dist/goals/components/managegoals/OngoingListItem.es.js +8 -8
  32. package/dist/help/components/requestsupport/PopularTopicsRow.es.js +8 -8
  33. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.es.js +6 -6
  34. package/dist/insights/components/shared/MenuAction.es.js +4 -4
  35. package/dist/insights-v2/components/OverflowMenu.es.js +4 -4
  36. package/dist/insights-v2/mappings/actionBlocksKey.es.js +1 -1
  37. package/dist/insights-v2/mappings/actionBlocksKey.es.js.map +1 -1
  38. package/dist/merchants/components/MerchantLookup.es.js +6 -6
  39. package/dist/networth/components/AssetsLiabilitiesDetail.es.js +1 -1
  40. package/dist/recurringtransactions/components/RecurrenceRow.es.js +6 -6
  41. package/dist/recurringtransactions/components/RecurringTransactionList.es.js +4 -4
  42. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.es.js +6 -6
  43. package/dist/settings/components/transactionrules/components/RuleListItem.es.js +4 -4
  44. package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.es.js +5 -5
  45. package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js +9 -9
  46. package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.es.js +9 -9
  47. package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js +9 -9
  48. package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.es.js +9 -9
  49. package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js +9 -9
  50. package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.es.js +9 -9
  51. package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.es.js +11 -11
  52. package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.es.js +9 -9
  53. package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.es.js +9 -9
  54. package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js +4 -4
  55. package/dist/transactions/components/tagmanager/TagRow.es.js +4 -4
  56. package/dist/trends/components/CategoryDetails.es.js +4 -4
  57. package/package.json +1 -1
@@ -11,19 +11,19 @@ import { jsx as r, jsxs as i } from "react/jsx-runtime";
11
11
  import T from "@mui/material/IconButton";
12
12
  import { fromUnixTime as b } from "date-fns/fromUnixTime";
13
13
  import A from "@mui/material/ListItem";
14
- import I from "@mui/material/ListItemButton";
15
- import v from "@mui/material/ListItemText";
16
- import C from "@mui/material/Avatar";
17
- import E from "@mui/material/ListItemAvatar";
14
+ import I from "@mui/material/Avatar";
15
+ import v from "@mui/material/ListItemAvatar";
16
+ import C from "@mui/material/ListItemButton";
17
+ import E from "@mui/material/ListItemText";
18
18
  var W = ({ goal: t, index: a, onUpClick: c }) => {
19
19
  const { goals: e } = h(), { percentage: s } = y(e, t), l = t.goal_type === _.KEEP_BALANCE_BELOW || t.has_been_spent ? e.goal_completed : m(e.goal_percentage_reached, `${s * 100}`);
20
- return /* @__PURE__ */ r(A, { children: /* @__PURE__ */ i(I, {
20
+ return /* @__PURE__ */ r(A, { children: /* @__PURE__ */ i(C, {
21
21
  disableRipple: !0,
22
22
  sx: {
23
23
  ":hover": { backgroundColor: "unset" },
24
24
  cursor: "default"
25
25
  },
26
- children: [t.track_type !== n.RETIREMENT_TRACK && /* @__PURE__ */ r(E, {
26
+ children: [t.track_type !== n.RETIREMENT_TRACK && /* @__PURE__ */ r(v, {
27
27
  sx: {
28
28
  alignItems: "center",
29
29
  display: "flex",
@@ -39,7 +39,7 @@ var W = ({ goal: t, index: a, onUpClick: c }) => {
39
39
  color: "primary",
40
40
  size: 24
41
41
  })
42
- }) : /* @__PURE__ */ r(C, {
42
+ }) : /* @__PURE__ */ r(I, {
43
43
  sx: {
44
44
  bgcolor: "text.primary",
45
45
  height: "16px",
@@ -51,7 +51,7 @@ var W = ({ goal: t, index: a, onUpClick: c }) => {
51
51
  children: a + 1
52
52
  })
53
53
  })
54
- }), /* @__PURE__ */ r(v, {
54
+ }), /* @__PURE__ */ r(E, {
55
55
  slotProps: { primary: { variant: "body1" } },
56
56
  children: /* @__PURE__ */ i(p, {
57
57
  alignItems: "center",
@@ -2,23 +2,23 @@ import { InstitutionLogo as s } from "@mxenabled/mxui";
2
2
  import { ChevronRight as a } from "@mxenabled/mx-icons";
3
3
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
4
4
  import p from "@mui/material/ListItem";
5
- import l from "@mui/material/ListItemButton";
6
- import d from "@mui/material/ListItemText";
7
- import c from "@mui/material/ListItemAvatar";
8
- import f from "@mui/material/ListItemIcon";
5
+ import l from "@mui/material/ListItemAvatar";
6
+ import d from "@mui/material/ListItemButton";
7
+ import c from "@mui/material/ListItemIcon";
8
+ import f from "@mui/material/ListItemText";
9
9
  var P = ({ name: r, onClick: o, subtitle: m, guid: i, sx: e }) => /* @__PURE__ */ t(p, {
10
10
  disableGutters: !0,
11
11
  disablePadding: !0,
12
- children: /* @__PURE__ */ n(l, {
12
+ children: /* @__PURE__ */ n(d, {
13
13
  "aria-label": r,
14
14
  onClick: o,
15
15
  children: [
16
- i && /* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(s, {
16
+ i && /* @__PURE__ */ t(l, { children: /* @__PURE__ */ t(s, {
17
17
  alt: r,
18
18
  institutionGuid: i || "",
19
19
  size: 32
20
20
  }) }),
21
- /* @__PURE__ */ t(d, {
21
+ /* @__PURE__ */ t(f, {
22
22
  primary: r,
23
23
  secondary: m,
24
24
  slotProps: {
@@ -29,7 +29,7 @@ var P = ({ name: r, onClick: o, subtitle: m, guid: i, sx: e }) => /* @__PURE__ *
29
29
  secondary: { variant: "caption" }
30
30
  }
31
31
  }),
32
- /* @__PURE__ */ t(f, { children: /* @__PURE__ */ t(a, {}) })
32
+ /* @__PURE__ */ t(c, { children: /* @__PURE__ */ t(a, {}) })
33
33
  ]
34
34
  })
35
35
  });
@@ -6,8 +6,8 @@ import n from "@mui/material/Box";
6
6
  import d from "@mui/material/IconButton";
7
7
  import p from "@mui/material/List";
8
8
  import m from "@mui/material/ListItem";
9
- import h from "@mui/material/ListItemText";
10
- import f from "@mui/material/ListItemIcon";
9
+ import h from "@mui/material/ListItemIcon";
10
+ import f from "@mui/material/ListItemText";
11
11
  var L = ({ copy: r, sendResponseAnalytics: s }) => /* @__PURE__ */ e(a, {
12
12
  height: "100%",
13
13
  justifyContent: "space-between",
@@ -36,12 +36,12 @@ var L = ({ copy: r, sendResponseAnalytics: s }) => /* @__PURE__ */ e(a, {
36
36
  mb: 12,
37
37
  minHeight: "unset"
38
38
  },
39
- children: [/* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(o, {
39
+ children: [/* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(o, {
40
40
  color: "success",
41
41
  name: "check_circle",
42
42
  size: 16,
43
43
  sx: { lineHeight: 1.2 }
44
- }) }), /* @__PURE__ */ e(h, {
44
+ }) }), /* @__PURE__ */ e(f, {
45
45
  disableTypography: !0,
46
46
  secondary: i,
47
47
  sx: {
@@ -82,10 +82,10 @@ var L = ({ copy: r, sendResponseAnalytics: s }) => /* @__PURE__ */ e(a, {
82
82
  mb: 24,
83
83
  p: 16
84
84
  },
85
- children: [/* @__PURE__ */ e(f, { children: /* @__PURE__ */ e(o, {
85
+ children: [/* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(o, {
86
86
  name: i.icon_name,
87
87
  size: 24
88
- }) }), /* @__PURE__ */ e(h, {
88
+ }) }), /* @__PURE__ */ e(f, {
89
89
  primary: i.title,
90
90
  secondary: i.content,
91
91
  sx: { "& > p": {
@@ -2,8 +2,8 @@ import { useState as g } from "react";
2
2
  import { Icon as I } from "@mxenabled/mx-icons";
3
3
  import { Fragment as z, jsx as o, jsxs as a } from "react/jsx-runtime";
4
4
  import M from "@mui/material/IconButton";
5
- import v from "@mui/material/ListItemText";
6
- import L from "@mui/material/ListItemIcon";
5
+ import v from "@mui/material/ListItemIcon";
6
+ import L from "@mui/material/ListItemText";
7
7
  import O from "@mui/material/MenuItem";
8
8
  import S from "@mui/material/Menu";
9
9
  var P = ({ ariaHidden: l = !1, ariaLabel: m, menuItems: s = [], onItemClick: p, onOpen: c, tabIndex: h = 0, ...d }) => {
@@ -47,10 +47,10 @@ var P = ({ ariaHidden: l = !1, ariaLabel: m, menuItems: s = [], onItemClick: p,
47
47
  children: s.map(({ icon: t, key: r, text: u }, x) => /* @__PURE__ */ a(O, {
48
48
  onClick: () => f(x, r),
49
49
  sx: { p: 12 },
50
- children: [/* @__PURE__ */ o(L, {
50
+ children: [/* @__PURE__ */ o(v, {
51
51
  sx: { minWidth: "32px !important" },
52
52
  children: t
53
- }), /* @__PURE__ */ o(v, {
53
+ }), /* @__PURE__ */ o(L, {
54
54
  primary: u,
55
55
  slotProps: { primary: {
56
56
  fontWeight: "normal",
@@ -2,8 +2,8 @@ import { useId as v, useState as z } from "react";
2
2
  import { MoreHoriz as M } from "@mxenabled/mx-icons";
3
3
  import { Fragment as O, jsx as r, jsxs as m } from "react/jsx-runtime";
4
4
  import k from "@mui/material/IconButton";
5
- import C from "@mui/material/ListItemText";
6
- import L from "@mui/material/ListItemIcon";
5
+ import C from "@mui/material/ListItemIcon";
6
+ import L from "@mui/material/ListItemText";
7
7
  import S from "@mui/material/MenuItem";
8
8
  import y from "@mui/material/Menu";
9
9
  var P = ({ items: d, ariaLabel: c, onOpen: p, disabled: h = !1 }) => {
@@ -51,10 +51,10 @@ var P = ({ items: d, ariaLabel: c, onOpen: p, disabled: h = !1 }) => {
51
51
  disabled: I,
52
52
  onClick: () => f(b),
53
53
  sx: { p: 12 },
54
- children: [/* @__PURE__ */ r(L, {
54
+ children: [/* @__PURE__ */ r(C, {
55
55
  sx: { minWidth: "32px !important" },
56
56
  children: x
57
- }), /* @__PURE__ */ r(C, {
57
+ }), /* @__PURE__ */ r(L, {
58
58
  primary: g,
59
59
  slotProps: { primary: {
60
60
  fontSize: 15,
@@ -2,7 +2,7 @@ var _ = {
2
2
  PLACEHOLDER_ACTION_BLOCK: "PlaceholderActionBlock",
3
3
  MAKE_TRANSFER_ACTION_BLOCK: "make_transfer",
4
4
  TRANSCATION_HISTORY_ACTION_BLOCK: "transaction_history_block",
5
- TRANSACTION_DETAILS_ACTION_BLOCK: "TransactionDetailsBlock"
5
+ TRANSACTION_DETAILS_ACTION_BLOCK: "transaction_details"
6
6
  };
7
7
  export {
8
8
  _ as actionBlocksKey
@@ -1 +1 @@
1
- {"version":3,"file":"actionBlocksKey.es.js","names":[],"sources":["../../../src/insights-v2/mappings/actionBlocksKey.ts"],"sourcesContent":["// Keys for the drawer drilldown registry in `blocks.ts`, extracted into their own module.\n//\n// Why: chart blocks (e.g. BarchartBlock, DoubleBarChartBlock) need\n// `TRANSCATION_HISTORY_ACTION_BLOCK` to tag a chart bar's drilldown context, but they are\n// themselves re-exported through `../blocks` -> `mappings/blocks.ts` imports from that same\n// barrel to build its `blocks` registry. Importing the key straight from `mappings/blocks.ts`\n// closed that loop into a circular import: evaluating `mappings/blocks.ts` pulled in the\n// `blocks` barrel, which (before it got to `ComponentBlocks`/`AccountBlock`) loaded\n// `BarchartBlock`, which imported back into the still-initializing `mappings/blocks.ts` —\n// tripping a \"Cannot access 'AccountBlock' before initialization\" TDZ error in Storybook/Vite.\n//\n// Keeping the keys here (no dependency on `mappings/blocks.ts`) lets chart blocks reference\n// them without re-entering that module.\nexport const actionBlocksKey = {\n PLACEHOLDER_ACTION_BLOCK: 'PlaceholderActionBlock',\n MAKE_TRANSFER_ACTION_BLOCK: 'make_transfer',\n TRANSCATION_HISTORY_ACTION_BLOCK: 'transaction_history_block',\n TRANSACTION_DETAILS_ACTION_BLOCK: 'TransactionDetailsBlock',\n}\n"],"mappings":"AAaA,IAAa,IAAkB;AAAA,EAC7B,0BAA0B;AAAA,EAC1B,4BAA4B;AAAA,EAC5B,kCAAkC;AAAA,EAClC,kCAAkC;AACpC"}
1
+ {"version":3,"file":"actionBlocksKey.es.js","names":[],"sources":["../../../src/insights-v2/mappings/actionBlocksKey.ts"],"sourcesContent":["// Keys for the drawer drilldown registry in `blocks.ts`, extracted into their own module.\n//\n// Why: chart blocks (e.g. BarchartBlock, DoubleBarChartBlock) need\n// `TRANSCATION_HISTORY_ACTION_BLOCK` to tag a chart bar's drilldown context, but they are\n// themselves re-exported through `../blocks` -> `mappings/blocks.ts` imports from that same\n// barrel to build its `blocks` registry. Importing the key straight from `mappings/blocks.ts`\n// closed that loop into a circular import: evaluating `mappings/blocks.ts` pulled in the\n// `blocks` barrel, which (before it got to `ComponentBlocks`/`AccountBlock`) loaded\n// `BarchartBlock`, which imported back into the still-initializing `mappings/blocks.ts` —\n// tripping a \"Cannot access 'AccountBlock' before initialization\" TDZ error in Storybook/Vite.\n//\n// Keeping the keys here (no dependency on `mappings/blocks.ts`) lets chart blocks reference\n// them without re-entering that module.\nexport const actionBlocksKey = {\n PLACEHOLDER_ACTION_BLOCK: 'PlaceholderActionBlock',\n MAKE_TRANSFER_ACTION_BLOCK: 'make_transfer',\n TRANSCATION_HISTORY_ACTION_BLOCK: 'transaction_history_block',\n TRANSACTION_DETAILS_ACTION_BLOCK: 'transaction_details',\n}\n"],"mappings":"AAaA,IAAa,IAAkB;AAAA,EAC7B,0BAA0B;AAAA,EAC1B,4BAA4B;AAAA,EAC5B,kCAAkC;AAAA,EAClC,kCAAkC;AACpC"}
@@ -11,9 +11,9 @@ import l from "@mui/material/Box";
11
11
  import A from "@mui/material/Divider";
12
12
  import V from "@mui/material/List";
13
13
  import k from "@mui/material/ListItem";
14
- import R from "@mui/material/ListItemButton";
15
- import w from "@mui/material/ListItemText";
16
- import C from "@mui/material/ListItemAvatar";
14
+ import R from "@mui/material/ListItemAvatar";
15
+ import w from "@mui/material/ListItemButton";
16
+ import C from "@mui/material/ListItemText";
17
17
  import { useVirtualizer as N } from "@tanstack/react-virtual";
18
18
  var B = /^[ a-zA-ZÀ-ÿ0-9]+$/, H = 50, p = 65, P = ({ height: f = "calc(100dvh - 120px)", onSelect: g }) => {
19
19
  const { isLoading: m, merchants: o, loadMerchants: s } = I(), { common: a } = y(), { isCopyLoaded: x } = v(), [L, S] = c.useState("");
@@ -60,12 +60,12 @@ var B = /^[ a-zA-ZÀ-ÿ0-9]+$/, H = 50, p = 65, P = ({ height: f = "calc(100dvh
60
60
  children: [/* @__PURE__ */ e(k, {
61
61
  disableGutters: !0,
62
62
  disablePadding: !0,
63
- children: /* @__PURE__ */ t(R, {
63
+ children: /* @__PURE__ */ t(w, {
64
64
  onClick: () => b(n.guid),
65
- children: [/* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(G, {
65
+ children: [/* @__PURE__ */ e(R, { children: /* @__PURE__ */ e(G, {
66
66
  categoryGuid: "",
67
67
  merchantGuid: n.guid
68
- }) }), /* @__PURE__ */ e(w, { primary: n.name })]
68
+ }) }), /* @__PURE__ */ e(C, { primary: n.name })]
69
69
  })
70
70
  }), /* @__PURE__ */ e(A, { sx: { ml: 24 } })]
71
71
  }, n.guid);
@@ -13,8 +13,8 @@ import h from "@mui/material/Divider";
13
13
  import C from "@mui/material/List";
14
14
  import b from "@mui/material/ListItem";
15
15
  import k from "@mui/material/ListItemButton";
16
- import c from "@mui/material/ListItemText";
17
16
  import g from "@mui/material/ListItemIcon";
17
+ import c from "@mui/material/ListItemText";
18
18
  import y from "@mui/material/ListSubheader";
19
19
  import A from "@mui/material/Collapse";
20
20
  var T = ({ accounts: i, name: a, icon: n }) => {
@@ -11,9 +11,9 @@ import { InstitutionLogo as S, MerchantLogo as k, Text as r } from "@mxenabled/m
11
11
  import { Cancel as A, CheckCircle as O } from "@mxenabled/mx-icons";
12
12
  import { Fragment as P, jsx as i, jsxs as o } from "react/jsx-runtime";
13
13
  import B from "@mui/material/ListItem";
14
- import N from "@mui/material/ListItemButton";
15
- import j from "@mui/material/ListItemText";
16
- import F from "@mui/material/ListItemAvatar";
14
+ import N from "@mui/material/ListItemAvatar";
15
+ import j from "@mui/material/ListItemButton";
16
+ import F from "@mui/material/ListItemText";
17
17
  var U = (t) => {
18
18
  if (t.type === x.Income) return /* @__PURE__ */ i(v, {});
19
19
  switch (t.status) {
@@ -42,14 +42,14 @@ var U = (t) => {
42
42
  return g ? d = n.missed?.toLowerCase() : T && (d = I ? h(n, u || {}, !0) : h(n, u || {}, !1)), /* @__PURE__ */ i(B, {
43
43
  disableGutters: !0,
44
44
  disablePadding: !0,
45
- children: /* @__PURE__ */ o(N, {
45
+ children: /* @__PURE__ */ o(j, {
46
46
  onClick: () => {
47
47
  w(t);
48
48
  },
49
- children: [/* @__PURE__ */ i(F, { children: /* @__PURE__ */ i(k, {
49
+ children: [/* @__PURE__ */ i(N, { children: /* @__PURE__ */ i(k, {
50
50
  categoryGuid: t.categoryGuid,
51
51
  merchantGuid: t.merchantGuid || ""
52
- }) }), /* @__PURE__ */ i(j, { children: /* @__PURE__ */ o(s, {
52
+ }) }), /* @__PURE__ */ i(F, { children: /* @__PURE__ */ o(s, {
53
53
  direction: "row",
54
54
  gap: 4,
55
55
  sx: {
@@ -14,8 +14,8 @@ import { fromUnixTime as H } from "date-fns/fromUnixTime";
14
14
  import { getUnixTime as W } from "date-fns/getUnixTime";
15
15
  import $ from "@mui/material/Divider";
16
16
  import K from "@mui/material/List";
17
- import V from "@mui/material/ListItemText";
18
- import q from "@mui/material/ListItemAvatar";
17
+ import V from "@mui/material/ListItemAvatar";
18
+ import q from "@mui/material/ListItemText";
19
19
  import J from "@mui/material/MenuItem";
20
20
  import Q from "@mui/material/Menu";
21
21
  var X = (d, u) => {
@@ -77,11 +77,11 @@ var X = (d, u) => {
77
77
  onClick: g ? () => G(t) : void 0,
78
78
  sx: { "& .MuiListItemButton-root": { pr: 10 } },
79
79
  children: [
80
- /* @__PURE__ */ r(q, { children: /* @__PURE__ */ r(P, {
80
+ /* @__PURE__ */ r(V, { children: /* @__PURE__ */ r(P, {
81
81
  categoryGuid: t.categoryGuid,
82
82
  merchantGuid: t.merchantGuid
83
83
  }) }),
84
- /* @__PURE__ */ r(V, {
84
+ /* @__PURE__ */ r(q, {
85
85
  disableTypography: !0,
86
86
  secondary: /* @__PURE__ */ i(l, {
87
87
  direction: "row",
@@ -10,23 +10,23 @@ import o from "@mui/material/Stack";
10
10
  import { InstitutionLogo as g, MerchantLogo as w, Text as n } from "@mxenabled/mxui";
11
11
  import { jsx as e, jsxs as r } from "react/jsx-runtime";
12
12
  import C from "@mui/material/ListItem";
13
- import L from "@mui/material/ListItemButton";
14
- import v from "@mui/material/ListItemText";
15
- import R from "@mui/material/ListItemAvatar";
13
+ import L from "@mui/material/ListItemAvatar";
14
+ import v from "@mui/material/ListItemButton";
15
+ import R from "@mui/material/ListItemText";
16
16
  var H = _(({ onClick: u = () => {
17
17
  }, repeatingTransaction: t }) => {
18
18
  const { recurring: i } = h(), [a, c] = d.useState(!1), p = d.useMemo(() => t.transactions.length === 0 ? "" : t.transactions[0].category_guid || "", [t]), s = t.account?.displayName || "", l = t.repeating_transaction_type === m.Income, f = b(i, t, !0);
19
19
  return /* @__PURE__ */ r(C, {
20
20
  disableGutters: !0,
21
21
  disablePadding: !0,
22
- children: [/* @__PURE__ */ r(L, {
22
+ children: [/* @__PURE__ */ r(v, {
23
23
  onClick: () => {
24
24
  u(t), c(!0);
25
25
  },
26
- children: [/* @__PURE__ */ e(R, { children: /* @__PURE__ */ e(w, {
26
+ children: [/* @__PURE__ */ e(L, { children: /* @__PURE__ */ e(w, {
27
27
  categoryGuid: p,
28
28
  merchantGuid: t.merchant_guid || ""
29
- }) }), /* @__PURE__ */ e(v, { children: /* @__PURE__ */ r(o, {
29
+ }) }), /* @__PURE__ */ e(R, { children: /* @__PURE__ */ r(o, {
30
30
  direction: "row",
31
31
  gap: 4,
32
32
  sx: { justifyContent: "space-between" },
@@ -5,8 +5,8 @@ import { jsx as r, jsxs as a } from "react/jsx-runtime";
5
5
  import { useTheme as f } from "@mui/material/styles";
6
6
  import n from "@mui/material/ListItem";
7
7
  import c from "@mui/material/ListItemButton";
8
- import l from "@mui/material/ListItemText";
9
- import h from "@mui/material/ListItemIcon";
8
+ import l from "@mui/material/ListItemIcon";
9
+ import h from "@mui/material/ListItemText";
10
10
  var y = s(({ onClick: t, primaryText: e, secondaryText: o, sx: m }) => {
11
11
  const i = f();
12
12
  return /* @__PURE__ */ r(n, {
@@ -15,10 +15,10 @@ var y = s(({ onClick: t, primaryText: e, secondaryText: o, sx: m }) => {
15
15
  alignItems: "flex-start",
16
16
  onClick: t,
17
17
  sx: m,
18
- children: [/* @__PURE__ */ r(l, {
18
+ children: [/* @__PURE__ */ r(h, {
19
19
  primary: e,
20
20
  secondary: o
21
- }), /* @__PURE__ */ r(h, { children: /* @__PURE__ */ r(p, {}) })]
21
+ }), /* @__PURE__ */ r(l, { children: /* @__PURE__ */ r(p, {}) })]
22
22
  })
23
23
  });
24
24
  });
@@ -8,17 +8,17 @@ import { jsx as r, jsxs as d } from "react/jsx-runtime";
8
8
  import v from "@mui/material/Divider";
9
9
  import b from "@mui/material/List";
10
10
  import T from "@mui/material/ListItem";
11
- import I from "@mui/material/ListItemText";
12
- import L from "@mui/material/Avatar";
13
- import A from "@mui/material/ListItemAvatar";
11
+ import I from "@mui/material/Avatar";
12
+ import L from "@mui/material/ListItemAvatar";
13
+ import A from "@mui/material/ListItemText";
14
14
  var m = (t, e, o, l = !0, n = "inset") => l ? /* @__PURE__ */ d(c.Fragment, { children: [/* @__PURE__ */ d(T, {
15
15
  disableGutters: !0,
16
16
  disablePadding: !0,
17
- children: [/* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(L, {
17
+ children: [/* @__PURE__ */ r(L, { children: /* @__PURE__ */ r(I, {
18
18
  sx: { bgcolor: "neutral.light" },
19
19
  variant: "rounded",
20
20
  children: t
21
- }) }), /* @__PURE__ */ r(I, {
21
+ }) }), /* @__PURE__ */ r(A, {
22
22
  primary: e,
23
23
  secondary: o,
24
24
  slotProps: { primary: {
@@ -13,11 +13,11 @@ import { Icon as v } from "@mxenabled/mx-icons";
13
13
  import { jsx as r, jsxs as C } from "react/jsx-runtime";
14
14
  import { useTheme as Z } from "@mui/material/styles";
15
15
  import ee from "@mui/material/ListItem";
16
- import te from "@mui/material/ListItemButton";
17
- import re from "@mui/material/ListItemText";
18
- import oe from "@mui/material/Avatar";
19
- import ne from "@mui/material/ListItemAvatar";
20
- import ie from "@mui/material/ListItemIcon";
16
+ import te from "@mui/material/Avatar";
17
+ import re from "@mui/material/ListItemAvatar";
18
+ import oe from "@mui/material/ListItemButton";
19
+ import ne from "@mui/material/ListItemIcon";
20
+ import ie from "@mui/material/ListItemText";
21
21
  var Ce = /* @__PURE__ */ (function(e) {
22
22
  return e.CREATE = "create", e.EDIT = "edit", e.DELETE = "delete", e;
23
23
  })({}), De = K(({ transaction: e }) => {
@@ -97,10 +97,10 @@ var Ce = /* @__PURE__ */ (function(e) {
97
97
  /* @__PURE__ */ r(ee, {
98
98
  disableGutters: !0,
99
99
  disablePadding: !0,
100
- children: /* @__PURE__ */ C(te, {
100
+ children: /* @__PURE__ */ C(oe, {
101
101
  onClick: G,
102
102
  children: [
103
- /* @__PURE__ */ r(ne, { children: /* @__PURE__ */ r(oe, {
103
+ /* @__PURE__ */ r(re, { children: /* @__PURE__ */ r(te, {
104
104
  sx: { bgcolor: k },
105
105
  variant: "rounded",
106
106
  children: /* @__PURE__ */ r(v, {
@@ -108,7 +108,7 @@ var Ce = /* @__PURE__ */ (function(e) {
108
108
  sx: { color: "text.primary" }
109
109
  })
110
110
  }) }),
111
- /* @__PURE__ */ r(re, {
111
+ /* @__PURE__ */ r(ie, {
112
112
  primary: t.add_merchant_budget_primary_text,
113
113
  secondary: /* @__PURE__ */ r(Q, {
114
114
  bold: !0,
@@ -122,7 +122,7 @@ var Ce = /* @__PURE__ */ (function(e) {
122
122
  fontWeight: "normal"
123
123
  } }
124
124
  }),
125
- /* @__PURE__ */ r(ie, { children: /* @__PURE__ */ r(v, {
125
+ /* @__PURE__ */ r(ne, { children: /* @__PURE__ */ r(v, {
126
126
  name: "chevron_right",
127
127
  sx: { color: "text.primary" }
128
128
  }) })
@@ -11,11 +11,11 @@ import { Icon as Y } from "@mxenabled/mx-icons";
11
11
  import { jsx as t, jsxs as y } from "react/jsx-runtime";
12
12
  import { useTheme as j } from "@mui/material/styles";
13
13
  import k from "@mui/material/ListItem";
14
- import z from "@mui/material/ListItemButton";
15
- import B from "@mui/material/ListItemText";
16
- import M from "@mui/material/Avatar";
17
- import U from "@mui/material/ListItemAvatar";
18
- import W from "@mui/material/ListItemIcon";
14
+ import z from "@mui/material/Avatar";
15
+ import B from "@mui/material/ListItemAvatar";
16
+ import M from "@mui/material/ListItemButton";
17
+ import U from "@mui/material/ListItemIcon";
18
+ import W from "@mui/material/ListItemText";
19
19
  var me = ({ transaction: e }) => {
20
20
  const { addOrUpdateTransactionRule: u, updateTransaction: g } = E(), { categories: s } = v(), { onEvent: c } = b(), { setShouldDisableDrawerScroll: f, updateManualTransaction: C } = D(), { transactions: r } = L(), S = j(), [T, l] = n.useState(!1), [a, i] = n.useState(""), m = async (o) => {
21
21
  await g({
@@ -40,12 +40,12 @@ var me = ({ transaction: e }) => {
40
40
  disableGutters: !0,
41
41
  disablePadding: !0,
42
42
  children: [
43
- /* @__PURE__ */ y(z, {
43
+ /* @__PURE__ */ y(M, {
44
44
  onClick: () => {
45
45
  c(w.ON_TRANSACTION_CATEGORY_CLICK), l(!0);
46
46
  },
47
47
  children: [
48
- /* @__PURE__ */ t(U, { children: /* @__PURE__ */ t(M, {
48
+ /* @__PURE__ */ t(B, { children: /* @__PURE__ */ t(z, {
49
49
  sx: { bgcolor: x },
50
50
  variant: "rounded",
51
51
  children: /* @__PURE__ */ t(R, {
@@ -55,7 +55,7 @@ var me = ({ transaction: e }) => {
55
55
  variant: P.Transparent
56
56
  })
57
57
  }) }),
58
- /* @__PURE__ */ t(B, {
58
+ /* @__PURE__ */ t(W, {
59
59
  primary: r.category_title,
60
60
  secondary: /* @__PURE__ */ t(V, {
61
61
  bold: !0,
@@ -69,7 +69,7 @@ var me = ({ transaction: e }) => {
69
69
  fontWeight: "normal"
70
70
  } }
71
71
  }),
72
- /* @__PURE__ */ t(W, { children: /* @__PURE__ */ t(Y, {
72
+ /* @__PURE__ */ t(U, { children: /* @__PURE__ */ t(Y, {
73
73
  name: "chevron_right",
74
74
  sx: { color: "text.primary" }
75
75
  }) })
@@ -14,11 +14,11 @@ import { jsx as t, jsxs as l } from "react/jsx-runtime";
14
14
  import { useTheme as U } from "@mui/material/styles";
15
15
  import { getUnixTime as k } from "date-fns/getUnixTime";
16
16
  import K from "@mui/material/ListItem";
17
- import M from "@mui/material/ListItemButton";
18
- import P from "@mui/material/ListItemText";
19
- import Y from "@mui/material/Avatar";
20
- import j from "@mui/material/ListItemAvatar";
21
- import w from "@mui/material/ListItemIcon";
17
+ import M from "@mui/material/Avatar";
18
+ import P from "@mui/material/ListItemAvatar";
19
+ import Y from "@mui/material/ListItemButton";
20
+ import j from "@mui/material/ListItemIcon";
21
+ import w from "@mui/material/ListItemText";
22
22
  var st = ({ transaction: e }) => {
23
23
  const { onEvent: n } = g(), { updateTransaction: d } = v(), { updateManualTransaction: p } = b(), { common: r, transactions: o } = L(), f = U(), [_, a] = s.useState(!1), [i, T] = s.useState(e.date), u = (A) => {
24
24
  T(k(A));
@@ -39,12 +39,12 @@ var st = ({ transaction: e }) => {
39
39
  className: "mx-txn-date-action",
40
40
  disableGutters: !0,
41
41
  disablePadding: !0,
42
- children: [/* @__PURE__ */ l(M, {
42
+ children: [/* @__PURE__ */ l(Y, {
43
43
  onClick: () => {
44
44
  n(E.ON_TRANSACTION_DATE_CLICK), a(!0);
45
45
  },
46
46
  children: [
47
- /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(Y, {
47
+ /* @__PURE__ */ t(P, { children: /* @__PURE__ */ t(M, {
48
48
  sx: { bgcolor: x },
49
49
  variant: "rounded",
50
50
  children: /* @__PURE__ */ t(c, {
@@ -52,7 +52,7 @@ var st = ({ transaction: e }) => {
52
52
  sx: { color: "text.primary" }
53
53
  })
54
54
  }) }),
55
- /* @__PURE__ */ t(P, {
55
+ /* @__PURE__ */ t(w, {
56
56
  primary: o.date_title,
57
57
  secondary: /* @__PURE__ */ t(R, {
58
58
  bold: !0,
@@ -66,7 +66,7 @@ var st = ({ transaction: e }) => {
66
66
  fontWeight: "normal"
67
67
  } }
68
68
  }),
69
- /* @__PURE__ */ t(w, { children: /* @__PURE__ */ t(c, {
69
+ /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(c, {
70
70
  name: "chevron_right",
71
71
  sx: { color: "text.primary" }
72
72
  }) })
@@ -9,11 +9,11 @@ import { Delete as s } from "@mxenabled/mx-icons";
9
9
  import { jsx as t, jsxs as l } from "react/jsx-runtime";
10
10
  import y from "@mui/material/Box";
11
11
  import D from "@mui/material/ListItem";
12
- import L from "@mui/material/ListItemButton";
13
- import S from "@mui/material/ListItemText";
14
- import I from "@mui/material/Avatar";
15
- import h from "@mui/material/ListItemAvatar";
16
- import v from "@mui/material/ListItemIcon";
12
+ import L from "@mui/material/Avatar";
13
+ import S from "@mui/material/ListItemAvatar";
14
+ import I from "@mui/material/ListItemButton";
15
+ import h from "@mui/material/ListItemIcon";
16
+ import v from "@mui/material/ListItemText";
17
17
  var x = ({ transaction: n }) => {
18
18
  const { onEvent: o } = _(), { removeTransaction: c } = f(), { setShouldDisableDrawerScroll: i } = E(), { common: a, transactions: e } = u(), [d, m] = A.useState(!1), p = async () => {
19
19
  await c(n.guid), o(r.ON_TRANSACTION_DELETE_DELETED);
@@ -23,23 +23,23 @@ var x = ({ transaction: n }) => {
23
23
  children: [n && /* @__PURE__ */ t(D, {
24
24
  disableGutters: !0,
25
25
  disablePadding: !0,
26
- children: /* @__PURE__ */ l(L, {
26
+ children: /* @__PURE__ */ l(I, {
27
27
  onClick: () => {
28
28
  o(r.ON_TRANSACTION_DELETE_CLICK), i(!0), m(!0);
29
29
  },
30
30
  children: [
31
- /* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(I, {
31
+ /* @__PURE__ */ t(S, { children: /* @__PURE__ */ t(L, {
32
32
  variant: "rounded",
33
33
  children: /* @__PURE__ */ t(s, {
34
34
  color: "secondary",
35
35
  fontSize: "small"
36
36
  })
37
37
  }) }),
38
- /* @__PURE__ */ t(S, {
38
+ /* @__PURE__ */ t(v, {
39
39
  primary: e.manual_transaction_delete_title,
40
40
  secondary: e.manual_transaction_delete_subtitle
41
41
  }),
42
- /* @__PURE__ */ t(v, { children: /* @__PURE__ */ t(s, {}) })
42
+ /* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(s, {}) })
43
43
  ]
44
44
  })
45
45
  }), /* @__PURE__ */ t(T, {
@@ -10,11 +10,11 @@ import { Icon as s } from "@mxenabled/mx-icons";
10
10
  import { jsx as o, jsxs as n } from "react/jsx-runtime";
11
11
  import { useTheme as y } from "@mui/material/styles";
12
12
  import x from "@mui/material/ListItem";
13
- import N from "@mui/material/ListItemButton";
14
- import O from "@mui/material/ListItemText";
15
- import S from "@mui/material/Avatar";
16
- import b from "@mui/material/ListItemAvatar";
17
- import v from "@mui/material/ListItemIcon";
13
+ import N from "@mui/material/Avatar";
14
+ import O from "@mui/material/ListItemAvatar";
15
+ import S from "@mui/material/ListItemButton";
16
+ import b from "@mui/material/ListItemIcon";
17
+ import v from "@mui/material/ListItemText";
18
18
  var D = ({ transaction: e }) => {
19
19
  const { onEvent: r } = g(), { updateTransaction: d } = L(), { setShouldDisableDrawerScroll: _ } = A(), { common: m, transactions: t } = T(), p = y(), [u, a] = l.useState(!1), f = async () => {
20
20
  await d({
@@ -26,12 +26,12 @@ var D = ({ transaction: e }) => {
26
26
  className: "mx-txn-delete-logo",
27
27
  disableGutters: !0,
28
28
  disablePadding: !0,
29
- children: [/* @__PURE__ */ n(N, {
29
+ children: [/* @__PURE__ */ n(S, {
30
30
  onClick: () => {
31
31
  r(i.ON_TRANSACTION_DELETE_LOGO_CLICK), a(!0);
32
32
  },
33
33
  children: [
34
- /* @__PURE__ */ o(b, { children: /* @__PURE__ */ o(S, {
34
+ /* @__PURE__ */ o(O, { children: /* @__PURE__ */ o(N, {
35
35
  sx: { bgcolor: h },
36
36
  variant: "rounded",
37
37
  children: /* @__PURE__ */ o(s, {
@@ -39,11 +39,11 @@ var D = ({ transaction: e }) => {
39
39
  sx: { color: "text.primary" }
40
40
  })
41
41
  }) }),
42
- /* @__PURE__ */ o(O, {
42
+ /* @__PURE__ */ o(v, {
43
43
  primary: t.merchant_logo_title,
44
44
  secondary: t.merchant_logo_desc
45
45
  }),
46
- /* @__PURE__ */ o(v, { children: /* @__PURE__ */ o(s, {
46
+ /* @__PURE__ */ o(b, { children: /* @__PURE__ */ o(s, {
47
47
  name: "chevron_right",
48
48
  sx: { color: "text.primary" }
49
49
  }) })