@uipath/apollo-react 3.70.2 → 3.70.3-pr482.0700da2
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/AddNodePanel/AddNodePreview.cjs +9 -9
- package/dist/canvas/components/AddNodePanel/AddNodePreview.d.ts.map +1 -1
- package/dist/canvas/components/AddNodePanel/AddNodePreview.js +9 -9
- package/dist/canvas/components/AgentCanvas/components/SuggestionGroupPanel.cjs +40 -39
- package/dist/canvas/components/AgentCanvas/components/SuggestionGroupPanel.d.ts.map +1 -1
- package/dist/canvas/components/AgentCanvas/components/SuggestionGroupPanel.js +41 -40
- package/dist/canvas/components/AgentCanvas/components/TimelinePlayer.cjs +13 -9
- package/dist/canvas/components/AgentCanvas/components/TimelinePlayer.js +14 -10
- package/dist/canvas/components/AgentCanvas/nodes/AgentNode.cjs +5 -5
- package/dist/canvas/components/AgentCanvas/nodes/AgentNode.d.ts.map +1 -1
- package/dist/canvas/components/AgentCanvas/nodes/AgentNode.js +5 -5
- package/dist/canvas/components/AgentCanvas/nodes/ResourceNode.cjs +22 -26
- package/dist/canvas/components/AgentCanvas/nodes/ResourceNode.d.ts.map +1 -1
- package/dist/canvas/components/AgentCanvas/nodes/ResourceNode.js +22 -26
- package/dist/canvas/components/BaseCanvas/CanvasProviders.cjs +15 -7
- package/dist/canvas/components/BaseCanvas/CanvasProviders.d.ts.map +1 -1
- package/dist/canvas/components/BaseCanvas/CanvasProviders.js +15 -7
- package/dist/canvas/components/BaseNode/BaseNode.cjs +5 -6
- package/dist/canvas/components/BaseNode/BaseNode.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/BaseNode.js +6 -7
- package/dist/canvas/components/BaseNode/BaseNode.styles.cjs +12 -7
- package/dist/canvas/components/BaseNode/BaseNode.styles.d.ts +1 -1
- package/dist/canvas/components/BaseNode/BaseNode.styles.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/BaseNode.styles.js +12 -7
- package/dist/canvas/components/BaseNode/NodeLabel.cjs +2 -2
- package/dist/canvas/components/BaseNode/NodeLabel.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/NodeLabel.js +2 -2
- package/dist/canvas/components/BlankCanvasNode/BlankCanvasNode.cjs +6 -6
- package/dist/canvas/components/BlankCanvasNode/BlankCanvasNode.js +4 -4
- package/dist/canvas/components/ButtonHandle/ButtonHandle.cjs +9 -11
- package/dist/canvas/components/ButtonHandle/ButtonHandle.d.ts.map +1 -1
- package/dist/canvas/components/ButtonHandle/ButtonHandle.js +9 -11
- package/dist/canvas/components/ButtonHandle/SmartHandle.cjs +6 -9
- package/dist/canvas/components/ButtonHandle/SmartHandle.d.ts.map +1 -1
- package/dist/canvas/components/ButtonHandle/SmartHandle.js +6 -9
- package/dist/canvas/components/CanvasPositionControls.cjs +33 -34
- package/dist/canvas/components/CanvasPositionControls.d.ts.map +1 -1
- package/dist/canvas/components/CanvasPositionControls.js +33 -24
- package/dist/canvas/components/CanvasTooltip.cjs +138 -0
- package/dist/canvas/components/CanvasTooltip.d.ts +14 -0
- package/dist/canvas/components/CanvasTooltip.d.ts.map +1 -0
- package/dist/canvas/components/CanvasTooltip.js +91 -0
- package/dist/canvas/components/CodedAgent/CodedAgentFlow.cjs +41 -48
- package/dist/canvas/components/CodedAgent/CodedAgentFlow.d.ts.map +1 -1
- package/dist/canvas/components/CodedAgent/CodedAgentFlow.js +42 -49
- package/dist/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.cjs +35 -32
- package/dist/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.d.ts.map +1 -1
- package/dist/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.js +35 -32
- package/dist/canvas/components/FloatingCanvasPanel/PanelChrome.cjs +12 -9
- package/dist/canvas/components/FloatingCanvasPanel/PanelChrome.d.ts.map +1 -1
- package/dist/canvas/components/FloatingCanvasPanel/PanelChrome.js +12 -9
- package/dist/canvas/components/GroupNode/GroupNode.cjs +10 -12
- package/dist/canvas/components/GroupNode/GroupNode.d.ts.map +1 -1
- package/dist/canvas/components/GroupNode/GroupNode.js +10 -12
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvas.cjs +11 -8
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvas.d.ts.map +1 -1
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvas.js +9 -6
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvasWithControls.cjs +79 -66
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvasWithControls.d.ts.map +1 -1
- package/dist/canvas/components/HierarchicalCanvas/HierarchicalCanvasWithControls.js +77 -64
- package/dist/canvas/components/NodeContextMenu/NodeContextMenu.cjs +14 -82
- package/dist/canvas/components/NodeContextMenu/NodeContextMenu.d.ts +1 -2
- package/dist/canvas/components/NodeContextMenu/NodeContextMenu.d.ts.map +1 -1
- package/dist/canvas/components/NodeContextMenu/NodeContextMenu.js +16 -84
- package/dist/canvas/components/NodeInspector.cjs +64 -68
- package/dist/canvas/components/NodeInspector.d.ts.map +1 -1
- package/dist/canvas/components/NodeInspector.js +64 -68
- package/dist/canvas/components/NodePropertiesPanel/NodePropertiesPanel.cjs +9 -5
- package/dist/canvas/components/NodePropertiesPanel/NodePropertiesPanel.d.ts.map +1 -1
- package/dist/canvas/components/NodePropertiesPanel/NodePropertiesPanel.js +9 -5
- package/dist/canvas/components/StageNode/AdhocTask.cjs +1 -9
- package/dist/canvas/components/StageNode/AdhocTask.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/AdhocTask.js +2 -10
- package/dist/canvas/components/StageNode/DraggableTask.cjs +5 -13
- package/dist/canvas/components/StageNode/DraggableTask.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/DraggableTask.js +4 -12
- package/dist/canvas/components/StageNode/StageNode.cjs +42 -41
- package/dist/canvas/components/StageNode/StageNode.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageNode.js +43 -42
- package/dist/canvas/components/StageNode/StageNode.stories.utils.cjs +13 -1
- package/dist/canvas/components/StageNode/StageNode.stories.utils.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageNode.stories.utils.js +13 -1
- package/dist/canvas/components/StageNode/TaskContent.cjs +36 -35
- package/dist/canvas/components/StageNode/TaskContent.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/TaskContent.js +37 -36
- package/dist/canvas/components/StageNode/TaskMenu.cjs +19 -99
- package/dist/canvas/components/StageNode/TaskMenu.d.ts +0 -2
- package/dist/canvas/components/StageNode/TaskMenu.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/TaskMenu.js +21 -91
- package/dist/canvas/components/StickyNoteNode/FormattingToolbar.cjs +17 -17
- package/dist/canvas/components/StickyNoteNode/FormattingToolbar.d.ts.map +1 -1
- package/dist/canvas/components/StickyNoteNode/FormattingToolbar.js +12 -12
- package/dist/canvas/components/StickyNoteNode/StickyNoteNode.cjs +2 -2
- package/dist/canvas/components/StickyNoteNode/StickyNoteNode.js +3 -3
- package/dist/canvas/components/Toolbar/NodeToolbar/NodeToolbar.cjs +16 -14
- package/dist/canvas/components/Toolbar/NodeToolbar/NodeToolbar.d.ts.map +1 -1
- package/dist/canvas/components/Toolbar/NodeToolbar/NodeToolbar.js +13 -11
- package/dist/canvas/components/Toolbar/shared/ToolbarButton.cjs +6 -6
- package/dist/canvas/components/Toolbar/shared/ToolbarButton.d.ts.map +1 -1
- package/dist/canvas/components/Toolbar/shared/ToolbarButton.js +6 -6
- package/dist/canvas/components/Toolbox/Header.cjs +11 -10
- package/dist/canvas/components/Toolbox/Header.d.ts.map +1 -1
- package/dist/canvas/components/Toolbox/Header.js +11 -10
- package/dist/canvas/components/Toolbox/ListView.cjs +22 -34
- package/dist/canvas/components/Toolbox/ListView.d.ts.map +1 -1
- package/dist/canvas/components/Toolbox/ListView.js +23 -35
- package/dist/canvas/components/Toolbox/SearchBox.cjs +7 -7
- package/dist/canvas/components/Toolbox/SearchBox.d.ts.map +1 -1
- package/dist/canvas/components/Toolbox/SearchBox.js +7 -7
- package/dist/canvas/components/TriggerNode/TriggerNode.cjs +5 -10
- package/dist/canvas/components/TriggerNode/TriggerNode.d.ts.map +1 -1
- package/dist/canvas/components/TriggerNode/TriggerNode.js +5 -10
- package/dist/canvas/components/shared/CanvasDropdownMenu.cjs +80 -0
- package/dist/canvas/components/shared/CanvasDropdownMenu.d.ts +13 -0
- package/dist/canvas/components/shared/CanvasDropdownMenu.d.ts.map +1 -0
- package/dist/canvas/components/shared/CanvasDropdownMenu.js +46 -0
- package/dist/canvas/constants.cjs +4 -0
- package/dist/canvas/constants.d.ts +1 -0
- package/dist/canvas/constants.d.ts.map +1 -1
- package/dist/canvas/constants.js +2 -1
- package/dist/canvas/controls/Breadcrumb/Breadcrumb.cjs +12 -23
- package/dist/canvas/controls/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/canvas/controls/Breadcrumb/Breadcrumb.js +9 -20
- package/dist/canvas/index.cjs +39 -35
- package/dist/canvas/index.d.ts +1 -0
- package/dist/canvas/index.d.ts.map +1 -1
- package/dist/canvas/index.js +1 -0
- package/dist/canvas/storybook-utils/components/StoryInfoPanel.cjs +13 -11
- package/dist/canvas/storybook-utils/components/StoryInfoPanel.d.ts.map +1 -1
- package/dist/canvas/storybook-utils/components/StoryInfoPanel.js +13 -11
- package/dist/canvas/storybook-utils/decorators.cjs +7 -1
- package/dist/canvas/storybook-utils/decorators.d.ts.map +1 -1
- package/dist/canvas/storybook-utils/decorators.js +7 -1
- package/dist/canvas/styles/tailwind.canvas.css +2 -0
- package/dist/canvas/utils/adornment-resolver.cjs +11 -12
- package/dist/canvas/utils/adornment-resolver.d.ts.map +1 -1
- package/dist/canvas/utils/adornment-resolver.js +12 -13
- package/dist/canvas/utils/icon-registry.cjs +6 -2
- package/dist/canvas/utils/icon-registry.d.ts +3 -2
- package/dist/canvas/utils/icon-registry.d.ts.map +1 -1
- package/dist/canvas/utils/icon-registry.js +3 -2
- package/package.json +4 -2
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Tooltip, TooltipContent, TooltipPortal, TooltipProvider, TooltipTrigger } from "@uipath/apollo-wind/components/ui/tooltip";
|
|
3
|
+
import react, { createContext, useCallback, useContext, useMemo, useRef, useState } from "react";
|
|
4
|
+
import { useTruncationDetection } from "../../material/components/ap-tooltip/useTruncationDetection.js";
|
|
5
|
+
const HasTooltipProviderContext = /*#__PURE__*/ createContext(false);
|
|
6
|
+
function CanvasTooltipProviderMarker({ children }) {
|
|
7
|
+
return /*#__PURE__*/ jsx(HasTooltipProviderContext.Provider, {
|
|
8
|
+
value: true,
|
|
9
|
+
children: children
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function CanvasTooltip({ content, placement = 'top', smartTooltip = false, delay = false, isOpen, hide, children }) {
|
|
13
|
+
const childElement = useMemo(()=>/*#__PURE__*/ react.isValidElement(children) ? children : /*#__PURE__*/ jsx("span", {
|
|
14
|
+
children: children
|
|
15
|
+
}), [
|
|
16
|
+
children
|
|
17
|
+
]);
|
|
18
|
+
const childElementRef = useRef(childElement);
|
|
19
|
+
childElementRef.current = childElement;
|
|
20
|
+
const childRef = useRef(null);
|
|
21
|
+
const truncationDetection = useTruncationDetection(childRef);
|
|
22
|
+
const isTruncated = smartTooltip ? truncationDetection.isTruncated : true;
|
|
23
|
+
const [hoverOpen, setHoverOpen] = useState(false);
|
|
24
|
+
const setChildRef = useCallback((node)=>{
|
|
25
|
+
childRef.current = node;
|
|
26
|
+
const childRefProp = childElementRef.current.props.ref;
|
|
27
|
+
if ('function' == typeof childRefProp) childRefProp(node);
|
|
28
|
+
else if (childRefProp && 'object' == typeof childRefProp) childRefProp.current = node;
|
|
29
|
+
}, []);
|
|
30
|
+
const handleMouseEnter = useCallback((e)=>{
|
|
31
|
+
truncationDetection.check();
|
|
32
|
+
const childProps = childElementRef.current.props;
|
|
33
|
+
childProps.onMouseEnter?.(e);
|
|
34
|
+
}, [
|
|
35
|
+
truncationDetection.check
|
|
36
|
+
]);
|
|
37
|
+
const triggerWithSmartTooltipHandlers = useMemo(()=>/*#__PURE__*/ react.cloneElement(childElement, {
|
|
38
|
+
ref: setChildRef,
|
|
39
|
+
onMouseEnter: handleMouseEnter
|
|
40
|
+
}), [
|
|
41
|
+
childElement,
|
|
42
|
+
setChildRef,
|
|
43
|
+
handleMouseEnter
|
|
44
|
+
]);
|
|
45
|
+
const triggerWithHandlers = smartTooltip ? triggerWithSmartTooltipHandlers : childElement;
|
|
46
|
+
const handleOpenChange = useCallback((nextOpen)=>{
|
|
47
|
+
if (nextOpen && smartTooltip) truncationDetection.check();
|
|
48
|
+
setHoverOpen(nextOpen);
|
|
49
|
+
}, [
|
|
50
|
+
smartTooltip,
|
|
51
|
+
truncationDetection.check
|
|
52
|
+
]);
|
|
53
|
+
const isTooltipHidden = useMemo(()=>{
|
|
54
|
+
if (null != isOpen) return !isOpen;
|
|
55
|
+
if (null != hide) return hide;
|
|
56
|
+
if (smartTooltip && !isTruncated) return true;
|
|
57
|
+
return false;
|
|
58
|
+
}, [
|
|
59
|
+
isOpen,
|
|
60
|
+
hide,
|
|
61
|
+
smartTooltip,
|
|
62
|
+
isTruncated
|
|
63
|
+
]);
|
|
64
|
+
const effectiveOpen = isTooltipHidden ? false : isOpen ?? hoverOpen;
|
|
65
|
+
const hasProvider = useContext(HasTooltipProviderContext);
|
|
66
|
+
const tooltip = /*#__PURE__*/ jsxs(Tooltip, {
|
|
67
|
+
open: effectiveOpen,
|
|
68
|
+
onOpenChange: handleOpenChange,
|
|
69
|
+
delayDuration: delay ? 700 : 200,
|
|
70
|
+
children: [
|
|
71
|
+
/*#__PURE__*/ jsx(TooltipTrigger, {
|
|
72
|
+
asChild: true,
|
|
73
|
+
children: triggerWithHandlers
|
|
74
|
+
}),
|
|
75
|
+
/*#__PURE__*/ jsx(TooltipPortal, {
|
|
76
|
+
children: /*#__PURE__*/ jsx(TooltipContent, {
|
|
77
|
+
side: placement,
|
|
78
|
+
className: "max-w-xs break-words",
|
|
79
|
+
children: content
|
|
80
|
+
})
|
|
81
|
+
})
|
|
82
|
+
]
|
|
83
|
+
});
|
|
84
|
+
if (hasProvider) return tooltip;
|
|
85
|
+
return /*#__PURE__*/ jsx(TooltipProvider, {
|
|
86
|
+
delayDuration: 200,
|
|
87
|
+
skipDelayDuration: 100,
|
|
88
|
+
children: tooltip
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
export { CanvasTooltip, CanvasTooltipProviderMarker };
|
|
@@ -42,16 +42,17 @@ const apollo_core_namespaceObject = require("@uipath/apollo-core");
|
|
|
42
42
|
const index_cjs_namespaceObject = require("../../icons/index.cjs");
|
|
43
43
|
const external_layouts_index_cjs_namespaceObject = require("../../layouts/index.cjs");
|
|
44
44
|
const react_cjs_namespaceObject = require("../../xyflow/react.cjs");
|
|
45
|
-
const
|
|
45
|
+
const apollo_wind_namespaceObject = require("@uipath/apollo-wind");
|
|
46
46
|
const external_react_namespaceObject = require("react");
|
|
47
|
+
const NodeRegistryProvider_cjs_namespaceObject = require("../../core/NodeRegistryProvider.cjs");
|
|
47
48
|
const external_types_cjs_namespaceObject = require("../../types.cjs");
|
|
48
49
|
const d3_layout_cjs_namespaceObject = require("../../utils/coded-agents/d3-layout.cjs");
|
|
49
50
|
const mermaid_parser_cjs_namespaceObject = require("../../utils/coded-agents/mermaid-parser.cjs");
|
|
51
|
+
const icon_registry_cjs_namespaceObject = require("../../utils/icon-registry.cjs");
|
|
50
52
|
const external_BaseCanvas_index_cjs_namespaceObject = require("../BaseCanvas/index.cjs");
|
|
51
53
|
const BaseNode_cjs_namespaceObject = require("../BaseNode/BaseNode.cjs");
|
|
52
54
|
const BaseNodeConfigContext_cjs_namespaceObject = require("../BaseNode/BaseNodeConfigContext.cjs");
|
|
53
55
|
const external_CanvasPositionControls_cjs_namespaceObject = require("../CanvasPositionControls.cjs");
|
|
54
|
-
const NodeRegistryProvider_cjs_namespaceObject = require("../../core/NodeRegistryProvider.cjs");
|
|
55
56
|
const external_coded_agent_manifest_cjs_namespaceObject = require("./coded-agent.manifest.cjs");
|
|
56
57
|
const LAYOUT_SPACING = [
|
|
57
58
|
110,
|
|
@@ -138,18 +139,18 @@ const createCodedAgentNodeWrapper = (translations = external_types_cjs_namespace
|
|
|
138
139
|
nodeData.hasRunning
|
|
139
140
|
]);
|
|
140
141
|
const statusAdornment = (0, external_react_namespaceObject.useMemo)(()=>{
|
|
141
|
-
if (nodeData.hasError) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
142
|
-
|
|
143
|
-
size:
|
|
142
|
+
if (nodeData.hasError) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
143
|
+
icon: "circle-alert",
|
|
144
|
+
size: 16,
|
|
144
145
|
color: "var(--uix-canvas-error-icon)"
|
|
145
146
|
});
|
|
146
|
-
if (nodeData.hasSuccess && !nodeData.hasError) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
147
|
-
|
|
148
|
-
size:
|
|
147
|
+
if (nodeData.hasSuccess && !nodeData.hasError) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
148
|
+
icon: "circle-check",
|
|
149
|
+
size: 16,
|
|
149
150
|
color: "var(--uix-canvas-success-icon)"
|
|
150
151
|
});
|
|
151
|
-
if (nodeData.hasRunning && !nodeData.hasError && !nodeData.hasSuccess) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
152
|
-
size:
|
|
152
|
+
if (nodeData.hasRunning && !nodeData.hasError && !nodeData.hasSuccess) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(apollo_wind_namespaceObject.Spinner, {
|
|
153
|
+
size: "sm"
|
|
153
154
|
});
|
|
154
155
|
}, [
|
|
155
156
|
nodeData.hasError,
|
|
@@ -215,39 +216,39 @@ const CodedResourceNodeElement = /*#__PURE__*/ (0, external_react_namespaceObjec
|
|
|
215
216
|
]);
|
|
216
217
|
const resourceIcon = (0, external_react_namespaceObject.useMemo)(()=>{
|
|
217
218
|
const resourceType = nodeData.type || '';
|
|
218
|
-
if ('tool' === resourceType || label.includes('tool') || label.includes('function')) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
219
|
-
|
|
220
|
-
size:
|
|
219
|
+
if ('tool' === resourceType || label.includes('tool') || label.includes('function')) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
220
|
+
icon: "wrench",
|
|
221
|
+
size: 40
|
|
221
222
|
});
|
|
222
|
-
if ('context' === resourceType || label.includes('context') || label.includes('knowledge')) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
223
|
-
|
|
224
|
-
size:
|
|
223
|
+
if ('context' === resourceType || label.includes('context') || label.includes('knowledge')) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
224
|
+
icon: "network",
|
|
225
|
+
size: 40
|
|
225
226
|
});
|
|
226
|
-
if ('escalation' === resourceType || label.includes('escalation') || label.includes('human')) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
227
|
-
|
|
228
|
-
size:
|
|
227
|
+
if ('escalation' === resourceType || label.includes('escalation') || label.includes('human')) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
228
|
+
icon: "user",
|
|
229
|
+
size: 40
|
|
229
230
|
});
|
|
230
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
231
|
-
|
|
232
|
-
size:
|
|
231
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
232
|
+
icon: "message-circle",
|
|
233
|
+
size: 40
|
|
233
234
|
});
|
|
234
235
|
}, [
|
|
235
236
|
label,
|
|
236
237
|
nodeData.type
|
|
237
238
|
]);
|
|
238
239
|
const statusAdornment = (0, external_react_namespaceObject.useMemo)(()=>{
|
|
239
|
-
if (nodeData.hasError) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
240
|
-
|
|
241
|
-
size:
|
|
240
|
+
if (nodeData.hasError) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
241
|
+
icon: "circle-alert",
|
|
242
|
+
size: 16,
|
|
242
243
|
color: "var(--uix-canvas-error-icon)"
|
|
243
244
|
});
|
|
244
|
-
if (nodeData.hasSuccess && !nodeData.hasError) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
245
|
-
|
|
246
|
-
size:
|
|
245
|
+
if (nodeData.hasSuccess && !nodeData.hasError) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
246
|
+
icon: "circle-check",
|
|
247
|
+
size: 16,
|
|
247
248
|
color: "var(--uix-canvas-success-icon)"
|
|
248
249
|
});
|
|
249
|
-
if (nodeData.hasRunning && !nodeData.hasError && !nodeData.hasSuccess) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
250
|
-
size:
|
|
250
|
+
if (nodeData.hasRunning && !nodeData.hasError && !nodeData.hasSuccess) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(apollo_wind_namespaceObject.Spinner, {
|
|
251
|
+
size: "sm"
|
|
251
252
|
});
|
|
252
253
|
}, [
|
|
253
254
|
nodeData.hasError,
|
|
@@ -301,8 +302,8 @@ const CodedResourceNodeElement = /*#__PURE__*/ (0, external_react_namespaceObjec
|
|
|
301
302
|
})
|
|
302
303
|
}),
|
|
303
304
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(TextContainer, {
|
|
304
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
305
|
-
|
|
305
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
306
|
+
className: "text-foreground-muted",
|
|
306
307
|
children: nodeData.label
|
|
307
308
|
})
|
|
308
309
|
})
|
|
@@ -353,9 +354,8 @@ const CodedFlowNodeElement = /*#__PURE__*/ (0, external_react_namespaceObject.me
|
|
|
353
354
|
})
|
|
354
355
|
}),
|
|
355
356
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(TextContainer, {
|
|
356
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
357
|
-
|
|
358
|
-
color: "var(--uix-canvas-foreground-de-emp)",
|
|
357
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
358
|
+
className: "text-xs text-foreground-muted",
|
|
359
359
|
children: nodeData.label
|
|
360
360
|
})
|
|
361
361
|
})
|
|
@@ -467,8 +467,8 @@ const CodedAgentFlowInner = (props)=>{
|
|
|
467
467
|
reactFlowInstance
|
|
468
468
|
]);
|
|
469
469
|
if (parseError) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CenteredDiv, {
|
|
470
|
-
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(
|
|
471
|
-
|
|
470
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)("span", {
|
|
471
|
+
className: "text-error",
|
|
472
472
|
children: [
|
|
473
473
|
"Error: ",
|
|
474
474
|
parseError
|
|
@@ -476,16 +476,10 @@ const CodedAgentFlowInner = (props)=>{
|
|
|
476
476
|
})
|
|
477
477
|
});
|
|
478
478
|
if (isLoading) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CenteredDiv, {
|
|
479
|
-
children:
|
|
480
|
-
color: "var(--uix-canvas-foreground)",
|
|
481
|
-
children: "Loading..."
|
|
482
|
-
})
|
|
479
|
+
children: "Loading..."
|
|
483
480
|
});
|
|
484
481
|
if (0 === nodes.length) return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(CenteredDiv, {
|
|
485
|
-
children:
|
|
486
|
-
color: "var(--uix-canvas-foreground)",
|
|
487
|
-
children: agentNodeTranslations.noDataToDisplay
|
|
488
|
-
})
|
|
482
|
+
children: agentNodeTranslations.noDataToDisplay
|
|
489
483
|
});
|
|
490
484
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
491
485
|
style: {
|
|
@@ -514,9 +508,8 @@ const CodedAgentFlowInner = (props)=>{
|
|
|
514
508
|
w: 20,
|
|
515
509
|
h: 20
|
|
516
510
|
}),
|
|
517
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
518
|
-
|
|
519
|
-
color: "var(--uix-canvas-foreground)",
|
|
511
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
512
|
+
className: "text-xs font-bold",
|
|
520
513
|
children: "Coded Agent"
|
|
521
514
|
})
|
|
522
515
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodedAgentFlow.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/CodedAgent/CodedAgentFlow.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,EAEZ,KAAK,YAAY,EAMlB,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CodedAgentFlow.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/CodedAgent/CodedAgentFlow.tsx"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,EAEZ,KAAK,YAAY,EAMlB,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAC;AAElF,OAAO,EAAqB,KAAK,eAAe,EAAE,MAAM,oCAAoC,CAAC;AAG7F,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AAoUnD,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC,qBAAqB,CAAC,EAAE,0BAA0B,CAAC;IACnD,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,SAAS,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACrC,IAAI,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC;CAC5B;AAsJD,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,KAAG,YAQ3D,CAAC"}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import styled from "@emotion/styled";
|
|
3
|
-
import {
|
|
3
|
+
import { Spacing } from "@uipath/apollo-core";
|
|
4
4
|
import { AgentIcon, CodedAgentIcon } from "../../icons/index.js";
|
|
5
5
|
import { Row } from "../../layouts/index.js";
|
|
6
6
|
import { BaseEdge, Panel, Position, ReactFlowProvider, getSimpleBezierPath, useEdgesState, useNodesState, useReactFlow } from "../../xyflow/react.js";
|
|
7
|
-
import {
|
|
7
|
+
import { Spinner } from "@uipath/apollo-wind";
|
|
8
8
|
import { memo, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
9
|
+
import { NodeRegistryProvider } from "../../core/NodeRegistryProvider.js";
|
|
9
10
|
import { DefaultCanvasTranslations, DefaultCodedAgentNodeTranslations } from "../../types.js";
|
|
10
11
|
import { d3HierarchyLayout } from "../../utils/coded-agents/d3-layout.js";
|
|
11
12
|
import { mermaidToReactFlow } from "../../utils/coded-agents/mermaid-parser.js";
|
|
13
|
+
import { CanvasIcon } from "../../utils/icon-registry.js";
|
|
12
14
|
import { BaseCanvas } from "../BaseCanvas/index.js";
|
|
13
15
|
import { BaseNode } from "../BaseNode/BaseNode.js";
|
|
14
16
|
import { BaseNodeOverrideConfigProvider } from "../BaseNode/BaseNodeConfigContext.js";
|
|
15
17
|
import { CanvasPositionControls } from "../CanvasPositionControls.js";
|
|
16
|
-
import { NodeRegistryProvider } from "../../core/NodeRegistryProvider.js";
|
|
17
18
|
import { codedAgentManifest } from "./coded-agent.manifest.js";
|
|
18
19
|
const LAYOUT_SPACING = [
|
|
19
20
|
110,
|
|
@@ -100,18 +101,18 @@ const createCodedAgentNodeWrapper = (translations = DefaultCodedAgentNodeTransla
|
|
|
100
101
|
nodeData.hasRunning
|
|
101
102
|
]);
|
|
102
103
|
const statusAdornment = useMemo(()=>{
|
|
103
|
-
if (nodeData.hasError) return /*#__PURE__*/ jsx(
|
|
104
|
-
|
|
105
|
-
size:
|
|
104
|
+
if (nodeData.hasError) return /*#__PURE__*/ jsx(CanvasIcon, {
|
|
105
|
+
icon: "circle-alert",
|
|
106
|
+
size: 16,
|
|
106
107
|
color: "var(--uix-canvas-error-icon)"
|
|
107
108
|
});
|
|
108
|
-
if (nodeData.hasSuccess && !nodeData.hasError) return /*#__PURE__*/ jsx(
|
|
109
|
-
|
|
110
|
-
size:
|
|
109
|
+
if (nodeData.hasSuccess && !nodeData.hasError) return /*#__PURE__*/ jsx(CanvasIcon, {
|
|
110
|
+
icon: "circle-check",
|
|
111
|
+
size: 16,
|
|
111
112
|
color: "var(--uix-canvas-success-icon)"
|
|
112
113
|
});
|
|
113
|
-
if (nodeData.hasRunning && !nodeData.hasError && !nodeData.hasSuccess) return /*#__PURE__*/ jsx(
|
|
114
|
-
size:
|
|
114
|
+
if (nodeData.hasRunning && !nodeData.hasError && !nodeData.hasSuccess) return /*#__PURE__*/ jsx(Spinner, {
|
|
115
|
+
size: "sm"
|
|
115
116
|
});
|
|
116
117
|
}, [
|
|
117
118
|
nodeData.hasError,
|
|
@@ -177,39 +178,39 @@ const CodedResourceNodeElement = /*#__PURE__*/ memo(({ data, selected, id, ...no
|
|
|
177
178
|
]);
|
|
178
179
|
const resourceIcon = useMemo(()=>{
|
|
179
180
|
const resourceType = nodeData.type || '';
|
|
180
|
-
if ('tool' === resourceType || label.includes('tool') || label.includes('function')) return /*#__PURE__*/ jsx(
|
|
181
|
-
|
|
182
|
-
size:
|
|
181
|
+
if ('tool' === resourceType || label.includes('tool') || label.includes('function')) return /*#__PURE__*/ jsx(CanvasIcon, {
|
|
182
|
+
icon: "wrench",
|
|
183
|
+
size: 40
|
|
183
184
|
});
|
|
184
|
-
if ('context' === resourceType || label.includes('context') || label.includes('knowledge')) return /*#__PURE__*/ jsx(
|
|
185
|
-
|
|
186
|
-
size:
|
|
185
|
+
if ('context' === resourceType || label.includes('context') || label.includes('knowledge')) return /*#__PURE__*/ jsx(CanvasIcon, {
|
|
186
|
+
icon: "network",
|
|
187
|
+
size: 40
|
|
187
188
|
});
|
|
188
|
-
if ('escalation' === resourceType || label.includes('escalation') || label.includes('human')) return /*#__PURE__*/ jsx(
|
|
189
|
-
|
|
190
|
-
size:
|
|
189
|
+
if ('escalation' === resourceType || label.includes('escalation') || label.includes('human')) return /*#__PURE__*/ jsx(CanvasIcon, {
|
|
190
|
+
icon: "user",
|
|
191
|
+
size: 40
|
|
191
192
|
});
|
|
192
|
-
return /*#__PURE__*/ jsx(
|
|
193
|
-
|
|
194
|
-
size:
|
|
193
|
+
return /*#__PURE__*/ jsx(CanvasIcon, {
|
|
194
|
+
icon: "message-circle",
|
|
195
|
+
size: 40
|
|
195
196
|
});
|
|
196
197
|
}, [
|
|
197
198
|
label,
|
|
198
199
|
nodeData.type
|
|
199
200
|
]);
|
|
200
201
|
const statusAdornment = useMemo(()=>{
|
|
201
|
-
if (nodeData.hasError) return /*#__PURE__*/ jsx(
|
|
202
|
-
|
|
203
|
-
size:
|
|
202
|
+
if (nodeData.hasError) return /*#__PURE__*/ jsx(CanvasIcon, {
|
|
203
|
+
icon: "circle-alert",
|
|
204
|
+
size: 16,
|
|
204
205
|
color: "var(--uix-canvas-error-icon)"
|
|
205
206
|
});
|
|
206
|
-
if (nodeData.hasSuccess && !nodeData.hasError) return /*#__PURE__*/ jsx(
|
|
207
|
-
|
|
208
|
-
size:
|
|
207
|
+
if (nodeData.hasSuccess && !nodeData.hasError) return /*#__PURE__*/ jsx(CanvasIcon, {
|
|
208
|
+
icon: "circle-check",
|
|
209
|
+
size: 16,
|
|
209
210
|
color: "var(--uix-canvas-success-icon)"
|
|
210
211
|
});
|
|
211
|
-
if (nodeData.hasRunning && !nodeData.hasError && !nodeData.hasSuccess) return /*#__PURE__*/ jsx(
|
|
212
|
-
size:
|
|
212
|
+
if (nodeData.hasRunning && !nodeData.hasError && !nodeData.hasSuccess) return /*#__PURE__*/ jsx(Spinner, {
|
|
213
|
+
size: "sm"
|
|
213
214
|
});
|
|
214
215
|
}, [
|
|
215
216
|
nodeData.hasError,
|
|
@@ -263,8 +264,8 @@ const CodedResourceNodeElement = /*#__PURE__*/ memo(({ data, selected, id, ...no
|
|
|
263
264
|
})
|
|
264
265
|
}),
|
|
265
266
|
/*#__PURE__*/ jsx(TextContainer, {
|
|
266
|
-
children: /*#__PURE__*/ jsx(
|
|
267
|
-
|
|
267
|
+
children: /*#__PURE__*/ jsx("span", {
|
|
268
|
+
className: "text-foreground-muted",
|
|
268
269
|
children: nodeData.label
|
|
269
270
|
})
|
|
270
271
|
})
|
|
@@ -315,9 +316,8 @@ const CodedFlowNodeElement = /*#__PURE__*/ memo(({ data, selected, id, ...nodePr
|
|
|
315
316
|
})
|
|
316
317
|
}),
|
|
317
318
|
/*#__PURE__*/ jsx(TextContainer, {
|
|
318
|
-
children: /*#__PURE__*/ jsx(
|
|
319
|
-
|
|
320
|
-
color: "var(--uix-canvas-foreground-de-emp)",
|
|
319
|
+
children: /*#__PURE__*/ jsx("span", {
|
|
320
|
+
className: "text-xs text-foreground-muted",
|
|
321
321
|
children: nodeData.label
|
|
322
322
|
})
|
|
323
323
|
})
|
|
@@ -429,8 +429,8 @@ const CodedAgentFlowInner = (props)=>{
|
|
|
429
429
|
reactFlowInstance
|
|
430
430
|
]);
|
|
431
431
|
if (parseError) return /*#__PURE__*/ jsx(CenteredDiv, {
|
|
432
|
-
children: /*#__PURE__*/ jsxs(
|
|
433
|
-
|
|
432
|
+
children: /*#__PURE__*/ jsxs("span", {
|
|
433
|
+
className: "text-error",
|
|
434
434
|
children: [
|
|
435
435
|
"Error: ",
|
|
436
436
|
parseError
|
|
@@ -438,16 +438,10 @@ const CodedAgentFlowInner = (props)=>{
|
|
|
438
438
|
})
|
|
439
439
|
});
|
|
440
440
|
if (isLoading) return /*#__PURE__*/ jsx(CenteredDiv, {
|
|
441
|
-
children:
|
|
442
|
-
color: "var(--uix-canvas-foreground)",
|
|
443
|
-
children: "Loading..."
|
|
444
|
-
})
|
|
441
|
+
children: "Loading..."
|
|
445
442
|
});
|
|
446
443
|
if (0 === nodes.length) return /*#__PURE__*/ jsx(CenteredDiv, {
|
|
447
|
-
children:
|
|
448
|
-
color: "var(--uix-canvas-foreground)",
|
|
449
|
-
children: agentNodeTranslations.noDataToDisplay
|
|
450
|
-
})
|
|
444
|
+
children: agentNodeTranslations.noDataToDisplay
|
|
451
445
|
});
|
|
452
446
|
return /*#__PURE__*/ jsx("div", {
|
|
453
447
|
style: {
|
|
@@ -476,9 +470,8 @@ const CodedAgentFlowInner = (props)=>{
|
|
|
476
470
|
w: 20,
|
|
477
471
|
h: 20
|
|
478
472
|
}),
|
|
479
|
-
/*#__PURE__*/ jsx(
|
|
480
|
-
|
|
481
|
-
color: "var(--uix-canvas-foreground)",
|
|
473
|
+
/*#__PURE__*/ jsx("span", {
|
|
474
|
+
className: "text-xs font-bold",
|
|
482
475
|
children: "Coded Agent"
|
|
483
476
|
})
|
|
484
477
|
]
|
|
@@ -28,8 +28,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
28
|
getExecutionStatusColor: ()=>getExecutionStatusColor
|
|
29
29
|
});
|
|
30
30
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
|
-
const
|
|
31
|
+
const apollo_wind_namespaceObject = require("@uipath/apollo-wind");
|
|
32
32
|
const external_react_namespaceObject = require("react");
|
|
33
|
+
const icon_registry_cjs_namespaceObject = require("../../utils/icon-registry.cjs");
|
|
33
34
|
function getExecutionStatusColor(status) {
|
|
34
35
|
switch(status){
|
|
35
36
|
case 'NotExecuted':
|
|
@@ -74,53 +75,55 @@ function ExecutionStatusIcon({ status, size = 16 }) {
|
|
|
74
75
|
const color = getExecutionStatusColor(status);
|
|
75
76
|
switch(status){
|
|
76
77
|
case 'InProgress':
|
|
77
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
78
|
-
size:
|
|
78
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(apollo_wind_namespaceObject.Spinner, {
|
|
79
|
+
size: "sm",
|
|
79
80
|
style: {
|
|
80
|
-
backgroundColor: 'transparent'
|
|
81
|
+
backgroundColor: 'transparent',
|
|
82
|
+
width: size,
|
|
83
|
+
height: size
|
|
81
84
|
}
|
|
82
85
|
});
|
|
83
86
|
case 'Completed':
|
|
84
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
87
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
88
|
+
icon: "circle-check",
|
|
89
|
+
size: size,
|
|
90
|
+
color: color
|
|
88
91
|
});
|
|
89
92
|
case 'Paused':
|
|
90
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
94
|
+
icon: "circle-pause",
|
|
95
|
+
size: size,
|
|
96
|
+
color: color
|
|
94
97
|
});
|
|
95
98
|
case 'Warning':
|
|
96
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
100
|
+
icon: "triangle-alert",
|
|
101
|
+
size: size,
|
|
102
|
+
color: color
|
|
100
103
|
});
|
|
101
104
|
case 'Failed':
|
|
102
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
106
|
+
icon: "circle-alert",
|
|
107
|
+
size: size,
|
|
108
|
+
color: color
|
|
106
109
|
});
|
|
107
110
|
case 'Terminated':
|
|
108
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
112
|
+
icon: "circle-x",
|
|
113
|
+
size: size,
|
|
114
|
+
color: color
|
|
112
115
|
});
|
|
113
116
|
case 'Cancelled':
|
|
114
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
117
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
118
|
+
icon: "circle-stop",
|
|
119
|
+
size: size,
|
|
120
|
+
color: color
|
|
118
121
|
});
|
|
119
122
|
case 'NotExecuted':
|
|
120
|
-
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
123
|
+
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(icon_registry_cjs_namespaceObject.CanvasIcon, {
|
|
124
|
+
icon: "circle-dashed",
|
|
125
|
+
size: size,
|
|
126
|
+
color: color
|
|
124
127
|
});
|
|
125
128
|
default:
|
|
126
129
|
return null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExecutionStatusIcon.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ExecutionStatusIcon.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/ExecutionStatusIcon/ExecutionStatusIcon.tsx"],"names":[],"mappings":"AAIA,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAsC1E;AAED,wBAAgB,mBAAmB,CAAC,EAClC,MAAM,EACN,IAAS,GACV,EAAE;IACD,MAAM,CAAC,EACH,YAAY,GACZ,WAAW,GACX,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,SAAS,GACT,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,kDA8BA"}
|