@uipath/apollo-react 6.1.0 → 6.3.0
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/JsonTree/DecorationChip.cjs +81 -0
- package/dist/canvas/components/JsonTree/DecorationChip.d.ts +5 -0
- package/dist/canvas/components/JsonTree/DecorationChip.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/DecorationChip.js +47 -0
- package/dist/canvas/components/JsonTree/EditorChrome.cjs +93 -0
- package/dist/canvas/components/JsonTree/EditorChrome.d.ts +18 -0
- package/dist/canvas/components/JsonTree/EditorChrome.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/EditorChrome.js +56 -0
- package/dist/canvas/components/JsonTree/JsonContainerEditor.cjs +104 -0
- package/dist/canvas/components/JsonTree/JsonContainerEditor.d.ts +10 -0
- package/dist/canvas/components/JsonTree/JsonContainerEditor.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/JsonContainerEditor.js +70 -0
- package/dist/canvas/components/JsonTree/JsonLeafValueEditor.cjs +98 -0
- package/dist/canvas/components/JsonTree/JsonLeafValueEditor.d.ts +9 -0
- package/dist/canvas/components/JsonTree/JsonLeafValueEditor.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/JsonLeafValueEditor.js +64 -0
- package/dist/canvas/components/JsonTree/JsonMultilineLeafEditor.cjs +86 -0
- package/dist/canvas/components/JsonTree/JsonMultilineLeafEditor.d.ts +9 -0
- package/dist/canvas/components/JsonTree/JsonMultilineLeafEditor.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/JsonMultilineLeafEditor.js +52 -0
- package/dist/canvas/components/JsonTree/JsonTree.cjs +165 -0
- package/dist/canvas/components/JsonTree/JsonTree.d.ts +23 -0
- package/dist/canvas/components/JsonTree/JsonTree.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/JsonTree.js +131 -0
- package/dist/canvas/components/JsonTree/JsonTree.types.cjs +18 -0
- package/dist/canvas/components/JsonTree/JsonTree.types.d.ts +110 -0
- package/dist/canvas/components/JsonTree/JsonTree.types.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/JsonTree.types.js +0 -0
- package/dist/canvas/components/JsonTree/JsonTreeRow.cjs +358 -0
- package/dist/canvas/components/JsonTree/JsonTreeRow.d.ts +35 -0
- package/dist/canvas/components/JsonTree/JsonTreeRow.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/JsonTreeRow.js +321 -0
- package/dist/canvas/components/JsonTree/JsonTreeToolbar.cjs +224 -0
- package/dist/canvas/components/JsonTree/JsonTreeToolbar.d.ts +17 -0
- package/dist/canvas/components/JsonTree/JsonTreeToolbar.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/JsonTreeToolbar.js +190 -0
- package/dist/canvas/components/JsonTree/JsonTypeBadge.cjs +70 -0
- package/dist/canvas/components/JsonTree/JsonTypeBadge.d.ts +10 -0
- package/dist/canvas/components/JsonTree/JsonTypeBadge.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/JsonTypeBadge.js +36 -0
- package/dist/canvas/components/JsonTree/NodeKey.cjs +86 -0
- package/dist/canvas/components/JsonTree/NodeKey.d.ts +10 -0
- package/dist/canvas/components/JsonTree/NodeKey.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/NodeKey.js +52 -0
- package/dist/canvas/components/JsonTree/RowActions.cjs +114 -0
- package/dist/canvas/components/JsonTree/RowActions.d.ts +8 -0
- package/dist/canvas/components/JsonTree/RowActions.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/RowActions.js +80 -0
- package/dist/canvas/components/JsonTree/ScalarValueCell.cjs +132 -0
- package/dist/canvas/components/JsonTree/ScalarValueCell.d.ts +12 -0
- package/dist/canvas/components/JsonTree/ScalarValueCell.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/ScalarValueCell.js +95 -0
- package/dist/canvas/components/JsonTree/buildJsonTree.cjs +321 -0
- package/dist/canvas/components/JsonTree/buildJsonTree.d.ts +37 -0
- package/dist/canvas/components/JsonTree/buildJsonTree.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/buildJsonTree.js +254 -0
- package/dist/canvas/components/JsonTree/clipboard.cjs +63 -0
- package/dist/canvas/components/JsonTree/clipboard.d.ts +2 -0
- package/dist/canvas/components/JsonTree/clipboard.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/clipboard.js +29 -0
- package/dist/canvas/components/JsonTree/index.cjs +114 -0
- package/dist/canvas/components/JsonTree/index.d.ts +10 -0
- package/dist/canvas/components/JsonTree/index.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/index.js +9 -0
- package/dist/canvas/components/JsonTree/leafEditTypes.cjs +74 -0
- package/dist/canvas/components/JsonTree/leafEditTypes.d.ts +6 -0
- package/dist/canvas/components/JsonTree/leafEditTypes.d.ts.map +1 -0
- package/dist/canvas/components/JsonTree/leafEditTypes.js +34 -0
- package/dist/canvas/components/NodeIOView/NodeIOView.cjs +254 -0
- package/dist/canvas/components/NodeIOView/NodeIOView.d.ts +3 -0
- package/dist/canvas/components/NodeIOView/NodeIOView.d.ts.map +1 -0
- package/dist/canvas/components/NodeIOView/NodeIOView.js +220 -0
- package/dist/canvas/components/NodeIOView/NodeIOView.types.cjs +18 -0
- package/dist/canvas/components/NodeIOView/NodeIOView.types.d.ts +38 -0
- package/dist/canvas/components/NodeIOView/NodeIOView.types.d.ts.map +1 -0
- package/dist/canvas/components/NodeIOView/NodeIOView.types.js +0 -0
- package/dist/canvas/components/NodeIOView/PanelTitleBar.cjs +78 -0
- package/dist/canvas/components/NodeIOView/PanelTitleBar.d.ts +10 -0
- package/dist/canvas/components/NodeIOView/PanelTitleBar.d.ts.map +1 -0
- package/dist/canvas/components/NodeIOView/PanelTitleBar.js +44 -0
- package/dist/canvas/components/NodeIOView/index.cjs +72 -0
- package/dist/canvas/components/NodeIOView/index.d.ts +4 -0
- package/dist/canvas/components/NodeIOView/index.d.ts.map +1 -0
- package/dist/canvas/components/NodeIOView/index.js +3 -0
- package/dist/canvas/components/StageNode/StageNode.types.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/TaskContent.cjs +127 -148
- package/dist/canvas/components/StageNode/TaskContent.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/TaskContent.js +131 -152
- package/dist/canvas/components/index.cjs +62 -48
- package/dist/canvas/components/index.d.ts +4 -2
- package/dist/canvas/components/index.d.ts.map +1 -1
- package/dist/canvas/components/index.js +4 -2
- package/dist/canvas/controls/NodeOutputModeSelect/NodeOutputModeSelect.cjs +184 -0
- package/dist/canvas/controls/NodeOutputModeSelect/NodeOutputModeSelect.d.ts +18 -0
- package/dist/canvas/controls/NodeOutputModeSelect/NodeOutputModeSelect.d.ts.map +1 -0
- package/dist/canvas/controls/NodeOutputModeSelect/NodeOutputModeSelect.js +144 -0
- package/dist/canvas/controls/NodeOutputModeSelect/index.cjs +42 -0
- package/dist/canvas/controls/NodeOutputModeSelect/index.d.ts +2 -0
- package/dist/canvas/controls/NodeOutputModeSelect/index.d.ts.map +1 -0
- package/dist/canvas/controls/NodeOutputModeSelect/index.js +2 -0
- package/dist/canvas/controls/index.cjs +14 -4
- package/dist/canvas/controls/index.d.ts +1 -0
- package/dist/canvas/controls/index.d.ts.map +1 -1
- package/dist/canvas/controls/index.js +2 -1
- package/dist/canvas/locales/en.cjs +1 -1
- package/dist/canvas/locales/en.d.ts.map +1 -1
- package/dist/canvas/locales/en.js +1 -1
- package/dist/canvas/styles/tailwind.canvas.css +1 -1
- package/dist/i18n/useSafeLingui.cjs +21 -4
- package/dist/i18n/useSafeLingui.d.ts.map +1 -1
- package/dist/i18n/useSafeLingui.js +21 -4
- package/package.json +2 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Spacing } from "@uipath/apollo-core";
|
|
3
|
+
import { Row } from "../../layouts/index.js";
|
|
4
4
|
import { Badge, Button, Spinner } from "@uipath/apollo-wind";
|
|
5
5
|
import debounce from "debounce";
|
|
6
|
-
import { CirclePlay } from "lucide-react";
|
|
6
|
+
import { CirclePlay, Redo2, RotateCcw } from "lucide-react";
|
|
7
7
|
import { memo, useCallback, useMemo, useState } from "react";
|
|
8
8
|
import { useSafeLingui } from "../../../i18n/index.js";
|
|
9
9
|
import { CanvasTooltip } from "../CanvasTooltip.js";
|
|
10
10
|
import { ExecutionStatusIcon } from "../ExecutionStatusIcon/index.js";
|
|
11
|
-
import { StageTaskIcon
|
|
11
|
+
import { StageTaskIcon } from "./StageNode.styles.js";
|
|
12
12
|
import { StageTaskEntryConditionIcon } from "./StageTaskEntryConditionIcon.js";
|
|
13
13
|
import { useExecutionStatusLabel } from "./useExecutionStatusLabel.js";
|
|
14
14
|
const ProcessCanvasIcon = ()=>/*#__PURE__*/ jsxs("svg", {
|
|
@@ -47,7 +47,7 @@ const ProcessCanvasIcon = ()=>/*#__PURE__*/ jsxs("svg", {
|
|
|
47
47
|
})
|
|
48
48
|
]
|
|
49
49
|
});
|
|
50
|
-
const TaskPlayButton = /*#__PURE__*/ memo(({ taskId, onTaskPlay
|
|
50
|
+
const TaskPlayButton = /*#__PURE__*/ memo(({ taskId, onTaskPlay })=>{
|
|
51
51
|
const [playLoading, setPlayLoading] = useState(false);
|
|
52
52
|
const { _ } = useSafeLingui();
|
|
53
53
|
const triggerTaskLabel = _({
|
|
@@ -85,7 +85,7 @@ const TaskPlayButton = /*#__PURE__*/ memo(({ taskId, onTaskPlay, small })=>{
|
|
|
85
85
|
onMouseDown: (e)=>e.stopPropagation(),
|
|
86
86
|
onKeyDown: (e)=>e.stopPropagation(),
|
|
87
87
|
"aria-label": triggerTaskLabel,
|
|
88
|
-
className:
|
|
88
|
+
className: "task-menu-icon-button h-4 w-4 rounded-sm",
|
|
89
89
|
style: {
|
|
90
90
|
color: 'var(--canvas-icon-default)',
|
|
91
91
|
minWidth: 'unset',
|
|
@@ -101,174 +101,153 @@ const TaskContent = /*#__PURE__*/ memo(({ task, taskExecution, isDragging, onTas
|
|
|
101
101
|
const { _ } = useSafeLingui();
|
|
102
102
|
const getStatusName = useExecutionStatusLabel();
|
|
103
103
|
const hasExecutionStatus = !!taskExecution?.status;
|
|
104
|
-
const
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
count: taskExecution.retryCount
|
|
116
|
-
}
|
|
117
|
-
});
|
|
104
|
+
const retries = taskExecution?.retryCount ?? 0;
|
|
105
|
+
const hasRuns = retries > 0;
|
|
106
|
+
const totalRuns = retries + 1;
|
|
107
|
+
const runsTooltip = taskExecution?.status === 'InProgress' ? _({
|
|
108
|
+
id: 'stage-node.task-badge.running-again',
|
|
109
|
+
message: 'Running again'
|
|
110
|
+
}) : _({
|
|
111
|
+
id: 'stage-node.task-badge.ran-n-times',
|
|
112
|
+
message: '{count, plural, one {Ran # time} other {Ran # times}}',
|
|
113
|
+
values: {
|
|
114
|
+
count: totalRuns
|
|
118
115
|
}
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
116
|
+
});
|
|
117
|
+
const hasRework = !!taskExecution?.retryDuration;
|
|
118
|
+
const reworkTooltip = _({
|
|
119
|
+
id: 'stage-node.task-badge.rework-time',
|
|
120
|
+
message: 'Reworked (+{duration})',
|
|
121
|
+
values: {
|
|
122
|
+
duration: taskExecution?.retryDuration ?? ''
|
|
123
|
+
}
|
|
124
|
+
});
|
|
128
125
|
const taskStatusFallbackName = hasExecutionStatus ? getStatusName(taskExecution?.status) : '';
|
|
129
126
|
const taskStatusTooltip = taskExecution?.message || taskStatusFallbackName;
|
|
130
|
-
const
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
return /*#__PURE__*/ jsxs(Column, {
|
|
127
|
+
const showRequiredMarker = task.isRequired && !task.isAdhoc && 'adhoc' !== task.taskGroupType;
|
|
128
|
+
const durationLabel = taskExecution?.duration ? /*#__PURE__*/ jsx("span", {
|
|
129
|
+
className: "text-xs text-foreground-muted",
|
|
130
|
+
children: taskExecution.duration
|
|
131
|
+
}) : null;
|
|
132
|
+
return /*#__PURE__*/ jsxs(Row, {
|
|
137
133
|
flex: 1,
|
|
134
|
+
align: "center",
|
|
135
|
+
justify: "space-between",
|
|
136
|
+
gap: Spacing.SpacingXs,
|
|
138
137
|
style: {
|
|
139
|
-
overflow: 'hidden'
|
|
140
|
-
textOverflow: 'ellipsis',
|
|
141
|
-
whiteSpace: 'nowrap'
|
|
138
|
+
overflow: 'hidden'
|
|
142
139
|
},
|
|
143
|
-
gap: Padding.PadXs,
|
|
144
140
|
children: [
|
|
145
141
|
/*#__PURE__*/ jsxs(Row, {
|
|
146
|
-
align: "center",
|
|
147
|
-
justify: "space-between",
|
|
148
142
|
gap: Spacing.SpacingXs,
|
|
143
|
+
align: "center",
|
|
144
|
+
style: {
|
|
145
|
+
overflow: 'hidden',
|
|
146
|
+
textOverflow: 'ellipsis',
|
|
147
|
+
whiteSpace: 'nowrap'
|
|
148
|
+
},
|
|
149
149
|
children: [
|
|
150
|
-
/*#__PURE__*/
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
150
|
+
/*#__PURE__*/ jsx(StageTaskIcon, {
|
|
151
|
+
children: task.icon ?? /*#__PURE__*/ jsx(ProcessCanvasIcon, {})
|
|
152
|
+
}),
|
|
153
|
+
/*#__PURE__*/ jsx(CanvasTooltip, {
|
|
154
|
+
content: task.label,
|
|
155
|
+
placement: "top",
|
|
156
|
+
smartTooltip: true,
|
|
157
|
+
...isDragging && {
|
|
158
|
+
isOpen: false
|
|
157
159
|
},
|
|
158
|
-
children:
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
children: /*#__PURE__*/ jsxs(Row, {
|
|
170
|
-
gap: '2px',
|
|
171
|
-
align: "center",
|
|
160
|
+
children: /*#__PURE__*/ jsxs(Row, {
|
|
161
|
+
gap: '2px',
|
|
162
|
+
align: "center",
|
|
163
|
+
style: {
|
|
164
|
+
overflow: 'hidden',
|
|
165
|
+
textOverflow: 'ellipsis',
|
|
166
|
+
whiteSpace: 'nowrap'
|
|
167
|
+
},
|
|
168
|
+
children: [
|
|
169
|
+
/*#__PURE__*/ jsx("span", {
|
|
170
|
+
className: "text-sm truncate",
|
|
172
171
|
style: {
|
|
173
|
-
|
|
174
|
-
textOverflow: 'ellipsis',
|
|
175
|
-
whiteSpace: 'nowrap'
|
|
172
|
+
minWidth: 0
|
|
176
173
|
},
|
|
177
|
-
children:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
task.isRequired && /*#__PURE__*/ jsx("span", {
|
|
186
|
-
className: "text-sm",
|
|
187
|
-
style: {
|
|
188
|
-
flexShrink: 0
|
|
189
|
-
},
|
|
190
|
-
children: '*'
|
|
191
|
-
})
|
|
192
|
-
]
|
|
193
|
-
})
|
|
194
|
-
})
|
|
195
|
-
]
|
|
196
|
-
}),
|
|
197
|
-
/*#__PURE__*/ jsxs(Row, {
|
|
198
|
-
align: "center",
|
|
199
|
-
gap: Spacing.SpacingXs,
|
|
200
|
-
style: {
|
|
201
|
-
flexShrink: 0
|
|
202
|
-
},
|
|
203
|
-
children: [
|
|
204
|
-
hasExecutionStatus && /*#__PURE__*/ jsx(CanvasTooltip, {
|
|
205
|
-
content: taskStatusTooltip,
|
|
206
|
-
placement: "top",
|
|
207
|
-
children: /*#__PURE__*/ jsx(Button, {
|
|
208
|
-
variant: "ghost",
|
|
209
|
-
size: "icon",
|
|
210
|
-
className: "h-4 w-4 rounded-sm",
|
|
211
|
-
"aria-label": taskStatusTooltip,
|
|
212
|
-
children: /*#__PURE__*/ jsx(ExecutionStatusIcon, {
|
|
213
|
-
status: taskExecution.status
|
|
214
|
-
})
|
|
174
|
+
children: task.label
|
|
175
|
+
}),
|
|
176
|
+
showRequiredMarker && /*#__PURE__*/ jsx("span", {
|
|
177
|
+
className: "text-sm",
|
|
178
|
+
style: {
|
|
179
|
+
flexShrink: 0
|
|
180
|
+
},
|
|
181
|
+
children: '*'
|
|
215
182
|
})
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
task: task
|
|
219
|
-
}),
|
|
220
|
-
showTaskPlayButton && !hasSecondRowContent && /*#__PURE__*/ jsx(TaskPlayButton, {
|
|
221
|
-
taskId: task.id,
|
|
222
|
-
onTaskPlay: onTaskPlay
|
|
223
|
-
}),
|
|
224
|
-
onTaskPlay && !hasExecutionStatus && /*#__PURE__*/ jsx(TaskPlayButton, {
|
|
225
|
-
taskId: task.id,
|
|
226
|
-
onTaskPlay: onTaskPlay
|
|
227
|
-
})
|
|
228
|
-
]
|
|
183
|
+
]
|
|
184
|
+
})
|
|
229
185
|
})
|
|
230
186
|
]
|
|
231
187
|
}),
|
|
232
|
-
|
|
188
|
+
/*#__PURE__*/ jsxs(Row, {
|
|
233
189
|
align: "center",
|
|
234
|
-
|
|
190
|
+
gap: Spacing.SpacingMicro,
|
|
191
|
+
style: {
|
|
192
|
+
flexShrink: 0
|
|
193
|
+
},
|
|
235
194
|
children: [
|
|
236
|
-
/*#__PURE__*/
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
195
|
+
durationLabel && (taskExecution?.durationTooltip ? /*#__PURE__*/ jsx(CanvasTooltip, {
|
|
196
|
+
content: taskExecution.durationTooltip,
|
|
197
|
+
placement: "top",
|
|
198
|
+
hide: isDragging,
|
|
199
|
+
children: durationLabel
|
|
200
|
+
}) : durationLabel),
|
|
201
|
+
hasRuns && /*#__PURE__*/ jsx(CanvasTooltip, {
|
|
202
|
+
content: runsTooltip,
|
|
203
|
+
placement: "top",
|
|
204
|
+
hide: isDragging,
|
|
205
|
+
children: /*#__PURE__*/ jsxs(Badge, {
|
|
206
|
+
variant: "warning",
|
|
207
|
+
role: "img",
|
|
208
|
+
"aria-label": runsTooltip,
|
|
209
|
+
className: "h-[14px] gap-px rounded-full px-1 py-0 text-[11px] leading-none [&>svg]:size-3",
|
|
210
|
+
children: [
|
|
211
|
+
/*#__PURE__*/ jsx(Redo2, {
|
|
212
|
+
"aria-hidden": true
|
|
213
|
+
}),
|
|
214
|
+
totalRuns
|
|
215
|
+
]
|
|
216
|
+
})
|
|
217
|
+
}),
|
|
218
|
+
hasRework && /*#__PURE__*/ jsx(CanvasTooltip, {
|
|
219
|
+
content: reworkTooltip,
|
|
220
|
+
placement: "top",
|
|
221
|
+
hide: isDragging,
|
|
222
|
+
children: /*#__PURE__*/ jsx(Badge, {
|
|
223
|
+
variant: "warning",
|
|
224
|
+
role: "img",
|
|
225
|
+
"aria-label": reworkTooltip,
|
|
226
|
+
className: "h-[14px] rounded-full px-1 py-0 [&>svg]:size-3",
|
|
227
|
+
children: /*#__PURE__*/ jsx(RotateCcw, {
|
|
228
|
+
"aria-hidden": true
|
|
251
229
|
})
|
|
252
|
-
|
|
230
|
+
})
|
|
253
231
|
}),
|
|
254
|
-
/*#__PURE__*/
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
taskId: task.id,
|
|
268
|
-
onTaskPlay: onTaskPlay,
|
|
269
|
-
small: true
|
|
232
|
+
/*#__PURE__*/ jsx(StageTaskEntryConditionIcon, {
|
|
233
|
+
task: task
|
|
234
|
+
}),
|
|
235
|
+
hasExecutionStatus && /*#__PURE__*/ jsx(CanvasTooltip, {
|
|
236
|
+
content: taskStatusTooltip,
|
|
237
|
+
placement: "top",
|
|
238
|
+
children: /*#__PURE__*/ jsx(Button, {
|
|
239
|
+
variant: "ghost",
|
|
240
|
+
size: "icon",
|
|
241
|
+
className: "h-4 w-4 rounded-sm",
|
|
242
|
+
"aria-label": taskStatusTooltip,
|
|
243
|
+
children: /*#__PURE__*/ jsx(ExecutionStatusIcon, {
|
|
244
|
+
status: taskExecution.status
|
|
270
245
|
})
|
|
271
|
-
|
|
246
|
+
})
|
|
247
|
+
}),
|
|
248
|
+
onTaskPlay && /*#__PURE__*/ jsx(TaskPlayButton, {
|
|
249
|
+
taskId: task.id,
|
|
250
|
+
onTaskPlay: onTaskPlay
|
|
272
251
|
})
|
|
273
252
|
]
|
|
274
253
|
})
|
|
@@ -45,6 +45,9 @@ var __webpack_modules__ = {
|
|
|
45
45
|
"./HierarchicalCanvas" (module) {
|
|
46
46
|
module.exports = require("./HierarchicalCanvas/index.cjs");
|
|
47
47
|
},
|
|
48
|
+
"./JsonTree?257f" (module) {
|
|
49
|
+
module.exports = require("./JsonTree/index.cjs");
|
|
50
|
+
},
|
|
48
51
|
"./LoopNode?4ffc" (module) {
|
|
49
52
|
module.exports = require("./LoopNode/index.cjs");
|
|
50
53
|
},
|
|
@@ -54,6 +57,9 @@ var __webpack_modules__ = {
|
|
|
54
57
|
"./NodeContextMenu" (module) {
|
|
55
58
|
module.exports = require("./NodeContextMenu/index.cjs");
|
|
56
59
|
},
|
|
60
|
+
"./NodeIOView?1e59" (module) {
|
|
61
|
+
module.exports = require("./NodeIOView/index.cjs");
|
|
62
|
+
},
|
|
57
63
|
"./NodeInspector" (module) {
|
|
58
64
|
module.exports = require("./NodeInspector.cjs");
|
|
59
65
|
},
|
|
@@ -135,65 +141,65 @@ var __webpack_exports__ = {};
|
|
|
135
141
|
var __rspack_reexport = {};
|
|
136
142
|
for(const __rspack_import_key in _AddNodePanel__rspack_import_0)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_AddNodePanel__rspack_import_0[__rspack_import_key];
|
|
137
143
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
138
|
-
var
|
|
144
|
+
var _AgentCanvas__rspack_import_1 = __webpack_require__("./AgentCanvas");
|
|
139
145
|
var __rspack_reexport = {};
|
|
140
|
-
for(const __rspack_import_key in
|
|
146
|
+
for(const __rspack_import_key in _AgentCanvas__rspack_import_1)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_AgentCanvas__rspack_import_1[__rspack_import_key];
|
|
141
147
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
142
|
-
var
|
|
148
|
+
var _BaseCanvas__rspack_import_2 = __webpack_require__("./BaseCanvas?cd45");
|
|
143
149
|
var __rspack_reexport = {};
|
|
144
|
-
for(const __rspack_import_key in
|
|
150
|
+
for(const __rspack_import_key in _BaseCanvas__rspack_import_2)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_BaseCanvas__rspack_import_2[__rspack_import_key];
|
|
145
151
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
146
|
-
var
|
|
152
|
+
var _BaseNode__rspack_import_3 = __webpack_require__("./BaseNode?fbba");
|
|
147
153
|
var __rspack_reexport = {};
|
|
148
|
-
for(const __rspack_import_key in
|
|
154
|
+
for(const __rspack_import_key in _BaseNode__rspack_import_3)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_BaseNode__rspack_import_3[__rspack_import_key];
|
|
149
155
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
150
|
-
var
|
|
156
|
+
var _ButtonHandle__rspack_import_4 = __webpack_require__("./ButtonHandle?f877");
|
|
151
157
|
var __rspack_reexport = {};
|
|
152
|
-
for(const __rspack_import_key in
|
|
158
|
+
for(const __rspack_import_key in _ButtonHandle__rspack_import_4)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_ButtonHandle__rspack_import_4[__rspack_import_key];
|
|
153
159
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
154
|
-
var
|
|
160
|
+
var _CanvasModeToolbar__rspack_import_5 = __webpack_require__("./CanvasModeToolbar");
|
|
155
161
|
var __rspack_reexport = {};
|
|
156
|
-
for(const __rspack_import_key in
|
|
162
|
+
for(const __rspack_import_key in _CanvasModeToolbar__rspack_import_5)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_CanvasModeToolbar__rspack_import_5[__rspack_import_key];
|
|
157
163
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
158
|
-
var
|
|
164
|
+
var _CanvasPositionControls__rspack_import_6 = __webpack_require__("./CanvasPositionControls");
|
|
159
165
|
var __rspack_reexport = {};
|
|
160
|
-
for(const __rspack_import_key in
|
|
166
|
+
for(const __rspack_import_key in _CanvasPositionControls__rspack_import_6)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_CanvasPositionControls__rspack_import_6[__rspack_import_key];
|
|
161
167
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
162
|
-
var
|
|
168
|
+
var _CanvasZoomControls__rspack_import_7 = __webpack_require__("./CanvasZoomControls");
|
|
163
169
|
var __rspack_reexport = {};
|
|
164
|
-
for(const __rspack_import_key in
|
|
170
|
+
for(const __rspack_import_key in _CanvasZoomControls__rspack_import_7)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_CanvasZoomControls__rspack_import_7[__rspack_import_key];
|
|
165
171
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
166
|
-
var
|
|
172
|
+
var _CaseFlow__rspack_import_8 = __webpack_require__("./CaseFlow");
|
|
167
173
|
var __rspack_reexport = {};
|
|
168
|
-
for(const __rspack_import_key in
|
|
174
|
+
for(const __rspack_import_key in _CaseFlow__rspack_import_8)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_CaseFlow__rspack_import_8[__rspack_import_key];
|
|
169
175
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
170
|
-
var
|
|
176
|
+
var _CodedAgent__rspack_import_9 = __webpack_require__("./CodedAgent");
|
|
171
177
|
var __rspack_reexport = {};
|
|
172
|
-
for(const __rspack_import_key in
|
|
178
|
+
for(const __rspack_import_key in _CodedAgent__rspack_import_9)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_CodedAgent__rspack_import_9[__rspack_import_key];
|
|
173
179
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
174
|
-
var
|
|
180
|
+
var _Edges__rspack_import_10 = __webpack_require__("./Edges");
|
|
175
181
|
var __rspack_reexport = {};
|
|
176
|
-
for(const __rspack_import_key in
|
|
182
|
+
for(const __rspack_import_key in _Edges__rspack_import_10)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_Edges__rspack_import_10[__rspack_import_key];
|
|
177
183
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
178
|
-
var
|
|
184
|
+
var _ExecutionStatusIcon__rspack_import_11 = __webpack_require__("./ExecutionStatusIcon");
|
|
179
185
|
var __rspack_reexport = {};
|
|
180
|
-
for(const __rspack_import_key in
|
|
186
|
+
for(const __rspack_import_key in _ExecutionStatusIcon__rspack_import_11)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_ExecutionStatusIcon__rspack_import_11[__rspack_import_key];
|
|
181
187
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
182
|
-
var
|
|
188
|
+
var _FloatingCanvasPanel__rspack_import_12 = __webpack_require__("./FloatingCanvasPanel");
|
|
183
189
|
var __rspack_reexport = {};
|
|
184
|
-
for(const __rspack_import_key in
|
|
190
|
+
for(const __rspack_import_key in _FloatingCanvasPanel__rspack_import_12)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_FloatingCanvasPanel__rspack_import_12[__rspack_import_key];
|
|
185
191
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
186
|
-
var
|
|
192
|
+
var _GroupNode__rspack_import_13 = __webpack_require__("./GroupNode");
|
|
187
193
|
var __rspack_reexport = {};
|
|
188
|
-
for(const __rspack_import_key in
|
|
194
|
+
for(const __rspack_import_key in _GroupNode__rspack_import_13)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_GroupNode__rspack_import_13[__rspack_import_key];
|
|
189
195
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
190
|
-
var
|
|
196
|
+
var _HierarchicalCanvas__rspack_import_14 = __webpack_require__("./HierarchicalCanvas");
|
|
191
197
|
var __rspack_reexport = {};
|
|
192
|
-
for(const __rspack_import_key in
|
|
198
|
+
for(const __rspack_import_key in _HierarchicalCanvas__rspack_import_14)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_HierarchicalCanvas__rspack_import_14[__rspack_import_key];
|
|
193
199
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
194
|
-
var
|
|
200
|
+
var _JsonTree__rspack_import_15 = __webpack_require__("./JsonTree?257f");
|
|
195
201
|
var __rspack_reexport = {};
|
|
196
|
-
for(const __rspack_import_key in
|
|
202
|
+
for(const __rspack_import_key in _JsonTree__rspack_import_15)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_JsonTree__rspack_import_15[__rspack_import_key];
|
|
197
203
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
198
204
|
var _LoopNode__rspack_import_16 = __webpack_require__("./LoopNode?4ffc");
|
|
199
205
|
var __rspack_reexport = {};
|
|
@@ -211,41 +217,49 @@ var __webpack_exports__ = {};
|
|
|
211
217
|
var __rspack_reexport = {};
|
|
212
218
|
for(const __rspack_import_key in _NodeInspector__rspack_import_19)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_NodeInspector__rspack_import_19[__rspack_import_key];
|
|
213
219
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
214
|
-
var
|
|
220
|
+
var _NodeIOView__rspack_import_20 = __webpack_require__("./NodeIOView?1e59");
|
|
221
|
+
var __rspack_reexport = {};
|
|
222
|
+
for(const __rspack_import_key in _NodeIOView__rspack_import_20)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_NodeIOView__rspack_import_20[__rspack_import_key];
|
|
223
|
+
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
224
|
+
var _NodePropertiesPanel__rspack_import_21 = __webpack_require__("./NodePropertiesPanel");
|
|
225
|
+
var __rspack_reexport = {};
|
|
226
|
+
for(const __rspack_import_key in _NodePropertiesPanel__rspack_import_21)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_NodePropertiesPanel__rspack_import_21[__rspack_import_key];
|
|
227
|
+
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
228
|
+
var _NodePropertyPanel__rspack_import_22 = __webpack_require__("./NodePropertyPanel");
|
|
215
229
|
var __rspack_reexport = {};
|
|
216
|
-
for(const __rspack_import_key in
|
|
230
|
+
for(const __rspack_import_key in _NodePropertyPanel__rspack_import_22)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_NodePropertyPanel__rspack_import_22[__rspack_import_key];
|
|
217
231
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
218
|
-
var
|
|
232
|
+
var _ProbeCard__rspack_import_23 = __webpack_require__("./ProbeCard");
|
|
219
233
|
var __rspack_reexport = {};
|
|
220
|
-
for(const __rspack_import_key in
|
|
234
|
+
for(const __rspack_import_key in _ProbeCard__rspack_import_23)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_ProbeCard__rspack_import_23[__rspack_import_key];
|
|
221
235
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
222
|
-
var
|
|
236
|
+
var _StageNode__rspack_import_24 = __webpack_require__("./StageNode");
|
|
223
237
|
var __rspack_reexport = {};
|
|
224
|
-
for(const __rspack_import_key in
|
|
238
|
+
for(const __rspack_import_key in _StageNode__rspack_import_24)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_StageNode__rspack_import_24[__rspack_import_key];
|
|
225
239
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
226
|
-
var
|
|
240
|
+
var _StickyNoteNode__rspack_import_25 = __webpack_require__("./StickyNoteNode?d2a3");
|
|
227
241
|
var __rspack_reexport = {};
|
|
228
|
-
for(const __rspack_import_key in
|
|
242
|
+
for(const __rspack_import_key in _StickyNoteNode__rspack_import_25)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_StickyNoteNode__rspack_import_25[__rspack_import_key];
|
|
229
243
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
230
|
-
var
|
|
244
|
+
var _shared__rspack_import_26 = __webpack_require__("./shared");
|
|
231
245
|
var __rspack_reexport = {};
|
|
232
|
-
for(const __rspack_import_key in
|
|
246
|
+
for(const __rspack_import_key in _shared__rspack_import_26)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_shared__rspack_import_26[__rspack_import_key];
|
|
233
247
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
234
|
-
var
|
|
248
|
+
var _TaskIcon__rspack_import_27 = __webpack_require__("./TaskIcon");
|
|
235
249
|
var __rspack_reexport = {};
|
|
236
|
-
for(const __rspack_import_key in
|
|
250
|
+
for(const __rspack_import_key in _TaskIcon__rspack_import_27)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_TaskIcon__rspack_import_27[__rspack_import_key];
|
|
237
251
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
238
|
-
var
|
|
252
|
+
var _Toolbar__rspack_import_28 = __webpack_require__("./Toolbar");
|
|
239
253
|
var __rspack_reexport = {};
|
|
240
|
-
for(const __rspack_import_key in
|
|
254
|
+
for(const __rspack_import_key in _Toolbar__rspack_import_28)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_Toolbar__rspack_import_28[__rspack_import_key];
|
|
241
255
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
242
|
-
var
|
|
256
|
+
var _Toolbox__rspack_import_29 = __webpack_require__("./Toolbox?2740");
|
|
243
257
|
var __rspack_reexport = {};
|
|
244
|
-
for(const __rspack_import_key in
|
|
258
|
+
for(const __rspack_import_key in _Toolbox__rspack_import_29)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_Toolbox__rspack_import_29[__rspack_import_key];
|
|
245
259
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
246
|
-
var
|
|
260
|
+
var _TriggerNode__rspack_import_30 = __webpack_require__("./TriggerNode");
|
|
247
261
|
var __rspack_reexport = {};
|
|
248
|
-
for(const __rspack_import_key in
|
|
262
|
+
for(const __rspack_import_key in _TriggerNode__rspack_import_30)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_TriggerNode__rspack_import_30[__rspack_import_key];
|
|
249
263
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
250
264
|
})();
|
|
251
265
|
for(var __rspack_i in __webpack_exports__)exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from './AddNodePanel';
|
|
2
|
-
export * from './ProbeCard';
|
|
3
2
|
export * from './AgentCanvas';
|
|
4
3
|
export * from './BaseCanvas';
|
|
5
4
|
export * from './BaseNode';
|
|
@@ -14,15 +13,18 @@ export * from './ExecutionStatusIcon';
|
|
|
14
13
|
export * from './FloatingCanvasPanel';
|
|
15
14
|
export * from './GroupNode';
|
|
16
15
|
export * from './HierarchicalCanvas';
|
|
16
|
+
export * from './JsonTree';
|
|
17
17
|
export * from './LoopNode';
|
|
18
18
|
export * from './MiniCanvasNavigator';
|
|
19
19
|
export * from './NodeContextMenu';
|
|
20
20
|
export * from './NodeInspector';
|
|
21
|
+
export * from './NodeIOView';
|
|
21
22
|
export * from './NodePropertiesPanel';
|
|
22
23
|
export * from './NodePropertyPanel';
|
|
23
|
-
export * from './
|
|
24
|
+
export * from './ProbeCard';
|
|
24
25
|
export * from './StageNode';
|
|
25
26
|
export * from './StickyNoteNode';
|
|
27
|
+
export * from './shared';
|
|
26
28
|
export * from './TaskIcon';
|
|
27
29
|
export * from './Toolbar';
|
|
28
30
|
export * from './Toolbox';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/canvas/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/canvas/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export * from "./AddNodePanel/index.js";
|
|
2
|
-
export * from "./ProbeCard/index.js";
|
|
3
2
|
export * from "./AgentCanvas/index.js";
|
|
4
3
|
export * from "./BaseCanvas/index.js";
|
|
5
4
|
export * from "./BaseNode/index.js";
|
|
@@ -14,15 +13,18 @@ export * from "./ExecutionStatusIcon/index.js";
|
|
|
14
13
|
export * from "./FloatingCanvasPanel/index.js";
|
|
15
14
|
export * from "./GroupNode/index.js";
|
|
16
15
|
export * from "./HierarchicalCanvas/index.js";
|
|
16
|
+
export * from "./JsonTree/index.js";
|
|
17
17
|
export * from "./LoopNode/index.js";
|
|
18
18
|
export * from "./MiniCanvasNavigator/index.js";
|
|
19
19
|
export * from "./NodeContextMenu/index.js";
|
|
20
20
|
export * from "./NodeInspector.js";
|
|
21
|
+
export * from "./NodeIOView/index.js";
|
|
21
22
|
export * from "./NodePropertiesPanel/index.js";
|
|
22
23
|
export * from "./NodePropertyPanel/index.js";
|
|
23
|
-
export * from "./
|
|
24
|
+
export * from "./ProbeCard/index.js";
|
|
24
25
|
export * from "./StageNode/index.js";
|
|
25
26
|
export * from "./StickyNoteNode/index.js";
|
|
27
|
+
export * from "./shared/index.js";
|
|
26
28
|
export * from "./TaskIcon/index.js";
|
|
27
29
|
export * from "./Toolbar/index.js";
|
|
28
30
|
export * from "./Toolbox/index.js";
|