@mx-cartographer/experiences 9.7.44 → 9.7.45

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 CHANGED
@@ -1,3 +1,7 @@
1
+ ## [9.7.45] - 10-26-2026
2
+
3
+ - **FIXED** - transaction lists that showed no rows (MEW-4023)
4
+
1
5
  ## [9.7.44] - 10-26-2026
2
6
 
3
7
  - **ADDED** - `account_details_block` action block: the accounts widget's account details (header with trend chart, Transactions / Account Details tabs, connection status, actions) in the action drawer for the beat's primary account, titled from `accounts.account_details`. An account the store cannot resolve shows the error message rather than an earlier selection. Missing Interest Rate fixture, stories, tests and `docs/action-blocks/account-details-block.md` (MEW2-2633)
@@ -1,64 +1,64 @@
1
- import { useEvent as Q, useGlobalCopyStore as W, useTransactionStore as ee } from "../../../common/context/hooks.es.js";
2
- import { fromUnixUTCToDayOfWeekAndDate as te } from "../../../core/utils/DateUtil.es.js";
3
- import { VISUALLY_HIDDEN_SX as oe } from "../../../common/constants/Styles.es.js";
4
- import { ANALYTICS_EVENTS as ne } from "../../../common/constants/Analytics.es.js";
5
- import re from "../../../common/components/Loader.es.js";
6
- import se from "../../../common/components/ZeroState.es.js";
7
- import { useTransactionsUiStore as ie } from "../../context/hooks.es.js";
8
- import ae from "./transactionlist/TransactionRow.es.js";
9
- import ce from "../../../common/components/SubheaderRow.es.js";
10
- import { hasInsetBorder as le, shouldShowDate as H } from "../../utils/Transactions.es.js";
1
+ import { useEvent as W, useGlobalCopyStore as ee, useTransactionStore as te } from "../../../common/context/hooks.es.js";
2
+ import { fromUnixUTCToDayOfWeekAndDate as oe } from "../../../core/utils/DateUtil.es.js";
3
+ import { VISUALLY_HIDDEN_SX as ne } from "../../../common/constants/Styles.es.js";
4
+ import { ANALYTICS_EVENTS as re } from "../../../common/constants/Analytics.es.js";
5
+ import se from "../../../common/components/Loader.es.js";
6
+ import ie from "../../../common/components/ZeroState.es.js";
7
+ import { useTransactionsUiStore as ae } from "../../context/hooks.es.js";
8
+ import ce from "./transactionlist/TransactionRow.es.js";
9
+ import le from "../../../common/components/SubheaderRow.es.js";
10
+ import { hasInsetBorder as ue, shouldShowDate as D } from "../../utils/Transactions.es.js";
11
11
  import o from "react";
12
- import { observer as ue } from "mobx-react-lite";
13
- import { Fragment as de, jsx as s, jsxs as b } from "react/jsx-runtime";
12
+ import { observer as de } from "mobx-react-lite";
13
+ import { Fragment as fe, jsx as s, jsxs as b } from "react/jsx-runtime";
14
14
  import u from "@mui/material/Box";
