@mx-cartographer/experiences 8.1.5 → 8.1.7

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 (32) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/AccountDetailsHeader-D8NIfmO8.mjs +95 -0
  3. package/dist/{AccountFields-nrrEXd46.mjs → AccountFields-BWmpVsS3.mjs} +51 -51
  4. package/dist/AccountListItem-DSuv36PF.mjs +95 -0
  5. package/dist/EmbeddedCard-BqVpA1Jn.mjs +811 -0
  6. package/dist/{ManageIncome-Deq2AZEM.mjs → ManageIncome-n1ueMTrW.mjs} +2 -2
  7. package/dist/{RecurringSettings-B8KJllGX.mjs → RecurringSettings-DxsDZAp1.mjs} +1 -1
  8. package/dist/TransactionDetails-Bpp1FDUI.mjs +1721 -0
  9. package/dist/{TransactionStore-BUsP-unK.mjs → TransactionStore-DfaO_9m-.mjs} +105 -101
  10. package/dist/accounts/index.es.js +424 -420
  11. package/dist/accounts/utils/AccountFields.d.ts +2 -2
  12. package/dist/budgets/index.es.js +3 -3
  13. package/dist/cashflow/index.es.js +4 -4
  14. package/dist/common/index.es.js +2 -2
  15. package/dist/core/types/localization/TransactionsCopy.d.ts +11 -6
  16. package/dist/debts/index.es.js +1 -1
  17. package/dist/finstrong/index.es.js +14 -6
  18. package/dist/insights/index.es.js +2 -2
  19. package/dist/recurringtransactions/index.es.js +4 -4
  20. package/dist/spending/index.es.js +2 -2
  21. package/dist/transactions/components/shared/TransactionList.d.ts +0 -1
  22. package/dist/transactions/components/shared/transactiondetails/actions/{HideAction.d.ts → ExcludeAction.d.ts} +2 -2
  23. package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +1 -1
  24. package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
  25. package/dist/transactions/index.es.js +90 -84
  26. package/dist/transactions/stores/TransactionStore.d.ts +2 -0
  27. package/dist/trends/index.es.js +2 -2
  28. package/package.json +1 -1
  29. package/dist/AccountDetailsHeader-D_a0XUkL.mjs +0 -95
  30. package/dist/AccountListItem-D80egD01.mjs +0 -94
  31. package/dist/EmbeddedCard-CBS3uUbk.mjs +0 -810
  32. package/dist/TransactionDetails-DLnK244l.mjs +0 -1703
@@ -1,94 +0,0 @@
1
- import { jsx as e, jsxs as r, Fragment as l } from "react/jsx-runtime";
2
- import { observer as b } from "mobx-react-lite";
3
- import I from "@mui/material/Badge";
4
- import d from "@mui/material/Box";
5
- import v from "@mui/material/ListItem";
6
- import C from "@mui/material/ListItemAvatar";
7
- import S from "@mui/material/ListItemButton";
8
- import _ from "@mui/material/ListItemText";
9
- import L from "@mui/material/styles/useTheme";
10
- import { InstitutionLogo as A, Text as o } from "@mxenabled/mxui";
11
- import { Error as B } from "@mxenabled/mx-icons";
12
- import { I as j } from "./IconBacking-DgT8DCeh.mjs";
13
- import { g as T } from "./AccountFields-nrrEXd46.mjs";
14
- import { u as $ } from "./useAccountDisplayName-SrQA7K_6.mjs";
15
- import { u as k } from "./hooks-HwStH7q_.mjs";
16
- import { C as c } from "./Account-CMjOp7S2.mjs";
17
- import { f as w } from "./NumberFormatting-CyrvFgfd.mjs";
18
- const E = {
19
- gridRow: 1,
20
- gridColumn: 1,
21
- zIndex: 2
22
- }, M = ({ size: t = 20 }) => /* @__PURE__ */ e(j, { size: t, children: /* @__PURE__ */ e(B, { color: "error", filled: !0, sx: { fontSize: t, ...E } }) }), z = ({
23
- account: t,
24
- onRowClick: n,
25
- listItemProps: s,
26
- shouldShowConnectionStatus: p = !1
27
- }) => {
28
- const u = L(), f = $(t), { accounts: i } = k(), { firstSubtitle: h, firstValue: g, secondSubtitle: x, secondValue: y } = T(
29
- t,
30
- i
31
- );
32
- let a;
33
- (t.connectionStatus === c.Error || t.connectionStatus === c.RequiresMfa) && (a = /* @__PURE__ */ e(M, { size: 16 }));
34
- const m = /* @__PURE__ */ r(l, { children: [
35
- /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(
36
- I,
37
- {
38
- badgeContent: p ? a : void 0,
39
- sx: {
40
- "& .MuiBadge-badge": {
41
- right: -1
42
- }
43
- },
44
- children: /* @__PURE__ */ e(A, { alt: "MX", institutionGuid: t.institution_guid || "" })
45
- }
46
- ) }),
47
- /* @__PURE__ */ e(
48
- _,
49
- {
50
- disableTypography: !0,
51
- primary: /* @__PURE__ */ r(
52
- o,
53
- {
54
- bold: !0,
55
- color: t.is_hidden ? u.palette.text.secondary : void 0,
56
- sx: { whiteSpace: "normal" },
57
- variant: "body1",
58
- children: [
59
- `${f} ${t.account_number ? `*${t.account_number}` : ""}`,
60
- " ",
61
- t.is_hidden && !t.is_closed && i.is_hidden,
62
- t.is_closed && i.is_closed
63
- ]
64
- }
65
- ),
66
- secondary: /* @__PURE__ */ r(l, { children: [
67
- /* @__PURE__ */ r(d, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
68
- /* @__PURE__ */ e(o, { variant: "caption", children: h }),
69
- /* @__PURE__ */ e(o, { bold: !0, variant: "body2", children: w(g, "0,0.00") })
70
- ] }),
71
- /* @__PURE__ */ r(d, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
72
- /* @__PURE__ */ e(o, { variant: "caption", children: x }),
73
- /* @__PURE__ */ e(o, { ml: "auto", variant: "caption", children: y })
74
- ] })
75
- ] })
76
- }
77
- )
78
- ] });
79
- return /* @__PURE__ */ e(
80
- v,
81
- {
82
- ...s,
83
- sx: {
84
- backgroundColor: "background.paper",
85
- color: t.is_closed ? "grey.700" : "",
86
- ...s?.sx
87
- },
88
- children: n ? /* @__PURE__ */ e(S, { alignItems: "flex-start", onClick: n, sx: { px: 24 }, children: m }) : m
89
- }
90
- );
91
- }, P = b(z);
92
- export {
93
- P as A
94
- };