@uipath/apollo-react 4.33.0 → 4.35.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/LoopNode/LoopNode.cjs +9 -3
- package/dist/canvas/components/LoopNode/LoopNode.d.ts.map +1 -1
- package/dist/canvas/components/LoopNode/LoopNode.js +9 -3
- package/dist/canvas/components/LoopNode/LoopNode.types.d.ts +10 -0
- package/dist/canvas/components/LoopNode/LoopNode.types.d.ts.map +1 -1
- package/dist/canvas/components/LoopNode/LoopNodeExecutionCount.cjs +370 -0
- package/dist/canvas/components/LoopNode/LoopNodeExecutionCount.d.ts +8 -0
- package/dist/canvas/components/LoopNode/LoopNodeExecutionCount.d.ts.map +1 -0
- package/dist/canvas/components/LoopNode/LoopNodeExecutionCount.js +333 -0
- package/dist/canvas/components/LoopNode/index.cjs +15 -8
- package/dist/canvas/components/LoopNode/index.d.ts +1 -0
- package/dist/canvas/components/LoopNode/index.d.ts.map +1 -1
- package/dist/canvas/components/LoopNode/index.js +1 -0
- 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/package.json +1 -1
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "@uipath/apollo-wind";
|
|
3
|
+
import { useRef, useState } from "react";
|
|
4
|
+
import { useSafeLingui } from "../../../i18n/index.js";
|
|
5
|
+
import { ElementStatusValues } from "../../types/execution.js";
|
|
6
|
+
import { CanvasIcon } from "../../utils/icon-registry.js";
|
|
7
|
+
import { clamp } from "../../utils/NodeUtils.js";
|
|
8
|
+
function stopEvent(e) {
|
|
9
|
+
e.stopPropagation();
|
|
10
|
+
}
|
|
11
|
+
function getIterationStatusColor(status) {
|
|
12
|
+
switch(status){
|
|
13
|
+
case ElementStatusValues.Completed:
|
|
14
|
+
return '#22c55e';
|
|
15
|
+
case ElementStatusValues.Failed:
|
|
16
|
+
return '#ef4444';
|
|
17
|
+
case ElementStatusValues.InProgress:
|
|
18
|
+
return '#f59e0b';
|
|
19
|
+
case ElementStatusValues.Paused:
|
|
20
|
+
return '#a855f7';
|
|
21
|
+
case ElementStatusValues.Cancelled:
|
|
22
|
+
return '#94a3b8';
|
|
23
|
+
default:
|
|
24
|
+
return 'currentColor';
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function LoopNodeExecutionCount({ state, size = 'full' }) {
|
|
28
|
+
const { activeIndex, total, onActiveIndexChange, disabled, isAll, onAllChange, iterationStatuses } = state;
|
|
29
|
+
const { _ } = useSafeLingui();
|
|
30
|
+
const [isEditing, setIsEditing] = useState(false);
|
|
31
|
+
const [inputValue, setInputValue] = useState('');
|
|
32
|
+
const inputRef = useRef(null);
|
|
33
|
+
const safeTotal = Number.isFinite(total) && total > 0 ? total : 1;
|
|
34
|
+
const safeActiveIndex = clamp(Number.isFinite(activeIndex) && activeIndex >= 0 ? activeIndex : 0, 0, safeTotal - 1);
|
|
35
|
+
const canInteract = !disabled && 'function' == typeof onActiveIndexChange;
|
|
36
|
+
const visibleIndex = safeActiveIndex + 1;
|
|
37
|
+
const currentStatus = iterationStatuses?.get(safeActiveIndex);
|
|
38
|
+
const firstFailedIndex = iterationStatuses ? [
|
|
39
|
+
...iterationStatuses.entries()
|
|
40
|
+
].find(([, s])=>s === ElementStatusValues.Failed)?.[0] : void 0;
|
|
41
|
+
const completedCount = iterationStatuses ? [
|
|
42
|
+
...iterationStatuses.values()
|
|
43
|
+
].filter((s)=>s === ElementStatusValues.Completed).length : void 0;
|
|
44
|
+
const failedCount = iterationStatuses ? [
|
|
45
|
+
...iterationStatuses.values()
|
|
46
|
+
].filter((s)=>s === ElementStatusValues.Failed).length : 0;
|
|
47
|
+
const handlePrev = (e)=>{
|
|
48
|
+
e.stopPropagation();
|
|
49
|
+
if (canInteract && !isAll && safeActiveIndex > 0) onActiveIndexChange?.(safeActiveIndex - 1);
|
|
50
|
+
};
|
|
51
|
+
const handleNext = (e)=>{
|
|
52
|
+
e.stopPropagation();
|
|
53
|
+
if (canInteract && !isAll && safeActiveIndex < safeTotal - 1) onActiveIndexChange?.(safeActiveIndex + 1);
|
|
54
|
+
};
|
|
55
|
+
const toggleAll = (e)=>{
|
|
56
|
+
e.stopPropagation();
|
|
57
|
+
if (disabled) return;
|
|
58
|
+
onAllChange(!isAll);
|
|
59
|
+
};
|
|
60
|
+
const handleJumpToFailed = (e)=>{
|
|
61
|
+
e.stopPropagation();
|
|
62
|
+
if (void 0 !== firstFailedIndex) onActiveIndexChange?.(firstFailedIndex);
|
|
63
|
+
};
|
|
64
|
+
const startEdit = (e)=>{
|
|
65
|
+
e.stopPropagation();
|
|
66
|
+
if (!canInteract || isAll || isEditing) return;
|
|
67
|
+
setInputValue(String(visibleIndex));
|
|
68
|
+
setIsEditing(true);
|
|
69
|
+
requestAnimationFrame(()=>inputRef.current?.select());
|
|
70
|
+
};
|
|
71
|
+
const commitEdit = ()=>{
|
|
72
|
+
const parsed = parseInt(inputValue, 10);
|
|
73
|
+
if (!Number.isNaN(parsed)) onActiveIndexChange?.(clamp(parsed, 1, safeTotal) - 1);
|
|
74
|
+
setIsEditing(false);
|
|
75
|
+
};
|
|
76
|
+
const handleInputKeyDown = (e)=>{
|
|
77
|
+
e.stopPropagation();
|
|
78
|
+
if ('Enter' === e.key) commitEdit();
|
|
79
|
+
if ('Escape' === e.key) setIsEditing(false);
|
|
80
|
+
};
|
|
81
|
+
const canGoPrev = canInteract && !isAll && safeActiveIndex > 0;
|
|
82
|
+
const canGoNext = canInteract && !isAll && safeActiveIndex < safeTotal - 1;
|
|
83
|
+
if ('minimal' === size) return /*#__PURE__*/ jsx("div", {
|
|
84
|
+
className: "nodrag nopan pointer-events-auto flex items-center",
|
|
85
|
+
onPointerDown: stopEvent,
|
|
86
|
+
onMouseDown: stopEvent,
|
|
87
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
88
|
+
className: "flex h-6 items-center gap-0.5 rounded-full border border-border bg-surface px-2 text-[11px] font-semibold leading-none shadow-sm",
|
|
89
|
+
children: isAll ? void 0 !== completedCount ? /*#__PURE__*/ jsxs(Fragment, {
|
|
90
|
+
children: [
|
|
91
|
+
/*#__PURE__*/ jsxs("span", {
|
|
92
|
+
style: {
|
|
93
|
+
color: getIterationStatusColor(ElementStatusValues.Completed)
|
|
94
|
+
},
|
|
95
|
+
children: [
|
|
96
|
+
"✓",
|
|
97
|
+
completedCount
|
|
98
|
+
]
|
|
99
|
+
}),
|
|
100
|
+
failedCount > 0 && /*#__PURE__*/ jsxs("span", {
|
|
101
|
+
style: {
|
|
102
|
+
color: getIterationStatusColor(ElementStatusValues.Failed)
|
|
103
|
+
},
|
|
104
|
+
children: [
|
|
105
|
+
' ',
|
|
106
|
+
"✗",
|
|
107
|
+
failedCount
|
|
108
|
+
]
|
|
109
|
+
})
|
|
110
|
+
]
|
|
111
|
+
}) : /*#__PURE__*/ jsxs(Fragment, {
|
|
112
|
+
children: [
|
|
113
|
+
/*#__PURE__*/ jsx("span", {
|
|
114
|
+
className: "opacity-60",
|
|
115
|
+
children: "Σ"
|
|
116
|
+
}),
|
|
117
|
+
/*#__PURE__*/ jsx("span", {
|
|
118
|
+
className: "ml-0.5",
|
|
119
|
+
children: safeTotal
|
|
120
|
+
})
|
|
121
|
+
]
|
|
122
|
+
}) : /*#__PURE__*/ jsxs(Fragment, {
|
|
123
|
+
children: [
|
|
124
|
+
currentStatus && /*#__PURE__*/ jsx("span", {
|
|
125
|
+
className: "h-1.5 w-1.5 shrink-0 rounded-full",
|
|
126
|
+
style: {
|
|
127
|
+
backgroundColor: getIterationStatusColor(currentStatus)
|
|
128
|
+
}
|
|
129
|
+
}),
|
|
130
|
+
/*#__PURE__*/ jsx("span", {
|
|
131
|
+
children: visibleIndex
|
|
132
|
+
}),
|
|
133
|
+
/*#__PURE__*/ jsx("span", {
|
|
134
|
+
className: "px-0.5 opacity-60",
|
|
135
|
+
children: "/"
|
|
136
|
+
}),
|
|
137
|
+
/*#__PURE__*/ jsx("span", {
|
|
138
|
+
children: safeTotal
|
|
139
|
+
})
|
|
140
|
+
]
|
|
141
|
+
})
|
|
142
|
+
})
|
|
143
|
+
});
|
|
144
|
+
return /*#__PURE__*/ jsxs("div", {
|
|
145
|
+
className: "nodrag nopan pointer-events-auto flex items-center gap-1.5",
|
|
146
|
+
onPointerDown: stopEvent,
|
|
147
|
+
onMouseDown: stopEvent,
|
|
148
|
+
onDoubleClick: stopEvent,
|
|
149
|
+
children: [
|
|
150
|
+
/*#__PURE__*/ jsxs("div", {
|
|
151
|
+
className: "nodrag nopan flex h-6 items-stretch overflow-hidden rounded-full border border-border bg-surface shadow-sm",
|
|
152
|
+
children: [
|
|
153
|
+
/*#__PURE__*/ jsx("button", {
|
|
154
|
+
type: "button",
|
|
155
|
+
onClick: toggleAll,
|
|
156
|
+
onPointerDown: stopEvent,
|
|
157
|
+
onMouseDown: stopEvent,
|
|
158
|
+
disabled: disabled,
|
|
159
|
+
"aria-pressed": isAll,
|
|
160
|
+
"aria-label": _({
|
|
161
|
+
id: 'loop-node.execution-count.show-aggregate',
|
|
162
|
+
message: 'Show aggregate across all iterations'
|
|
163
|
+
}),
|
|
164
|
+
className: cn('nodrag nopan select-none px-2.5 text-[11px] font-semibold leading-none transition-colors', isAll ? 'bg-surface-overlay text-foreground' : 'text-foreground hover:bg-surface-hover', disabled && 'cursor-not-allowed opacity-50'),
|
|
165
|
+
children: "All"
|
|
166
|
+
}),
|
|
167
|
+
/*#__PURE__*/ jsx("div", {
|
|
168
|
+
className: "w-px shrink-0 bg-border"
|
|
169
|
+
}),
|
|
170
|
+
isAll ? /*#__PURE__*/ jsx("button", {
|
|
171
|
+
type: "button",
|
|
172
|
+
onClick: toggleAll,
|
|
173
|
+
onPointerDown: stopEvent,
|
|
174
|
+
onMouseDown: stopEvent,
|
|
175
|
+
disabled: disabled,
|
|
176
|
+
className: cn('nodrag nopan flex items-center gap-1.5 px-2.5 text-[11px] font-semibold leading-none transition-colors hover:bg-surface-overlay', disabled && 'cursor-not-allowed opacity-50'),
|
|
177
|
+
"aria-label": _({
|
|
178
|
+
id: 'loop-node.execution-count.return-to-individual',
|
|
179
|
+
message: 'Return to individual iteration view'
|
|
180
|
+
}),
|
|
181
|
+
title: _({
|
|
182
|
+
id: 'loop-node.execution-count.click-to-return',
|
|
183
|
+
message: 'Click to return to individual iteration view'
|
|
184
|
+
}),
|
|
185
|
+
children: void 0 !== completedCount ? /*#__PURE__*/ jsxs(Fragment, {
|
|
186
|
+
children: [
|
|
187
|
+
/*#__PURE__*/ jsxs("span", {
|
|
188
|
+
style: {
|
|
189
|
+
color: getIterationStatusColor(ElementStatusValues.Completed)
|
|
190
|
+
},
|
|
191
|
+
children: [
|
|
192
|
+
"✓ ",
|
|
193
|
+
completedCount
|
|
194
|
+
]
|
|
195
|
+
}),
|
|
196
|
+
failedCount > 0 && /*#__PURE__*/ jsxs("span", {
|
|
197
|
+
style: {
|
|
198
|
+
color: getIterationStatusColor(ElementStatusValues.Failed)
|
|
199
|
+
},
|
|
200
|
+
children: [
|
|
201
|
+
"✗ ",
|
|
202
|
+
failedCount
|
|
203
|
+
]
|
|
204
|
+
})
|
|
205
|
+
]
|
|
206
|
+
}) : /*#__PURE__*/ jsxs(Fragment, {
|
|
207
|
+
children: [
|
|
208
|
+
/*#__PURE__*/ jsx("span", {
|
|
209
|
+
"aria-hidden": true,
|
|
210
|
+
className: "opacity-60",
|
|
211
|
+
children: "Σ"
|
|
212
|
+
}),
|
|
213
|
+
/*#__PURE__*/ jsx("span", {
|
|
214
|
+
children: safeTotal
|
|
215
|
+
})
|
|
216
|
+
]
|
|
217
|
+
})
|
|
218
|
+
}) : /*#__PURE__*/ jsxs("div", {
|
|
219
|
+
className: "flex items-stretch",
|
|
220
|
+
children: [
|
|
221
|
+
'full' === size && /*#__PURE__*/ jsx("button", {
|
|
222
|
+
type: "button",
|
|
223
|
+
className: cn('nodrag nopan flex w-5 items-center justify-center text-foreground transition-opacity', canGoPrev ? 'cursor-pointer hover:bg-surface-overlay' : 'cursor-not-allowed opacity-40'),
|
|
224
|
+
disabled: !canGoPrev,
|
|
225
|
+
"aria-label": _({
|
|
226
|
+
id: 'loop-node.execution-count.previous-iteration',
|
|
227
|
+
message: 'Previous iteration'
|
|
228
|
+
}),
|
|
229
|
+
onClick: handlePrev,
|
|
230
|
+
onPointerDown: stopEvent,
|
|
231
|
+
onMouseDown: stopEvent,
|
|
232
|
+
children: /*#__PURE__*/ jsx(CanvasIcon, {
|
|
233
|
+
icon: "chevron-left",
|
|
234
|
+
size: 12
|
|
235
|
+
})
|
|
236
|
+
}),
|
|
237
|
+
/*#__PURE__*/ jsx("span", {
|
|
238
|
+
className: cn('flex min-w-10 select-none items-center justify-center gap-0.5 text-[11px] font-semibold leading-none', 'full' === size ? 'px-1' : 'px-2.5', canInteract && !isEditing && 'cursor-pointer hover:text-foreground-accent'),
|
|
239
|
+
onClick: startEdit,
|
|
240
|
+
title: canInteract ? _({
|
|
241
|
+
id: 'loop-node.execution-count.click-to-jump',
|
|
242
|
+
message: 'Click to jump to a specific iteration'
|
|
243
|
+
}) : void 0,
|
|
244
|
+
children: isEditing ? /*#__PURE__*/ jsxs(Fragment, {
|
|
245
|
+
children: [
|
|
246
|
+
/*#__PURE__*/ jsx("input", {
|
|
247
|
+
ref: inputRef,
|
|
248
|
+
type: "number",
|
|
249
|
+
min: 1,
|
|
250
|
+
max: safeTotal,
|
|
251
|
+
value: inputValue,
|
|
252
|
+
onChange: (e)=>setInputValue(e.target.value),
|
|
253
|
+
onBlur: commitEdit,
|
|
254
|
+
onKeyDown: handleInputKeyDown,
|
|
255
|
+
onPointerDown: stopEvent,
|
|
256
|
+
className: "w-7 appearance-none bg-transparent text-center text-[11px] font-semibold leading-none outline-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none border-b border-foreground-accent"
|
|
257
|
+
}),
|
|
258
|
+
/*#__PURE__*/ jsx("span", {
|
|
259
|
+
className: "px-0.5 opacity-60",
|
|
260
|
+
children: "/"
|
|
261
|
+
}),
|
|
262
|
+
/*#__PURE__*/ jsx("span", {
|
|
263
|
+
children: safeTotal
|
|
264
|
+
})
|
|
265
|
+
]
|
|
266
|
+
}) : /*#__PURE__*/ jsxs(Fragment, {
|
|
267
|
+
children: [
|
|
268
|
+
currentStatus && /*#__PURE__*/ jsx("span", {
|
|
269
|
+
className: "h-1.5 w-1.5 shrink-0 rounded-full",
|
|
270
|
+
style: {
|
|
271
|
+
backgroundColor: getIterationStatusColor(currentStatus)
|
|
272
|
+
}
|
|
273
|
+
}),
|
|
274
|
+
/*#__PURE__*/ jsx("span", {
|
|
275
|
+
children: visibleIndex
|
|
276
|
+
}),
|
|
277
|
+
/*#__PURE__*/ jsx("span", {
|
|
278
|
+
className: "px-0.5 opacity-60",
|
|
279
|
+
children: "/"
|
|
280
|
+
}),
|
|
281
|
+
/*#__PURE__*/ jsx("span", {
|
|
282
|
+
children: safeTotal
|
|
283
|
+
})
|
|
284
|
+
]
|
|
285
|
+
})
|
|
286
|
+
}),
|
|
287
|
+
'full' === size && /*#__PURE__*/ jsx("button", {
|
|
288
|
+
type: "button",
|
|
289
|
+
className: cn('nodrag nopan flex w-5 items-center justify-center text-foreground transition-opacity', canGoNext ? 'cursor-pointer hover:bg-surface-overlay' : 'cursor-not-allowed opacity-40'),
|
|
290
|
+
disabled: !canGoNext,
|
|
291
|
+
"aria-label": _({
|
|
292
|
+
id: 'loop-node.execution-count.next-iteration',
|
|
293
|
+
message: 'Next iteration'
|
|
294
|
+
}),
|
|
295
|
+
onClick: handleNext,
|
|
296
|
+
onPointerDown: stopEvent,
|
|
297
|
+
onMouseDown: stopEvent,
|
|
298
|
+
children: /*#__PURE__*/ jsx(CanvasIcon, {
|
|
299
|
+
icon: "chevron-right",
|
|
300
|
+
size: 12
|
|
301
|
+
})
|
|
302
|
+
})
|
|
303
|
+
]
|
|
304
|
+
})
|
|
305
|
+
]
|
|
306
|
+
}),
|
|
307
|
+
void 0 !== firstFailedIndex && !isAll && canInteract && /*#__PURE__*/ jsx("button", {
|
|
308
|
+
type: "button",
|
|
309
|
+
className: "nodrag nopan inline-flex h-6 w-6 items-center justify-center rounded-full border border-border bg-surface shadow-sm transition-colors hover:border-red-400",
|
|
310
|
+
onClick: handleJumpToFailed,
|
|
311
|
+
onPointerDown: stopEvent,
|
|
312
|
+
onMouseDown: stopEvent,
|
|
313
|
+
"aria-label": _({
|
|
314
|
+
id: 'loop-node.execution-count.jump-to-failed',
|
|
315
|
+
message: 'Jump to first failed iteration'
|
|
316
|
+
}),
|
|
317
|
+
title: _({
|
|
318
|
+
id: 'loop-node.execution-count.jump-to-iteration',
|
|
319
|
+
message: 'Jump to iteration {iterationNumber} (failed)',
|
|
320
|
+
values: {
|
|
321
|
+
iterationNumber: firstFailedIndex + 1
|
|
322
|
+
}
|
|
323
|
+
}),
|
|
324
|
+
children: /*#__PURE__*/ jsx(CanvasIcon, {
|
|
325
|
+
icon: "crosshair",
|
|
326
|
+
size: 12,
|
|
327
|
+
color: getIterationStatusColor(ElementStatusValues.Failed)
|
|
328
|
+
})
|
|
329
|
+
})
|
|
330
|
+
]
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
export { LoopNodeExecutionCount, getIterationStatusColor };
|
|
@@ -11,6 +11,9 @@ var __webpack_modules__ = {
|
|
|
11
11
|
},
|
|
12
12
|
"./LoopNode.types" (module) {
|
|
13
13
|
module.exports = require("./LoopNode.types.cjs");
|
|
14
|
+
},
|
|
15
|
+
"./LoopNodeExecutionCount" (module) {
|
|
16
|
+
module.exports = require("./LoopNodeExecutionCount.cjs");
|
|
14
17
|
}
|
|
15
18
|
};
|
|
16
19
|
var __webpack_module_cache__ = {};
|
|
@@ -56,21 +59,25 @@ function __webpack_require__(moduleId) {
|
|
|
56
59
|
var __webpack_exports__ = {};
|
|
57
60
|
(()=>{
|
|
58
61
|
__webpack_require__.r(__webpack_exports__);
|
|
59
|
-
var
|
|
62
|
+
var _LoopNodeExecutionCount__rspack_import_0 = __webpack_require__("./LoopNodeExecutionCount");
|
|
63
|
+
var __rspack_reexport = {};
|
|
64
|
+
for(const __rspack_import_key in _LoopNodeExecutionCount__rspack_import_0)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_LoopNodeExecutionCount__rspack_import_0[__rspack_import_key];
|
|
65
|
+
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
66
|
+
var _LoopCanvasNode__rspack_import_1 = __webpack_require__("./LoopCanvasNode");
|
|
60
67
|
var __rspack_reexport = {};
|
|
61
|
-
for(const __rspack_import_key in
|
|
68
|
+
for(const __rspack_import_key in _LoopCanvasNode__rspack_import_1)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_LoopCanvasNode__rspack_import_1[__rspack_import_key];
|
|
62
69
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
63
|
-
var
|
|
70
|
+
var _LoopNode__rspack_import_2 = __webpack_require__("./LoopNode?d3ac");
|
|
64
71
|
var __rspack_reexport = {};
|
|
65
|
-
for(const __rspack_import_key in
|
|
72
|
+
for(const __rspack_import_key in _LoopNode__rspack_import_2)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_LoopNode__rspack_import_2[__rspack_import_key];
|
|
66
73
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
67
|
-
var
|
|
74
|
+
var _LoopNode_helpers__rspack_import_3 = __webpack_require__("./LoopNode.helpers");
|
|
68
75
|
var __rspack_reexport = {};
|
|
69
|
-
for(const __rspack_import_key in
|
|
76
|
+
for(const __rspack_import_key in _LoopNode_helpers__rspack_import_3)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_LoopNode_helpers__rspack_import_3[__rspack_import_key];
|
|
70
77
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
71
|
-
var
|
|
78
|
+
var _LoopNode_types__rspack_import_4 = __webpack_require__("./LoopNode.types");
|
|
72
79
|
var __rspack_reexport = {};
|
|
73
|
-
for(const __rspack_import_key in
|
|
80
|
+
for(const __rspack_import_key in _LoopNode_types__rspack_import_4)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_LoopNode_types__rspack_import_4[__rspack_import_key];
|
|
74
81
|
__webpack_require__.d(__webpack_exports__, __rspack_reexport);
|
|
75
82
|
})();
|
|
76
83
|
for(var __rspack_i in __webpack_exports__)exports[__rspack_i] = __webpack_exports__[__rspack_i];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/LoopNode/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/LoopNode/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC"}
|
|
@@ -26,7 +26,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26
26
|
__webpack_require__.d(__webpack_exports__, {
|
|
27
27
|
messages: ()=>messages
|
|
28
28
|
});
|
|
29
|
-
const messages = JSON.parse("{\"loop-node.add-node\":[\"Add node to loop\"],\"loop-node.iteration.label\":[\"Loop iteration\"],\"loop-node.iteration.next\":[\"Next loop iteration\"],\"loop-node.iteration.previous\":[\"Previous loop iteration\"],\"loop-node.iteration.status\":[[\"label\"],\": \",[\"visibleIndex\"],\" of \",[\"total\"]],\"loop-node.mode.parallel\":[\"Parallel\"],\"loop-node.mode.sequential\":[\"Sequential\"],\"loop-node.title\":[\"Loop\"],\"stage-node.add-first-task\":[\"Add first task\"],\"stage-node.add-task\":[\"Add task\"],\"stage-node.add-task-to-parallel-group-above\":[\"Add task to parallel group above\"],\"stage-node.add-task-to-parallel-group-below\":[\"Add task to parallel group below\"],\"stage-node.adhoc-tasks\":[\"Ad hoc tasks\"],\"stage-node.create-parallel-group-with-task-above\":[\"Create parallel group with task above\"],\"stage-node.create-parallel-group-with-task-below\":[\"Create parallel group with task below\"],\"stage-node.delete-task\":[\"Delete task\"],\"stage-node.event-driven-tasks\":[\"Event-driven tasks\"],\"stage-node.move-down\":[\"Move down\"],\"stage-node.move-up\":[\"Move up\"],\"stage-node.no-tasks\":[\"No tasks\"],\"stage-node.parallel\":[\"Parallel\"],\"stage-node.remove-from-parallel-group\":[\"Remove from parallel group\"],\"stage-node.remove-group-from-stage\":[\"Remove group from stage\"],\"stage-node.replace-task\":[\"Replace task\"],\"stage-node.status.cancelled\":[\"Cancelled\"],\"stage-node.status.completed\":[\"Completed\"],\"stage-node.status.failed\":[\"Failed\"],\"stage-node.status.in-progress\":[\"In progress\"],\"stage-node.status.not-executed\":[\"Not started\"],\"stage-node.status.paused\":[\"Paused\"],\"stage-node.status.terminated\":[\"Terminated\"],\"stage-node.status.warning\":[\"Warning\"],\"stage-node.ungroup-parallel-tasks\":[\"Ungroup parallel tasks\"],\"stage-node.untitled-stage\":[\"Untitled stage\"],\"sticky-note.formatting.bold\":[\"Bold (\",[\"boldShortcut\"],\")\"],\"sticky-note.formatting.bullet-list\":[\"Bullet list\"],\"sticky-note.formatting.italic\":[\"Italic (\",[\"italicShortcut\"],\")\"],\"sticky-note.formatting.numbered-list\":[\"Numbered list\"],\"sticky-note.formatting.strikethrough\":[\"Strikethrough (\",[\"strikethroughShortcut\"],\")\"],\"sticky-note.formatting.toolbar\":[\"Text formatting\"],\"sticky-note.toolbar.color\":[\"Color\"],\"sticky-note.toolbar.delete\":[\"Delete\"],\"sticky-note.toolbar.edit\":[\"Edit\"],\"toolbox.search\":[\"Search\"]}");
|
|
29
|
+
const messages = JSON.parse("{\"loop-node.add-node\":[\"Add node to loop\"],\"loop-node.execution-count.click-to-jump\":[\"Click to jump to a specific iteration\"],\"loop-node.execution-count.click-to-return\":[\"Click to return to individual iteration view\"],\"loop-node.execution-count.jump-to-failed\":[\"Jump to first failed iteration\"],\"loop-node.execution-count.jump-to-iteration\":[\"Jump to iteration \",[\"iterationNumber\"],\" (failed)\"],\"loop-node.execution-count.next-iteration\":[\"Next iteration\"],\"loop-node.execution-count.previous-iteration\":[\"Previous iteration\"],\"loop-node.execution-count.return-to-individual\":[\"Return to individual iteration view\"],\"loop-node.execution-count.show-aggregate\":[\"Show aggregate across all iterations\"],\"loop-node.iteration.label\":[\"Loop iteration\"],\"loop-node.iteration.next\":[\"Next loop iteration\"],\"loop-node.iteration.previous\":[\"Previous loop iteration\"],\"loop-node.iteration.status\":[[\"label\"],\": \",[\"visibleIndex\"],\" of \",[\"total\"]],\"loop-node.mode.parallel\":[\"Parallel\"],\"loop-node.mode.sequential\":[\"Sequential\"],\"loop-node.title\":[\"Loop\"],\"stage-node.add-first-task\":[\"Add first task\"],\"stage-node.add-task\":[\"Add task\"],\"stage-node.add-task-to-parallel-group-above\":[\"Add task to parallel group above\"],\"stage-node.add-task-to-parallel-group-below\":[\"Add task to parallel group below\"],\"stage-node.adhoc-tasks\":[\"Ad hoc tasks\"],\"stage-node.create-parallel-group-with-task-above\":[\"Create parallel group with task above\"],\"stage-node.create-parallel-group-with-task-below\":[\"Create parallel group with task below\"],\"stage-node.delete-task\":[\"Delete task\"],\"stage-node.event-driven-tasks\":[\"Event-driven tasks\"],\"stage-node.move-down\":[\"Move down\"],\"stage-node.move-up\":[\"Move up\"],\"stage-node.no-tasks\":[\"No tasks\"],\"stage-node.parallel\":[\"Parallel\"],\"stage-node.remove-from-parallel-group\":[\"Remove from parallel group\"],\"stage-node.remove-group-from-stage\":[\"Remove group from stage\"],\"stage-node.replace-task\":[\"Replace task\"],\"stage-node.status.cancelled\":[\"Cancelled\"],\"stage-node.status.completed\":[\"Completed\"],\"stage-node.status.failed\":[\"Failed\"],\"stage-node.status.in-progress\":[\"In progress\"],\"stage-node.status.not-executed\":[\"Not started\"],\"stage-node.status.paused\":[\"Paused\"],\"stage-node.status.terminated\":[\"Terminated\"],\"stage-node.status.warning\":[\"Warning\"],\"stage-node.ungroup-parallel-tasks\":[\"Ungroup parallel tasks\"],\"stage-node.untitled-stage\":[\"Untitled stage\"],\"sticky-note.formatting.bold\":[\"Bold (\",[\"boldShortcut\"],\")\"],\"sticky-note.formatting.bullet-list\":[\"Bullet list\"],\"sticky-note.formatting.italic\":[\"Italic (\",[\"italicShortcut\"],\")\"],\"sticky-note.formatting.numbered-list\":[\"Numbered list\"],\"sticky-note.formatting.strikethrough\":[\"Strikethrough (\",[\"strikethroughShortcut\"],\")\"],\"sticky-note.formatting.toolbar\":[\"Text formatting\"],\"sticky-note.toolbar.color\":[\"Color\"],\"sticky-note.toolbar.delete\":[\"Delete\"],\"sticky-note.toolbar.edit\":[\"Edit\"],\"toolbox.search\":[\"Search\"]}");
|
|
30
30
|
exports.messages = __webpack_exports__.messages;
|
|
31
31
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
32
32
|
"messages"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/canvas/locales/en.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../../src/canvas/locales/en.ts"],"names":[],"mappings":"AAAkB,OAAO,KAAI,EAAC,QAAQ,EAAC,MAAI,cAAc,CAAC;AAAA,eAAO,MAAM,QAAQ,EAAomG,QAAQ,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const messages = JSON.parse("{\"loop-node.add-node\":[\"Add node to loop\"],\"loop-node.iteration.label\":[\"Loop iteration\"],\"loop-node.iteration.next\":[\"Next loop iteration\"],\"loop-node.iteration.previous\":[\"Previous loop iteration\"],\"loop-node.iteration.status\":[[\"label\"],\": \",[\"visibleIndex\"],\" of \",[\"total\"]],\"loop-node.mode.parallel\":[\"Parallel\"],\"loop-node.mode.sequential\":[\"Sequential\"],\"loop-node.title\":[\"Loop\"],\"stage-node.add-first-task\":[\"Add first task\"],\"stage-node.add-task\":[\"Add task\"],\"stage-node.add-task-to-parallel-group-above\":[\"Add task to parallel group above\"],\"stage-node.add-task-to-parallel-group-below\":[\"Add task to parallel group below\"],\"stage-node.adhoc-tasks\":[\"Ad hoc tasks\"],\"stage-node.create-parallel-group-with-task-above\":[\"Create parallel group with task above\"],\"stage-node.create-parallel-group-with-task-below\":[\"Create parallel group with task below\"],\"stage-node.delete-task\":[\"Delete task\"],\"stage-node.event-driven-tasks\":[\"Event-driven tasks\"],\"stage-node.move-down\":[\"Move down\"],\"stage-node.move-up\":[\"Move up\"],\"stage-node.no-tasks\":[\"No tasks\"],\"stage-node.parallel\":[\"Parallel\"],\"stage-node.remove-from-parallel-group\":[\"Remove from parallel group\"],\"stage-node.remove-group-from-stage\":[\"Remove group from stage\"],\"stage-node.replace-task\":[\"Replace task\"],\"stage-node.status.cancelled\":[\"Cancelled\"],\"stage-node.status.completed\":[\"Completed\"],\"stage-node.status.failed\":[\"Failed\"],\"stage-node.status.in-progress\":[\"In progress\"],\"stage-node.status.not-executed\":[\"Not started\"],\"stage-node.status.paused\":[\"Paused\"],\"stage-node.status.terminated\":[\"Terminated\"],\"stage-node.status.warning\":[\"Warning\"],\"stage-node.ungroup-parallel-tasks\":[\"Ungroup parallel tasks\"],\"stage-node.untitled-stage\":[\"Untitled stage\"],\"sticky-note.formatting.bold\":[\"Bold (\",[\"boldShortcut\"],\")\"],\"sticky-note.formatting.bullet-list\":[\"Bullet list\"],\"sticky-note.formatting.italic\":[\"Italic (\",[\"italicShortcut\"],\")\"],\"sticky-note.formatting.numbered-list\":[\"Numbered list\"],\"sticky-note.formatting.strikethrough\":[\"Strikethrough (\",[\"strikethroughShortcut\"],\")\"],\"sticky-note.formatting.toolbar\":[\"Text formatting\"],\"sticky-note.toolbar.color\":[\"Color\"],\"sticky-note.toolbar.delete\":[\"Delete\"],\"sticky-note.toolbar.edit\":[\"Edit\"],\"toolbox.search\":[\"Search\"]}");
|
|
1
|
+
const messages = JSON.parse("{\"loop-node.add-node\":[\"Add node to loop\"],\"loop-node.execution-count.click-to-jump\":[\"Click to jump to a specific iteration\"],\"loop-node.execution-count.click-to-return\":[\"Click to return to individual iteration view\"],\"loop-node.execution-count.jump-to-failed\":[\"Jump to first failed iteration\"],\"loop-node.execution-count.jump-to-iteration\":[\"Jump to iteration \",[\"iterationNumber\"],\" (failed)\"],\"loop-node.execution-count.next-iteration\":[\"Next iteration\"],\"loop-node.execution-count.previous-iteration\":[\"Previous iteration\"],\"loop-node.execution-count.return-to-individual\":[\"Return to individual iteration view\"],\"loop-node.execution-count.show-aggregate\":[\"Show aggregate across all iterations\"],\"loop-node.iteration.label\":[\"Loop iteration\"],\"loop-node.iteration.next\":[\"Next loop iteration\"],\"loop-node.iteration.previous\":[\"Previous loop iteration\"],\"loop-node.iteration.status\":[[\"label\"],\": \",[\"visibleIndex\"],\" of \",[\"total\"]],\"loop-node.mode.parallel\":[\"Parallel\"],\"loop-node.mode.sequential\":[\"Sequential\"],\"loop-node.title\":[\"Loop\"],\"stage-node.add-first-task\":[\"Add first task\"],\"stage-node.add-task\":[\"Add task\"],\"stage-node.add-task-to-parallel-group-above\":[\"Add task to parallel group above\"],\"stage-node.add-task-to-parallel-group-below\":[\"Add task to parallel group below\"],\"stage-node.adhoc-tasks\":[\"Ad hoc tasks\"],\"stage-node.create-parallel-group-with-task-above\":[\"Create parallel group with task above\"],\"stage-node.create-parallel-group-with-task-below\":[\"Create parallel group with task below\"],\"stage-node.delete-task\":[\"Delete task\"],\"stage-node.event-driven-tasks\":[\"Event-driven tasks\"],\"stage-node.move-down\":[\"Move down\"],\"stage-node.move-up\":[\"Move up\"],\"stage-node.no-tasks\":[\"No tasks\"],\"stage-node.parallel\":[\"Parallel\"],\"stage-node.remove-from-parallel-group\":[\"Remove from parallel group\"],\"stage-node.remove-group-from-stage\":[\"Remove group from stage\"],\"stage-node.replace-task\":[\"Replace task\"],\"stage-node.status.cancelled\":[\"Cancelled\"],\"stage-node.status.completed\":[\"Completed\"],\"stage-node.status.failed\":[\"Failed\"],\"stage-node.status.in-progress\":[\"In progress\"],\"stage-node.status.not-executed\":[\"Not started\"],\"stage-node.status.paused\":[\"Paused\"],\"stage-node.status.terminated\":[\"Terminated\"],\"stage-node.status.warning\":[\"Warning\"],\"stage-node.ungroup-parallel-tasks\":[\"Ungroup parallel tasks\"],\"stage-node.untitled-stage\":[\"Untitled stage\"],\"sticky-note.formatting.bold\":[\"Bold (\",[\"boldShortcut\"],\")\"],\"sticky-note.formatting.bullet-list\":[\"Bullet list\"],\"sticky-note.formatting.italic\":[\"Italic (\",[\"italicShortcut\"],\")\"],\"sticky-note.formatting.numbered-list\":[\"Numbered list\"],\"sticky-note.formatting.strikethrough\":[\"Strikethrough (\",[\"strikethroughShortcut\"],\")\"],\"sticky-note.formatting.toolbar\":[\"Text formatting\"],\"sticky-note.toolbar.color\":[\"Color\"],\"sticky-note.toolbar.delete\":[\"Delete\"],\"sticky-note.toolbar.edit\":[\"Edit\"],\"toolbox.search\":[\"Search\"]}");
|
|
2
2
|
export { messages };
|