@oomol-lab/open-flow 0.1.0-beta.17 → 0.1.0-beta.19
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-DOWv3Zj0.js → createResourceDialog-DlrAMxmo.js} +2 -2
- package/dist/browser/{flowChanges-BDLNaCWZ.js → flowChanges-jX3KYcb0.js} +17 -11
- package/dist/browser/{flowWorkspace-BtNfkYuG.js → flowWorkspace-BIYwslVl.js} +24700 -24679
- package/dist/browser/{i18n-CNu41MKH.js → i18n-CVBh0Ni1.js} +57 -57
- package/dist/browser/{inputValues-CQlPBtdF.js → inputValues-BWfRHJWC.js} +1 -1
- package/dist/browser/ui.css +1 -1
- package/dist/browser/ui.js +2 -2
- package/dist/browser/{useValueChanged-DUuqLWPg.js → useValueChanged-BY05Usw-.js} +1 -1
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.js +7 -7
- package/dist/browser/{workbenchSelect-Bb3cewZj.js → workbenchSelect-CwP6rphY.js} +1 -1
- package/dist/common/control-api.d.ts +4 -0
- package/dist/common/control-api.js +11 -5
- package/dist/common/integration-trigger.d.ts +23 -1
- package/dist/common/integration-trigger.js +188 -52
- package/dist/common/mcp.js +11 -5
- package/dist/common/provider-triggers.js +5996 -993
- package/dist/common/scheduler.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as e } from "./main-BDnNHhkU.js";
|
|
2
|
-
import { c as t, q as n } from "./useValueChanged-
|
|
3
|
-
import { $t as r, Dn as i, E as a, En as o, On as s, S as c, T as l, Tn as u, b as d, kn as f, l as p, t as m, w as h, x as g } from "./workbenchSelect-
|
|
2
|
+
import { c as t, q as n } from "./useValueChanged-BY05Usw-.js";
|
|
3
|
+
import { $t as r, Dn as i, E as a, En as o, On as s, S as c, T as l, Tn as u, b as d, kn as f, l as p, t as m, w as h, x as g } from "./workbenchSelect-CwP6rphY.js";
|
|
4
4
|
import { useEffect as _, useRef as v, useState as y } from "react";
|
|
5
5
|
import { Fragment as b, jsx as x, jsxs as S } from "react/jsx-runtime";
|
|
6
6
|
//#region src/workbench/browser/runtime/shell/createResourceDialog.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as e, l as t, t as n } from "./dist-Dz6Nglsd.js";
|
|
2
|
-
import { $ as r, B as i, Ct as a, D as o, E as s, F as c, G as l, H as u, I as d, K as f, L as p, O as m, Q as h, R as ee, S as g, T as _, Tt as v, U as te, V as y, W as b, X as x, Y as S, Z as C, b as w, bt as T, c as E, ct as D, dt as O, et as ne, ft as re, g as ie, h as ae, i as k, it as A, j as oe, k as se, l as j, lt as ce, m as le, n as ue, o as de, ot as fe, q as pe, r as me, rt as he, st as M, t as ge, u as _e, v as ve, wt as ye, x as be, xt as xe, z as Se } from "./useValueChanged-
|
|
3
|
-
import { $ as Ce, A as we, At as Te, Bt as Ee, Cn as De, Ct as Oe, Dt as ke, Et as Ae, Ft as je, Gt as Me, Ht as Ne, J as Pe, Jt as N, Kt as Fe, Lt as Ie, O as Le, Ot as Re, Pt as ze, Q as Be, Qt as Ve, R as He, Rt as Ue, Sn as We, St as Ge, Tt as Ke, Ut as qe, Vt as Je, Wt as Ye, X as Xe, Xt as Ze, Y as Qe, Yt as $e, Z as et, Zt as P, _ as tt, _t as nt, an as rt, at as it, bn as at, d as ot, dt as st, et as ct, f as lt, ft as ut, g as dt, gn as ft, gt as pt, h as mt, ht, in as gt, it as _t, j as vt, jt as yt, k as bt, l as xt, lt as St, m as Ct, mt as wt, nn as Tt, nt as Et, on as Dt, ot as Ot, p as kt, pt as At, q as jt, qt as Mt, rn as Nt, rt as Pt, tn as Ft, tt as It, u as Lt, ut as Rt, v as zt, vn as Bt, vt as Vt, wn as Ht, wt as Ut, xn as Wt, y as Gt, yn as Kt, yt as qt } from "./workbenchSelect-
|
|
4
|
-
import { i as Jt, t as Yt } from "./i18n-
|
|
2
|
+
import { $ as r, B as i, Ct as a, D as o, E as s, F as c, G as l, H as u, I as d, K as f, L as p, O as m, Q as h, R as ee, S as g, T as _, Tt as v, U as te, V as y, W as b, X as x, Y as S, Z as C, b as w, bt as T, c as E, ct as D, dt as O, et as ne, ft as re, g as ie, h as ae, i as k, it as A, j as oe, k as se, l as j, lt as ce, m as le, n as ue, o as de, ot as fe, q as pe, r as me, rt as he, st as M, t as ge, u as _e, v as ve, wt as ye, x as be, xt as xe, z as Se } from "./useValueChanged-BY05Usw-.js";
|
|
3
|
+
import { $ as Ce, A as we, At as Te, Bt as Ee, Cn as De, Ct as Oe, Dt as ke, Et as Ae, Ft as je, Gt as Me, Ht as Ne, J as Pe, Jt as N, Kt as Fe, Lt as Ie, O as Le, Ot as Re, Pt as ze, Q as Be, Qt as Ve, R as He, Rt as Ue, Sn as We, St as Ge, Tt as Ke, Ut as qe, Vt as Je, Wt as Ye, X as Xe, Xt as Ze, Y as Qe, Yt as $e, Z as et, Zt as P, _ as tt, _t as nt, an as rt, at as it, bn as at, d as ot, dt as st, et as ct, f as lt, ft as ut, g as dt, gn as ft, gt as pt, h as mt, ht, in as gt, it as _t, j as vt, jt as yt, k as bt, l as xt, lt as St, m as Ct, mt as wt, nn as Tt, nt as Et, on as Dt, ot as Ot, p as kt, pt as At, q as jt, qt as Mt, rn as Nt, rt as Pt, tn as Ft, tt as It, u as Lt, ut as Rt, v as zt, vn as Bt, vt as Vt, wn as Ht, wt as Ut, xn as Wt, y as Gt, yn as Kt, yt as qt } from "./workbenchSelect-CwP6rphY.js";
|
|
4
|
+
import { i as Jt, t as Yt } from "./i18n-CVBh0Ni1.js";
|
|
5
5
|
import { a as Xt, o as Zt, r as Qt } from "./dist-B_T-OpQp.js";
|
|
6
6
|
import "./lib-C5Ipyfps.js";
|
|
7
7
|
import * as F from "react";
|
|
@@ -730,17 +730,23 @@ var ar = /* @__PURE__ */ new Set([
|
|
|
730
730
|
"operator.resumed"
|
|
731
731
|
]);
|
|
732
732
|
function cr(e) {
|
|
733
|
-
let t = z(e), n = t.health, r = t.
|
|
734
|
-
|
|
733
|
+
let t = z(e), n = t.health, r = t.listener == null ? void 0 : z(t.listener);
|
|
734
|
+
if (r != null && r.health != "healthy" && r.health != "failed" && r.health != "needs_reauth") return R();
|
|
735
|
+
let i = t.kind, a = t.operatorState, o = Cn(t.runtimeVersion);
|
|
736
|
+
return t.version != 1 || typeof n != "string" || !or.has(n) || typeof i != "string" || !ar.has(i) || a != "active" && a != "paused" || o <= 0 ? R() : {
|
|
735
737
|
...t.currentPublicationId == null ? {} : { currentPublicationId: B(t.currentPublicationId) },
|
|
736
738
|
...t.currentRevisionId == null ? {} : { currentRevisionId: B(t.currentRevisionId) },
|
|
737
739
|
...t.endpointUrl == null ? {} : { endpointUrl: B(t.endpointUrl) },
|
|
740
|
+
...r == null ? {} : { listener: {
|
|
741
|
+
health: r.health,
|
|
742
|
+
...r.lastErrorCode == null ? {} : { lastErrorCode: B(r.lastErrorCode) }
|
|
743
|
+
} },
|
|
738
744
|
flowId: B(t.flowId),
|
|
739
745
|
health: n,
|
|
740
|
-
kind:
|
|
746
|
+
kind: i,
|
|
741
747
|
...t.lastErrorCode == null ? {} : { lastErrorCode: B(t.lastErrorCode) },
|
|
742
|
-
operatorState:
|
|
743
|
-
runtimeVersion:
|
|
748
|
+
operatorState: a,
|
|
749
|
+
runtimeVersion: o,
|
|
744
750
|
triggerNodeId: B(t.triggerNodeId),
|
|
745
751
|
updatedAt: B(t.updatedAt),
|
|
746
752
|
version: 1
|
|
@@ -3220,7 +3226,7 @@ function aa({ className: e, ...t }) {
|
|
|
3220
3226
|
return /* @__PURE__ */ I("div", {
|
|
3221
3227
|
"data-slot": "input-group",
|
|
3222
3228
|
role: "group",
|
|
3223
|
-
className: S("group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:outline-none has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:
|
|
3229
|
+
className: S("group/input-group relative flex h-8 w-full min-w-0 items-center rounded-lg border border-input transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:outline-none has-disabled:bg-input/50 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:text-field-focus has-[[data-slot][aria-invalid=true]]:has-[[data-slot=input-group-control]:focus-visible]:text-field-focus has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-destructive/20 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pr-1.5 has-[>[data-align=inline-start]]:[&>input]:pl-1.5", e),
|
|
3224
3230
|
...t
|
|
3225
3231
|
});
|
|
3226
3232
|
}
|
|
@@ -3474,7 +3480,7 @@ var ya = "export default async function (inputs, context) {\n return { result:
|
|
|
3474
3480
|
function ba(e, t) {
|
|
3475
3481
|
switch (t.kind) {
|
|
3476
3482
|
case "condition": return "Condition";
|
|
3477
|
-
case "value": return "
|
|
3483
|
+
case "value": return "Fixed Values";
|
|
3478
3484
|
case "wait": return "Wait";
|
|
3479
3485
|
case "subflow": return Ie(e.document.subflows[t.subflowId]?.name ?? "") || "Subflow";
|
|
3480
3486
|
case "task": return Ie(t.task == null ? e.document.tasks[t.taskId]?.name ?? "" : t.task.name) || "Task";
|
|
@@ -9125,7 +9131,7 @@ function fd(e, t) {
|
|
|
9125
9131
|
if (e.node.name != null) return e.node.name;
|
|
9126
9132
|
switch (e.kind) {
|
|
9127
9133
|
case "condition": return t?.("addNode.condition") ?? "Condition";
|
|
9128
|
-
case "value": return t?.("addNode.value") ?? "
|
|
9134
|
+
case "value": return t?.("addNode.value") ?? "Fixed Values";
|
|
9129
9135
|
case "wait": return "Wait";
|
|
9130
9136
|
case "subflow": return e.definition?.name ?? e.node.subflowId;
|
|
9131
9137
|
case "task": return e.definition?.name ?? (e.node.task == null ? e.node.taskId : e.node.task.moduleId);
|