@uipath/apollo-react 3.68.1 → 3.68.3-pr431.62acd9a
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/canvas/components/CanvasPerformance.stories.cjs +361 -0
- package/dist/canvas/components/CanvasPerformance.stories.d.ts +6 -0
- package/dist/canvas/components/CanvasPerformance.stories.d.ts.map +1 -0
- package/dist/canvas/components/CanvasPerformance.stories.js +324 -0
- package/dist/canvas/components/NodePropertiesPanel/hooks/index.cjs +4 -1
- package/dist/canvas/components/NodePropertiesPanel/hooks/index.d.ts +1 -1
- package/dist/canvas/components/NodePropertiesPanel/hooks/index.d.ts.map +1 -1
- package/dist/canvas/components/NodePropertiesPanel/hooks/index.js +2 -2
- package/dist/canvas/components/NodePropertiesPanel/hooks/useNodeSelection.cjs +27 -6
- package/dist/canvas/components/NodePropertiesPanel/hooks/useNodeSelection.d.ts +3 -0
- package/dist/canvas/components/NodePropertiesPanel/hooks/useNodeSelection.d.ts.map +1 -1
- package/dist/canvas/components/NodePropertiesPanel/hooks/useNodeSelection.js +23 -5
- package/dist/canvas/components/StageNode/AdhocTask.cjs +148 -0
- package/dist/canvas/components/StageNode/AdhocTask.d.ts +13 -0
- package/dist/canvas/components/StageNode/AdhocTask.d.ts.map +1 -0
- package/dist/canvas/components/StageNode/AdhocTask.js +104 -0
- package/dist/canvas/components/StageNode/DraggableTask.cjs +14 -5
- package/dist/canvas/components/StageNode/DraggableTask.d.ts +1 -1
- package/dist/canvas/components/StageNode/DraggableTask.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/DraggableTask.js +14 -5
- package/dist/canvas/components/StageNode/DraggableTask.types.d.ts +3 -3
- package/dist/canvas/components/StageNode/DraggableTask.types.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageEdge.cjs +34 -11
- package/dist/canvas/components/StageNode/StageEdge.d.ts +2 -1
- package/dist/canvas/components/StageNode/StageEdge.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageEdge.js +35 -12
- package/dist/canvas/components/StageNode/StageNode.cjs +91 -122
- package/dist/canvas/components/StageNode/StageNode.d.ts +1 -1
- package/dist/canvas/components/StageNode/StageNode.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageNode.js +98 -119
- package/dist/canvas/components/StageNode/StageNode.stories.cjs +123 -158
- package/dist/canvas/components/StageNode/StageNode.stories.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageNode.stories.js +119 -154
- package/dist/canvas/components/StageNode/StageNode.stories.utils.cjs +42 -0
- package/dist/canvas/components/StageNode/StageNode.stories.utils.d.ts +4 -0
- package/dist/canvas/components/StageNode/StageNode.stories.utils.d.ts.map +1 -0
- package/dist/canvas/components/StageNode/StageNode.stories.utils.js +8 -0
- package/dist/canvas/components/StageNode/StageNode.styles.cjs +1 -1
- package/dist/canvas/components/StageNode/StageNode.styles.js +1 -1
- package/dist/canvas/components/StageNode/StageNode.types.d.ts +9 -1
- package/dist/canvas/components/StageNode/StageNode.types.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageTaskDragOverlay.cjs +68 -0
- package/dist/canvas/components/StageNode/StageTaskDragOverlay.d.ts +3 -0
- package/dist/canvas/components/StageNode/StageTaskDragOverlay.d.ts.map +1 -0
- package/dist/canvas/components/StageNode/StageTaskDragOverlay.js +34 -0
- package/dist/canvas/components/StageNode/TaskMenu.cjs +13 -17
- package/dist/canvas/components/StageNode/TaskMenu.d.ts +1 -2
- package/dist/canvas/components/StageNode/TaskMenu.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/TaskMenu.js +14 -18
- package/dist/canvas/components/StageNode/index.d.ts +1 -1
- package/dist/canvas/components/StageNode/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { DndContext,
|
|
2
|
+
import { DndContext, KeyboardSensor, PointerSensor, closestCenter, useSensor, useSensors } from "@dnd-kit/core";
|
|
3
3
|
import { SortableContext, sortableKeyboardCoordinates, verticalListSortingStrategy } from "@dnd-kit/sortable";
|
|
4
4
|
import { FontVariantToken, Icon, Padding, Spacing } from "@uipath/apollo-core";
|
|
5
5
|
import { Column, Row } from "../../layouts/index.js";
|
|
6
|
-
import { Position, useStore,
|
|
7
|
-
import {
|
|
8
|
-
import debounce from "debounce";
|
|
6
|
+
import { Position, useStore, useStoreApi } from "../../xyflow/react.js";
|
|
7
|
+
import { ApIcon, ApIconButton, ApLink, ApTooltip, ApTypography } from "../../../material/index.js";
|
|
9
8
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
9
|
+
import { EntryConditionIcon, ExitConditionIcon, ReturnToOriginIcon } from "../../icons/index.js";
|
|
10
|
+
import { GroupModificationType } from "../../utils/GroupModificationUtils.js";
|
|
12
11
|
import { useConnectedHandles } from "../BaseCanvas/ConnectedHandlesContext.js";
|
|
13
12
|
import { useButtonHandles } from "../ButtonHandle/useButtonHandles.js";
|
|
14
13
|
import { ExecutionStatusIcon } from "../ExecutionStatusIcon/index.js";
|
|
15
14
|
import { FloatingCanvasPanel } from "../FloatingCanvasPanel/index.js";
|
|
16
15
|
import { NodeContextMenu } from "../NodeContextMenu/index.js";
|
|
17
|
-
import {
|
|
16
|
+
import { useSetNodeSelection } from "../NodePropertiesPanel/hooks/index.js";
|
|
18
17
|
import { Toolbox } from "../Toolbox/index.js";
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
18
|
+
import { AdhocTaskItem } from "./AdhocTask.js";
|
|
19
|
+
import { DraggableTask } from "./DraggableTask.js";
|
|
20
|
+
import { INDENTATION_WIDTH, STAGE_CONTENT_INSET, StageAdhocHeaderSection, StageAdhocSection, StageChip, StageContainer, StageContent, StageHeader, StageHeaderChipsRow, StageParallelBracket, StageParallelLabel, StageTaskGroup, StageTaskList, StageTitleContainer, StageTitleInput } from "./StageNode.styles.js";
|
|
21
21
|
import { StageHeaderChipType } from "./StageNode.types.js";
|
|
22
22
|
import { flattenTasks, getProjection, reorderTasks } from "./StageNode.utils.js";
|
|
23
23
|
import { getContextMenuItems, getDivider, getMenuItem } from "./StageNodeTaskUtilities.js";
|
|
24
|
+
import { StageTaskDragOverlay } from "./StageTaskDragOverlay.js";
|
|
24
25
|
const CHIP_ICONS = {
|
|
25
26
|
[StageHeaderChipType.Entry]: /*#__PURE__*/ jsx(EntryConditionIcon, {
|
|
26
27
|
w: Icon.IconXs,
|
|
@@ -43,54 +44,7 @@ const CHIP_ICONS = {
|
|
|
43
44
|
size: Icon.IconXs
|
|
44
45
|
})
|
|
45
46
|
};
|
|
46
|
-
const
|
|
47
|
-
const [playLoading, setPlayLoading] = useState(false);
|
|
48
|
-
const debouncedTaskPlay = useMemo(()=>debounce(async (id)=>{
|
|
49
|
-
setPlayLoading(true);
|
|
50
|
-
try {
|
|
51
|
-
await onTaskPlay(id);
|
|
52
|
-
} catch {} finally{
|
|
53
|
-
setPlayLoading(false);
|
|
54
|
-
}
|
|
55
|
-
}, 500, {
|
|
56
|
-
immediate: true
|
|
57
|
-
}), [
|
|
58
|
-
onTaskPlay
|
|
59
|
-
]);
|
|
60
|
-
const handlePlayClick = useCallback((e)=>{
|
|
61
|
-
e.stopPropagation();
|
|
62
|
-
e.preventDefault();
|
|
63
|
-
debouncedTaskPlay(taskId);
|
|
64
|
-
}, [
|
|
65
|
-
debouncedTaskPlay,
|
|
66
|
-
taskId
|
|
67
|
-
]);
|
|
68
|
-
return /*#__PURE__*/ jsx(ApTooltip, {
|
|
69
|
-
content: "Trigger task",
|
|
70
|
-
placement: "top",
|
|
71
|
-
children: /*#__PURE__*/ jsx(ApIconButton, {
|
|
72
|
-
"data-testid": `stage-task-play-${taskId}`,
|
|
73
|
-
onClick: handlePlayClick,
|
|
74
|
-
onMouseDown: (e)=>e.stopPropagation(),
|
|
75
|
-
onKeyDown: (e)=>e.stopPropagation(),
|
|
76
|
-
className: "task-menu-icon-button",
|
|
77
|
-
sx: {
|
|
78
|
-
color: 'var(--uix-canvas-primary) !important',
|
|
79
|
-
minWidth: 'unset !important',
|
|
80
|
-
width: `${Spacing.SpacingL} !important`,
|
|
81
|
-
height: `${Spacing.SpacingL} !important`,
|
|
82
|
-
padding: '0 !important'
|
|
83
|
-
},
|
|
84
|
-
children: playLoading ? /*#__PURE__*/ jsx(ApCircularProgress, {
|
|
85
|
-
size: 20
|
|
86
|
-
}) : /*#__PURE__*/ jsx(PlayIcon, {
|
|
87
|
-
w: 20,
|
|
88
|
-
h: 20
|
|
89
|
-
})
|
|
90
|
-
})
|
|
91
|
-
});
|
|
92
|
-
});
|
|
93
|
-
const StageNodeComponent = (props)=>{
|
|
47
|
+
const StageNodeInner = (props)=>{
|
|
94
48
|
const { dragging, selected, id, width, execution, stageDetails, addTaskLabel = 'Add task', addTaskLoading = false, replaceTaskLabel = 'Replace task', taskOptions = [], menuItems, pendingReplaceTask, onStageClick, onTaskAdd, onAddTaskFromToolbox, onTaskToolboxSearch, onTaskClick, onTaskGroupModification, onStageTitleChange, onTaskReorder, onReplaceTaskFromToolbox, onTaskPlay, hideParallelOptions } = props;
|
|
95
49
|
const taskWidth = width ? width - STAGE_CONTENT_INSET : void 0;
|
|
96
50
|
const allTasks = useMemo(()=>stageDetails?.tasks || [], [
|
|
@@ -99,7 +53,11 @@ const StageNodeComponent = (props)=>{
|
|
|
99
53
|
const tasks = useMemo(()=>allTasks.filter((group)=>group.some((t)=>!t.isAdhoc)), [
|
|
100
54
|
allTasks
|
|
101
55
|
]);
|
|
102
|
-
const adhocTasks = useMemo(()=>allTasks.
|
|
56
|
+
const adhocTasks = useMemo(()=>allTasks.flatMap((group, groupIndex)=>group.map((task, taskIndex)=>({
|
|
57
|
+
task,
|
|
58
|
+
groupIndex,
|
|
59
|
+
taskIndex
|
|
60
|
+
})).filter(({ task })=>task.isAdhoc)), [
|
|
103
61
|
allTasks
|
|
104
62
|
]);
|
|
105
63
|
const flatTasks = useMemo(()=>tasks.flat(), [
|
|
@@ -116,9 +74,6 @@ const StageNodeComponent = (props)=>{
|
|
|
116
74
|
const status = execution?.stageStatus?.status;
|
|
117
75
|
const statusLabel = execution?.stageStatus?.label;
|
|
118
76
|
const stageDuration = execution?.stageStatus?.duration;
|
|
119
|
-
const reGroupTaskFunction = useMemo(()=>onTaskGroupModification || (()=>{}), [
|
|
120
|
-
onTaskGroupModification
|
|
121
|
-
]);
|
|
122
77
|
const isStageTitleEditable = !!onStageTitleChange && !isReadOnly;
|
|
123
78
|
const [isHovered, setIsHovered] = useState(false);
|
|
124
79
|
const [label, setLabel] = useState(props.stageDetails.label);
|
|
@@ -135,6 +90,7 @@ const StageNodeComponent = (props)=>{
|
|
|
135
90
|
taskIndex: -1
|
|
136
91
|
});
|
|
137
92
|
const isConnecting = useStore((state)=>!!state.connectionClickStartHandle);
|
|
93
|
+
const storeApi = useStoreApi();
|
|
138
94
|
const connectedHandleIds = useConnectedHandles(id);
|
|
139
95
|
const [isAddingTask, setIsAddingTask] = useState(false);
|
|
140
96
|
const [isReplacingTask, setIsReplacingTask] = useState(false);
|
|
@@ -174,7 +130,6 @@ const StageNodeComponent = (props)=>{
|
|
|
174
130
|
tasks,
|
|
175
131
|
activeDragId
|
|
176
132
|
]);
|
|
177
|
-
const { zoom } = useViewport();
|
|
178
133
|
const projected = useMemo(()=>{
|
|
179
134
|
if (!activeDragId || !overId) return null;
|
|
180
135
|
return getProjection(tasks, activeDragId, overId, offsetLeft);
|
|
@@ -257,18 +212,26 @@ const StageNodeComponent = (props)=>{
|
|
|
257
212
|
handleStageTitleClickToSave,
|
|
258
213
|
isStageTitleEditing
|
|
259
214
|
]);
|
|
260
|
-
const
|
|
215
|
+
const hasContextMenu = !!(onReplaceTaskFromToolbox || onTaskGroupModification);
|
|
216
|
+
const buildContextMenuItems = useCallback((groupIndex, taskIndex)=>{
|
|
217
|
+
const taskGroup = tasks[groupIndex] ?? [];
|
|
218
|
+
const isParallel = taskGroup.length > 1;
|
|
261
219
|
const items = [];
|
|
262
220
|
if (onReplaceTaskFromToolbox) {
|
|
263
221
|
items.push(getMenuItem('replace-task', 'Replace task', ()=>{
|
|
264
|
-
|
|
222
|
+
taskStateReference.current = {
|
|
223
|
+
isParallel,
|
|
224
|
+
groupIndex,
|
|
225
|
+
taskIndex
|
|
226
|
+
};
|
|
227
|
+
const taskId = taskGroup[taskIndex]?.id;
|
|
265
228
|
if (taskId) onTaskClick?.(taskId);
|
|
266
229
|
setIsReplacingTask(true);
|
|
267
230
|
}));
|
|
268
231
|
items.push(getDivider());
|
|
269
232
|
}
|
|
270
233
|
if (onTaskGroupModification) {
|
|
271
|
-
const reGroupOptions = getContextMenuItems(isParallel, groupIndex,
|
|
234
|
+
const reGroupOptions = getContextMenuItems(isParallel, groupIndex, tasks.length, taskIndex, taskGroup.length, (tasks[groupIndex - 1]?.length ?? 0) > 1, (tasks[groupIndex + 1]?.length ?? 0) > 1, onTaskGroupModification, hideParallelOptions);
|
|
272
235
|
return [
|
|
273
236
|
...items,
|
|
274
237
|
...reGroupOptions
|
|
@@ -279,11 +242,31 @@ const StageNodeComponent = (props)=>{
|
|
|
279
242
|
onReplaceTaskFromToolbox,
|
|
280
243
|
onTaskClick,
|
|
281
244
|
onTaskGroupModification,
|
|
282
|
-
reGroupTaskFunction,
|
|
283
245
|
tasks,
|
|
284
246
|
hideParallelOptions
|
|
285
247
|
]);
|
|
286
|
-
const
|
|
248
|
+
const getAdhocContextMenuItems = useCallback((groupIndex, taskIndex, taskId)=>{
|
|
249
|
+
const items = [];
|
|
250
|
+
if (onReplaceTaskFromToolbox) items.push(getMenuItem('replace-task', 'Replace task', ()=>{
|
|
251
|
+
taskStateReference.current = {
|
|
252
|
+
isParallel: false,
|
|
253
|
+
groupIndex,
|
|
254
|
+
taskIndex
|
|
255
|
+
};
|
|
256
|
+
onTaskClick?.(taskId);
|
|
257
|
+
setIsReplacingTask(true);
|
|
258
|
+
}));
|
|
259
|
+
if (onTaskGroupModification) {
|
|
260
|
+
if (items.length > 0) items.push(getDivider());
|
|
261
|
+
items.push(getMenuItem('remove-task', 'Delete task', ()=>onTaskGroupModification(GroupModificationType.REMOVE_TASK, groupIndex, taskIndex)));
|
|
262
|
+
}
|
|
263
|
+
return items;
|
|
264
|
+
}, [
|
|
265
|
+
onReplaceTaskFromToolbox,
|
|
266
|
+
onTaskClick,
|
|
267
|
+
onTaskGroupModification
|
|
268
|
+
]);
|
|
269
|
+
const { setSelectedNodeId } = useSetNodeSelection();
|
|
287
270
|
const handleStageClick = useCallback(()=>{
|
|
288
271
|
onStageClick?.();
|
|
289
272
|
}, [
|
|
@@ -406,9 +389,9 @@ const StageNodeComponent = (props)=>{
|
|
|
406
389
|
setActiveDragId(event.active.id);
|
|
407
390
|
}, []);
|
|
408
391
|
const handleDragMove = useCallback((event)=>{
|
|
409
|
-
setOffsetLeft(event.delta.x /
|
|
392
|
+
setOffsetLeft(event.delta.x / storeApi.getState().transform[2]);
|
|
410
393
|
}, [
|
|
411
|
-
|
|
394
|
+
storeApi
|
|
412
395
|
]);
|
|
413
396
|
const handleDragOver = useCallback((event)=>{
|
|
414
397
|
setOverId(event.over?.id ?? null);
|
|
@@ -444,12 +427,6 @@ const StageNodeComponent = (props)=>{
|
|
|
444
427
|
} : void 0, [
|
|
445
428
|
taskWidth
|
|
446
429
|
]);
|
|
447
|
-
const dragOverlayStyle = useMemo(()=>({
|
|
448
|
-
transform: `scale(${zoom})`,
|
|
449
|
-
transformOrigin: 'top left'
|
|
450
|
-
}), [
|
|
451
|
-
zoom
|
|
452
|
-
]);
|
|
453
430
|
return /*#__PURE__*/ jsxs("div", {
|
|
454
431
|
"data-testid": `stage-${id}`,
|
|
455
432
|
style: {
|
|
@@ -467,6 +444,7 @@ const StageNodeComponent = (props)=>{
|
|
|
467
444
|
children: [
|
|
468
445
|
/*#__PURE__*/ jsxs(StageHeader, {
|
|
469
446
|
isException: isException,
|
|
447
|
+
"data-testid": `stage-header-${id}`,
|
|
470
448
|
children: [
|
|
471
449
|
/*#__PURE__*/ jsxs(Row, {
|
|
472
450
|
gap: Spacing.SpacingMicro,
|
|
@@ -631,19 +609,13 @@ const StageNodeComponent = (props)=>{
|
|
|
631
609
|
taskExecution: taskExecution,
|
|
632
610
|
isSelected: selectedTaskId === task.id,
|
|
633
611
|
isParallel: isParallel,
|
|
634
|
-
|
|
612
|
+
groupIndex: groupIndex,
|
|
613
|
+
taskIndex: taskIndex,
|
|
635
614
|
onTaskClick: handleTaskClick,
|
|
636
615
|
projectedDepth: task.id === activeDragId && projected ? projected.depth : void 0,
|
|
637
616
|
isDragDisabled: !onTaskReorder,
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
onMenuOpen: ()=>{
|
|
641
|
-
taskStateReference.current = {
|
|
642
|
-
isParallel,
|
|
643
|
-
groupIndex,
|
|
644
|
-
taskIndex
|
|
645
|
-
};
|
|
646
|
-
}
|
|
617
|
+
...hasContextMenu && {
|
|
618
|
+
getContextMenuItems: buildContextMenuItems
|
|
647
619
|
}
|
|
648
620
|
}, task.id);
|
|
649
621
|
})
|
|
@@ -654,23 +626,11 @@ const StageNodeComponent = (props)=>{
|
|
|
654
626
|
})
|
|
655
627
|
})
|
|
656
628
|
}),
|
|
657
|
-
/*#__PURE__*/
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
isParallel: isActiveTaskParallel,
|
|
663
|
-
style: {
|
|
664
|
-
cursor: 'grabbing',
|
|
665
|
-
...taskWidthStyle
|
|
666
|
-
},
|
|
667
|
-
children: /*#__PURE__*/ jsx(TaskContent, {
|
|
668
|
-
task: activeTask,
|
|
669
|
-
isDragging: true
|
|
670
|
-
})
|
|
671
|
-
})
|
|
672
|
-
}) : null
|
|
673
|
-
}), document.body)
|
|
629
|
+
/*#__PURE__*/ jsx(StageTaskDragOverlay, {
|
|
630
|
+
activeTask: activeTask,
|
|
631
|
+
isActiveTaskParallel: isActiveTaskParallel,
|
|
632
|
+
taskWidthStyle: taskWidthStyle
|
|
633
|
+
})
|
|
674
634
|
]
|
|
675
635
|
}),
|
|
676
636
|
adhocTasks.length > 0 && /*#__PURE__*/ jsxs(StageAdhocSection, {
|
|
@@ -686,23 +646,17 @@ const StageNodeComponent = (props)=>{
|
|
|
686
646
|
})
|
|
687
647
|
}),
|
|
688
648
|
/*#__PURE__*/ jsx(StageTaskList, {
|
|
689
|
-
children: adhocTasks.map((task)=>{
|
|
649
|
+
children: adhocTasks.map(({ task, groupIndex, taskIndex })=>{
|
|
690
650
|
const taskExecution = execution?.taskStatus?.[task.id];
|
|
691
|
-
return /*#__PURE__*/
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
}),
|
|
701
|
-
onTaskPlay && /*#__PURE__*/ jsx(AdhocTaskPlayButton, {
|
|
702
|
-
taskId: task.id,
|
|
703
|
-
onTaskPlay: onTaskPlay
|
|
704
|
-
})
|
|
705
|
-
]
|
|
651
|
+
return /*#__PURE__*/ jsx(AdhocTaskItem, {
|
|
652
|
+
task: task,
|
|
653
|
+
taskExecution: taskExecution,
|
|
654
|
+
isSelected: selectedTaskId === task.id,
|
|
655
|
+
onTaskClick: handleTaskClick,
|
|
656
|
+
onTaskPlay: onTaskPlay,
|
|
657
|
+
...(onTaskGroupModification || onReplaceTaskFromToolbox) && {
|
|
658
|
+
getContextMenuItems: ()=>getAdhocContextMenuItems(groupIndex, taskIndex, task.id)
|
|
659
|
+
}
|
|
706
660
|
}, task.id);
|
|
707
661
|
})
|
|
708
662
|
})
|
|
@@ -746,5 +700,30 @@ const StageNodeComponent = (props)=>{
|
|
|
746
700
|
]
|
|
747
701
|
});
|
|
748
702
|
};
|
|
749
|
-
const
|
|
703
|
+
const StageNodeInnerMemo = /*#__PURE__*/ memo(StageNodeInner);
|
|
704
|
+
const StageNode = ({ dragging, selected, id, width, execution, stageDetails, addTaskLabel, addTaskLoading, replaceTaskLabel, taskOptions, menuItems, pendingReplaceTask, onStageClick, onTaskAdd, onAddTaskFromToolbox, onTaskToolboxSearch, onTaskClick, onTaskGroupModification, onStageTitleChange, onTaskReorder, onReplaceTaskFromToolbox, onTaskPlay, hideParallelOptions })=>/*#__PURE__*/ jsx(StageNodeInnerMemo, {
|
|
705
|
+
dragging: dragging,
|
|
706
|
+
selected: selected,
|
|
707
|
+
id: id,
|
|
708
|
+
width: width,
|
|
709
|
+
execution: execution,
|
|
710
|
+
stageDetails: stageDetails,
|
|
711
|
+
addTaskLabel: addTaskLabel,
|
|
712
|
+
addTaskLoading: addTaskLoading,
|
|
713
|
+
replaceTaskLabel: replaceTaskLabel,
|
|
714
|
+
taskOptions: taskOptions,
|
|
715
|
+
menuItems: menuItems,
|
|
716
|
+
pendingReplaceTask: pendingReplaceTask,
|
|
717
|
+
onStageClick: onStageClick,
|
|
718
|
+
onTaskAdd: onTaskAdd,
|
|
719
|
+
onAddTaskFromToolbox: onAddTaskFromToolbox,
|
|
720
|
+
onTaskToolboxSearch: onTaskToolboxSearch,
|
|
721
|
+
onTaskClick: onTaskClick,
|
|
722
|
+
onTaskGroupModification: onTaskGroupModification,
|
|
723
|
+
onStageTitleChange: onStageTitleChange,
|
|
724
|
+
onTaskReorder: onTaskReorder,
|
|
725
|
+
onReplaceTaskFromToolbox: onReplaceTaskFromToolbox,
|
|
726
|
+
onTaskPlay: onTaskPlay,
|
|
727
|
+
hideParallelOptions: hideParallelOptions
|
|
728
|
+
});
|
|
750
729
|
export { StageNode };
|