@principal-ade/dynamic-file-tree 0.2.32 → 0.2.34
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/dist/index.mjs +83 -42
- package/dist/src/components/GitStatusFileTree.d.ts +3 -0
- package/dist/src/components/GitStatusFileTree.d.ts.map +1 -1
- package/dist/src/components/StoryboardWorkflowsTree/StoryboardWorkflowsTreeCore.d.ts.map +1 -1
- package/dist/src/components/TreeNode.d.ts +3 -1
- package/dist/src/components/TreeNode.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -285,7 +285,8 @@ function TreeNode({
|
|
|
285
285
|
onHover,
|
|
286
286
|
leftIcon,
|
|
287
287
|
dragConfig,
|
|
288
|
-
onNodeClick
|
|
288
|
+
onNodeClick,
|
|
289
|
+
renderName
|
|
289
290
|
}) {
|
|
290
291
|
const [isHovered, setIsHovered] = useState3(false);
|
|
291
292
|
const [isDragging, setIsDragging] = useState3(false);
|
|
@@ -402,7 +403,7 @@ function TreeNode({
|
|
|
402
403
|
overflowWrap: "normal",
|
|
403
404
|
wordBreak: "normal"
|
|
404
405
|
}
|
|
405
|
-
}, node.data.name), extraContent), rightContent && /* @__PURE__ */ React2.createElement("div", {
|
|
406
|
+
}, renderName ?? node.data.name), extraContent), rightContent && /* @__PURE__ */ React2.createElement("div", {
|
|
406
407
|
style: { flexShrink: 0 }
|
|
407
408
|
}, rightContent));
|
|
408
409
|
}
|
|
@@ -1088,6 +1089,39 @@ import {
|
|
|
1088
1089
|
} from "lucide-react";
|
|
1089
1090
|
import React7, { useMemo as useMemo5, useRef as useRef4 } from "react";
|
|
1090
1091
|
import { Tree as Tree2 } from "react-arborist";
|
|
1092
|
+
|
|
1093
|
+
// src/hooks/useNativeDragInterceptor.ts
|
|
1094
|
+
import { useLayoutEffect } from "react";
|
|
1095
|
+
var useNativeDragInterceptor = (containerRef) => {
|
|
1096
|
+
useLayoutEffect(() => {
|
|
1097
|
+
const container = containerRef.current;
|
|
1098
|
+
if (!container)
|
|
1099
|
+
return;
|
|
1100
|
+
const handler = (e) => {
|
|
1101
|
+
const target = e.target;
|
|
1102
|
+
const nativeDragElement = target.closest('[data-native-drag="true"]');
|
|
1103
|
+
if (nativeDragElement) {
|
|
1104
|
+
e.stopImmediatePropagation();
|
|
1105
|
+
const dragEvent = e;
|
|
1106
|
+
if (dragEvent.dataTransfer) {
|
|
1107
|
+
const dragData = nativeDragElement.getAttribute("data-drag-data");
|
|
1108
|
+
const dragText = nativeDragElement.getAttribute("data-drag-text");
|
|
1109
|
+
if (dragData) {
|
|
1110
|
+
dragEvent.dataTransfer.setData("application/x-panel-data", dragData);
|
|
1111
|
+
}
|
|
1112
|
+
if (dragText) {
|
|
1113
|
+
dragEvent.dataTransfer.setData("text/plain", dragText);
|
|
1114
|
+
}
|
|
1115
|
+
dragEvent.dataTransfer.effectAllowed = "copyMove";
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
};
|
|
1119
|
+
container.addEventListener("dragstart", handler, true);
|
|
1120
|
+
return () => container.removeEventListener("dragstart", handler, true);
|
|
1121
|
+
}, [containerRef]);
|
|
1122
|
+
};
|
|
1123
|
+
|
|
1124
|
+
// src/components/GitStatusFileTree.tsx
|
|
1091
1125
|
var GitStatusContext = React7.createContext(null);
|
|
1092
1126
|
var getGitStatusDisplay2 = (status, theme) => {
|
|
1093
1127
|
switch (status) {
|
|
@@ -1238,10 +1272,20 @@ var GitStatusFileTree = ({
|
|
|
1238
1272
|
openByDefault,
|
|
1239
1273
|
initialHeight = 600,
|
|
1240
1274
|
autoHeight = false,
|
|
1241
|
-
enableDragAndDrop = false
|
|
1275
|
+
enableDragAndDrop = false,
|
|
1276
|
+
enablePanelDrag = false,
|
|
1277
|
+
getDragConfig
|
|
1242
1278
|
}) => {
|
|
1243
1279
|
const dndProps = getDndProps(enableDragAndDrop);
|
|
1244
1280
|
const parentDndManager = useParentDndManager();
|
|
1281
|
+
const getDefaultDragConfig = (nodePath, isFolder) => ({
|
|
1282
|
+
dataType: isFolder ? "directory-path" : "file-path",
|
|
1283
|
+
primaryData: nodePath,
|
|
1284
|
+
metadata: { isFolder },
|
|
1285
|
+
suggestedActions: ["insert-path", "open"],
|
|
1286
|
+
sourcePanel: "git-status-file-tree",
|
|
1287
|
+
dragPreview: nodePath.split("/").pop() || nodePath
|
|
1288
|
+
});
|
|
1245
1289
|
const gitStatusMap = useMemo5(() => {
|
|
1246
1290
|
const map = new Map;
|
|
1247
1291
|
gitStatusData.forEach((item) => {
|
|
@@ -1271,6 +1315,8 @@ var GitStatusFileTree = ({
|
|
|
1271
1315
|
const baseColor = theme.colors.primary || "#007bff";
|
|
1272
1316
|
nameColor = baseColor + "80";
|
|
1273
1317
|
}
|
|
1318
|
+
const isFolder = !!node.data.children;
|
|
1319
|
+
const dragConfig = enablePanelDrag ? getDragConfig ? getDragConfig(node.data.id, isFolder) : getDefaultDragConfig(node.data.id, isFolder) : undefined;
|
|
1274
1320
|
const rightContent = gitDisplay ? /* @__PURE__ */ React7.createElement("div", {
|
|
1275
1321
|
style: {
|
|
1276
1322
|
display: "flex",
|
|
@@ -1302,7 +1348,8 @@ var GitStatusFileTree = ({
|
|
|
1302
1348
|
if (onNodeHover) {
|
|
1303
1349
|
onNodeHover(isHovered ? node2.data.id : null, !!node2.data.children);
|
|
1304
1350
|
}
|
|
1305
|
-
}
|
|
1351
|
+
},
|
|
1352
|
+
dragConfig
|
|
1306
1353
|
});
|
|
1307
1354
|
};
|
|
1308
1355
|
const treeStructure = useMemo5(() => {
|
|
@@ -1362,6 +1409,7 @@ var GitStatusFileTree = ({
|
|
|
1362
1409
|
return initialHeight;
|
|
1363
1410
|
}, [autoHeight, treeData, openByDefault, initialHeight, rowHeight]);
|
|
1364
1411
|
const [containerRef, containerHeight, isContainerReady] = useContainerHeight(calculatedHeight);
|
|
1412
|
+
useNativeDragInterceptor(containerRef);
|
|
1365
1413
|
return /* @__PURE__ */ React7.createElement("div", {
|
|
1366
1414
|
ref: containerRef,
|
|
1367
1415
|
style: {
|
|
@@ -1975,37 +2023,6 @@ import { Package, FolderKanban, LayoutDashboard, Workflow, BookOpen, FolderOpen,
|
|
|
1975
2023
|
import React13, { useMemo as useMemo9, useRef as useRef5 } from "react";
|
|
1976
2024
|
import { Tree as Tree3 } from "react-arborist";
|
|
1977
2025
|
|
|
1978
|
-
// src/hooks/useNativeDragInterceptor.ts
|
|
1979
|
-
import { useLayoutEffect } from "react";
|
|
1980
|
-
var useNativeDragInterceptor = (containerRef) => {
|
|
1981
|
-
useLayoutEffect(() => {
|
|
1982
|
-
const container = containerRef.current;
|
|
1983
|
-
if (!container)
|
|
1984
|
-
return;
|
|
1985
|
-
const handler = (e) => {
|
|
1986
|
-
const target = e.target;
|
|
1987
|
-
const nativeDragElement = target.closest('[data-native-drag="true"]');
|
|
1988
|
-
if (nativeDragElement) {
|
|
1989
|
-
e.stopImmediatePropagation();
|
|
1990
|
-
const dragEvent = e;
|
|
1991
|
-
if (dragEvent.dataTransfer) {
|
|
1992
|
-
const dragData = nativeDragElement.getAttribute("data-drag-data");
|
|
1993
|
-
const dragText = nativeDragElement.getAttribute("data-drag-text");
|
|
1994
|
-
if (dragData) {
|
|
1995
|
-
dragEvent.dataTransfer.setData("application/x-panel-data", dragData);
|
|
1996
|
-
}
|
|
1997
|
-
if (dragText) {
|
|
1998
|
-
dragEvent.dataTransfer.setData("text/plain", dragText);
|
|
1999
|
-
}
|
|
2000
|
-
dragEvent.dataTransfer.effectAllowed = "copyMove";
|
|
2001
|
-
}
|
|
2002
|
-
}
|
|
2003
|
-
};
|
|
2004
|
-
container.addEventListener("dragstart", handler, true);
|
|
2005
|
-
return () => container.removeEventListener("dragstart", handler, true);
|
|
2006
|
-
}, [containerRef]);
|
|
2007
|
-
};
|
|
2008
|
-
|
|
2009
2026
|
// src/utils/gitStatus.tsx
|
|
2010
2027
|
import {
|
|
2011
2028
|
Plus as Plus3,
|
|
@@ -2173,6 +2190,29 @@ var StatusBar = ({
|
|
|
2173
2190
|
};
|
|
2174
2191
|
|
|
2175
2192
|
// src/components/StoryboardWorkflowsTree/StoryboardWorkflowsTreeCore.tsx
|
|
2193
|
+
var parseHex = (hex) => {
|
|
2194
|
+
const h = hex.replace("#", "");
|
|
2195
|
+
return [
|
|
2196
|
+
parseInt(h.slice(0, 2), 16),
|
|
2197
|
+
parseInt(h.slice(2, 4), 16),
|
|
2198
|
+
parseInt(h.slice(4, 6), 16)
|
|
2199
|
+
];
|
|
2200
|
+
};
|
|
2201
|
+
var toHex = (r, g, b) => `#${r.toString(16).padStart(2, "0")}${g.toString(16).padStart(2, "0")}${b.toString(16).padStart(2, "0")}`;
|
|
2202
|
+
var blendColors = (colors) => {
|
|
2203
|
+
const totalWeight = colors.reduce((sum, c) => sum + c.weight, 0);
|
|
2204
|
+
if (totalWeight === 0)
|
|
2205
|
+
return colors[0]?.color || "#6b7280";
|
|
2206
|
+
let r = 0, g = 0, b = 0;
|
|
2207
|
+
for (const { color, weight } of colors) {
|
|
2208
|
+
const [cr, cg, cb] = parseHex(color);
|
|
2209
|
+
const w = weight / totalWeight;
|
|
2210
|
+
r += cr * w;
|
|
2211
|
+
g += cg * w;
|
|
2212
|
+
b += cb * w;
|
|
2213
|
+
}
|
|
2214
|
+
return toHex(Math.round(r), Math.round(g), Math.round(b));
|
|
2215
|
+
};
|
|
2176
2216
|
var buildTreeDataFromStoryboards = (storyboards, workflowCoverageMap, traceWorkflowsSet, filterMode, versionPrefix, gitStatusMap, scenarioStatusMap, canvasNodeStatusMap, scenarioTraceCounts, showScenarios) => {
|
|
2177
2217
|
const packagesMap = new Map;
|
|
2178
2218
|
const rootStoryboards = [];
|
|
@@ -2616,13 +2656,14 @@ var StoryboardWorkflowsTreeCoreInner = ({
|
|
|
2616
2656
|
if (total === 0) {
|
|
2617
2657
|
return theme.colors.textSecondary;
|
|
2618
2658
|
}
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2659
|
+
const greenColor = "#10b981";
|
|
2660
|
+
const amberColor = "#f59e0b";
|
|
2661
|
+
const grayColor = "#6b7280";
|
|
2662
|
+
return blendColors([
|
|
2663
|
+
{ color: greenColor, weight: implemented },
|
|
2664
|
+
{ color: amberColor, weight: approved },
|
|
2665
|
+
{ color: grayColor, weight: draft }
|
|
2666
|
+
]);
|
|
2626
2667
|
};
|
|
2627
2668
|
const nameColor = data.type === "version" ? data.hasTraces ? "#a855f7" : theme.colors.textMuted : data.type === "package" ? theme.colors.primary : data.type === "storyboard" ? getStoryboardColor() : data.type === "overview" ? theme.colors.info || "#3b82f6" : data.type === "canvas" ? theme.colors.warning || "#f59e0b" : data.type === "workflows" ? theme.colors.text : data.type === "workflow" ? data.hasTraces ? theme.colors.textSecondary : theme.colors.textMuted : data.type === "scenario" ? data.hasTraces ? theme.colors.textSecondary : theme.colors.textMuted : theme.colors.textSecondary;
|
|
2628
2669
|
const nodeHorizontalPadding = data.type === "overview" || data.type === "canvas" || data.type === "workflows" || data.type === "workflow" || data.type === "scenario" ? `calc(${horizontalNodePadding} + 12px)` : horizontalNodePadding;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Theme } from '@principal-ade/industry-theme';
|
|
2
2
|
import { FileTree } from '@principal-ai/repository-abstraction';
|
|
3
3
|
import React from 'react';
|
|
4
|
+
import { DragConfig } from './TreeNode';
|
|
4
5
|
export type GitStatus = 'M' | 'A' | 'D' | 'R' | 'C' | 'U' | '??' | '!!' | 'AM' | 'MM' | null;
|
|
5
6
|
export interface GitFileStatus {
|
|
6
7
|
filePath: string;
|
|
@@ -27,6 +28,8 @@ export interface GitStatusFileTreeProps {
|
|
|
27
28
|
initialHeight?: number;
|
|
28
29
|
autoHeight?: boolean;
|
|
29
30
|
enableDragAndDrop?: boolean;
|
|
31
|
+
enablePanelDrag?: boolean;
|
|
32
|
+
getDragConfig?: (nodePath: string, isFolder: boolean) => DragConfig | undefined;
|
|
30
33
|
}
|
|
31
34
|
export declare const GitStatusFileTree: React.FC<GitStatusFileTreeProps>;
|
|
32
35
|
//# sourceMappingURL=GitStatusFileTree.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GitStatusFileTree.d.ts","sourceRoot":"","sources":["../../../src/components/GitStatusFileTree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAgB,MAAM,sCAAsC,CAAC;AAS9E,OAAO,KAA0B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GitStatusFileTree.d.ts","sourceRoot":"","sources":["../../../src/components/GitStatusFileTree.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,QAAQ,EAAgB,MAAM,sCAAsC,CAAC;AAS9E,OAAO,KAA0B,MAAM,OAAO,CAAC;AAO/C,OAAO,EAAY,UAAU,EAAE,MAAM,YAAY,CAAC;AAGlD,MAAM,MAAM,SAAS,GACjB,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,GACJ,IAAI,CAAC;AAGT,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,MAAM,EAAE,SAAS,CAAC;CACnB;AAmBD,MAAM,WAAW,sBAAsB;IACrC,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,KAAK,CAAC;IACb,aAAa,EAAE,aAAa,EAAE,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;IACpD,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,EAAE,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACvF,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,EAAE,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;IACnE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,aAAa,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,KAAK,UAAU,GAAG,SAAS,CAAC;CACjF;AA0JD,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CAoQ9D,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StoryboardWorkflowsTreeCore.d.ts","sourceRoot":"","sources":["../../../../src/components/StoryboardWorkflowsTree/StoryboardWorkflowsTreeCore.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAU/C,OAAO,KAAK,EAEV,4BAA4B,EAQ7B,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"StoryboardWorkflowsTreeCore.d.ts","sourceRoot":"","sources":["../../../../src/components/StoryboardWorkflowsTree/StoryboardWorkflowsTreeCore.tsx"],"names":[],"mappings":"AACA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAU/C,OAAO,KAAK,EAEV,4BAA4B,EAQ7B,MAAM,SAAS,CAAC;AAo/BjB,eAAO,MAAM,2BAA2B,0DAA+C,CAAC"}
|
|
@@ -40,6 +40,8 @@ export interface TreeNodeProps<T extends TreeNodeData> extends NodeRendererProps
|
|
|
40
40
|
dragConfig?: DragConfig;
|
|
41
41
|
/** Callback fired when the node is clicked, before selection. Receives the mouse event for modifier key detection. */
|
|
42
42
|
onNodeClick?: (event: React.MouseEvent, node: NodeRendererProps<T>['node']) => void;
|
|
43
|
+
/** Custom render for the name - allows multi-colored text, etc. If provided, nameColor is ignored. */
|
|
44
|
+
renderName?: ReactNode;
|
|
43
45
|
}
|
|
44
|
-
export declare function TreeNode<T extends TreeNodeData>({ node, style, dragHandle, theme, rightContent, extraContent, isSelectedDirectory, nameColor, horizontalNodePadding, verticalNodePadding, onContextMenu, onHover, leftIcon, dragConfig, onNodeClick, }: TreeNodeProps<T>): React.JSX.Element;
|
|
46
|
+
export declare function TreeNode<T extends TreeNodeData>({ node, style, dragHandle, theme, rightContent, extraContent, isSelectedDirectory, nameColor, horizontalNodePadding, verticalNodePadding, onContextMenu, onHover, leftIcon, dragConfig, onNodeClick, renderName, }: TreeNodeProps<T>): React.JSX.Element;
|
|
45
47
|
//# sourceMappingURL=TreeNode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TreeNode.d.ts","sourceRoot":"","sources":["../../../src/components/TreeNode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAE3D,OAAO,KAAK,EAAE,EAAY,SAAS,EAAe,MAAM,OAAO,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,WAAW,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