15
- import fe from "@mui/material/Divider";
16
- import me from "@mui/material/List";
17
- import { useVirtualizer as pe } from "@tanstack/react-virtual";
18
- var z = 65, y = 32, ge = (h) => {
19
- for (let r = h?.parentElement; r; r = r.parentElement) if (/(auto|scroll)/.test(getComputedStyle(r).overflowY)) return r;
15
+ import me from "@mui/material/Divider";
16
+ import pe from "@mui/material/List";
17
+ import { useVirtualizer as ge } from "@tanstack/react-virtual";
18
+ var z = 65, y = 32, he = (g) => {
19
+ for (let r = g?.parentElement; r; r = r.parentElement) if (/(auto|scroll)/.test(getComputedStyle(r).overflowY)) return r;
20
20
  return null;
21
- }, he = ({ bgcolor: h, filter: r, height: N = "calc(100dvh - 36px)", isRowDisabled: O, loader: k = /* @__PURE__ */ s(re, {
21
+ }, xe = ({ bgcolor: g, filter: r, height: N = "calc(100dvh - 36px)", isRowDisabled: O, loader: B = /* @__PURE__ */ s(se, {
22
22
  label: "Loading",
23
23
  size: 40
24
- }), onClick: E, scrollsWithParent: a = !1, showInsights: I = !1, showLoader: B = !1, stickyHeader: x, transaction: _, width: S = "100%", zeroState: U = /* @__PURE__ */ s(se, {}) }) => {
25
- const { isLoading: V, sortedTransactions: v } = ee(), n = o.useMemo(() => {
26
- const e = r ? v.filter(r) : v;
24
+ }), onClick: E, scrollsWithParent: a = !1, showInsights: I = !1, showLoader: k = !1, stickyHeader: h, transaction: _, width: x = "100%", zeroState: U = /* @__PURE__ */ s(ie, {}) }) => {
25
+ const { isLoading: V, sortedTransactions: S } = te(), n = o.useMemo(() => {
26
+ const e = r ? S.filter(r) : S;
27
27
  return _ ?? e;
28
28
  }, [
29
- v,
29
+ S,
30
30
  r,
31
31
  _
32
- ]), { clearExpandedSplits: $, setShowInsights: F, toggleSplit: M } = ie(), { onEvent: Y } = Q(), { common: G } = W(), [d, C] = o.useState(null), j = (e) => {
32
+ ]), { clearExpandedSplits: $, setShowInsights: F, toggleSplit: M } = ae(), { onEvent: Y } = W(), { common: G } = ee(), [d, C] = o.useState(null), j = (e) => {
33
33
  const t = n.find((i) => i.guid === e);
34
34
  if (t?.has_been_split) {
35
35
  M(t.guid);
36
36
  return;
37
37
  }
38
- Y(ne.ACCOUNT_DETAILS_CLICK_TRANSACTION, {
38
+ Y(re.ACCOUNT_DETAILS_CLICK_TRANSACTION, {
39
39
  account_guid: t?.account_guid,
40
40
  transaction_guid: e
41
41
  }), E?.(e);
42
- }, f = o.useRef(null), q = !!x, [R, K] = o.useState(null), [L, X] = o.useState(0), m = o.useRef(null), [w, Z] = o.useState(0);
42
+ }, f = o.useRef(null), q = !!h, [R, K] = o.useState(null), [L, X] = o.useState(0), m = o.useRef(null), [w, Z] = o.useState(0);
43
43
  o.useLayoutEffect(() => {
44
44
  if (!a) return;
45
45
  const e = f.current;
46
46
  if (!e) return;
47
- const t = ge(e) ?? e, i = () => {
47
+ const t = he(e) ?? e, i = () => {
48
48
  X(e.getBoundingClientRect().top - t.getBoundingClientRect().top + t.scrollTop), Z(m.current?.offsetHeight ?? 0);
49
49
  };
50
50
  K(t), i();
51
51
  const l = new ResizeObserver(i);
52
52
  return l.observe(t.firstElementChild ?? t), m.current && l.observe(m.current), () => l.disconnect();
53
53
  }, [a, q]);
54
- const p = pe({
54
+ const p = ge({
55
55
  count: n.length,
56
56
  getScrollElement: () => a ? R : f.current,
57
- estimateSize: (e) => z + (H(e, n) ? y : 0),
57
+ estimateSize: (e) => z + (D(e, n) ? y : 0),
58
58
  overscan: 5,
59
59
  scrollMargin: L,
60
60
  scrollPaddingStart: w
61
- }), g = p.getVirtualItems(), c = g.at(-1)?.index ?? -1, A = n.length - (c + 1), T = !V && !B, D = T && g.length > 0, J = () => {
61
+ }), v = p.getVirtualItems(), c = v.at(-1)?.index ?? -1, H = n.length - (c + 1), T = !V && !k, A = T && v.length > 0, J = p.getTotalSize() || "auto", P = () => {
62
62
  const e = c + 1;
63
63
  p.scrollToIndex(e, { align: "start" }), C({
64
64
  index: e,
@@ -69,38 +69,38 @@ var z = 65, y = 32, ge = (h) => {
69
69
  if (!d) return;
70
70
  const e = f.current?.querySelector(`[data-index="${d.index}"]`);
71
71
  e?.focus(), (e || c !== d.from) && C(null);
72
- }, [d, c]), o.useEffect(() => p.measure(), [n, R]), o.useEffect(() => F(I), [I]), o.useEffect(() => () => $(), []), /* @__PURE__ */ b(de, { children: [
73
- x && /* @__PURE__ */ s(u, {
72
+ }, [d, c]), o.useEffect(() => p.measure(), [n, R]), o.useEffect(() => F(I), [I]), o.useEffect(() => () => $(), []), /* @__PURE__ */ b(fe, { children: [
73
+ h && /* @__PURE__ */ s(u, {
74
74
  ref: m,
75
75
  sx: {
76
76
  bgcolor: "background.paper",
77
77
  position: a ? "sticky" : void 0,
78
78
  top: 0,
79
- width: S,
79
+ width: x,
80
80
  zIndex: 1
81
81
  },
82
- children: x
82
+ children: h
83
83
  }),
84
- /* @__PURE__ */ s(me, {
84
+ /* @__PURE__ */ s(pe, {
85
85
  component: "div",
86
86
  role: "list",
87
- sx: { width: S },
87
+ sx: { width: x },
88
88
  children: /* @__PURE__ */ s(u, {
89
89
  height: a ? void 0 : N,
90
90
  overflow: a ? void 0 : "auto",
91
91
  ref: f,
92
92
  role: "presentation",
93
- width: S,
93
+ width: x,
94
94
  children: /* @__PURE__ */ b(u, {
95
- height: g.length === 0 ? "auto" : p.getTotalSize(),
95
+ height: J,
96
96
  position: "relative",
97
97
  role: "presentation",
98
98
  width: "100%",
99
99
  children: [
100
- !T && k,
100
+ !T && B,
101
101
  T && n.length === 0 && U,
102
- D && g.map((e) => {
103
- const t = n[e.index], i = H(e.index, n), l = le(e.index, n), P = z + (i ? y : 0);
102
+ A && v.map((e) => {
103
+ const t = n[e.index], i = D(e.index, n), l = ue(e.index, n), Q = z + (i ? y : 0);
104
104
  return /* @__PURE__ */ b(u, {
105
105
  "aria-posinset": e.index + 1,
106
106
  "aria-setsize": n.length,
@@ -108,7 +108,7 @@ var z = 65, y = 32, ge = (h) => {
108
108
  role: "listitem",
109
109
  tabIndex: -1,
110
110
  sx: {
111
- height: P,
111
+ height: Q,
112
112
  position: "absolute",
113
113
  scrollMarginTop: w,
114
114
  transform: `translateY(${e.start - L}px)`,
@@ -116,17 +116,17 @@ var z = 65, y = 32, ge = (h) => {
116
116
  bgcolor: "background.paper"
117
117
  },
118
118
  children: [
119
- i && /* @__PURE__ */ s(ce, {
120
- bgcolor: h,
121
- children: te(t.date)
119
+ i && /* @__PURE__ */ s(le, {
120
+ bgcolor: g,
121
+ children: oe(t.date)
122
122
  }),
123
- /* @__PURE__ */ s(ae, {
123
+ /* @__PURE__ */ s(ce, {
124
124
  component: "div",
125
125
  disabled: O?.(t),
126
126
  ...E && { onClick: j },
127
127
  transaction: t
128
128
  }),
129
- /* @__PURE__ */ s(fe, { sx: { ml: l ? 68 : 0 } })
129
+ /* @__PURE__ */ s(me, { sx: { ml: l ? 68 : 0 } })
130
130
  ]
131
131
  }, t.guid);
132
132
  })
@@ -134,18 +134,18 @@ var z = 65, y = 32, ge = (h) => {
134
134
  })
135
135
  })
136
136
  }),
137
- D && A > 0 && /* @__PURE__ */ s(u, {
137
+ A && H > 0 && /* @__PURE__ */ s(u, {
138
138
  component: "button",
139
- onClick: J,
140
- sx: oe,
139
+ onClick: P,
140
+ sx: ne,
141
141
  tabIndex: -1,
142
142
  type: "button",
143
- children: `${G.view_more} (${A})`
143
+ children: `${G.view_more} (${H})`
144
144
  })
145
145
  ] });
146
- }, Ne = ue(he);
146
+ }, Oe = de(xe);
147
147
  export {
148
- Ne as default
148
+ Oe as default
149
149
  };
150
150
 
151
151
  //# sourceMappingURL=TransactionList.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TransactionList.es.js","names":[],"sources":["../../../../src/transactions/components/shared/TransactionList.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\nimport { useVirtualizer } from '@tanstack/react-virtual'\n\nimport Box from '@mui/material/Box'\nimport Divider from '@mui/material/Divider'\nimport List from '@mui/material/List'\n\nimport {\n ANALYTICS_EVENTS,\n Loader,\n useEvent,\n useGlobalCopyStore,\n VISUALLY_HIDDEN_SX,\n ZeroState,\n} from '../../../common'\nimport { type Transaction } from '../../../core'\n\nimport { useTransactionsUiStore } from '../../context/hooks'\nimport { useTransactionStore } from '../../../common'\n\nimport SubheaderRow from '../../../common/components/SubheaderRow'\nimport TransactionRow from './transactionlist/TransactionRow'\n\nimport { hasInsetBorder, shouldShowDate } from '../../utils/Transactions'\nimport { fromUnixUTCToDayOfWeekAndDate } from '../../../core/utils/DateUtil'\n\nconst ROW_HEIGHT = 65\nconst DATE_ROW_HEIGHT = 32\n\nconst findScrollParent = (node: HTMLElement | null): HTMLElement | null => {\n for (let el = node?.parentElement; el; el = el.parentElement) {\n if (/(auto|scroll)/.test(getComputedStyle(el).overflowY)) return el\n }\n return null\n}\n\nexport interface TransactionListProps {\n bgcolor?: string\n filter?: (t: Transaction) => boolean\n height?: number | string\n /**\n * Marks rows that stay in the list but cannot be acted on. Disabled rows are rendered greyed\n * out and inert instead of being removed, so list membership and ordering are unaffected.\n */\n isRowDisabled?: (t: Transaction) => boolean\n loader?: React.JSX.Element\n onClick?: (guid: string) => void\n /** Virtualize against the nearest scrolling ancestor instead of an own fixed-height scroll box. */\n scrollsWithParent?: boolean\n /** Rendered above the rows; stays at the top of the scroll area when used with scrollsWithParent. */\n stickyHeader?: React.ReactNode\n showInsights?: boolean\n showLoader?: boolean\n transaction?: Transaction[]\n width?: number | string\n zeroState?: React.JSX.Element\n}\n\nconst TransactionList: React.FC<TransactionListProps> = ({\n bgcolor,\n filter,\n height = 'calc(100dvh - 36px)',\n isRowDisabled,\n loader = <Loader label=\"Loading\" size={40} />,\n onClick,\n scrollsWithParent = false,\n showInsights = false,\n showLoader = false,\n stickyHeader,\n transaction,\n width = '100%',\n zeroState = <ZeroState />,\n}) => {\n const { isLoading, sortedTransactions: allTransactions } = useTransactionStore()\n const transactions = React.useMemo(() => {\n const updatedTransactions = filter ? allTransactions.filter(filter) : allTransactions\n return transaction ?? updatedTransactions\n }, [allTransactions, filter, transaction])\n\n const { clearExpandedSplits, setShowInsights, toggleSplit } = useTransactionsUiStore()\n const { onEvent } = useEvent()\n const { common: commonCopy } = useGlobalCopyStore()\n const [pendingFocus, setPendingFocus] = React.useState<{ index: number; from: number } | null>(\n null,\n )\n\n const handleClick = (guid: string) => {\n const transaction = transactions.find((t) => t.guid === guid)\n\n if (transaction?.has_been_split) {\n toggleSplit(transaction.guid)\n return\n }\n\n onEvent(ANALYTICS_EVENTS.ACCOUNT_DETAILS_CLICK_TRANSACTION, {\n account_guid: transaction?.account_guid,\n transaction_guid: guid,\n })\n onClick?.(guid)\n }\n\n const parentRef = React.useRef<HTMLDivElement>(null)\n const hasStickyHeader = Boolean(stickyHeader)\n const [scrollParent, setScrollParent] = React.useState<HTMLElement | null>(null)\n const [scrollMargin, setScrollMargin] = React.useState(0)\n const headerRef = React.useRef<HTMLDivElement>(null)\n const [headerHeight, setHeaderHeight] = React.useState(0)\n\n React.useLayoutEffect(() => {\n if (!scrollsWithParent) return\n const list = parentRef.current\n if (!list) return\n // With no scrolling ancestor the list itself is the viewport, so every row renders.\n const scroller = findScrollParent(list) ?? list\n\n const measureOffset = () => {\n setScrollMargin(\n list.getBoundingClientRect().top -\n scroller.getBoundingClientRect().top +\n scroller.scrollTop,\n )\n setHeaderHeight(headerRef.current?.offsetHeight ?? 0)\n }\n\n setScrollParent(scroller)\n measureOffset()\n const observer = new ResizeObserver(measureOffset)\n observer.observe(scroller.firstElementChild ?? scroller)\n if (headerRef.current) observer.observe(headerRef.current)\n return () => observer.disconnect()\n }, [scrollsWithParent, hasStickyHeader])\n\n const rowVirtualizer = useVirtualizer({\n count: transactions.length,\n getScrollElement: () => (scrollsWithParent ? scrollParent : parentRef.current),\n estimateSize: (i) => ROW_HEIGHT + (shouldShowDate(i, transactions) ? DATE_ROW_HEIGHT : 0),\n overscan: 5,\n scrollMargin,\n scrollPaddingStart: headerHeight,\n })\n\n const virtualItems = rowVirtualizer.getVirtualItems()\n const lastRenderedIndex = virtualItems.at(-1)?.index ?? -1\n const unrenderedCount = transactions.length - (lastRenderedIndex + 1)\n const isSettled = !isLoading && !showLoader\n const showRows = isSettled && virtualItems.length > 0\n\n // Screen reader reading modes do not scroll the list, so rows past the rendered window\n // are unreachable without this control.\n const showNextRows = () => {\n const nextIndex = lastRenderedIndex + 1\n rowVirtualizer.scrollToIndex(nextIndex, { align: 'start' })\n setPendingFocus({ index: nextIndex, from: lastRenderedIndex })\n }\n\n React.useEffect(() => {\n if (!pendingFocus) return\n const row = parentRef.current?.querySelector<HTMLElement>(\n `[data-index=\"${pendingFocus.index}\"]`,\n )\n row?.focus()\n // Give up once the window moves, so a missed row cannot take focus later.\n if (row || lastRenderedIndex !== pendingFocus.from) setPendingFocus(null)\n }, [pendingFocus, lastRenderedIndex])\n\n React.useEffect(() => rowVirtualizer.measure(), [transactions, scrollParent])\n React.useEffect(() => setShowInsights(showInsights), [showInsights])\n\n React.useEffect(() => {\n return () => clearExpandedSplits()\n }, [])\n\n return (\n <>\n {stickyHeader && (\n <Box\n ref={headerRef}\n sx={{\n bgcolor: 'background.paper',\n position: scrollsWithParent ? 'sticky' : undefined,\n top: 0,\n width,\n zIndex: 1,\n }}\n >\n {stickyHeader}\n </Box>\n )}\n <List component=\"div\" role=\"list\" sx={{ width: width }}>\n <Box\n height={scrollsWithParent ? undefined : height}\n overflow={scrollsWithParent ? undefined : 'auto'}\n ref={parentRef}\n role=\"presentation\"\n width={width}\n >\n <Box\n height={\n // set the height to auto when there are no transactions so the zero state isn't set to 0\n virtualItems.length === 0 ? 'auto' : rowVirtualizer.getTotalSize()\n }\n position=\"relative\"\n role=\"presentation\"\n width=\"100%\"\n >\n {!isSettled && loader}\n {isSettled && transactions.length === 0 && zeroState}\n {showRows &&\n virtualItems.map((row) => {\n const transaction = transactions[row.index]\n const showDate = shouldShowDate(row.index, transactions)\n const isInset = hasInsetBorder(row.index, transactions)\n const rowHeight = ROW_HEIGHT + (showDate ? DATE_ROW_HEIGHT : 0)\n\n return (\n <Box\n aria-posinset={row.index + 1}\n aria-setsize={transactions.length}\n data-index={row.index}\n key={transaction.guid}\n role=\"listitem\"\n tabIndex={-1}\n sx={{\n height: rowHeight,\n position: 'absolute',\n // Keeps a focused row from scrolling under the sticky header.\n scrollMarginTop: headerHeight,\n transform: `translateY(${row.start - scrollMargin}px)`,\n width: '100%',\n bgcolor: 'background.paper',\n }}\n >\n {showDate && (\n <SubheaderRow bgcolor={bgcolor}>\n {fromUnixUTCToDayOfWeekAndDate(transaction.date)}\n </SubheaderRow>\n )}\n <TransactionRow\n component=\"div\"\n disabled={isRowDisabled?.(transaction)}\n {...(onClick && { onClick: handleClick })}\n transaction={transaction}\n />\n <Divider sx={{ ml: isInset ? 68 : 0 }} />\n </Box>\n )\n })}\n </Box>\n </Box>\n </List>\n {showRows && unrenderedCount > 0 && (\n <Box\n component=\"button\"\n onClick={showNextRows}\n sx={VISUALLY_HIDDEN_SX}\n tabIndex={-1}\n type=\"button\"\n >\n {`${commonCopy.view_more} (${unrenderedCount})`}\n </Box>\n )}\n </>\n )\n}\n\nexport default observer(TransactionList)\n"],"mappings":";;;;;;;;;;;;;;;;;AA2BA,IAAM,IAAa,IACb,IAAkB,IAElB,KAAA,CAAoB,MAAiD;AACzE,WAAS,IAAK,GAAM,eAAe,GAAI,IAAK,EAAG,cAC7C,KAAI,gBAAgB,KAAK,iBAAiB,CAAE,EAAE,SAAS,EAAG,QAAO;AAEnE,SA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O,CAAY,GAChD,IAAY,KAAc,IAAW,IAAkB;AAE7D,qBACE,gBAAA,EAAC,GAAD;AAAA,gBACE,iBAAe,EAAI,QAAQ;AAAA,gBAC3B,gBAAc,EAAa;AAAA,gBAC3B,cAAY,EAAI;AAAA,gBAEhB,MAAK;AAAA,gBACL,UAAU;AAAA,gBACV,IAAI;AAAA,kBACF,QAAQ;AAAA,kBACR,UAAU;AAAA,kBAEV,iBAAiB;AAAA,kBACjB,WAAW,cAAc,EAAI,QAAQ,CAAA;AAAA,kBACrC,OAAO;AAAA,kBACP,SAAS;AAAA,gBACX;AAAA,gBAfF,UAAA;AAAA,kBAiBG,KACC,gBAAA,EAAC,IAAD;AAAA,oBAAuB,SAAA;AAAA,oBACpB,UAAA,GAA8B,EAAY,IAAI;AAAA,kBACnC,CAAA;AAAA,kBAEhB,gBAAA,EAAC,IAAD;AAAA,oBACE,WAAU;AAAA,oBACV,UAAU,IAAgB,CAAW;AAAA,oBACrC,GAAK,KAAW,EAAE,SAAS,EAAY;AAAA,oBAC1B,aAAA;AAAA,kBACd,CAAA;AAAA,kBACD,gBAAA,EAAC,IAAD,EAAS,IAAI,EAAE,IAAI,IAAU,KAAK,EAAE,EAAI,CAAA;AAAA,gBACrC;AAAA,cAzBE,GAAA,EAAY,IAyBd;AAAA,YAET,CAAC;AAAA,UACA;AAAA;MACF,CAAA;AAAA,IACD,CAAA;AAAA,IACL,KAAY,IAAkB,KAC7B,gBAAA,EAAC,GAAD;AAAA,MACE,WAAU;AAAA,MACV,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,UAAU;AAAA,MACV,MAAK;AAAA,MAEJ,UAAA,GAAG,EAAW,SAAA,KAAc,CAAA;AAAA,IAC1B,CAAA;AAAA,EAEP,EAAA,CAAA;AAEN,GAEA,KAAe,GAAS,EAAe"}
1
+ {"version":3,"file":"TransactionList.es.js","names":[],"sources":["../../../../src/transactions/components/shared/TransactionList.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\nimport { useVirtualizer } from '@tanstack/react-virtual'\n\nimport Box from '@mui/material/Box'\nimport Divider from '@mui/material/Divider'\nimport List from '@mui/material/List'\n\nimport {\n ANALYTICS_EVENTS,\n Loader,\n useEvent,\n useGlobalCopyStore,\n VISUALLY_HIDDEN_SX,\n ZeroState,\n} from '../../../common'\nimport { type Transaction } from '../../../core'\n\nimport { useTransactionsUiStore } from '../../context/hooks'\nimport { useTransactionStore } from '../../../common'\n\nimport SubheaderRow from '../../../common/components/SubheaderRow'\nimport TransactionRow from './transactionlist/TransactionRow'\n\nimport { hasInsetBorder, shouldShowDate } from '../../utils/Transactions'\nimport { fromUnixUTCToDayOfWeekAndDate } from '../../../core/utils/DateUtil'\n\nconst ROW_HEIGHT = 65\nconst DATE_ROW_HEIGHT = 32\n\nconst findScrollParent = (node: HTMLElement | null): HTMLElement | null => {\n for (let el = node?.parentElement; el; el = el.parentElement) {\n if (/(auto|scroll)/.test(getComputedStyle(el).overflowY)) return el\n }\n return null\n}\n\nexport interface TransactionListProps {\n bgcolor?: string\n filter?: (t: Transaction) => boolean\n height?: number | string\n /**\n * Marks rows that stay in the list but cannot be acted on. Disabled rows are rendered greyed\n * out and inert instead of being removed, so list membership and ordering are unaffected.\n */\n isRowDisabled?: (t: Transaction) => boolean\n loader?: React.JSX.Element\n onClick?: (guid: string) => void\n /** Virtualize against the nearest scrolling ancestor instead of an own fixed-height scroll box. */\n scrollsWithParent?: boolean\n /** Rendered above the rows; stays at the top of the scroll area when used with scrollsWithParent. */\n stickyHeader?: React.ReactNode\n showInsights?: boolean\n showLoader?: boolean\n transaction?: Transaction[]\n width?: number | string\n zeroState?: React.JSX.Element\n}\n\nconst TransactionList: React.FC<TransactionListProps> = ({\n bgcolor,\n filter,\n height = 'calc(100dvh - 36px)',\n isRowDisabled,\n loader = <Loader label=\"Loading\" size={40} />,\n onClick,\n scrollsWithParent = false,\n showInsights = false,\n showLoader = false,\n stickyHeader,\n transaction,\n width = '100%',\n zeroState = <ZeroState />,\n}) => {\n const { isLoading, sortedTransactions: allTransactions } = useTransactionStore()\n const transactions = React.useMemo(() => {\n const updatedTransactions = filter ? allTransactions.filter(filter) : allTransactions\n return transaction ?? updatedTransactions\n }, [allTransactions, filter, transaction])\n\n const { clearExpandedSplits, setShowInsights, toggleSplit } = useTransactionsUiStore()\n const { onEvent } = useEvent()\n const { common: commonCopy } = useGlobalCopyStore()\n const [pendingFocus, setPendingFocus] = React.useState<{ index: number; from: number } | null>(\n null,\n )\n\n const handleClick = (guid: string) => {\n const transaction = transactions.find((t) => t.guid === guid)\n\n if (transaction?.has_been_split) {\n toggleSplit(transaction.guid)\n return\n }\n\n onEvent(ANALYTICS_EVENTS.ACCOUNT_DETAILS_CLICK_TRANSACTION, {\n account_guid: transaction?.account_guid,\n transaction_guid: guid,\n })\n onClick?.(guid)\n }\n\n const parentRef = React.useRef<HTMLDivElement>(null)\n const hasStickyHeader = Boolean(stickyHeader)\n const [scrollParent, setScrollParent] = React.useState<HTMLElement | null>(null)\n const [scrollMargin, setScrollMargin] = React.useState(0)\n const headerRef = React.useRef<HTMLDivElement>(null)\n const [headerHeight, setHeaderHeight] = React.useState(0)\n\n React.useLayoutEffect(() => {\n if (!scrollsWithParent) return\n const list = parentRef.current\n if (!list) return\n // With no scrolling ancestor the list itself is the viewport, so every row renders.\n const scroller = findScrollParent(list) ?? list\n\n const measureOffset = () => {\n setScrollMargin(\n list.getBoundingClientRect().top -\n scroller.getBoundingClientRect().top +\n scroller.scrollTop,\n )\n setHeaderHeight(headerRef.current?.offsetHeight ?? 0)\n }\n\n setScrollParent(scroller)\n measureOffset()\n const observer = new ResizeObserver(measureOffset)\n observer.observe(scroller.firstElementChild ?? scroller)\n if (headerRef.current) observer.observe(headerRef.current)\n return () => observer.disconnect()\n }, [scrollsWithParent, hasStickyHeader])\n\n const rowVirtualizer = useVirtualizer({\n count: transactions.length,\n getScrollElement: () => (scrollsWithParent ? scrollParent : parentRef.current),\n estimateSize: (i) => ROW_HEIGHT + (shouldShowDate(i, transactions) ? DATE_ROW_HEIGHT : 0),\n overscan: 5,\n scrollMargin,\n scrollPaddingStart: headerHeight,\n })\n\n const virtualItems = rowVirtualizer.getVirtualItems()\n const lastRenderedIndex = virtualItems.at(-1)?.index ?? -1\n const unrenderedCount = transactions.length - (lastRenderedIndex + 1)\n const isSettled = !isLoading && !showLoader\n const showRows = isSettled && virtualItems.length > 0\n // The total size comes from the row count, so a content-sized list has height before any row\n // is drawn. It is 0 only with no transactions, where the zero state needs 'auto'.\n const rowBoxHeight = rowVirtualizer.getTotalSize() || 'auto'\n\n // Screen reader reading modes do not scroll the list, so rows past the rendered window\n // are unreachable without this control.\n const showNextRows = () => {\n const nextIndex = lastRenderedIndex + 1\n rowVirtualizer.scrollToIndex(nextIndex, { align: 'start' })\n setPendingFocus({ index: nextIndex, from: lastRenderedIndex })\n }\n\n React.useEffect(() => {\n if (!pendingFocus) return\n const row = parentRef.current?.querySelector<HTMLElement>(\n `[data-index=\"${pendingFocus.index}\"]`,\n )\n row?.focus()\n // Give up once the window moves, so a missed row cannot take focus later.\n if (row || lastRenderedIndex !== pendingFocus.from) setPendingFocus(null)\n }, [pendingFocus, lastRenderedIndex])\n\n React.useEffect(() => rowVirtualizer.measure(), [transactions, scrollParent])\n React.useEffect(() => setShowInsights(showInsights), [showInsights])\n\n React.useEffect(() => {\n return () => clearExpandedSplits()\n }, [])\n\n return (\n <>\n {stickyHeader && (\n <Box\n ref={headerRef}\n sx={{\n bgcolor: 'background.paper',\n position: scrollsWithParent ? 'sticky' : undefined,\n top: 0,\n width,\n zIndex: 1,\n }}\n >\n {stickyHeader}\n </Box>\n )}\n <List component=\"div\" role=\"list\" sx={{ width: width }}>\n <Box\n height={scrollsWithParent ? undefined : height}\n overflow={scrollsWithParent ? undefined : 'auto'}\n ref={parentRef}\n role=\"presentation\"\n width={width}\n >\n <Box height={rowBoxHeight} position=\"relative\" role=\"presentation\" width=\"100%\">\n {!isSettled && loader}\n {isSettled && transactions.length === 0 && zeroState}\n {showRows &&\n virtualItems.map((row) => {\n const transaction = transactions[row.index]\n const showDate = shouldShowDate(row.index, transactions)\n const isInset = hasInsetBorder(row.index, transactions)\n const rowHeight = ROW_HEIGHT + (showDate ? DATE_ROW_HEIGHT : 0)\n\n return (\n <Box\n aria-posinset={row.index + 1}\n aria-setsize={transactions.length}\n data-index={row.index}\n key={transaction.guid}\n role=\"listitem\"\n tabIndex={-1}\n sx={{\n height: rowHeight,\n position: 'absolute',\n // Keeps a focused row from scrolling under the sticky header.\n scrollMarginTop: headerHeight,\n transform: `translateY(${row.start - scrollMargin}px)`,\n width: '100%',\n bgcolor: 'background.paper',\n }}\n >\n {showDate && (\n <SubheaderRow bgcolor={bgcolor}>\n {fromUnixUTCToDayOfWeekAndDate(transaction.date)}\n </SubheaderRow>\n )}\n <TransactionRow\n component=\"div\"\n disabled={isRowDisabled?.(transaction)}\n {...(onClick && { onClick: handleClick })}\n transaction={transaction}\n />\n <Divider sx={{ ml: isInset ? 68 : 0 }} />\n </Box>\n )\n })}\n </Box>\n </Box>\n </List>\n {showRows && unrenderedCount > 0 && (\n <Box\n component=\"button\"\n onClick={showNextRows}\n sx={VISUALLY_HIDDEN_SX}\n tabIndex={-1}\n type=\"button\"\n >\n {`${commonCopy.view_more} (${unrenderedCount})`}\n </Box>\n )}\n </>\n )\n}\n\nexport default observer(TransactionList)\n"],"mappings":";;;;;;;;;;;;;;;;;AA2BA,IAAM,IAAa,IACb,IAAkB,IAElB,KAAA,CAAoB,MAAiD;AACzE,WAAS,IAAK,GAAM,eAAe,GAAI,IAAK,EAAG,cAC7C,KAAI,gBAAgB,KAAK,iBAAiB,CAAE,EAAE,SAAS,EAAG,QAAO;AAEnE,SAAO;AACT,GAwBM,KAAA,CAAmD,EACvD,SAAA,GACA,QAAA,GACA,QAAA,IAAS,uBACT,eAAA,GACA,QAAA,IAAS,gBAAA,EAAC,IAAD;AAAA,EAAQ,OAAM;AAAA,EAAU,MAAM;AAAK,CAAA,GAC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hB,MAAK;AAAA,gBACL,UAAU;AAAA,gBACV,IAAI;AAAA,kBACF,QAAQ;AAAA,kBACR,UAAU;AAAA,kBAEV,iBAAiB;AAAA,kBACjB,WAAW,cAAc,EAAI,QAAQ,CAAA;AAAA,kBACrC,OAAO;AAAA,kBACP,SAAS;AAAA,gBACX;AAAA,gBAfF,UAAA;AAAA,kBAiBG,KACC,gBAAA,EAAC,IAAD;AAAA,oBAAuB,SAAA;AAAA,oBACpB,UAAA,GAA8B,EAAY,IAAI;AAAA,kBACnC,CAAA;AAAA,kBAEhB,gBAAA,EAAC,IAAD;AAAA,oBACE,WAAU;AAAA,oBACV,UAAU,IAAgB,CAAW;AAAA,oBACrC,GAAK,KAAW,EAAE,SAAS,EAAY;AAAA,oBAC1B,aAAA;AAAA,kBACd,CAAA;AAAA,kBACD,gBAAA,EAAC,IAAD,EAAS,IAAI,EAAE,IAAI,IAAU,KAAK,EAAE,EAAI,CAAA;AAAA,gBACrC;AAAA,cAzBE,GAAA,EAAY,IAyBd;AAAA,YAET,CAAC;AAAA,UACA;AAAA;MACF,CAAA;AAAA,IACD,CAAA;AAAA,IACL,KAAY,IAAkB,KAC7B,gBAAA,EAAC,GAAD;AAAA,MACE,WAAU;AAAA,MACV,SAAS;AAAA,MACT,IAAI;AAAA,MACJ,UAAU;AAAA,MACV,MAAK;AAAA,MAEJ,UAAA,GAAG,EAAW,SAAA,KAAc,CAAA;AAAA,IAC1B,CAAA;AAAA,EAEP,EAAA,CAAA;AAEN,GAEA,KAAe,GAAS,EAAe"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "9.7.44",
3
+ "version": "9.7.45",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",