pixel-virtual-tree 1.0.18 → 1.0.20
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/lib/components/TableTreeFn/tree-v2/TreeTableController.d.ts +5 -1
- package/lib/components/TableTreeFn/tree-v2/TreeTableController.js +23 -11
- package/lib/components/TableTreeFn/tree-v2/TreeTableController.js.map +1 -1
- package/lib/components/TableTreeFn/tree-v2/render/TreeRow.d.ts +2 -1
- package/lib/components/TableTreeFn/tree-v2/render/TreeRow.js +5 -4
- package/lib/components/TableTreeFn/tree-v2/render/TreeRow.js.map +1 -1
- package/lib/components/TableTreeFn/tree-v2/render/TreeViewportRenderer.js +8 -1
- package/lib/components/TableTreeFn/tree-v2/render/TreeViewportRenderer.js.map +1 -1
- package/lib/index.d.ts +4 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
type Props = {
|
|
2
|
+
treeData: any;
|
|
3
|
+
};
|
|
4
|
+
declare const TreeTableController: import("react").ForwardRefExoticComponent<Props & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
export default TreeTableController;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
|
|
2
|
+
// TreeTableController.tsx
|
|
3
|
+
import { forwardRef, useCallback, useEffect, useRef, useState } from 'react';
|
|
3
4
|
import { adaptLegacyTree } from './legacyAdapter';
|
|
4
5
|
import { HeightIndex } from './virtualization/HeightIndex';
|
|
5
6
|
import { useVirtualViewport } from './virtualization/useVirtualViewport';
|
|
6
7
|
import { TreeViewportRenderer } from './render/TreeViewportRenderer';
|
|
7
8
|
import { useTreeEvents } from './interactions/useTreeEvents';
|
|
8
|
-
|
|
9
|
+
const TreeTableController = forwardRef(function TreeTableController({ treeData }, forwardedRef) {
|
|
9
10
|
const containerRef = useRef(null);
|
|
10
11
|
const workerRef = useRef(null);
|
|
11
12
|
const heightIndexRef = useRef(null);
|
|
@@ -13,22 +14,33 @@ export default function TreeTableController({ treeData }) {
|
|
|
13
14
|
const [nodes, setNodes] = useState(new Map());
|
|
14
15
|
const [selected, setSelected] = useState(new Set());
|
|
15
16
|
const [partial, setPartial] = useState(new Set());
|
|
17
|
+
/* -------------------- SAFE CALLBACK REF -------------------- */
|
|
18
|
+
const setContainerRef = useCallback((el) => {
|
|
19
|
+
containerRef.current = el;
|
|
20
|
+
if (typeof forwardedRef === 'function') {
|
|
21
|
+
forwardedRef(el);
|
|
22
|
+
}
|
|
23
|
+
else if (forwardedRef) {
|
|
24
|
+
forwardedRef.current = el;
|
|
25
|
+
}
|
|
26
|
+
}, [forwardedRef]);
|
|
16
27
|
/* -------------------- WORKER SETUP -------------------- */
|
|
17
28
|
useEffect(() => {
|
|
18
|
-
const worker = new Worker(
|
|
19
|
-
|
|
20
|
-
|
|
29
|
+
const worker = new Worker(new URL('./treeWorker.js', import.meta.url), {
|
|
30
|
+
type: 'module',
|
|
31
|
+
});
|
|
21
32
|
workerRef.current = worker;
|
|
22
33
|
const { nodes, rootIds } = adaptLegacyTree(treeData);
|
|
23
34
|
setNodes(nodes);
|
|
24
35
|
worker.postMessage({
|
|
25
36
|
type: 'INIT',
|
|
26
37
|
payload: {
|
|
27
|
-
nodes:
|
|
38
|
+
nodes: Object.fromEntries(nodes),
|
|
28
39
|
rootIds,
|
|
29
40
|
},
|
|
30
41
|
});
|
|
31
42
|
worker.onmessage = (e) => {
|
|
43
|
+
console.log('[Worker → Main]', e.data);
|
|
32
44
|
const msg = e.data;
|
|
33
45
|
if (msg.type === 'VISIBLE_ORDER') {
|
|
34
46
|
setOrder(msg.payload.order);
|
|
@@ -43,12 +55,11 @@ export default function TreeTableController({ treeData }) {
|
|
|
43
55
|
workerRef.current = null;
|
|
44
56
|
};
|
|
45
57
|
}, [treeData]);
|
|
46
|
-
/* -------------------- HEIGHT INDEX
|
|
58
|
+
/* -------------------- HEIGHT INDEX -------------------- */
|
|
47
59
|
useEffect(() => {
|
|
48
60
|
if (!order.length)
|
|
49
61
|
return;
|
|
50
62
|
if (!heightIndexRef.current) {
|
|
51
|
-
// default row height = 32px
|
|
52
63
|
heightIndexRef.current = new HeightIndex(order.length, 32);
|
|
53
64
|
}
|
|
54
65
|
else {
|
|
@@ -63,10 +74,11 @@ export default function TreeTableController({ treeData }) {
|
|
|
63
74
|
/* -------------------- EVENTS -------------------- */
|
|
64
75
|
const events = useTreeEvents(containerRef, workerRef.current);
|
|
65
76
|
/* -------------------- RENDER -------------------- */
|
|
66
|
-
return (_jsx("div", { ref:
|
|
67
|
-
height: '
|
|
77
|
+
return (_jsx("div", { ref: setContainerRef, style: {
|
|
78
|
+
height: '73vh',
|
|
68
79
|
overflow: 'auto',
|
|
69
80
|
position: 'relative',
|
|
70
81
|
}, children: _jsx(TreeViewportRenderer, { order: order, nodes: nodes, viewport: viewport, heightIndex: heightIndexRef.current, events: events, selected: selected, partial: partial }) }));
|
|
71
|
-
}
|
|
82
|
+
});
|
|
83
|
+
export default TreeTableController;
|
|
72
84
|
//# sourceMappingURL=TreeTableController.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeTableController.js","sourceRoot":"","sources":["../../../../src/components/TableTreeFn/tree-v2/TreeTableController.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TreeTableController.js","sourceRoot":"","sources":["../../../../src/components/TableTreeFn/tree-v2/TreeTableController.tsx"],"names":[],"mappings":";AAAA,0BAA0B;AAC1B,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA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AAC,MAAM;YAAE,OAAO;QAE1B,IAAI,CAAC,cAAc,CAAC,OAAO,EAAE,CAAC;YAC5B,cAAc,CAAC,OAAO,GAAG,IAAI,WAAW,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAC7D,CAAC;aAAM,CAAC;YACN,cAAc,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;QAClD,CAAC;IACH,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAEZ,8DAA8D;IAC9D,MAAM,QAAQ,GAAG,kBAAkB,CACjC,YAAY,EACZ,KAAK,CAAC,MAAM,EACZ,cAAc,CAAC,OAAO,EACtB;QACE,QAAQ,EAAE,CAAC;QACX,kBAAkB,EAAE,EAAE;KACvB,CACF,CAAC;IAEF,sDAAsD;IACtD,MAAM,MAAM,GAAG,aAAa,CAAC,YAAY,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAE9D,sDAAsD;IACtD,OAAO,CACL,cACE,GAAG,EAAE,eAAe,EACpB,KAAK,EAAE;YACL,MAAM,EAAE,MAAM;YACd,QAAQ,EAAE,MAAM;YAChB,QAAQ,EAAE,UAAU;SACrB,YAED,KAAC,oBAAoB,IACnB,KAAK,EAAE,KAAK,EACZ,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,cAAc,CAAC,OAAO,EACnC,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,OAAO,GAChB,GACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -4,6 +4,7 @@ interface Props {
|
|
|
4
4
|
partial: boolean;
|
|
5
5
|
onToggle: () => void;
|
|
6
6
|
onSelect: () => void;
|
|
7
|
+
style?: React.CSSProperties;
|
|
7
8
|
}
|
|
8
|
-
export declare function TreeRow({ node, selected, partial, onToggle, onSelect, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare function TreeRow({ node, selected, partial, onToggle, onSelect, style, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
export {};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// TreeRow.tsx
|
|
2
3
|
import { useRef } from 'react';
|
|
3
4
|
import { TreeCell } from './TreeCell';
|
|
4
5
|
import { useRowHeight } from './useRowHeight';
|
|
5
|
-
export function TreeRow({ node, selected, partial, onToggle, onSelect, }) {
|
|
6
|
+
export function TreeRow({ node, selected, partial, onToggle, onSelect, style, }) {
|
|
6
7
|
const ref = useRef(null);
|
|
7
|
-
useRowHeight(ref, (
|
|
8
|
-
// height measurement
|
|
8
|
+
useRowHeight(ref, () => {
|
|
9
|
+
// height measurement hook – safe to keep empty for now
|
|
9
10
|
});
|
|
10
|
-
return (_jsx("div", { ref: ref, className: `tree-row ${selected ? 'selected' : partial ? 'partial' : ''}`, "data-node-id": node.id, onClick: onSelect, children: _jsx(TreeCell, { node: node, onToggle: onToggle }) }));
|
|
11
|
+
return (_jsx("div", { ref: ref, style: style, className: `tree-row ${selected ? 'selected' : partial ? 'partial' : ''}`, "data-node-id": node.id, onClick: onSelect, children: _jsx(TreeCell, { node: node, onToggle: onToggle }) }));
|
|
11
12
|
}
|
|
12
13
|
//# sourceMappingURL=TreeRow.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeRow.js","sourceRoot":"","sources":["../../../../../src/components/TableTreeFn/tree-v2/render/TreeRow.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"TreeRow.js","sourceRoot":"","sources":["../../../../../src/components/TableTreeFn/tree-v2/render/TreeRow.tsx"],"names":[],"mappings":";AAAA,cAAc;AACd,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAW9C,MAAM,UAAU,OAAO,CAAC,EACtB,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,KAAK,GACC;IACN,MAAM,GAAG,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAEzC,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE;QACrB,uDAAuD;IACzD,CAAC,CAAC,CAAC;IAEH,OAAO,CACL,cACE,GAAG,EAAE,GAAG,EACR,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,YAAY,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,kBAC3D,IAAI,CAAC,EAAE,EACrB,OAAO,EAAE,QAAQ,YAEjB,KAAC,QAAQ,IAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,GAAI,GACxC,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
// TreeViewportRenderer.tsx
|
|
2
3
|
import { TreeRow } from './TreeRow';
|
|
3
4
|
export function TreeViewportRenderer({ order, nodes, viewport, heightIndex, selected, partial, }) {
|
|
4
5
|
if (!heightIndex)
|
|
@@ -11,6 +12,12 @@ export function TreeViewportRenderer({ order, nodes, viewport, heightIndex, sele
|
|
|
11
12
|
top: offsetTop,
|
|
12
13
|
left: 0,
|
|
13
14
|
right: 0,
|
|
14
|
-
}, children: visibleIds.map((id
|
|
15
|
+
}, children: visibleIds.map((id, i) => {
|
|
16
|
+
const index = startIndex + i;
|
|
17
|
+
const top = heightIndex.offsetAt(index);
|
|
18
|
+
return (_jsx(TreeRow, { node: nodes.get(id), selected: selected.has(id), partial: partial.has(id), onToggle: () => { }, onSelect: () => { }, style: {
|
|
19
|
+
transform: `translateY(${top}px)`,
|
|
20
|
+
} }, id));
|
|
21
|
+
}) }) }));
|
|
15
22
|
}
|
|
16
23
|
//# sourceMappingURL=TreeViewportRenderer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeViewportRenderer.js","sourceRoot":"","sources":["../../../../../src/components/TableTreeFn/tree-v2/render/TreeViewportRenderer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,MAAM,UAAU,oBAAoB,CAAC,EACnC,KAAK,EACL,KAAK,EACL,QAAQ,EACR,WAAW,EACX,QAAQ,EACR,OAAO,GACH;IACJ,IAAI,CAAC,WAAW;QAAE,OAAO,IAAI,CAAC;IAE9B,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,QAAQ,CAAC;IACrD,MAAM,WAAW,GAAG,WAAW,CAAC,WAAW,EAAE,CAAC;IAC9C,MAAM,UAAU,GAAG,KAAK,CAAC,KAAK,CAAC,UAAU,EAAE,QAAQ,GAAG,CAAC,CAAC,CAAC;IAEzD,OAAO,CACL,cAAK,KAAK,EAAE,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,YACvD,cACE,SAAS,EAAC,eAAe,EACzB,KAAK,EAAE;gBACL,QAAQ,EAAE,UAAU;gBACpB,GAAG,EAAE,SAAS;gBACd,IAAI,EAAE,CAAC;gBACP,KAAK,EAAE,CAAC;aACT,YAEA,UAAU,CAAC,GAAG,CAAC,CAAC,EAAU,EAAE,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"TreeViewportRenderer.js","sourceRoot":"","sources":["../../../../../src/components/TableTreeFn/tree-v2/render/TreeViewportRenderer.tsx"],"names":[],"m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,CACH,CAAC;YACJ,CAAC,CAAC,GACE,GACF,CACP,CAAC;AACJ,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -4534,7 +4534,10 @@ interface SessionDropdownProps {
|
|
|
4534
4534
|
|
|
4535
4535
|
declare const SessionDropdown: React__default.FC<SessionDropdownProps>;
|
|
4536
4536
|
|
|
4537
|
-
|
|
4537
|
+
type Props = {
|
|
4538
|
+
treeData: any;
|
|
4539
|
+
};
|
|
4540
|
+
declare const TreeTableController: React$1.ForwardRefExoticComponent<Props & React$1.RefAttributes<HTMLDivElement>>;
|
|
4538
4541
|
|
|
4539
4542
|
type valueType$1 = any;
|
|
4540
4543
|
declare const checkEmpty: (value: valueType$1) => boolean;
|