@oomol-lab/open-flow 0.1.0-beta.50 → 0.1.0-beta.51
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/browser/{createResourceDialog-CSltk-qY.js → createResourceDialog-BDtXpRSt.js} +1 -1
- package/dist/browser/flow-authoring-node.d.ts +3 -1
- package/dist/browser/flow-authoring.js +39 -3
- package/dist/browser/flow-change-schema.d.ts +1 -1
- package/dist/browser/flow-change.d.ts +9 -1
- package/dist/browser/flow-change.js +38 -3
- package/dist/browser/{flowChanges-DbYrpHnS.js → flowChanges-BWSXSnMX.js} +431 -27
- package/dist/browser/{flowWorkspace-CjwpbVBR.js → flowWorkspace-DBaq2Eks.js} +459 -190
- package/dist/browser/preview.css +20 -0
- package/dist/browser/preview.js +556 -21
- package/dist/browser/ui.css +20 -0
- package/dist/browser/ui.js +4 -3
- package/dist/browser/workbench-contract.d.ts +1 -0
- package/dist/browser/workbench.css +20 -0
- package/dist/browser/workbench.js +133 -22
- package/dist/browser/{workbenchSelect-oVujN2z6.js → workbenchSelect-C9kwcUmN.js} +47 -6
- package/dist/common/authoringExamples.d.ts +3 -2
- package/dist/common/control-api-conformance.js +82 -10
- package/dist/common/control-api.d.ts +34 -5
- package/dist/common/control-api.js +147 -10
- package/dist/common/control-requests.js +23 -1
- package/dist/common/flow-encoding.js +30 -5
- package/dist/common/flow-semantics.js +87 -2
- package/dist/common/integration-trigger.js +16 -1
- package/dist/common/mcp.js +82 -10
- package/dist/common/poll-trigger.js +16 -1
- package/dist/common/provider-triggers.js +16 -1
- package/dist/common/run-events.js +25 -1
- package/dist/common/scheduler.d.ts +3 -0
- package/dist/common/scheduler.js +91 -5
- package/dist/common/trigger-contract.d.ts +2 -0
- package/dist/common/webhook-trigger.js +16 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { o as __toESM, t as __commonJSMin } from "./rolldown-runtime-CEgmsyvS.js";
|
|
2
2
|
import { a as derive, i as compute, l as val, r as combine, t as arrayShallowEqual } from "./dist-bO8nvHFH.js";
|
|
3
3
|
import { i as useTranslate, t as I18nProvider } from "./main-BPABKzwN.js";
|
|
4
|
-
import { $ as json$1, $r as useStableCallback, $t as useHoverFloatingInteraction, A as nextNodeName, An as useOnFirstRender, Br as useRenderElement, Cr as triggerHover, Ct as COMPOSITE_KEYS, Dr as useRegisterFieldControl, Er as useFormContext, Fn as getNextTabbable, Fr as Button, Ft as getDisabledMountTransitionStyles, Gr as useMergedRefs, Gt as triggerOpenStateMapping, Hr as EMPTY_OBJECT, I as conditionInputPorts, In as getTabbableAfterElement, Ir as buttonVariants, It as InternalBackdrop, J as _enum, K as webhookSupportsBody, Kr as useButton, Kt as useOpenInteractionType, Ln as getTabbableBeforeElement, Lr as cn, Lt as useAnchorPositioning, M as normalizeNodeName, Mn as Input, Mr as visuallyHidden, Mt as useToolbarRootContext, N as portsByHandle, Nn as Timeout, Nr as visuallyHiddenInput, Nt as useAnchoredPopupScrollLock, O as applyFlowChanges$1, Or as useFieldRootContext, Pr as useControlled, Pt as usePositioner, Q as int, Qt as useHoverReferenceInteraction, R as nodeInputMappings, Rn as isOutsideEvent, Rr as cva, Rt as adaptiveOrigin, Sn as FocusGuard, Tr as useLabelableContext, Ur as NOOP, Ut as popupStateMapping, V as otherwiseOutput, Vt as inertValue, W as decodeRevisionContent, Wt as pressableTriggerOpenStateMapping, X as boolean, Xn as contains, Xr as mergeProps, Y as array, Yr as formatErrorMessage, Yt as useRole, Z as discriminatedUnion, Zr as useIsoLayoutEffect, Zt as useInteractions, an as useImplicitActiveTrigger, ar as useOpenChangeComplete, at as string$1, cr as transitionStatusMapping, d as Tooltip, dn as FloatingFocusManager, dr as createChangeEventDetails, dt as SelectItem, ei as useRefWithInit, er as useLabelableId, et as lazy$1, f as TooltipContent, fn as FloatingNode, gr as imperativeAction, hn as useFloatingParentNodeId, hr as focusOut, in as PopupTriggerMap, ir as useTransitionStatus, it as strictObject, jn as Label, jr as fieldValidityMapping, k as isSchemaKeyword, kn as createSelector, kr as useBaseUiId, ln as useDismiss, lr as useOnMount, lt as SelectContent, m as TooltipTrigger, mn as useFloatingNodeId, mt as SelectValue, ni as isHTMLElement$1, nn as createInitialPopupStoreState, nr as Check, nt as number, on as useOpenStateTransitions, or as useAnimationsFinished, ot as union, pn as FloatingTree, pr as closePress, pt as SelectTrigger, q as dequal, qt as safePolygon, rn as popupStoreSelectors, rr as createLucideIcon, rt as record$2, sn as useTriggerDataForwarding, st as Select, tn as useSyncedFloatingRootContext, tt as literal, un as useClick, ur as useValueChanged, ut as SelectGroup, vn as FloatingPortal, wn as ReactStore, xn as POPUP_COLLISION_AVOIDANCE, yn as CLICK_TRIGGER_IDENTIFIER, yr as none, zr as clsx } from "./workbenchSelect-
|
|
4
|
+
import { $ as json$1, $r as useStableCallback, $t as useHoverFloatingInteraction, A as nextNodeName, An as useOnFirstRender, Br as useRenderElement, Cr as triggerHover, Ct as COMPOSITE_KEYS, Dr as useRegisterFieldControl, Er as useFormContext, Fn as getNextTabbable, Fr as Button, Ft as getDisabledMountTransitionStyles, Gr as useMergedRefs, Gt as triggerOpenStateMapping, Hr as EMPTY_OBJECT, I as conditionInputPorts, In as getTabbableAfterElement, Ir as buttonVariants, It as InternalBackdrop, J as _enum, K as webhookSupportsBody, Kr as useButton, Kt as useOpenInteractionType, Ln as getTabbableBeforeElement, Lr as cn, Lt as useAnchorPositioning, M as normalizeNodeName, Mn as Input, Mr as visuallyHidden, Mt as useToolbarRootContext, N as portsByHandle, Nn as Timeout, Nr as visuallyHiddenInput, Nt as useAnchoredPopupScrollLock, O as applyFlowChanges$1, Or as useFieldRootContext, Pr as useControlled, Pt as usePositioner, Q as int, Qt as useHoverReferenceInteraction, R as nodeInputMappings, Rn as isOutsideEvent, Rr as cva, Rt as adaptiveOrigin, Sn as FocusGuard, Tr as useLabelableContext, Ur as NOOP, Ut as popupStateMapping, V as otherwiseOutput, Vt as inertValue, W as decodeRevisionContent, Wt as pressableTriggerOpenStateMapping, X as boolean, Xn as contains, Xr as mergeProps, Y as array, Yr as formatErrorMessage, Yt as useRole, Z as discriminatedUnion, Zr as useIsoLayoutEffect, Zt as useInteractions, an as useImplicitActiveTrigger, ar as useOpenChangeComplete, at as string$1, cr as transitionStatusMapping, d as Tooltip, dn as FloatingFocusManager, dr as createChangeEventDetails, dt as SelectItem, ei as useRefWithInit, er as useLabelableId, et as lazy$1, f as TooltipContent, fn as FloatingNode, gr as imperativeAction, hn as useFloatingParentNodeId, hr as focusOut, in as PopupTriggerMap, ir as useTransitionStatus, it as strictObject, jn as Label, jr as fieldValidityMapping, k as isSchemaKeyword, kn as createSelector, kr as useBaseUiId, ln as useDismiss, lr as useOnMount, lt as SelectContent, m as TooltipTrigger, mn as useFloatingNodeId, mt as SelectValue, ni as isHTMLElement$1, nn as createInitialPopupStoreState, nr as Check, nt as number, on as useOpenStateTransitions, or as useAnimationsFinished, ot as union, pn as FloatingTree, pr as closePress, pt as SelectTrigger, q as dequal, qt as safePolygon, rn as popupStoreSelectors, rr as createLucideIcon, rt as record$2, sn as useTriggerDataForwarding, st as Select, tn as useSyncedFloatingRootContext, tt as literal, un as useClick, ur as useValueChanged, ut as SelectGroup, vn as FloatingPortal, wn as ReactStore, xn as POPUP_COLLISION_AVOIDANCE, yn as CLICK_TRIGGER_IDENTIFIER, yr as none, zr as clsx } from "./workbenchSelect-C9kwcUmN.js";
|
|
5
5
|
import { a as toPlainObject, i as isString$1 } from "./dist-BDBTOgS5.js";
|
|
6
6
|
import { c as isUiLanguage, d as uiLanguages, i as objectValue, l as resolveUiLanguage, s as valueType, t as initialValue } from "./value-DL_poNiC.js";
|
|
7
7
|
import "./lib-Dws05GHj.js";
|
|
@@ -4110,6 +4110,88 @@ function isJsonObject(value) {
|
|
|
4110
4110
|
}
|
|
4111
4111
|
//#endregion
|
|
4112
4112
|
//#region src/trigger/common/contract.ts
|
|
4113
|
+
var errorOutputs = [
|
|
4114
|
+
{
|
|
4115
|
+
handle: "workflow",
|
|
4116
|
+
nullable: false,
|
|
4117
|
+
jsonSchema: {
|
|
4118
|
+
type: "object",
|
|
4119
|
+
additionalProperties: false,
|
|
4120
|
+
required: [
|
|
4121
|
+
"flowId",
|
|
4122
|
+
"name",
|
|
4123
|
+
"revisionId",
|
|
4124
|
+
"publicationId"
|
|
4125
|
+
],
|
|
4126
|
+
properties: {
|
|
4127
|
+
flowId: { type: "string" },
|
|
4128
|
+
name: { type: "string" },
|
|
4129
|
+
revisionId: { type: "string" },
|
|
4130
|
+
publicationId: { type: ["string", "null"] }
|
|
4131
|
+
}
|
|
4132
|
+
}
|
|
4133
|
+
},
|
|
4134
|
+
{
|
|
4135
|
+
handle: "execution",
|
|
4136
|
+
nullable: false,
|
|
4137
|
+
jsonSchema: {
|
|
4138
|
+
type: "object",
|
|
4139
|
+
additionalProperties: false,
|
|
4140
|
+
required: [
|
|
4141
|
+
"runId",
|
|
4142
|
+
"status",
|
|
4143
|
+
"startedAt",
|
|
4144
|
+
"finishedAt"
|
|
4145
|
+
],
|
|
4146
|
+
properties: {
|
|
4147
|
+
runId: { type: "string" },
|
|
4148
|
+
status: { enum: ["failed", "indeterminate"] },
|
|
4149
|
+
startedAt: { type: ["string", "null"] },
|
|
4150
|
+
finishedAt: { type: "string" }
|
|
4151
|
+
}
|
|
4152
|
+
}
|
|
4153
|
+
},
|
|
4154
|
+
{
|
|
4155
|
+
handle: "error",
|
|
4156
|
+
nullable: false,
|
|
4157
|
+
jsonSchema: {
|
|
4158
|
+
type: "object",
|
|
4159
|
+
additionalProperties: false,
|
|
4160
|
+
required: ["code", "message"],
|
|
4161
|
+
properties: {
|
|
4162
|
+
code: { type: "string" },
|
|
4163
|
+
message: { type: "string" },
|
|
4164
|
+
nodeId: { type: "string" },
|
|
4165
|
+
jobId: { type: "string" },
|
|
4166
|
+
path: {
|
|
4167
|
+
type: "array",
|
|
4168
|
+
items: { type: "string" }
|
|
4169
|
+
}
|
|
4170
|
+
}
|
|
4171
|
+
}
|
|
4172
|
+
}
|
|
4173
|
+
];
|
|
4174
|
+
var sampleErrorOutputs = {
|
|
4175
|
+
workflow: {
|
|
4176
|
+
flowId: "example-flow",
|
|
4177
|
+
name: "Example workflow",
|
|
4178
|
+
revisionId: "example-revision",
|
|
4179
|
+
publicationId: "example-publication"
|
|
4180
|
+
},
|
|
4181
|
+
execution: {
|
|
4182
|
+
runId: "example-run",
|
|
4183
|
+
status: "failed",
|
|
4184
|
+
startedAt: "2026-01-01T00:00:00.000Z",
|
|
4185
|
+
finishedAt: "2026-01-01T00:00:01.000Z"
|
|
4186
|
+
},
|
|
4187
|
+
error: {
|
|
4188
|
+
code: "node.failed",
|
|
4189
|
+
message: "Example failure",
|
|
4190
|
+
nodeId: "example-node",
|
|
4191
|
+
jobId: "example-job",
|
|
4192
|
+
path: []
|
|
4193
|
+
}
|
|
4194
|
+
};
|
|
4113
4195
|
var webhookOutputs = [
|
|
4114
4196
|
{
|
|
4115
4197
|
handle: "headers",
|
|
@@ -4154,6 +4236,7 @@ var cronOutputs = [{
|
|
|
4154
4236
|
}];
|
|
4155
4237
|
function triggerOutputDefinitions(trigger) {
|
|
4156
4238
|
switch (trigger.kind) {
|
|
4239
|
+
case "error": return errorOutputs;
|
|
4157
4240
|
case "manual": return [];
|
|
4158
4241
|
case "cron": return cronOutputs;
|
|
4159
4242
|
case "poll":
|
|
@@ -4215,6 +4298,7 @@ function nodeInputPorts(document, node) {
|
|
|
4215
4298
|
case "cron":
|
|
4216
4299
|
case "integration":
|
|
4217
4300
|
case "poll":
|
|
4301
|
+
case "error":
|
|
4218
4302
|
case "manual":
|
|
4219
4303
|
case "webhook": return {};
|
|
4220
4304
|
}
|
|
@@ -4265,6 +4349,7 @@ function nodeOutputPorts(document, node) {
|
|
|
4265
4349
|
case "cron":
|
|
4266
4350
|
case "integration":
|
|
4267
4351
|
case "poll":
|
|
4352
|
+
case "error":
|
|
4268
4353
|
case "manual":
|
|
4269
4354
|
case "webhook": return triggerOutputPorts(node);
|
|
4270
4355
|
}
|
|
@@ -4585,6 +4670,7 @@ function triggerKey(value) {
|
|
|
4585
4670
|
};
|
|
4586
4671
|
}
|
|
4587
4672
|
var triggerKinds = /* @__PURE__ */ new Set([
|
|
4673
|
+
"error",
|
|
4588
4674
|
"cron",
|
|
4589
4675
|
"integration",
|
|
4590
4676
|
"poll",
|
|
@@ -4967,6 +5053,17 @@ function variable(value) {
|
|
|
4967
5053
|
version: 1
|
|
4968
5054
|
};
|
|
4969
5055
|
}
|
|
5056
|
+
function errorListener(value) {
|
|
5057
|
+
const source = record$1(value);
|
|
5058
|
+
if (typeof source.enabled != "boolean") return invalidResponse();
|
|
5059
|
+
return {
|
|
5060
|
+
flowId: string(source.flowId),
|
|
5061
|
+
flowName: string(source.flowName),
|
|
5062
|
+
nodeId: string(source.nodeId),
|
|
5063
|
+
nodeName: string(source.nodeName),
|
|
5064
|
+
enabled: source.enabled
|
|
5065
|
+
};
|
|
5066
|
+
}
|
|
4970
5067
|
//#endregion
|
|
4971
5068
|
//#region src/control/common/publicationDecoders.ts
|
|
4972
5069
|
function publication$7(value) {
|
|
@@ -5240,6 +5337,7 @@ function runDetails(value) {
|
|
|
5240
5337
|
};
|
|
5241
5338
|
const details = {
|
|
5242
5339
|
...summary,
|
|
5340
|
+
...errorHandling(source),
|
|
5243
5341
|
closureDigest: string(source.closureDigest),
|
|
5244
5342
|
engineContract: string(source.engineContract),
|
|
5245
5343
|
engineDigest: string(source.engineDigest),
|
|
@@ -5339,10 +5437,7 @@ function runResult(value) {
|
|
|
5339
5437
|
const error = record$1(source.error);
|
|
5340
5438
|
return {
|
|
5341
5439
|
...base,
|
|
5342
|
-
error:
|
|
5343
|
-
code: string(error.code),
|
|
5344
|
-
message: string(error.message)
|
|
5345
|
-
},
|
|
5440
|
+
error: runFailure(error),
|
|
5346
5441
|
status: "failed"
|
|
5347
5442
|
};
|
|
5348
5443
|
}
|
|
@@ -5350,15 +5445,52 @@ function runResult(value) {
|
|
|
5350
5445
|
const error = record$1(source.error);
|
|
5351
5446
|
return {
|
|
5352
5447
|
...base,
|
|
5353
|
-
error:
|
|
5354
|
-
code: string(error.code),
|
|
5355
|
-
message: string(error.message)
|
|
5356
|
-
},
|
|
5448
|
+
error: runFailure(error),
|
|
5357
5449
|
status: "indeterminate"
|
|
5358
5450
|
};
|
|
5359
5451
|
}
|
|
5360
5452
|
return invalidResponse();
|
|
5361
5453
|
}
|
|
5454
|
+
function errorHandling(source) {
|
|
5455
|
+
const errorSource = source.errorSource == null ? void 0 : record$1(source.errorSource);
|
|
5456
|
+
if (source.errorDispatches != null && !Array.isArray(source.errorDispatches)) return invalidResponse();
|
|
5457
|
+
return {
|
|
5458
|
+
...errorSource == null ? {} : { errorSource: {
|
|
5459
|
+
flowId: string(errorSource.flowId),
|
|
5460
|
+
runId: string(errorSource.runId)
|
|
5461
|
+
} },
|
|
5462
|
+
...source.errorDispatches == null ? {} : { errorDispatches: source.errorDispatches.map((value) => {
|
|
5463
|
+
const dispatch = record$1(value);
|
|
5464
|
+
const flowId = string(dispatch.flowId);
|
|
5465
|
+
switch (dispatch.status) {
|
|
5466
|
+
case "pending": return {
|
|
5467
|
+
status: "pending",
|
|
5468
|
+
flowId
|
|
5469
|
+
};
|
|
5470
|
+
case "dispatched": return {
|
|
5471
|
+
status: "dispatched",
|
|
5472
|
+
flowId,
|
|
5473
|
+
runId: string(dispatch.runId)
|
|
5474
|
+
};
|
|
5475
|
+
case "failed": return {
|
|
5476
|
+
status: "failed",
|
|
5477
|
+
flowId,
|
|
5478
|
+
message: string(dispatch.message)
|
|
5479
|
+
};
|
|
5480
|
+
default: return invalidResponse();
|
|
5481
|
+
}
|
|
5482
|
+
}) }
|
|
5483
|
+
};
|
|
5484
|
+
}
|
|
5485
|
+
function runFailure(error) {
|
|
5486
|
+
return {
|
|
5487
|
+
code: string(error.code),
|
|
5488
|
+
message: string(error.message),
|
|
5489
|
+
...error.nodeId === void 0 ? {} : { nodeId: string(error.nodeId) },
|
|
5490
|
+
...error.jobId === void 0 ? {} : { jobId: string(error.jobId) },
|
|
5491
|
+
...error.path === void 0 ? {} : { path: (Array.isArray(error.path) ? error.path : invalidResponse()).map(string) }
|
|
5492
|
+
};
|
|
5493
|
+
}
|
|
5362
5494
|
//#endregion
|
|
5363
5495
|
//#region src/control/common/random.ts
|
|
5364
5496
|
function randomId() {
|
|
@@ -5657,6 +5789,11 @@ var ControlClient = class {
|
|
|
5657
5789
|
async getFlow(flowId) {
|
|
5658
5790
|
return flow(await this.request(`/v1/flows/${segment$1(flowId)}`));
|
|
5659
5791
|
}
|
|
5792
|
+
async getErrorListeners(flowId, signal) {
|
|
5793
|
+
const source = record$1(await this.request(`/v1/flows/${segment$1(flowId)}/error-listeners`, { signal }));
|
|
5794
|
+
if (source.version != 1 || !Array.isArray(source.listeners)) return invalidResponse();
|
|
5795
|
+
return source.listeners.map(errorListener);
|
|
5796
|
+
}
|
|
5660
5797
|
async renameFlow(flowId, name) {
|
|
5661
5798
|
return flow(await this.request(`/v1/flows/${segment$1(flowId)}`, {
|
|
5662
5799
|
body: JSON.stringify({
|
|
@@ -7335,7 +7472,8 @@ var en_default$3 = {
|
|
|
7335
7472
|
"triggerSource": {
|
|
7336
7473
|
"manual": "Manual",
|
|
7337
7474
|
"cron": "Schedule",
|
|
7338
|
-
"webhook": "Webhook"
|
|
7475
|
+
"webhook": "Webhook",
|
|
7476
|
+
"error": "Error Trigger"
|
|
7339
7477
|
},
|
|
7340
7478
|
"kind": {
|
|
7341
7479
|
"task": "Task",
|
|
@@ -7973,7 +8111,8 @@ var fr_default$3 = {
|
|
|
7973
8111
|
"triggerSource": {
|
|
7974
8112
|
"manual": "Manuel",
|
|
7975
8113
|
"cron": "Planification",
|
|
7976
|
-
"webhook": "Webhook"
|
|
8114
|
+
"webhook": "Webhook",
|
|
8115
|
+
"error": "Déclencheur d’erreur"
|
|
7977
8116
|
},
|
|
7978
8117
|
"kind": {
|
|
7979
8118
|
"task": "Tâche",
|
|
@@ -8611,7 +8750,8 @@ var ja_default$3 = {
|
|
|
8611
8750
|
"triggerSource": {
|
|
8612
8751
|
"manual": "手動",
|
|
8613
8752
|
"cron": "スケジュール実行",
|
|
8614
|
-
"webhook": "Webhook"
|
|
8753
|
+
"webhook": "Webhook",
|
|
8754
|
+
"error": "エラートリガー"
|
|
8615
8755
|
},
|
|
8616
8756
|
"kind": {
|
|
8617
8757
|
"task": "タスク",
|
|
@@ -9249,7 +9389,8 @@ var ko_default$3 = {
|
|
|
9249
9389
|
"triggerSource": {
|
|
9250
9390
|
"manual": "수동",
|
|
9251
9391
|
"cron": "일정",
|
|
9252
|
-
"webhook": "Webhook"
|
|
9392
|
+
"webhook": "Webhook",
|
|
9393
|
+
"error": "오류 트리거"
|
|
9253
9394
|
},
|
|
9254
9395
|
"kind": {
|
|
9255
9396
|
"task": "작업",
|
|
@@ -9887,7 +10028,8 @@ var ru_default$3 = {
|
|
|
9887
10028
|
"triggerSource": {
|
|
9888
10029
|
"manual": "Вручную",
|
|
9889
10030
|
"cron": "Расписание",
|
|
9890
|
-
"webhook": "Webhook"
|
|
10031
|
+
"webhook": "Webhook",
|
|
10032
|
+
"error": "Триггер ошибки"
|
|
9891
10033
|
},
|
|
9892
10034
|
"kind": {
|
|
9893
10035
|
"task": "Задача",
|
|
@@ -10525,7 +10667,8 @@ var zh_CN_default$3 = {
|
|
|
10525
10667
|
"triggerSource": {
|
|
10526
10668
|
"manual": "手动",
|
|
10527
10669
|
"cron": "定时",
|
|
10528
|
-
"webhook": "Webhook"
|
|
10670
|
+
"webhook": "Webhook",
|
|
10671
|
+
"error": "错误触发器"
|
|
10529
10672
|
},
|
|
10530
10673
|
"kind": {
|
|
10531
10674
|
"task": "任务",
|
|
@@ -11163,7 +11306,8 @@ var zh_TW_default$3 = {
|
|
|
11163
11306
|
"triggerSource": {
|
|
11164
11307
|
"manual": "手動",
|
|
11165
11308
|
"cron": "排程",
|
|
11166
|
-
"webhook": "Webhook"
|
|
11309
|
+
"webhook": "Webhook",
|
|
11310
|
+
"error": "錯誤觸發器"
|
|
11167
11311
|
},
|
|
11168
11312
|
"kind": {
|
|
11169
11313
|
"task": "任務",
|
|
@@ -13154,7 +13298,12 @@ var resources$1 = {
|
|
|
13154
13298
|
"renameFlow": "Rename {{name}}",
|
|
13155
13299
|
"search": "Search",
|
|
13156
13300
|
"searchResources": "Search {{kind}}",
|
|
13157
|
-
"subflows": "Subflows"
|
|
13301
|
+
"subflows": "Subflows",
|
|
13302
|
+
"listenersLoading": "Checking error listeners…",
|
|
13303
|
+
"listenersFailed": "Could not check error listeners. Retry or continue deleting.",
|
|
13304
|
+
"listenersTitle": "These published Error Trigger configurations listen to this workflow:",
|
|
13305
|
+
"listenerDisabled": "Disabled",
|
|
13306
|
+
"listenersImpact": "Deleting stops errors from this workflow reaching these triggers. Other upstream workflows are unaffected. Unavailable references must be removed from their configurations manually."
|
|
13158
13307
|
},
|
|
13159
13308
|
diagnostics: {
|
|
13160
13309
|
"checking": "Checking the current Draft…",
|
|
@@ -13746,6 +13895,34 @@ var resources$1 = {
|
|
|
13746
13895
|
"loading": "Loading version…",
|
|
13747
13896
|
"failed": "This version could not be loaded. Its content may no longer be available.",
|
|
13748
13897
|
"root": "Main flow"
|
|
13898
|
+
},
|
|
13899
|
+
errorWorkflow: {
|
|
13900
|
+
"trigger": "Error Trigger",
|
|
13901
|
+
"description": "Runs when another workflow fails.",
|
|
13902
|
+
"empty": "No published workflows available.",
|
|
13903
|
+
"retry": "Retry",
|
|
13904
|
+
"more": "Load more",
|
|
13905
|
+
"pending": "Waiting for error handling",
|
|
13906
|
+
"dispatched": "Error handling run",
|
|
13907
|
+
"failed": "Error handling could not start",
|
|
13908
|
+
"source": "Source run",
|
|
13909
|
+
"workflow": "Workflow that failed.",
|
|
13910
|
+
"execution": "Failed execution and its final status.",
|
|
13911
|
+
"error": "Error message and available node location.",
|
|
13912
|
+
"setupHint": "Choose published workflows. Publish and enable this workflow to listen for failures in their automatic runs.",
|
|
13913
|
+
"sources": "Upstream workflows",
|
|
13914
|
+
"search": "Search upstream workflows",
|
|
13915
|
+
"noMatches": "No matching workflows",
|
|
13916
|
+
"choose": "Select upstream workflows",
|
|
13917
|
+
"done": "Done",
|
|
13918
|
+
"clear": "Clear selection",
|
|
13919
|
+
"deletedName": "Deleted workflow",
|
|
13920
|
+
"deleted": "Deleted",
|
|
13921
|
+
"retiring": "Being deleted",
|
|
13922
|
+
"unpublished": "Not published",
|
|
13923
|
+
"self": "Cannot listen to this workflow itself",
|
|
13924
|
+
"removeHint": "Remove unavailable upstream workflows before publishing again.",
|
|
13925
|
+
"removeUnavailable": "Remove unavailable upstreams"
|
|
13749
13926
|
}
|
|
13750
13927
|
},
|
|
13751
13928
|
"zh-CN": {
|
|
@@ -14504,7 +14681,12 @@ var resources$1 = {
|
|
|
14504
14681
|
"renameFlow": "重命名 {{name}}",
|
|
14505
14682
|
"search": "搜索",
|
|
14506
14683
|
"searchResources": "搜索{{kind}}",
|
|
14507
|
-
"subflows": "Subflow"
|
|
14684
|
+
"subflows": "Subflow",
|
|
14685
|
+
"listenersLoading": "正在查询错误触发器…",
|
|
14686
|
+
"listenersFailed": "无法确认哪些错误触发器正在监听。可重试,或继续删除。",
|
|
14687
|
+
"listenersTitle": "以下已发布的错误触发器配置正在监听此工作流:",
|
|
14688
|
+
"listenerDisabled": "已停用",
|
|
14689
|
+
"listenersImpact": "删除后将停止接收此工作流的错误,其他上游的监听不受影响。配置中的失效引用需手动移除。"
|
|
14508
14690
|
},
|
|
14509
14691
|
diagnostics: {
|
|
14510
14692
|
"checking": "正在检查当前草稿…",
|
|
@@ -15096,6 +15278,34 @@ var resources$1 = {
|
|
|
15096
15278
|
"loading": "正在加载版本…",
|
|
15097
15279
|
"failed": "无法加载此版本,其内容可能已不可用。",
|
|
15098
15280
|
"root": "主流程"
|
|
15281
|
+
},
|
|
15282
|
+
errorWorkflow: {
|
|
15283
|
+
"trigger": "错误触发器",
|
|
15284
|
+
"description": "其他工作流失败时运行。",
|
|
15285
|
+
"empty": "暂无可选的已发布工作流。",
|
|
15286
|
+
"retry": "重试",
|
|
15287
|
+
"more": "加载更多",
|
|
15288
|
+
"pending": "等待错误处理",
|
|
15289
|
+
"dispatched": "错误处理运行",
|
|
15290
|
+
"failed": "无法启动错误处理",
|
|
15291
|
+
"source": "来源运行",
|
|
15292
|
+
"workflow": "发生错误的工作流。",
|
|
15293
|
+
"execution": "失败运行及其最终状态。",
|
|
15294
|
+
"error": "错误消息及可用的节点位置。",
|
|
15295
|
+
"setupHint": "可多选已发布的其他工作流。发布并启用当前工作流后生效,仅监听自动运行失败。",
|
|
15296
|
+
"sources": "监听的上游工作流",
|
|
15297
|
+
"search": "搜索上游工作流",
|
|
15298
|
+
"noMatches": "没有匹配的工作流",
|
|
15299
|
+
"choose": "选择上游工作流",
|
|
15300
|
+
"done": "完成",
|
|
15301
|
+
"clear": "清空选择",
|
|
15302
|
+
"deletedName": "已删除的工作流",
|
|
15303
|
+
"deleted": "已删除",
|
|
15304
|
+
"retiring": "删除中",
|
|
15305
|
+
"unpublished": "未发布",
|
|
15306
|
+
"self": "不能监听当前工作流",
|
|
15307
|
+
"removeHint": "请移除失效上游后重新发布。",
|
|
15308
|
+
"removeUnavailable": "移除失效上游"
|
|
15099
15309
|
}
|
|
15100
15310
|
},
|
|
15101
15311
|
"zh-TW": {
|
|
@@ -15854,7 +16064,12 @@ var resources$1 = {
|
|
|
15854
16064
|
"renameFlow": "重新命名 {{name}}",
|
|
15855
16065
|
"search": "搜尋",
|
|
15856
16066
|
"searchResources": "搜尋 {{kind}}",
|
|
15857
|
-
"subflows": "Subflow"
|
|
16067
|
+
"subflows": "Subflow",
|
|
16068
|
+
"listenersLoading": "正在查詢錯誤觸發器…",
|
|
16069
|
+
"listenersFailed": "無法確認哪些錯誤觸發器正在監聽。可重試,或繼續刪除。",
|
|
16070
|
+
"listenersTitle": "以下已發佈的錯誤觸發器設定正在監聽此工作流程:",
|
|
16071
|
+
"listenerDisabled": "已停用",
|
|
16072
|
+
"listenersImpact": "刪除後將停止接收此工作流程的錯誤,其他上游的監聽不受影響。設定中的失效引用需手動移除。"
|
|
15858
16073
|
},
|
|
15859
16074
|
diagnostics: {
|
|
15860
16075
|
"checking": "正在檢查目前的草稿…",
|
|
@@ -16446,6 +16661,34 @@ var resources$1 = {
|
|
|
16446
16661
|
"loading": "正在載入版本…",
|
|
16447
16662
|
"failed": "無法載入此版本,其內容可能已無法使用。",
|
|
16448
16663
|
"root": "主流程"
|
|
16664
|
+
},
|
|
16665
|
+
errorWorkflow: {
|
|
16666
|
+
"trigger": "錯誤觸發器",
|
|
16667
|
+
"description": "其他工作流程失敗時執行。",
|
|
16668
|
+
"empty": "暫無可選的已發布工作流程。",
|
|
16669
|
+
"retry": "重試",
|
|
16670
|
+
"more": "載入更多",
|
|
16671
|
+
"pending": "等待錯誤處理",
|
|
16672
|
+
"dispatched": "錯誤處理執行",
|
|
16673
|
+
"failed": "無法啟動錯誤處理",
|
|
16674
|
+
"source": "來源執行",
|
|
16675
|
+
"workflow": "發生錯誤的工作流程。",
|
|
16676
|
+
"execution": "失敗執行及其最終狀態。",
|
|
16677
|
+
"error": "錯誤訊息及可用的節點位置。",
|
|
16678
|
+
"setupHint": "可複選已發布的其他工作流程。發布並啟用目前工作流程後生效,僅監聽自動執行失敗。",
|
|
16679
|
+
"sources": "監聽的上游工作流程",
|
|
16680
|
+
"search": "搜尋上游工作流程",
|
|
16681
|
+
"noMatches": "沒有符合的工作流程",
|
|
16682
|
+
"choose": "選擇上游工作流程",
|
|
16683
|
+
"done": "完成",
|
|
16684
|
+
"clear": "清空選取",
|
|
16685
|
+
"deletedName": "已刪除的工作流程",
|
|
16686
|
+
"deleted": "已刪除",
|
|
16687
|
+
"retiring": "刪除中",
|
|
16688
|
+
"unpublished": "未發佈",
|
|
16689
|
+
"self": "不能監聽目前工作流程",
|
|
16690
|
+
"removeHint": "請移除失效上游後重新發佈。",
|
|
16691
|
+
"removeUnavailable": "移除失效上游"
|
|
16449
16692
|
}
|
|
16450
16693
|
},
|
|
16451
16694
|
"ja": {
|
|
@@ -16992,7 +17235,12 @@ var resources$1 = {
|
|
|
16992
17235
|
"renameFlow": "{{name}} の名前を変更",
|
|
16993
17236
|
"search": "検索",
|
|
16994
17237
|
"searchResources": "{{kind}} を検索",
|
|
16995
|
-
"subflows": "Subflow"
|
|
17238
|
+
"subflows": "Subflow",
|
|
17239
|
+
"listenersLoading": "エラートリガーを確認中…",
|
|
17240
|
+
"listenersFailed": "エラートリガーを確認できませんでした。再試行するか、削除を続行できます。",
|
|
17241
|
+
"listenersTitle": "次の公開済みエラートリガー設定がこのワークフローを監視しています:",
|
|
17242
|
+
"listenerDisabled": "無効",
|
|
17243
|
+
"listenersImpact": "削除すると、このワークフローのエラーは届かなくなります。他の上流の監視には影響しません。無効な参照は設定から手動で削除してください。"
|
|
16996
17244
|
},
|
|
16997
17245
|
diagnostics: {
|
|
16998
17246
|
"checking": "現在のドラフトを検査中…",
|
|
@@ -17584,6 +17832,34 @@ var resources$1 = {
|
|
|
17584
17832
|
"loading": "バージョンを読み込み中…",
|
|
17585
17833
|
"failed": "このバージョンを読み込めません。内容が利用できなくなった可能性があります。",
|
|
17586
17834
|
"root": "メインフロー"
|
|
17835
|
+
},
|
|
17836
|
+
errorWorkflow: {
|
|
17837
|
+
"trigger": "エラートリガー",
|
|
17838
|
+
"description": "別のワークフローが失敗したときに実行します。",
|
|
17839
|
+
"empty": "選択できる公開済みワークフローがありません。",
|
|
17840
|
+
"retry": "再試行",
|
|
17841
|
+
"more": "さらに読み込む",
|
|
17842
|
+
"pending": "エラー処理を待機中",
|
|
17843
|
+
"dispatched": "エラー処理の実行",
|
|
17844
|
+
"failed": "エラー処理を開始できませんでした",
|
|
17845
|
+
"source": "元の実行",
|
|
17846
|
+
"workflow": "失敗したワークフロー。",
|
|
17847
|
+
"execution": "失敗した実行と最終状態。",
|
|
17848
|
+
"error": "エラーメッセージと利用可能なノード位置。",
|
|
17849
|
+
"setupHint": "公開済みの他のワークフローを複数選択できます。このワークフローを公開して有効にすると、自動実行の失敗を監視します。",
|
|
17850
|
+
"sources": "監視する上流ワークフロー",
|
|
17851
|
+
"search": "上流ワークフローを検索",
|
|
17852
|
+
"noMatches": "一致するワークフローがありません",
|
|
17853
|
+
"choose": "上流ワークフローを選択",
|
|
17854
|
+
"done": "完了",
|
|
17855
|
+
"clear": "選択をクリア",
|
|
17856
|
+
"deletedName": "削除済みのワークフロー",
|
|
17857
|
+
"deleted": "削除済み",
|
|
17858
|
+
"retiring": "削除中",
|
|
17859
|
+
"unpublished": "未公開",
|
|
17860
|
+
"self": "このワークフロー自身は監視できません",
|
|
17861
|
+
"removeHint": "利用できない上流ワークフローを削除してから再公開してください。",
|
|
17862
|
+
"removeUnavailable": "利用できない上流を削除"
|
|
17587
17863
|
}
|
|
17588
17864
|
},
|
|
17589
17865
|
"ko": {
|
|
@@ -18130,7 +18406,12 @@ var resources$1 = {
|
|
|
18130
18406
|
"renameFlow": "{{name}} 이름 바꾸기",
|
|
18131
18407
|
"search": "검색",
|
|
18132
18408
|
"searchResources": "{{kind}} 검색",
|
|
18133
|
-
"subflows": "Subflow"
|
|
18409
|
+
"subflows": "Subflow",
|
|
18410
|
+
"listenersLoading": "오류 트리거 확인 중…",
|
|
18411
|
+
"listenersFailed": "오류 트리거를 확인하지 못했습니다. 다시 시도하거나 삭제를 계속할 수 있습니다.",
|
|
18412
|
+
"listenersTitle": "다음 게시된 오류 트리거 설정이 이 워크플로를 감시합니다:",
|
|
18413
|
+
"listenerDisabled": "비활성화됨",
|
|
18414
|
+
"listenersImpact": "삭제하면 이 워크플로의 오류 전달이 중단됩니다. 다른 상위 워크플로에는 영향이 없습니다. 설정에서 사용할 수 없는 참조를 직접 제거해야 합니다."
|
|
18134
18415
|
},
|
|
18135
18416
|
diagnostics: {
|
|
18136
18417
|
"checking": "현재 초안을 검사하는 중…",
|
|
@@ -18722,6 +19003,34 @@ var resources$1 = {
|
|
|
18722
19003
|
"loading": "버전 불러오는 중…",
|
|
18723
19004
|
"failed": "이 버전을 불러올 수 없습니다. 내용을 더 이상 사용할 수 없을 수 있습니다.",
|
|
18724
19005
|
"root": "메인 플로"
|
|
19006
|
+
},
|
|
19007
|
+
errorWorkflow: {
|
|
19008
|
+
"trigger": "오류 트리거",
|
|
19009
|
+
"description": "다른 워크플로가 실패하면 실행합니다.",
|
|
19010
|
+
"empty": "선택할 수 있는 게시된 워크플로가 없습니다.",
|
|
19011
|
+
"retry": "다시 시도",
|
|
19012
|
+
"more": "더 불러오기",
|
|
19013
|
+
"pending": "오류 처리 대기 중",
|
|
19014
|
+
"dispatched": "오류 처리 실행",
|
|
19015
|
+
"failed": "오류 처리를 시작할 수 없음",
|
|
19016
|
+
"source": "원본 실행",
|
|
19017
|
+
"workflow": "실패한 워크플로입니다.",
|
|
19018
|
+
"execution": "실패한 실행 및 최종 상태입니다.",
|
|
19019
|
+
"error": "오류 메시지 및 확인 가능한 노드 위치입니다.",
|
|
19020
|
+
"setupHint": "게시된 다른 워크플로를 여러 개 선택하세요. 현재 워크플로를 게시하고 활성화하면 자동 실행 실패를 감시합니다.",
|
|
19021
|
+
"sources": "감시할 상위 워크플로",
|
|
19022
|
+
"search": "상위 워크플로 검색",
|
|
19023
|
+
"noMatches": "일치하는 워크플로가 없습니다",
|
|
19024
|
+
"choose": "상위 워크플로 선택",
|
|
19025
|
+
"done": "완료",
|
|
19026
|
+
"clear": "선택 해제",
|
|
19027
|
+
"deletedName": "삭제된 워크플로",
|
|
19028
|
+
"deleted": "삭제됨",
|
|
19029
|
+
"retiring": "삭제 중",
|
|
19030
|
+
"unpublished": "게시되지 않음",
|
|
19031
|
+
"self": "현재 워크플로 자체는 감시할 수 없습니다",
|
|
19032
|
+
"removeHint": "사용할 수 없는 상위 워크플로를 제거한 후 다시 게시하세요.",
|
|
19033
|
+
"removeUnavailable": "사용 불가 상위 제거"
|
|
18725
19034
|
}
|
|
18726
19035
|
},
|
|
18727
19036
|
"ru": {
|
|
@@ -19268,7 +19577,12 @@ var resources$1 = {
|
|
|
19268
19577
|
"renameFlow": "Переименовать {{name}}",
|
|
19269
19578
|
"search": "Поиск",
|
|
19270
19579
|
"searchResources": "Поиск {{kind}}",
|
|
19271
|
-
"subflows": "Subflow"
|
|
19580
|
+
"subflows": "Subflow",
|
|
19581
|
+
"listenersLoading": "Проверка обработчиков ошибок…",
|
|
19582
|
+
"listenersFailed": "Не удалось проверить обработчики. Повторите попытку или продолжите удаление.",
|
|
19583
|
+
"listenersTitle": "Эти опубликованные настройки триггеров ошибок отслеживают процесс:",
|
|
19584
|
+
"listenerDisabled": "Отключён",
|
|
19585
|
+
"listenersImpact": "После удаления ошибки этого процесса больше не будут поступать. Другие исходные процессы не затрагиваются. Недоступные ссылки нужно удалить из настроек вручную."
|
|
19272
19586
|
},
|
|
19273
19587
|
diagnostics: {
|
|
19274
19588
|
"checking": "Проверка текущего черновика…",
|
|
@@ -19719,6 +20033,34 @@ var resources$1 = {
|
|
|
19719
20033
|
"loading": "Загрузка версии…",
|
|
19720
20034
|
"failed": "Не удалось загрузить версию. Её содержимое может быть недоступно.",
|
|
19721
20035
|
"root": "Основной процесс"
|
|
20036
|
+
},
|
|
20037
|
+
errorWorkflow: {
|
|
20038
|
+
"trigger": "Триггер ошибки",
|
|
20039
|
+
"description": "Запускается при сбое другого процесса.",
|
|
20040
|
+
"empty": "Нет доступных опубликованных процессов.",
|
|
20041
|
+
"retry": "Повторить",
|
|
20042
|
+
"more": "Загрузить ещё",
|
|
20043
|
+
"pending": "Ожидание обработки ошибки",
|
|
20044
|
+
"dispatched": "Запуск обработки ошибки",
|
|
20045
|
+
"failed": "Не удалось запустить обработку ошибки",
|
|
20046
|
+
"source": "Исходный запуск",
|
|
20047
|
+
"workflow": "Процесс, завершившийся ошибкой.",
|
|
20048
|
+
"execution": "Неудачный запуск и его итоговый статус.",
|
|
20049
|
+
"error": "Сообщение об ошибке и доступное расположение узла.",
|
|
20050
|
+
"setupHint": "Выберите опубликованные процессы. Опубликуйте и включите текущий процесс для обработки сбоев их автоматических запусков.",
|
|
20051
|
+
"sources": "Отслеживаемые процессы",
|
|
20052
|
+
"search": "Поиск отслеживаемых процессов",
|
|
20053
|
+
"noMatches": "Подходящих процессов нет",
|
|
20054
|
+
"choose": "Выбрать отслеживаемые процессы",
|
|
20055
|
+
"done": "Готово",
|
|
20056
|
+
"clear": "Снять выбор",
|
|
20057
|
+
"deletedName": "Удалённый процесс",
|
|
20058
|
+
"deleted": "Удалён",
|
|
20059
|
+
"retiring": "Удаляется",
|
|
20060
|
+
"unpublished": "Не опубликован",
|
|
20061
|
+
"self": "Нельзя отслеживать этот же процесс",
|
|
20062
|
+
"removeHint": "Удалите недоступные исходные процессы перед повторной публикацией.",
|
|
20063
|
+
"removeUnavailable": "Убрать недоступные процессы"
|
|
19722
20064
|
}
|
|
19723
20065
|
},
|
|
19724
20066
|
"fr": {
|
|
@@ -20477,7 +20819,12 @@ var resources$1 = {
|
|
|
20477
20819
|
"renameFlow": "Renommer {{name}}",
|
|
20478
20820
|
"search": "Rechercher",
|
|
20479
20821
|
"searchResources": "Rechercher des {{kind}}",
|
|
20480
|
-
"subflows": "Subflows"
|
|
20822
|
+
"subflows": "Subflows",
|
|
20823
|
+
"listenersLoading": "Recherche des déclencheurs d’erreur…",
|
|
20824
|
+
"listenersFailed": "Impossible de vérifier les déclencheurs. Réessayez ou poursuivez la suppression.",
|
|
20825
|
+
"listenersTitle": "Ces configurations publiées de déclencheurs d’erreur surveillent ce workflow :",
|
|
20826
|
+
"listenerDisabled": "Désactivé",
|
|
20827
|
+
"listenersImpact": "La suppression arrête la transmission des erreurs de ce workflow. Les autres workflows en amont ne sont pas affectés. Retirez manuellement les références indisponibles des configurations."
|
|
20481
20828
|
},
|
|
20482
20829
|
diagnostics: {
|
|
20483
20830
|
"checking": "Vérification du Brouillon actuel…",
|
|
@@ -21069,6 +21416,34 @@ var resources$1 = {
|
|
|
21069
21416
|
"loading": "Chargement de la version…",
|
|
21070
21417
|
"failed": "Impossible de charger cette version. Son contenu est peut-être indisponible.",
|
|
21071
21418
|
"root": "Flux principal"
|
|
21419
|
+
},
|
|
21420
|
+
errorWorkflow: {
|
|
21421
|
+
"trigger": "Déclencheur d’erreur",
|
|
21422
|
+
"description": "Exécute ce workflow lorsqu’un autre échoue.",
|
|
21423
|
+
"empty": "Aucun workflow publié disponible.",
|
|
21424
|
+
"retry": "Réessayer",
|
|
21425
|
+
"more": "Charger plus",
|
|
21426
|
+
"pending": "En attente de gestion des erreurs",
|
|
21427
|
+
"dispatched": "Exécution de gestion des erreurs",
|
|
21428
|
+
"failed": "Impossible de démarrer la gestion des erreurs",
|
|
21429
|
+
"source": "Exécution source",
|
|
21430
|
+
"workflow": "Workflow ayant échoué.",
|
|
21431
|
+
"execution": "Exécution en échec et son état final.",
|
|
21432
|
+
"error": "Message d’erreur et emplacement du nœud, si disponible.",
|
|
21433
|
+
"setupHint": "Choisissez des workflows publiés. Publiez et activez ce workflow pour traiter les échecs de leurs exécutions automatiques.",
|
|
21434
|
+
"sources": "Workflows en amont",
|
|
21435
|
+
"search": "Rechercher des workflows en amont",
|
|
21436
|
+
"noMatches": "Aucun workflow correspondant",
|
|
21437
|
+
"choose": "Sélectionner les workflows en amont",
|
|
21438
|
+
"done": "Terminé",
|
|
21439
|
+
"clear": "Effacer la sélection",
|
|
21440
|
+
"deletedName": "Workflow supprimé",
|
|
21441
|
+
"deleted": "Supprimé",
|
|
21442
|
+
"retiring": "Suppression en cours",
|
|
21443
|
+
"unpublished": "Non publié",
|
|
21444
|
+
"self": "Impossible de surveiller ce workflow lui-même",
|
|
21445
|
+
"removeHint": "Retirez les workflows en amont indisponibles avant de publier à nouveau.",
|
|
21446
|
+
"removeUnavailable": "Retirer les workflows indisponibles"
|
|
21072
21447
|
}
|
|
21073
21448
|
}
|
|
21074
21449
|
};
|
|
@@ -26261,6 +26636,7 @@ function defaultNodeName(content, node) {
|
|
|
26261
26636
|
case "wait": return "Wait";
|
|
26262
26637
|
case "subflow": return normalizeNodeName(content.document.subflows[node.subflowId]?.name ?? "") || "Subflow";
|
|
26263
26638
|
case "task": return normalizeNodeName(node.task != null ? node.task.name : content.document.tasks[node.taskId]?.name ?? "") || "Task";
|
|
26639
|
+
case "error": return "Error Trigger";
|
|
26264
26640
|
case "manual": return "Manual Trigger";
|
|
26265
26641
|
case "webhook": return "Webhook";
|
|
26266
26642
|
case "cron": return "Scheduled Trigger";
|
|
@@ -27407,6 +27783,7 @@ var RevisionView = class {
|
|
|
27407
27783
|
node
|
|
27408
27784
|
};
|
|
27409
27785
|
break;
|
|
27786
|
+
case "error":
|
|
27410
27787
|
case "manual":
|
|
27411
27788
|
case "cron":
|
|
27412
27789
|
case "integration":
|
|
@@ -27595,7 +27972,7 @@ var RunStore = class {
|
|
|
27595
27972
|
...state.target?.flowId == flowId ? state.target.filter : noRunFilter,
|
|
27596
27973
|
...sourceFilter
|
|
27597
27974
|
};
|
|
27598
|
-
if (warm && filter.source != state.target?.filter.source) {
|
|
27975
|
+
if (warm && (filter.source != state.target?.filter.source || filter.runId != state.target?.filter.runId)) {
|
|
27599
27976
|
await this.applyFilter(filter);
|
|
27600
27977
|
return;
|
|
27601
27978
|
}
|
|
@@ -36626,6 +37003,7 @@ function executorName(task, providerName, t) {
|
|
|
36626
37003
|
}
|
|
36627
37004
|
function triggerIcon(trigger) {
|
|
36628
37005
|
switch (trigger.kind) {
|
|
37006
|
+
case "error": return ":carbon:warning-alt:";
|
|
36629
37007
|
case "manual": return ":carbon:play:";
|
|
36630
37008
|
case "cron": return ":carbon:time:";
|
|
36631
37009
|
case "integration": return ":carbon:events:";
|
|
@@ -36775,6 +37153,7 @@ function triggerDesignerNode(triggerId, trigger, position, diagnostics, provider
|
|
|
36775
37153
|
const provider = trigger.kind == "integration" || trigger.kind == "poll" ? providers[trigger.definition.provider] : void 0;
|
|
36776
37154
|
let presentation;
|
|
36777
37155
|
switch (trigger.kind) {
|
|
37156
|
+
case "error":
|
|
36778
37157
|
case "manual":
|
|
36779
37158
|
presentation = {
|
|
36780
37159
|
kind: trigger.kind,
|
|
@@ -37329,6 +37708,20 @@ function deriveAddNodeOptions(draft, target, t) {
|
|
|
37329
37708
|
if (target.kind != "flow") return options.filter((option) => option.kind != "agent");
|
|
37330
37709
|
const group = t("addNode.triggers");
|
|
37331
37710
|
const triggers = [
|
|
37711
|
+
{
|
|
37712
|
+
description: t("errorWorkflow.description"),
|
|
37713
|
+
group,
|
|
37714
|
+
id: "trigger:error",
|
|
37715
|
+
icon: ":carbon:warning-alt:",
|
|
37716
|
+
inputs: [],
|
|
37717
|
+
kind: "trigger",
|
|
37718
|
+
label: t("errorWorkflow.trigger"),
|
|
37719
|
+
outputs: triggerOutputDefinitions({
|
|
37720
|
+
kind: "error",
|
|
37721
|
+
name: "Error Trigger"
|
|
37722
|
+
}),
|
|
37723
|
+
trigger: { kind: "error" }
|
|
37724
|
+
},
|
|
37332
37725
|
{
|
|
37333
37726
|
description: t("addNode.manualDescription"),
|
|
37334
37727
|
group,
|
|
@@ -37408,7 +37801,8 @@ function deriveAddNodeOptions(draft, target, t) {
|
|
|
37408
37801
|
}]
|
|
37409
37802
|
}
|
|
37410
37803
|
];
|
|
37411
|
-
|
|
37804
|
+
const nodes = Object.values(revisionView(draft).graph(target)?.nodes ?? {});
|
|
37805
|
+
return triggers.filter((option) => !nodes.some((node) => (node.kind == "manual" || node.kind == "error") && option.id == `trigger:${node.kind}`));
|
|
37412
37806
|
}
|
|
37413
37807
|
function addNodeIntent(option, revision, target, t) {
|
|
37414
37808
|
switch (option.kind) {
|
|
@@ -37439,6 +37833,10 @@ function addNodeIntent(option, revision, target, t) {
|
|
|
37439
37833
|
case "trigger":
|
|
37440
37834
|
if (!("trigger" in option) || option.trigger.kind == "connect") return;
|
|
37441
37835
|
switch (option.trigger.kind) {
|
|
37836
|
+
case "error": return {
|
|
37837
|
+
kind: "error",
|
|
37838
|
+
name: t("errorWorkflow.trigger")
|
|
37839
|
+
};
|
|
37442
37840
|
case "manual": return {
|
|
37443
37841
|
kind: "manual",
|
|
37444
37842
|
name: t("addNode.manual")
|
|
@@ -38132,6 +38530,12 @@ function addNode(revision, target, nodeId, intent, identity) {
|
|
|
38132
38530
|
changes = createSubflowNode(target, nodeId, intent.subflowId, subflow.inputs);
|
|
38133
38531
|
break;
|
|
38134
38532
|
}
|
|
38533
|
+
case "error":
|
|
38534
|
+
changes = target.kind == "flow" ? createBuiltinTrigger(target, nodeId, {
|
|
38535
|
+
kind: "error",
|
|
38536
|
+
name: intent.name
|
|
38537
|
+
}) : void 0;
|
|
38538
|
+
break;
|
|
38135
38539
|
case "manual":
|
|
38136
38540
|
changes = target.kind == "flow" ? createBuiltinTrigger(target, nodeId, {
|
|
38137
38541
|
kind: "manual",
|
|
@@ -38200,7 +38604,7 @@ function updateNodeIcon(revision, target, nodeId, icon) {
|
|
|
38200
38604
|
}
|
|
38201
38605
|
function updateNodeName(revision, target, nodeId, name) {
|
|
38202
38606
|
const node = revision.node(target, nodeId)?.node;
|
|
38203
|
-
if (node == null || node.kind == "manual") return;
|
|
38607
|
+
if (node == null || node.kind == "manual" || node.kind == "error") return;
|
|
38204
38608
|
const value = !("inputs" in node) ? name ?? node.name : name;
|
|
38205
38609
|
if (node.name == value) return [];
|
|
38206
38610
|
return [{
|
|
@@ -38624,4 +39028,4 @@ function replaceTaskPorts(revision, target, nodeId, task, values) {
|
|
|
38624
39028
|
return changes;
|
|
38625
39029
|
}
|
|
38626
39030
|
//#endregion
|
|
38627
|
-
export { useIconifyCollectionLoader as $, EmptyTitle as $t, calendarDate as A,
|
|
39031
|
+
export { useIconifyCollectionLoader as $, EmptyTitle as $t, calendarDate as A, connection as An, flowDependencies as At, mapSource as B, Checkbox as Bn, NativeScrollArea as Bt, schemaForEditor as C, sourceOutputLabel as Cn, resetInputValues as Ct, isUnconstrainedSchema as D, triggerConfigValue as Dn, setTriggerConnection as Dt, getDefaultValue as E, isJsonObject as En, setInputSources as Et, deriveAddNodeOptions as F, record$1 as Fn, PopoverContent as Ft, resourceValue as G, InputGroup as Gt, Resource as H, VirtualScrollArea as Ht, indexAddNodeOptions as I, string as In, PopoverDescription as It, triggerNodeIcon as J, Empty as Jt, designerGraph as K, InputGroupAddon as Kt, feishuResourceKind as L, providerIconAppearance as Ln, PopoverPanelContent as Lt, datePickerValue as M, inputValue as Mn, followWorkbenchLink as Mt, isDateFormat as N, invalidResponse as Nn, Switch as Nt, typeOfSchema as O, triggerConfigValues as On, updateTriggerConfig as Ot, addNodeIntent as P, jsonValue as Pn, Popover as Pt, IconifyProvider as Q, EmptyMedia as Qt, supportsFeishuChatFilter as R, ApiError as Rn, PopoverTitle as Rt, editorGroups as S, resolutionOutputPorts as Sn, repairNodeNames as St, valueForEditor as T, triggerOutputDefinitions as Tn, setConnectorConnection as Tt, observeResource as U, Z as Ut, scopedValue as V, IconThemeContext as Vn, ScrollArea as Vt, resourceData as W, useTriggerFocusGuards as Wt, providerIcon as X, EmptyDescription as Xt, actionSummary as Y, EmptyContent as Yt, ContentIcon as Z, EmptyHeader as Zt, updateTaskAdditionalInputs as _, WorkbenchClient as _n, setComment as _t, deleteSelection as a, waitBranchDescription as an, Latest as at, updateWebhook as b, decodeResultList as bn, setNodePositions as bt, setInputVariable as c, ru_default$3 as cn, diagnosticMessage as ct, updateNodeIcon as d, fr_default$3 as dn, actionWithConnections as dt, EventSourcesPage as en, useIconifyData as et, updateNodeName as f, en_default$3 as fn, connectionCatalog as ft, updateTask as g, errorNotice as gn, restoreCanvasPresentation as gt, updateSubflow as h, EventSourceSetup as hn, removeComments as ht, createResource as i, uiLocales as in, revisionView as it, datePickerChange as j, connectorActionMetadata as jn, IdTooltip as jt, calendarChange as k, variableInputCompatible as kn, updateTriggerSchedule as kt, updateCondition as l, ko_default$3 as ln, diagnosticNodeId as lt, updateResolution as m, FeishuEventPicker as mn, commentIds as mt, agentTool as n, SourceSelect as nn, canCancelRun as nt, nameCreatedNodes as o, zh_TW_default$3 as on, deriveInspectorDiagnostics as ot, updateNodeSettings as p, I18n as pn, canvasPresentationChange as pt, semanticNodeIcon as q, InputGroupInput as qt, applyFlowChanges as r, createI18n as rn, hasRunFilter as rt, setInputValue as s, zh_CN_default$3 as sn, diagnosticItems as st, addNode as t, SourceForm as tn, RunStore as tt, updateNodeDescription as u, ja_default$3 as un, schemaMismatchMessage as ut, updateTaskPorts as v, randomId as vn, setFlowViewport as vt, valueForDataType as w, sampleErrorOutputs as wn, setCodeActions as wt, editorComponent as x, decodeTriggerCatalog as xn, targetPresentation as xt, updateValue as y, allConnectorConnectionsQuery as yn, setNodeContentHidden as yt, combineSources as z, controlErrorCode as zn, PopoverTrigger as zt };
|