@mx-cartographer/experiences 9.4.24 → 9.4.26
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.
- package/CHANGELOG.md +14 -0
- package/dist/accounts/components/AccountListItem.es.js +6 -6
- package/dist/accounts/components/AccountsListCompact.es.js +6 -6
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js +8 -8
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.es.js +5 -5
- package/dist/budgets/components/addbudget/UnbudgetedRow.es.js +6 -6
- package/dist/categories/components/CategoryRow.es.js +8 -8
- package/dist/common/components/DataRow.es.js +9 -9
- package/dist/common/components/GlobalAccountFilter.es.js +115 -90
- package/dist/common/components/GlobalAccountFilter.es.js.map +1 -1
- package/dist/common/components/ListItemRow.es.js +1 -1
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +2 -1
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js +114 -99
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js.map +1 -1
- package/dist/common/components/globalaccountfilter/TriStateCheckbox.d.ts +17 -0
- package/dist/common/components/globalaccountfilter/TriStateCheckbox.es.js +18 -0
- package/dist/common/components/globalaccountfilter/TriStateCheckbox.es.js.map +1 -0
- package/dist/common/components/globalaccountfilter/selection.d.ts +17 -0
- package/dist/common/components/globalaccountfilter/selection.es.js +10 -0
- package/dist/common/components/globalaccountfilter/selection.es.js.map +1 -0
- package/dist/common/components/listitems/CollapseExpandListItem.es.js +4 -4
- package/dist/common/components/listitems/ToggleButtonListItem.es.js +8 -8
- package/dist/core/types/Insights.d.ts +2 -1
- package/dist/core/types/localization/AccountFilterCopy.d.ts +2 -2
- package/dist/finstrong/components/ProfileList.es.js +7 -7
- package/dist/finstrong/components/shared/Accounts.es.js +4 -4
- package/dist/goals/components/AccountSelectionDrawer.es.js +6 -6
- package/dist/goals/components/actions/AccountAction.es.js +4 -4
- package/dist/goals/components/actions/ChangeAccountAction.es.js +1 -1
- package/dist/goals/components/addgoal/AddGoalListItem.es.js +2 -2
- package/dist/goals/components/managegoals/CompleteListItem.es.js +6 -6
- package/dist/goals/components/managegoals/OngoingListItem.es.js +8 -8
- package/dist/help/components/requestsupport/PopularTopicsRow.es.js +8 -8
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.es.js +6 -6
- package/dist/insights/components/shared/MenuAction.es.js +4 -4
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.d.ts +3 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js +39 -37
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js +80 -71
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.d.ts +5 -3
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js +61 -53
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.d.ts +3 -1
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js +28 -24
- package/dist/insights-v2/blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js.map +1 -1
- package/dist/insights-v2/components/BaseLayout.es.js +39 -39
- package/dist/insights-v2/components/BaseLayout.es.js.map +1 -1
- package/dist/insights-v2/components/OverflowMenu.es.js +4 -4
- package/dist/insights-v2/components/SubHeader.es.js +4 -4
- package/dist/insights-v2/components/SubHeader.es.js.map +1 -1
- package/dist/merchants/components/MerchantLookup.es.js +6 -6
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js +1 -1
- package/dist/recurringtransactions/components/RecurrenceRow.es.js +6 -6
- package/dist/recurringtransactions/components/RecurringTransactionList.es.js +4 -4
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.es.js +6 -6
- package/dist/settings/components/transactionrules/components/RuleListItem.es.js +4 -4
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.es.js +5 -5
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js +9 -9
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.es.js +9 -9
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js +9 -9
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.es.js +9 -9
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js +9 -9
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.es.js +9 -9
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.es.js +11 -11
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.es.js +9 -9
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.es.js +9 -9
- package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js +4 -4
- package/dist/transactions/components/tagmanager/TagRow.es.js +4 -4
- package/dist/trends/components/CategoryDetails.es.js +4 -4
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubHeader.es.js","names":[],"sources":["../../../src/insights-v2/components/SubHeader.tsx"],"sourcesContent":["import Stack from '@mui/material/Stack'\n\nimport { CategoryIcon, InstitutionLogo, MerchantLogo, Text } from '@mxenabled/mxui'\nimport { Icon } from '@mxenabled/mx-icons'\nimport type { Logo, Subtitle } from '../../core'\n\ninterface SubHeaderProps {\n subtitle: Subtitle\n}\n\nconst renderLogo = (logo: Logo | undefined) => {\n if (!logo) return null\n\n if (logo.logo_name) {\n return <Icon name={logo.logo_name} size={16} sx={{ color: logo.logo_color }} />\n }\n\n if (logo.
|
|
1
|
+
{"version":3,"file":"SubHeader.es.js","names":[],"sources":["../../../src/insights-v2/components/SubHeader.tsx"],"sourcesContent":["import Stack from '@mui/material/Stack'\n\nimport { CategoryIcon, InstitutionLogo, MerchantLogo, Text } from '@mxenabled/mxui'\nimport { Icon } from '@mxenabled/mx-icons'\nimport type { Logo, Subtitle } from '../../core'\n\ninterface SubHeaderProps {\n subtitle: Subtitle\n}\n\n// TODO: Ask backend to send the correct guid (institution_guid, merchant_guid, or category_guid)\n// per beat's logo, matching what that beat's subtitle is actually about.\nconst renderLogo = (logo: Logo | undefined) => {\n if (!logo) return null\n\n if (logo.logo_name) {\n return <Icon name={logo.logo_name} size={16} sx={{ color: logo.logo_color }} />\n }\n\n if (logo.merchant_guid) {\n return (\n <MerchantLogo\n alt={logo.merchant_name as string}\n categoryGuid={logo.category_guid as string}\n merchantGuid={logo.merchant_guid}\n size={16}\n />\n )\n }\n\n if (logo.institution_guid) {\n return (\n <InstitutionLogo\n alt={logo.institution_name as string}\n institutionGuid={logo.institution_guid}\n size={16}\n />\n )\n }\n\n if (logo.category_guid) {\n return <CategoryIcon categoryGuid={logo.category_guid} size={16} />\n }\n\n return null\n}\n\nconst SubHeader = ({ subtitle }: SubHeaderProps) => {\n const { logo, text } = subtitle\n\n return (\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 8 }}>\n {renderLogo(logo)}\n <Text color=\"text.secondary\" variant=\"body2\">\n {text}\n </Text>\n </Stack>\n )\n}\n\nexport default SubHeader\n"],"mappings":";;;;AAYA,IAAM,IAAA,CAAc,MACb,IAED,EAAK,YACA,gBAAA,EAAC,GAAD;AAAA,EAAM,MAAM,EAAK;AAAA,EAAW,MAAM;AAAA,EAAI,IAAI,EAAE,OAAO,EAAK,WAAW;AAAI,CAAA,IAG5E,EAAK,gBAEL,gBAAA,EAAC,GAAD;AAAA,EACE,KAAK,EAAK;AAAA,EACV,cAAc,EAAK;AAAA,EACnB,cAAc,EAAK;AAAA,EACnB,MAAM;AACP,CAAA,IAID,EAAK,mBAEL,gBAAA,EAAC,GAAD;AAAA,EACE,KAAK,EAAK;AAAA,EACV,iBAAiB,EAAK;AAAA,EACtB,MAAM;AACP,CAAA,IAID,EAAK,gBACA,gBAAA,EAAC,GAAD;AAAA,EAAc,cAAc,EAAK;AAAA,EAAe,MAAM;AAAK,CAAA,IAG7D,OA/BW,MAkCd,IAAA,CAAa,EAAE,UAAA,EAAA,MAA+B;AAClD,QAAM,EAAE,MAAA,GAAM,MAAA,EAAA,IAAS;AAEvB,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI;AAAA,MAAE,YAAY;AAAA,MAAU,eAAe;AAAA,MAAO,KAAK;AAAA,IAAE;AAAA,IAAhE,UAAA,CACG,EAAW,CAAI,GAChB,gBAAA,EAAC,GAAD;AAAA,MAAM,OAAM;AAAA,MAAiB,SAAQ;AAAA,MAClC,UAAA;AAAA,IACG,CAAA,CACD;AAAA;AAEX"}
|
|
@@ -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/
|
|
15
|
-
import w from "@mui/material/
|
|
16
|
-
import C from "@mui/material/
|
|
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(
|
|
63
|
+
children: /* @__PURE__ */ t(w, {
|
|
64
64
|
onClick: () => b(n.guid),
|
|
65
|
-
children: [/* @__PURE__ */ e(
|
|
65
|
+
children: [/* @__PURE__ */ e(R, { children: /* @__PURE__ */ e(G, {
|
|
66
66
|
categoryGuid: "",
|
|
67
67
|
merchantGuid: n.guid
|
|
68
|
-
}) }), /* @__PURE__ */ e(
|
|
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/
|
|
15
|
-
import j from "@mui/material/
|
|
16
|
-
import F from "@mui/material/
|
|
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(
|
|
45
|
+
children: /* @__PURE__ */ o(j, {
|
|
46
46
|
onClick: () => {
|
|
47
47
|
w(t);
|
|
48
48
|
},
|
|
49
|
-
children: [/* @__PURE__ */ i(
|
|
49
|
+
children: [/* @__PURE__ */ i(N, { children: /* @__PURE__ */ i(k, {
|
|
50
50
|
categoryGuid: t.categoryGuid,
|
|
51
51
|
merchantGuid: t.merchantGuid || ""
|
|
52
|
-
}) }), /* @__PURE__ */ i(
|
|
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/
|
|
18
|
-
import q from "@mui/material/
|
|
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(
|
|
80
|
+
/* @__PURE__ */ r(V, { children: /* @__PURE__ */ r(P, {
|
|
81
81
|
categoryGuid: t.categoryGuid,
|
|
82
82
|
merchantGuid: t.merchantGuid
|
|
83
83
|
}) }),
|
|
84
|
-
/* @__PURE__ */ r(
|
|
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/
|
|
14
|
-
import v from "@mui/material/
|
|
15
|
-
import R from "@mui/material/
|
|
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(
|
|
22
|
+
children: [/* @__PURE__ */ r(v, {
|
|
23
23
|
onClick: () => {
|
|
24
24
|
u(t), c(!0);
|
|
25
25
|
},
|
|
26
|
-
children: [/* @__PURE__ */ e(
|
|
26
|
+
children: [/* @__PURE__ */ e(L, { children: /* @__PURE__ */ e(w, {
|
|
27
27
|
categoryGuid: p,
|
|
28
28
|
merchantGuid: t.merchant_guid || ""
|
|
29
|
-
}) }), /* @__PURE__ */ e(
|
|
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/
|
|
9
|
-
import h from "@mui/material/
|
|
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(
|
|
18
|
+
children: [/* @__PURE__ */ r(h, {
|
|
19
19
|
primary: e,
|
|
20
20
|
secondary: o
|
|
21
|
-
}), /* @__PURE__ */ r(
|
|
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/
|
|
12
|
-
import L from "@mui/material/
|
|
13
|
-
import A from "@mui/material/
|
|
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(
|
|
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(
|
|
21
|
+
}) }), /* @__PURE__ */ r(A, {
|
|
22
22
|
primary: e,
|
|
23
23
|
secondary: o,
|
|
24
24
|
slotProps: { primary: {
|
package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js
CHANGED
|
@@ -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/
|
|
17
|
-
import re from "@mui/material/
|
|
18
|
-
import oe from "@mui/material/
|
|
19
|
-
import ne from "@mui/material/
|
|
20
|
-
import ie from "@mui/material/
|
|
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(
|
|
100
|
+
children: /* @__PURE__ */ C(oe, {
|
|
101
101
|
onClick: G,
|
|
102
102
|
children: [
|
|
103
|
-
/* @__PURE__ */ r(
|
|
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(
|
|
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(
|
|
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/
|
|
15
|
-
import B from "@mui/material/
|
|
16
|
-
import M from "@mui/material/
|
|
17
|
-
import U from "@mui/material/
|
|
18
|
-
import W from "@mui/material/
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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/
|
|
18
|
-
import P from "@mui/material/
|
|
19
|
-
import Y from "@mui/material/
|
|
20
|
-
import j from "@mui/material/
|
|
21
|
-
import w from "@mui/material/
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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/
|
|
13
|
-
import S from "@mui/material/
|
|
14
|
-
import I from "@mui/material/
|
|
15
|
-
import h from "@mui/material/
|
|
16
|
-
import v from "@mui/material/
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
42
|
+
/* @__PURE__ */ t(h, { children: /* @__PURE__ */ t(s, {}) })
|
|
43
43
|
]
|
|
44
44
|
})
|
|
45
45
|
}), /* @__PURE__ */ t(T, {
|
package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js
CHANGED
|
@@ -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/
|
|
14
|
-
import O from "@mui/material/
|
|
15
|
-
import S from "@mui/material/
|
|
16
|
-
import b from "@mui/material/
|
|
17
|
-
import v from "@mui/material/
|
|
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(
|
|
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(
|
|
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(
|
|
42
|
+
/* @__PURE__ */ o(v, {
|
|
43
43
|
primary: t.merchant_logo_title,
|
|
44
44
|
secondary: t.merchant_logo_desc
|
|
45
45
|
}),
|
|
46
|
-
/* @__PURE__ */ o(
|
|
46
|
+
/* @__PURE__ */ o(b, { children: /* @__PURE__ */ o(s, {
|
|
47
47
|
name: "chevron_right",
|
|
48
48
|
sx: { color: "text.primary" }
|
|
49
49
|
}) })
|
|
@@ -9,11 +9,11 @@ import { Icon as d } from "@mxenabled/mx-icons";
|
|
|
9
9
|
import { jsx as o, jsxs as l } from "react/jsx-runtime";
|
|
10
10
|
import { useTheme as b } from "@mui/material/styles";
|
|
11
11
|
import O from "@mui/material/ListItem";
|
|
12
|
-
import S from "@mui/material/
|
|
13
|
-
import g from "@mui/material/
|
|
14
|
-
import v from "@mui/material/
|
|
15
|
-
import L from "@mui/material/
|
|
16
|
-
import D from "@mui/material/
|
|
12
|
+
import S from "@mui/material/Avatar";
|
|
13
|
+
import g from "@mui/material/ListItemAvatar";
|
|
14
|
+
import v from "@mui/material/ListItemButton";
|
|
15
|
+
import L from "@mui/material/ListItemIcon";
|
|
16
|
+
import D from "@mui/material/ListItemText";
|
|
17
17
|
import R from "@mui/material/Switch";
|
|
18
18
|
var k = ({ transaction: r }) => {
|
|
19
19
|
const { onEvent: n } = f(), { setAlert: a, updateTransaction: m } = C(), { setShouldDisableDrawerScroll: _ } = T(), { common: u, transactions: t } = h(), p = b(), [x, c] = s.useState(!1), e = r.is_hidden, I = async () => {
|
|
@@ -30,7 +30,7 @@ var k = ({ transaction: r }) => {
|
|
|
30
30
|
className: "mx-txn-hide-transaction",
|
|
31
31
|
disableGutters: !0,
|
|
32
32
|
disablePadding: !0,
|
|
33
|
-
children: [/* @__PURE__ */ l(
|
|
33
|
+
children: [/* @__PURE__ */ l(v, {
|
|
34
34
|
"aria-checked": e,
|
|
35
35
|
"aria-labelledby": "hide-transaction-text",
|
|
36
36
|
onClick: () => {
|
|
@@ -39,7 +39,7 @@ var k = ({ transaction: r }) => {
|
|
|
39
39
|
role: "switch",
|
|
40
40
|
tabIndex: 0,
|
|
41
41
|
children: [
|
|
42
|
-
/* @__PURE__ */ o(
|
|
42
|
+
/* @__PURE__ */ o(g, { children: /* @__PURE__ */ o(S, {
|
|
43
43
|
sx: { bgcolor: N },
|
|
44
44
|
variant: "rounded",
|
|
45
45
|
children: e ? /* @__PURE__ */ o(d, {
|
|
@@ -50,12 +50,12 @@ var k = ({ transaction: r }) => {
|
|
|
50
50
|
sx: { color: "text.primary" }
|
|
51
51
|
})
|
|
52
52
|
}) }),
|
|
53
|
-
/* @__PURE__ */ o(
|
|
53
|
+
/* @__PURE__ */ o(D, {
|
|
54
54
|
id: "hide-transaction-text",
|
|
55
55
|
primary: t.exclude_transaction,
|
|
56
56
|
secondary: t.excluding_transaction
|
|
57
57
|
}),
|
|
58
|
-
/* @__PURE__ */ o(
|
|
58
|
+
/* @__PURE__ */ o(L, {
|
|
59
59
|
"aria-hidden": "true",
|
|
60
60
|
children: /* @__PURE__ */ o(R, {
|
|
61
61
|
checked: e,
|
|
@@ -11,12 +11,12 @@ import { Icon as c } from "@mxenabled/mx-icons";
|
|
|
11
11
|
import { jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
12
12
|
import { useTheme as E } from "@mui/material/styles";
|
|
13
13
|
import N from "@mui/material/ListItem";
|
|
14
|
-
import M from "@mui/material/
|
|
15
|
-
import O from "@mui/material/
|
|
16
|
-
import w from "@mui/material/
|
|
17
|
-
import K from "@mui/material/
|
|
18
|
-
import P from "@mui/material/
|
|
19
|
-
import R from "@mui/material/
|
|
14
|
+
import M from "@mui/material/TextField";
|
|
15
|
+
import O from "@mui/material/Avatar";
|
|
16
|
+
import w from "@mui/material/ListItemAvatar";
|
|
17
|
+
import K from "@mui/material/ListItemButton";
|
|
18
|
+
import P from "@mui/material/ListItemIcon";
|
|
19
|
+
import R from "@mui/material/ListItemText";
|
|
20
20
|
var $ = ({ transaction: e }) => {
|
|
21
21
|
const { onEvent: n } = h(), { updateTransaction: p } = I(), { updateManualTransaction: d } = A(), { common: u, transactions: r } = C(), f = E(), [m, t] = a.useState(!1), [i, l] = a.useState("");
|
|
22
22
|
a.useEffect(() => {
|
|
@@ -39,12 +39,12 @@ var $ = ({ transaction: e }) => {
|
|
|
39
39
|
className: "mx-txn-memo-action",
|
|
40
40
|
disableGutters: !0,
|
|
41
41
|
disablePadding: !0,
|
|
42
|
-
children: [/* @__PURE__ */ s(
|
|
42
|
+
children: [/* @__PURE__ */ s(K, {
|
|
43
43
|
onClick: () => {
|
|
44
44
|
n(S.ON_TRANSACTION_MEMO_CLICK), t(!0);
|
|
45
45
|
},
|
|
46
46
|
children: [
|
|
47
|
-
/* @__PURE__ */ o(
|
|
47
|
+
/* @__PURE__ */ o(w, { children: /* @__PURE__ */ o(O, {
|
|
48
48
|
sx: { bgcolor: _ },
|
|
49
49
|
variant: "rounded",
|
|
50
50
|
children: /* @__PURE__ */ o(c, {
|
|
@@ -52,7 +52,7 @@ var $ = ({ transaction: e }) => {
|
|
|
52
52
|
sx: { color: "text.primary" }
|
|
53
53
|
})
|
|
54
54
|
}) }),
|
|
55
|
-
/* @__PURE__ */ o(
|
|
55
|
+
/* @__PURE__ */ o(R, {
|
|
56
56
|
primary: r.memo_title,
|
|
57
57
|
secondary: /* @__PURE__ */ o(b, {
|
|
58
58
|
bold: !0,
|
|
@@ -66,7 +66,7 @@ var $ = ({ transaction: e }) => {
|
|
|
66
66
|
fontWeight: "normal"
|
|
67
67
|
} }
|
|
68
68
|
}),
|
|
69
|
-
/* @__PURE__ */ o(
|
|
69
|
+
/* @__PURE__ */ o(P, { children: /* @__PURE__ */ o(c, {
|
|
70
70
|
name: "chevron_right",
|
|
71
71
|
sx: { color: "text.primary" }
|
|
72
72
|
}) })
|
|
@@ -77,7 +77,7 @@ var $ = ({ transaction: e }) => {
|
|
|
77
77
|
onClose: () => t(!1),
|
|
78
78
|
onPrimaryAction: x,
|
|
79
79
|
title: r.memo_title,
|
|
80
|
-
children: [/* @__PURE__ */ o(g, { transaction: e }), /* @__PURE__ */ o(
|
|
80
|
+
children: [/* @__PURE__ */ o(g, { transaction: e }), /* @__PURE__ */ o(M, {
|
|
81
81
|
"aria-label": r.memo_desc_aria,
|
|
82
82
|
focused: !0,
|
|
83
83
|
multiline: !0,
|
|
@@ -15,11 +15,11 @@ import { Icon as h } from "@mxenabled/mx-icons";
|
|
|
15
15
|
import { jsx as n, jsxs as C } from "react/jsx-runtime";
|
|
16
16
|
import { useTheme as et } from "@mui/material/styles";
|
|
17
17
|
import ot from "@mui/material/ListItem";
|
|
18
|
-
import nt from "@mui/material/
|
|
19
|
-
import it from "@mui/material/
|
|
20
|
-
import rt from "@mui/material/
|
|
21
|
-
import st from "@mui/material/
|
|
22
|
-
import at from "@mui/material/
|
|
18
|
+
import nt from "@mui/material/Avatar";
|
|
19
|
+
import it from "@mui/material/ListItemAvatar";
|
|
20
|
+
import rt from "@mui/material/ListItemButton";
|
|
21
|
+
import st from "@mui/material/ListItemIcon";
|
|
22
|
+
import at from "@mui/material/ListItemText";
|
|
23
23
|
var lt = ({ transaction: t }) => {
|
|
24
24
|
const { onEvent: p } = F(), { announce: u, ariaLive: L } = z(), { splitTransaction: b, unSplitTransaction: N, transactionSplitting: y } = q(), { common: _, transactions: i } = H(), { setShouldDisableDrawerScroll: v } = Q(), { categories: E } = B(), O = et(), T = {
|
|
25
25
|
...t,
|
|
@@ -80,10 +80,10 @@ var lt = ({ transaction: t }) => {
|
|
|
80
80
|
disableGutters: !0,
|
|
81
81
|
disablePadding: !0,
|
|
82
82
|
children: [
|
|
83
|
-
/* @__PURE__ */ C(
|
|
83
|
+
/* @__PURE__ */ C(rt, {
|
|
84
84
|
onClick: K,
|
|
85
85
|
children: [
|
|
86
|
-
/* @__PURE__ */ n(
|
|
86
|
+
/* @__PURE__ */ n(it, { children: /* @__PURE__ */ n(nt, {
|
|
87
87
|
sx: { bgcolor: Y },
|
|
88
88
|
variant: "rounded",
|
|
89
89
|
children: /* @__PURE__ */ n(h, {
|
|
@@ -91,11 +91,11 @@ var lt = ({ transaction: t }) => {
|
|
|
91
91
|
sx: { color: "text.primary" }
|
|
92
92
|
})
|
|
93
93
|
}) }),
|
|
94
|
-
/* @__PURE__ */ n(
|
|
94
|
+
/* @__PURE__ */ n(at, {
|
|
95
95
|
primary: t.has_been_split || t.parent_guid ? i.split_transaction_unsplit_title : i.split_transaction_title,
|
|
96
96
|
secondary: t.has_been_split || t.parent_guid ? i.split_transaction_unsplit_subtitle : i.split_transaction_desc
|
|
97
97
|
}),
|
|
98
|
-
/* @__PURE__ */ n(
|
|
98
|
+
/* @__PURE__ */ n(st, { children: t.has_been_split || t.parent_guid ? /* @__PURE__ */ n(h, { name: "delete" }) : /* @__PURE__ */ n(h, {
|
|
99
99
|
name: "chevron_right",
|
|
100
100
|
sx: { color: "text.primary" }
|
|
101
101
|
}) })
|
|
@@ -11,11 +11,11 @@ import { Icon as f } from "@mxenabled/mx-icons";
|
|
|
11
11
|
import { jsx as t, jsxs as u } from "react/jsx-runtime";
|
|
12
12
|
import { useTheme as K } from "@mui/material/styles";
|
|
13
13
|
import M from "@mui/material/ListItem";
|
|
14
|
-
import P from "@mui/material/
|
|
15
|
-
import R from "@mui/material/
|
|
16
|
-
import j from "@mui/material/
|
|
17
|
-
import D from "@mui/material/
|
|
18
|
-
import V from "@mui/material/
|
|
14
|
+
import P from "@mui/material/Avatar";
|
|
15
|
+
import R from "@mui/material/ListItemAvatar";
|
|
16
|
+
import j from "@mui/material/ListItemButton";
|
|
17
|
+
import D from "@mui/material/ListItemIcon";
|
|
18
|
+
import V from "@mui/material/ListItemText";
|
|
19
19
|
var z = ({ transaction: e }) => {
|
|
20
20
|
const { onEvent: c } = v(), { tags: p, updateTaggings: T, updateTransaction: _ } = L(), { common: n, transactions: l } = b(), { updateManualTransaction: h } = O(), C = K(), [d, a] = m.useState(!1), [o, g] = m.useState(e.tags);
|
|
21
21
|
m.useEffect(() => {
|
|
@@ -40,12 +40,12 @@ var z = ({ transaction: e }) => {
|
|
|
40
40
|
return /* @__PURE__ */ u(M, {
|
|
41
41
|
disableGutters: !0,
|
|
42
42
|
disablePadding: !0,
|
|
43
|
-
children: [/* @__PURE__ */ u(
|
|
43
|
+
children: [/* @__PURE__ */ u(j, {
|
|
44
44
|
onClick: () => {
|
|
45
45
|
c(k.ON_TRANSACTION_TAGS_CLICK), a(!0);
|
|
46
46
|
},
|
|
47
47
|
children: [
|
|
48
|
-
/* @__PURE__ */ t(
|
|
48
|
+
/* @__PURE__ */ t(R, { children: /* @__PURE__ */ t(P, {
|
|
49
49
|
sx: { bgcolor: I },
|
|
50
50
|
variant: "rounded",
|
|
51
51
|
children: /* @__PURE__ */ t(f, {
|
|
@@ -53,7 +53,7 @@ var z = ({ transaction: e }) => {
|
|
|
53
53
|
sx: { color: "text.primary" }
|
|
54
54
|
})
|
|
55
55
|
}) }),
|
|
56
|
-
/* @__PURE__ */ t(
|
|
56
|
+
/* @__PURE__ */ t(V, {
|
|
57
57
|
primary: l.tags_title,
|
|
58
58
|
secondary: /* @__PURE__ */ t(w, {
|
|
59
59
|
bold: !0,
|
|
@@ -67,7 +67,7 @@ var z = ({ transaction: e }) => {
|
|
|
67
67
|
fontWeight: "normal"
|
|
68
68
|
} }
|
|
69
69
|
}),
|
|
70
|
-
/* @__PURE__ */ t(
|
|
70
|
+
/* @__PURE__ */ t(D, { children: /* @__PURE__ */ t(f, {
|
|
71
71
|
name: "chevron_right",
|
|
72
72
|
sx: { color: "text.primary" }
|
|
73
73
|
}) })
|