@oomol-lab/open-flow 0.1.0-beta.20 → 0.1.0-beta.22
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-DlrAMxmo.js → createResourceDialog-CjuJryCv.js} +13 -13
- package/dist/browser/{flowChanges-jX3KYcb0.js → flowChanges-Tg1duLry.js} +2269 -2208
- package/dist/browser/{flowWorkspace-BIYwslVl.js → flowWorkspace-CoK10XHY.js} +306 -306
- package/dist/browser/{inputValues-BWfRHJWC.js → inputValues-CDiBMKu8.js} +1 -1
- package/dist/browser/workbench.js +23 -23
- package/dist/browser/{workbenchSelect-CwP6rphY.js → workbenchSelect-DEmv7SLW.js} +1 -1
- package/dist/common/control-api-conformance.js +871 -810
- package/dist/common/control-api.js +249 -188
- package/dist/common/flow-encoding.d.ts +6 -0
- package/dist/common/flow-encoding.js +1323 -1171
- package/dist/common/flow-semantics.js +1872 -1811
- package/dist/common/mcp.js +176 -115
- package/dist/common/provider-triggers.js +1312 -1247
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as e, o as t, r as n, t as r } from "./rolldown-runtime-CEFd7nDs.js";
|
|
2
2
|
import { a as i, c as a, i as o, l as s, n as c, r as l, s as u } from "./dist-Dz6Nglsd.js";
|
|
3
3
|
import { a as d, i as f, n as p, r as m, t as h } from "./main-BDnNHhkU.js";
|
|
4
|
-
import { At as g, B as _, Bt as v, Ct as y, Dt as b, E as x, Et as S, Ft as C, Gt as w, H as T, Ht as E, It as D, Jt as O, K as k, Kt as A, Lt as j, Mt as M, Nt as ee, Ot as N, Pt as P, Rt as te, St as ne, Tt as F, U as I, Ut as L, V as re, Vt as ie, W as R, Wt as ae, X as oe, Xt as z, Y as se, Yt as ce, Z as le, Zt as ue, _t as de, bt as fe, dt as pe, en as me, ft as he, gt as ge, ht as _e, i as ve, j as ye, jt as be, kt as xe, mt as Se, n as Ce, nt as we, pt as Te, qt as Ee, ut as De, vt as Oe, wt as ke, xt as Ae, yt as je, zt as Me } from "./flowChanges-
|
|
4
|
+
import { At as g, B as _, Bt as v, Ct as y, Dt as b, E as x, Et as S, Ft as C, Gt as w, H as T, Ht as E, It as D, Jt as O, K as k, Kt as A, Lt as j, Mt as M, Nt as ee, Ot as N, Pt as P, Rt as te, St as ne, Tt as F, U as I, Ut as L, V as re, Vt as ie, W as R, Wt as ae, X as oe, Xt as z, Y as se, Yt as ce, Z as le, Zt as ue, _t as de, bt as fe, dt as pe, en as me, ft as he, gt as ge, ht as _e, i as ve, j as ye, jt as be, kt as xe, mt as Se, n as Ce, nt as we, pt as Te, qt as Ee, ut as De, vt as Oe, wt as ke, xt as Ae, yt as je, zt as Me } from "./flowChanges-Tg1duLry.js";
|
|
5
5
|
import { $ as Ne, A as Pe, C as Fe, D as Ie, E as Le, F as Re, G as ze, H as Be, I as Ve, J as He, K as Ue, L as We, O as Ge, Q as Ke, R as qe, S as Je, T as Ye, U as Xe, V as Ze, W as Qe, X as $e, Y as et, Z as tt, a as nt, at as rt, c as it, ct as at, dt as ot, et as st, f as ct, ft as lt, h as ut, i as B, it as dt, j as ft, k as pt, l as mt, lt as ht, n as gt, o as _t, q as V, r as vt, rt as yt, s as bt, st as xt, t as St, tt as Ct, u as wt, ut as Tt, v as Et, wt as Dt, xt as Ot, z as kt } from "./useValueChanged-BY05Usw-.js";
|
|
6
|
-
import { $ as At,
|
|
6
|
+
import { $ as At, A as jt, An as Mt, At as Nt, B as Pt, Bt as Ft, Ct as It, D as Lt, Dn as Rt, E as zt, F as Bt, G as Vt, H as Ht, I as Ut, It as Wt, J as Gt, K as Kt, L as qt, M as Jt, Mn as Yt, Mt as Xt, N as Zt, O as Qt, On as $t, Ot as en, P as tn, Q as nn, R as rn, S as an, Tt as on, U as sn, V as cn, W as ln, X as un, Z as dn, _ as fn, _n as pn, a as mn, at as hn, b as gn, bt as _n, c as vn, ct as yn, d as bn, dn as xn, dt as Sn, et as Cn, f as wn, fn as Tn, ft as En, g as Dn, gn as On, gt as H, h as kn, hn as An, ht as jn, i as Mn, in as Nn, it as Pn, j as Fn, jn as In, jt as Ln, k as Rn, kn as zn, kt as Bn, l as Vn, ln as Hn, lt as Un, m as Wn, mn as Gn, mt as Kn, n as qn, nn as Jn, nt as Yn, o as Xn, ot as Zn, p as Qn, pn as $n, pt as er, r as tr, rn as nr, rt as rr, s as ir, st as ar, t as or, tn as sr, tt as cr, un as lr, ut as ur, v as dr, vn as fr, xt as pr, y as mr, yn as hr, yt as gr } from "./workbenchSelect-DEmv7SLW.js";
|
|
7
7
|
import { i as _r, n as vr, r as yr, t as br } from "./i18n-CVBh0Ni1.js";
|
|
8
8
|
import { n as xr } from "./languages-C0zQ4GSo.js";
|
|
9
9
|
import { a as Sr, i as Cr, n as wr, t as Tr } from "./dist-B_T-OpQp.js";
|
|
@@ -85,13 +85,13 @@ var ci = bt("ChevronRight", [["path", {
|
|
|
85
85
|
timeoutMs: 0,
|
|
86
86
|
delayRef: { current: 0 },
|
|
87
87
|
initialDelayRef: { current: 0 },
|
|
88
|
-
timeout: new
|
|
88
|
+
timeout: new nr(),
|
|
89
89
|
currentIdRef: { current: null },
|
|
90
90
|
currentContextRef: { current: null }
|
|
91
91
|
});
|
|
92
92
|
process.env.NODE_ENV !== "production" && (pi.displayName = "FloatingDelayGroupContext");
|
|
93
93
|
function mi(e) {
|
|
94
|
-
let { children: t, delay: n, timeoutMs: r = 0 } = e, i = Nr.useRef(n), a = Nr.useRef(n), o = Nr.useRef(null), s = Nr.useRef(null), c =
|
|
94
|
+
let { children: t, delay: n, timeoutMs: r = 0 } = e, i = Nr.useRef(n), a = Nr.useRef(n), o = Nr.useRef(null), s = Nr.useRef(null), c = Nn();
|
|
95
95
|
return /*#__PURE__*/ U(pi.Provider, {
|
|
96
96
|
value: Nr.useMemo(() => ({
|
|
97
97
|
hasProvider: !0,
|
|
@@ -204,14 +204,14 @@ function vi(e, t = {}) {
|
|
|
204
204
|
}));
|
|
205
205
|
}), g = ot((e) => {
|
|
206
206
|
r ? u.current || m([]) : h(e.clientX, e.clientY, e.currentTarget);
|
|
207
|
-
}), _ =
|
|
207
|
+
}), _ = fr(d) ? i : r, v = Nr.useCallback(() => {
|
|
208
208
|
if (!_ || !s) return;
|
|
209
209
|
let e = Ot(i);
|
|
210
210
|
function t(e) {
|
|
211
211
|
let t = qe(e);
|
|
212
212
|
We(i, t) ? (u.current?.(), u.current = null) : h(e.clientX, e.clientY);
|
|
213
213
|
}
|
|
214
|
-
if (!o.current.openEvent || _i(o.current.openEvent)) return u.current =
|
|
214
|
+
if (!o.current.openEvent || _i(o.current.openEvent)) return u.current = en(e, "mousemove", t), () => {
|
|
215
215
|
u.current?.(), u.current = null;
|
|
216
216
|
};
|
|
217
217
|
n.set("positionReference", a);
|
|
@@ -252,7 +252,7 @@ function yi(e) {
|
|
|
252
252
|
}
|
|
253
253
|
//#endregion
|
|
254
254
|
//#region src/workbench/browser/flowRunInputEditor.module.scss
|
|
255
|
-
var bi = /* @__PURE__ */ t(
|
|
255
|
+
var bi = /* @__PURE__ */ t(ar(), 1), xi = {
|
|
256
256
|
root: "flowRunInputEditor_root_2a949",
|
|
257
257
|
field: "flowRunInputEditor_field_2a949",
|
|
258
258
|
legend: "flowRunInputEditor_legend_2a949",
|
|
@@ -2414,7 +2414,7 @@ function Vo({ title: e, content: t, disabled: n, dark: r, onSave: i, onDuplicate
|
|
|
2414
2414
|
return /* @__PURE__ */ W("section", {
|
|
2415
2415
|
className: "flex min-w-0 flex-col gap-3 p-3",
|
|
2416
2416
|
children: [
|
|
2417
|
-
/* @__PURE__ */ W(
|
|
2417
|
+
/* @__PURE__ */ W(Yt, { children: [s("inspector.node.name"), /* @__PURE__ */ U(it, {
|
|
2418
2418
|
"aria-label": s("inspector.node.name"),
|
|
2419
2419
|
value: c,
|
|
2420
2420
|
disabled: n,
|
|
@@ -4571,7 +4571,7 @@ function $d({ children: e, focusOnOpen: t, actions: n, heading: r, icon: i, onCl
|
|
|
4571
4571
|
children: [/* @__PURE__ */ W("header", { children: [
|
|
4572
4572
|
r == null ? /* @__PURE__ */ W(ei, { children: [/* @__PURE__ */ U("span", {
|
|
4573
4573
|
className: "node-icon small",
|
|
4574
|
-
children: /* @__PURE__ */ U(
|
|
4574
|
+
children: /* @__PURE__ */ U(Vn, {
|
|
4575
4575
|
name: i,
|
|
4576
4576
|
size: 16
|
|
4577
4577
|
})
|
|
@@ -4593,7 +4593,7 @@ function $d({ children: e, focusOnOpen: t, actions: n, heading: r, icon: i, onCl
|
|
|
4593
4593
|
size: "icon-sm",
|
|
4594
4594
|
type: "button",
|
|
4595
4595
|
variant: "ghost",
|
|
4596
|
-
children: /* @__PURE__ */ U(
|
|
4596
|
+
children: /* @__PURE__ */ U(Vn, { name: "close" })
|
|
4597
4597
|
})
|
|
4598
4598
|
] }), /* @__PURE__ */ U("div", {
|
|
4599
4599
|
className: "context-panel-content",
|
|
@@ -4637,7 +4637,7 @@ function tf(e) {
|
|
|
4637
4637
|
}
|
|
4638
4638
|
}
|
|
4639
4639
|
function nf({ item: e, trailing: t }) {
|
|
4640
|
-
let n = /* @__PURE__ */ U(
|
|
4640
|
+
let n = /* @__PURE__ */ U(Vn, { name: tf(e) });
|
|
4641
4641
|
return /* @__PURE__ */ W("span", {
|
|
4642
4642
|
className: "block-library-row",
|
|
4643
4643
|
title: e.detail ?? e.description ?? e.label,
|
|
@@ -4676,7 +4676,7 @@ function rf({ label: e, children: t, nested: n, open: r, onToggle: i }) {
|
|
|
4676
4676
|
type: "button",
|
|
4677
4677
|
variant: "disclosure",
|
|
4678
4678
|
children: [
|
|
4679
|
-
n && /* @__PURE__ */ U(
|
|
4679
|
+
n && /* @__PURE__ */ U(Vn, {
|
|
4680
4680
|
className: r ? void 0 : "-rotate-90",
|
|
4681
4681
|
name: "chevron-down"
|
|
4682
4682
|
}),
|
|
@@ -4684,7 +4684,7 @@ function rf({ label: e, children: t, nested: n, open: r, onToggle: i }) {
|
|
|
4684
4684
|
className: et("truncate", n ? "block-library-subgroup-title" : "block-library-category-title"),
|
|
4685
4685
|
children: e
|
|
4686
4686
|
}),
|
|
4687
|
-
!n && /* @__PURE__ */ U(
|
|
4687
|
+
!n && /* @__PURE__ */ U(Vn, {
|
|
4688
4688
|
className: r ? void 0 : "-rotate-90",
|
|
4689
4689
|
name: "chevron-down"
|
|
4690
4690
|
})
|
|
@@ -4734,7 +4734,7 @@ function af({ disabled: e, draggable: t, item: n, onAdd: r, onDrag: i, onLoadCho
|
|
|
4734
4734
|
item: n,
|
|
4735
4735
|
trailing: /* @__PURE__ */ W("span", {
|
|
4736
4736
|
className: "block-library-expand",
|
|
4737
|
-
children: [h && (u?.length ?? 0), /* @__PURE__ */ U(
|
|
4737
|
+
children: [h && (u?.length ?? 0), /* @__PURE__ */ U(Vn, {
|
|
4738
4738
|
name: "chevron-down",
|
|
4739
4739
|
size: 13
|
|
4740
4740
|
})]
|
|
@@ -4874,7 +4874,7 @@ function of({ browseOptions: e, disabled: t, draggable: n = !0, focusRequest: r,
|
|
|
4874
4874
|
className: "inline-flex items-center gap-1.5",
|
|
4875
4875
|
role: "status",
|
|
4876
4876
|
children: [
|
|
4877
|
-
/* @__PURE__ */ U(
|
|
4877
|
+
/* @__PURE__ */ U(sr, {}),
|
|
4878
4878
|
" ",
|
|
4879
4879
|
l("contextPanel.loading")
|
|
4880
4880
|
]
|
|
@@ -4927,7 +4927,7 @@ function of({ browseOptions: e, disabled: t, draggable: n = !0, focusRequest: r,
|
|
|
4927
4927
|
className: "sr-only",
|
|
4928
4928
|
children: u
|
|
4929
4929
|
}),
|
|
4930
|
-
/* @__PURE__ */ U(_e, { children: /* @__PURE__ */ U(
|
|
4930
|
+
/* @__PURE__ */ U(_e, { children: /* @__PURE__ */ U(Vn, {
|
|
4931
4931
|
name: "search",
|
|
4932
4932
|
size: 15
|
|
4933
4933
|
}) }),
|
|
@@ -4982,7 +4982,7 @@ function cf(e) {
|
|
|
4982
4982
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/popover/store/PopoverStore.js
|
|
4983
4983
|
function lf() {
|
|
4984
4984
|
return {
|
|
4985
|
-
...
|
|
4985
|
+
...nn(),
|
|
4986
4986
|
disabled: !1,
|
|
4987
4987
|
modal: !1,
|
|
4988
4988
|
focusManagerModal: !1,
|
|
@@ -5000,19 +5000,19 @@ function lf() {
|
|
|
5000
5000
|
}
|
|
5001
5001
|
var uf = {
|
|
5002
5002
|
...At,
|
|
5003
|
-
disabled:
|
|
5004
|
-
instantType:
|
|
5005
|
-
openMethod:
|
|
5006
|
-
openChangeReason:
|
|
5007
|
-
modal:
|
|
5008
|
-
focusManagerModal:
|
|
5009
|
-
stickIfOpen:
|
|
5010
|
-
titleElementId:
|
|
5011
|
-
descriptionElementId:
|
|
5012
|
-
openOnHover:
|
|
5013
|
-
closeDelay:
|
|
5014
|
-
hasViewport:
|
|
5015
|
-
}, df = class e extends
|
|
5003
|
+
disabled: Un((e) => e.disabled),
|
|
5004
|
+
instantType: Un((e) => e.instantType),
|
|
5005
|
+
openMethod: Un((e) => e.openMethod),
|
|
5006
|
+
openChangeReason: Un((e) => e.openChangeReason),
|
|
5007
|
+
modal: Un((e) => e.modal),
|
|
5008
|
+
focusManagerModal: Un((e) => e.focusManagerModal),
|
|
5009
|
+
stickIfOpen: Un((e) => e.stickIfOpen),
|
|
5010
|
+
titleElementId: Un((e) => e.titleElementId),
|
|
5011
|
+
descriptionElementId: Un((e) => e.descriptionElementId),
|
|
5012
|
+
openOnHover: Un((e) => e.openOnHover),
|
|
5013
|
+
closeDelay: Un((e) => e.closeDelay),
|
|
5014
|
+
hasViewport: Un((e) => e.hasViewport)
|
|
5015
|
+
}, df = class e extends Pn {
|
|
5016
5016
|
constructor(e) {
|
|
5017
5017
|
let t = {
|
|
5018
5018
|
...lf(),
|
|
@@ -5026,8 +5026,8 @@ var uf = {
|
|
|
5026
5026
|
onOpenChangeComplete: void 0,
|
|
5027
5027
|
triggerFocusTargetRef: /*#__PURE__*/ Nr.createRef(),
|
|
5028
5028
|
beforeContentFocusGuardRef: /*#__PURE__*/ Nr.createRef(),
|
|
5029
|
-
stickIfOpenTimeout: new
|
|
5030
|
-
triggerElements: new
|
|
5029
|
+
stickIfOpenTimeout: new nr(),
|
|
5030
|
+
triggerElements: new Cn()
|
|
5031
5031
|
}, uf);
|
|
5032
5032
|
}
|
|
5033
5033
|
setOpen = (e, t) => {
|
|
@@ -5063,7 +5063,7 @@ function ff({ props: e }) {
|
|
|
5063
5063
|
activeTriggerId: l,
|
|
5064
5064
|
triggerIdProp: c
|
|
5065
5065
|
});
|
|
5066
|
-
|
|
5066
|
+
Rn(() => {
|
|
5067
5067
|
n === void 0 && u.state.open === !1 && r === !0 && u.update({
|
|
5068
5068
|
open: !0,
|
|
5069
5069
|
activeTriggerId: l
|
|
@@ -5071,9 +5071,9 @@ function ff({ props: e }) {
|
|
|
5071
5071
|
}), u.useControlledProp("openProp", n), u.useControlledProp("triggerIdProp", c);
|
|
5072
5072
|
let d = u.useState("open"), f = u.useState("payload");
|
|
5073
5073
|
u.useContextCallback("onOpenChange", i), u.useContextCallback("onOpenChangeComplete", a);
|
|
5074
|
-
let { openMethod: p, triggerProps: m } =
|
|
5075
|
-
|
|
5076
|
-
let { forceUnmount: h } =
|
|
5074
|
+
let { openMethod: p, triggerProps: m } = Qt(d);
|
|
5075
|
+
cr(u);
|
|
5076
|
+
let { forceUnmount: h } = Yn(d, u, () => {
|
|
5077
5077
|
u.update({
|
|
5078
5078
|
stickIfOpen: !0,
|
|
5079
5079
|
openChangeReason: null
|
|
@@ -5089,13 +5089,13 @@ function ff({ props: e }) {
|
|
|
5089
5089
|
unmount: h,
|
|
5090
5090
|
close: g
|
|
5091
5091
|
}), [h, g]);
|
|
5092
|
-
let _ =
|
|
5092
|
+
let _ = dn({
|
|
5093
5093
|
popupStore: u,
|
|
5094
5094
|
onOpenChange: u.setOpen
|
|
5095
|
-
}), v =
|
|
5095
|
+
}), v = ur(_, { outsidePressEvent: {
|
|
5096
5096
|
mouse: o === "trap-focus" ? "sloppy" : "intentional",
|
|
5097
5097
|
touch: "sloppy"
|
|
5098
|
-
} }), y =
|
|
5098
|
+
} }), y = Gt(_), { getReferenceProps: b, getFloatingProps: x, getTriggerProps: S } = un([v, y]), C = Nr.useMemo(() => b(m), [b, m]), w = Nr.useMemo(() => S(m), [S, m]), T = Nr.useMemo(() => x(), [x]);
|
|
5099
5099
|
u.useSyncedValues({
|
|
5100
5100
|
modal: o,
|
|
5101
5101
|
openMethod: p,
|
|
@@ -5103,7 +5103,7 @@ function ff({ props: e }) {
|
|
|
5103
5103
|
inactiveTriggerProps: w,
|
|
5104
5104
|
popupProps: T,
|
|
5105
5105
|
floatingRootContext: _,
|
|
5106
|
-
nested:
|
|
5106
|
+
nested: H() != null
|
|
5107
5107
|
});
|
|
5108
5108
|
let E = Nr.useMemo(() => ({ store: u }), [u]);
|
|
5109
5109
|
return /*#__PURE__*/ U(sf.Provider, {
|
|
@@ -5112,14 +5112,14 @@ function ff({ props: e }) {
|
|
|
5112
5112
|
});
|
|
5113
5113
|
}
|
|
5114
5114
|
function pf(e) {
|
|
5115
|
-
return cf(!0) ? /*#__PURE__*/ U(ff, { props: e }) : /*#__PURE__*/ U(
|
|
5115
|
+
return cf(!0) ? /*#__PURE__*/ U(ff, { props: e }) : /*#__PURE__*/ U(Kn, { children: /*#__PURE__*/ U(ff, { props: e }) });
|
|
5116
5116
|
}
|
|
5117
5117
|
//#endregion
|
|
5118
5118
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/popover/trigger/PopoverTrigger.js
|
|
5119
5119
|
var mf = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
5120
5120
|
let { render: n, className: r, disabled: i = !1, nativeButton: a = !0, handle: o, payload: s, openOnHover: c = !1, delay: l = 300, closeDelay: u = 0, id: d, style: f, ...p } = e, m = cf(!0), h = o?.store ?? m?.store;
|
|
5121
5121
|
if (!h) throw Error(process.env.NODE_ENV === "production" ? xt(74) : "Base UI: <Popover.Trigger> must be either used within a <Popover.Root> component or provided with a handle.");
|
|
5122
|
-
let g = Be(d), _ = h.useState("isTriggerActive", g), v = h.useState("floatingRootContext"), y = h.useState("isOpenedByTrigger", g), b = Nr.useRef(null), { registerTrigger: x, isMountedByThisTrigger: S } =
|
|
5122
|
+
let g = Be(d), _ = h.useState("isTriggerActive", g), v = h.useState("floatingRootContext"), y = h.useState("isOpenedByTrigger", g), b = Nr.useRef(null), { registerTrigger: x, isMountedByThisTrigger: S } = rr(g, b, h, {
|
|
5123
5123
|
payload: s,
|
|
5124
5124
|
disabled: i,
|
|
5125
5125
|
openOnHover: c,
|
|
@@ -5134,17 +5134,17 @@ var mf = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
5134
5134
|
triggerElementRef: b,
|
|
5135
5135
|
isActiveTrigger: _,
|
|
5136
5136
|
isClosing: () => h.select("transitionStatus") === "ending"
|
|
5137
|
-
}), O =
|
|
5137
|
+
}), O = Sn(v, {
|
|
5138
5138
|
enabled: v != null,
|
|
5139
5139
|
stickIfOpen: w
|
|
5140
|
-
}), k =
|
|
5140
|
+
}), k = un([O]), j = h.useState("triggerProps", S), ee = {
|
|
5141
5141
|
disabled: i,
|
|
5142
5142
|
open: y
|
|
5143
5143
|
}, { getButtonProps: N, buttonRef: P } = dt({
|
|
5144
5144
|
disabled: i,
|
|
5145
5145
|
native: a
|
|
5146
5146
|
}), te = Nr.useMemo(() => ({ open(e) {
|
|
5147
|
-
return e && C === "trigger-press" ?
|
|
5147
|
+
return e && C === "trigger-press" ? Ln.open(e) : Xt.open(e);
|
|
5148
5148
|
} }), [C]), ne = Ke("button", e, {
|
|
5149
5149
|
state: ee,
|
|
5150
5150
|
ref: [
|
|
@@ -5158,7 +5158,7 @@ var mf = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
5158
5158
|
D,
|
|
5159
5159
|
j,
|
|
5160
5160
|
{
|
|
5161
|
-
[
|
|
5161
|
+
[pr]: "",
|
|
5162
5162
|
id: g
|
|
5163
5163
|
},
|
|
5164
5164
|
p,
|
|
@@ -5167,12 +5167,12 @@ var mf = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
5167
5167
|
stateAttributesMapping: te
|
|
5168
5168
|
}), { preFocusGuardRef: F, handlePreFocusGuardFocus: I, handleFocusTargetFocus: L } = M(h, b);
|
|
5169
5169
|
return _ && !E ? /*#__PURE__*/ W(Nr.Fragment, { children: [
|
|
5170
|
-
/*#__PURE__*/ U(
|
|
5170
|
+
/*#__PURE__*/ U(on, {
|
|
5171
5171
|
ref: F,
|
|
5172
5172
|
onFocus: I
|
|
5173
5173
|
}),
|
|
5174
5174
|
/*#__PURE__*/ U(Nr.Fragment, { children: ne }, g),
|
|
5175
|
-
/*#__PURE__*/ U(
|
|
5175
|
+
/*#__PURE__*/ U(on, {
|
|
5176
5176
|
ref: h.context.triggerFocusTargetRef,
|
|
5177
5177
|
onFocus: L
|
|
5178
5178
|
})
|
|
@@ -5213,7 +5213,7 @@ function yf() {
|
|
|
5213
5213
|
//#endregion
|
|
5214
5214
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/popover/positioner/PopoverPositioner.js
|
|
5215
5215
|
var bf = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
5216
|
-
let { render: n, className: r, anchor: i, positionMethod: a = "absolute", side: o = "bottom", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d = 5, arrowPadding: f = 5, sticky: p = !1, disableAnchorTracking: m = !1, collisionAvoidance: h =
|
|
5216
|
+
let { render: n, className: r, anchor: i, positionMethod: a = "absolute", side: o = "bottom", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d = 5, arrowPadding: f = 5, sticky: p = !1, disableAnchorTracking: m = !1, collisionAvoidance: h = It, style: g, ..._ } = e, { store: v } = cf(), y = gf(), b = jn(), x = v.useState("floatingRootContext"), S = v.useState("mounted"), C = v.useState("open"), w = v.useState("openChangeReason"), T = v.useState("activeTriggerElement"), E = v.useState("modal"), D = v.useState("openMethod"), O = v.useState("positionerElement"), k = v.useState("instantType"), A = v.useState("transitionStatus"), j = v.useState("hasViewport"), M = Nr.useRef(null), ee = pt(O, !1, !1), N = Wn({
|
|
5217
5217
|
anchor: i,
|
|
5218
5218
|
floatingRootContext: x,
|
|
5219
5219
|
positionMethod: a,
|
|
@@ -5230,7 +5230,7 @@ var bf = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
5230
5230
|
keepMounted: y,
|
|
5231
5231
|
nodeId: b,
|
|
5232
5232
|
collisionAvoidance: h,
|
|
5233
|
-
adaptiveOrigin: j ?
|
|
5233
|
+
adaptiveOrigin: j ? kn : void 0
|
|
5234
5234
|
}), P = x.useState("domReferenceElement");
|
|
5235
5235
|
ht(() => {
|
|
5236
5236
|
let e = P, t = M.current;
|
|
@@ -5255,10 +5255,10 @@ var bf = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
5255
5255
|
anchorHidden: N.anchorHidden,
|
|
5256
5256
|
instant: k
|
|
5257
5257
|
};
|
|
5258
|
-
|
|
5258
|
+
bn(C && E === !0 && w !== "trigger-hover", D === "touch", O, T);
|
|
5259
5259
|
let ne = Nr.useCallback((e) => {
|
|
5260
5260
|
v.set("positionerElement", e);
|
|
5261
|
-
}, [v]), F =
|
|
5261
|
+
}, [v]), F = wn(e, te, {
|
|
5262
5262
|
styles: N.positionerStyles,
|
|
5263
5263
|
transitionStatus: A,
|
|
5264
5264
|
props: _,
|
|
@@ -5268,11 +5268,11 @@ var bf = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
5268
5268
|
});
|
|
5269
5269
|
return /*#__PURE__*/ W(vf.Provider, {
|
|
5270
5270
|
value: N,
|
|
5271
|
-
children: [S && E === !0 && w !== "trigger-hover" && /*#__PURE__*/ U(
|
|
5271
|
+
children: [S && E === !0 && w !== "trigger-hover" && /*#__PURE__*/ U(jt, {
|
|
5272
5272
|
ref: v.context.internalBackdropRef,
|
|
5273
|
-
inert:
|
|
5273
|
+
inert: Fn(!C),
|
|
5274
5274
|
cutout: T
|
|
5275
|
-
}), /*#__PURE__*/ U(
|
|
5275
|
+
}), /*#__PURE__*/ U(er, {
|
|
5276
5276
|
id: b,
|
|
5277
5277
|
children: F
|
|
5278
5278
|
})]
|
|
@@ -5302,10 +5302,10 @@ function Cf(e) {
|
|
|
5302
5302
|
//#endregion
|
|
5303
5303
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/popover/popup/PopoverPopup.js
|
|
5304
5304
|
var wf = {
|
|
5305
|
-
...
|
|
5305
|
+
...Nt,
|
|
5306
5306
|
...ft
|
|
5307
5307
|
}, Tf = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
5308
|
-
let { className: n, render: r, initialFocus: i, finalFocus: a, style: o, ...s } = e, { store: c } = cf(), l = yf(), u =
|
|
5308
|
+
let { className: n, render: r, initialFocus: i, finalFocus: a, style: o, ...s } = e, { store: c } = cf(), l = yf(), u = dr(!0) != null, { context: d, hasClosePart: f } = Sf(), p = c.useState("open"), m = c.useState("openMethod"), h = c.useState("instantType"), g = c.useState("transitionStatus"), _ = c.useState("popupProps"), v = c.useState("titleElementId"), y = c.useState("descriptionElementId"), b = c.useState("modal"), x = c.useState("mounted"), S = c.useState("openChangeReason"), C = c.useState("activeTriggerElement"), w = c.useState("floatingRootContext");
|
|
5309
5309
|
Ge({
|
|
5310
5310
|
open: p,
|
|
5311
5311
|
ref: c.context.popupRef,
|
|
@@ -5344,15 +5344,15 @@ var wf = {
|
|
|
5344
5344
|
"aria-labelledby": v,
|
|
5345
5345
|
"aria-describedby": y,
|
|
5346
5346
|
onKeyDown(e) {
|
|
5347
|
-
u &&
|
|
5347
|
+
u && rn.has(e.key) && e.stopPropagation();
|
|
5348
5348
|
}
|
|
5349
5349
|
},
|
|
5350
|
-
|
|
5350
|
+
fn(g),
|
|
5351
5351
|
s
|
|
5352
5352
|
],
|
|
5353
5353
|
stateAttributesMapping: wf
|
|
5354
5354
|
});
|
|
5355
|
-
return /*#__PURE__*/ U(
|
|
5355
|
+
return /*#__PURE__*/ U(En, {
|
|
5356
5356
|
context: w,
|
|
5357
5357
|
openInteractionType: m,
|
|
5358
5358
|
modal: M,
|
|
@@ -6559,7 +6559,7 @@ var em = /*#__PURE__*/ function(e) {
|
|
|
6559
6559
|
});
|
|
6560
6560
|
return /*#__PURE__*/ U(Qp.Provider, {
|
|
6561
6561
|
value: ee,
|
|
6562
|
-
children: /*#__PURE__*/ U(
|
|
6562
|
+
children: /*#__PURE__*/ U(Qn, {
|
|
6563
6563
|
elementsRef: d,
|
|
6564
6564
|
children: te
|
|
6565
6565
|
})
|
|
@@ -6692,7 +6692,7 @@ var cm = function(e) {
|
|
|
6692
6692
|
let { className: n, value: r, render: i, keepMounted: a = !1, style: o, ...s } = e, { value: c, getTabIdByPanelValue: l, orientation: u, tabActivationDirection: d, registerMountedTabPanel: f, unregisterMountedTabPanel: p } = $p(), m = Be(), h = Nr.useMemo(() => ({
|
|
6693
6693
|
id: m,
|
|
6694
6694
|
value: r
|
|
6695
|
-
}), [m, r]), { ref: g, index: _ } =
|
|
6695
|
+
}), [m, r]), { ref: g, index: _ } = mr({ metadata: h }), v = r === c, { mounted: y, transitionStatus: b, setMounted: x } = Ie(v), S = !y, C = l(r), w = {
|
|
6696
6696
|
hidden: S,
|
|
6697
6697
|
orientation: u,
|
|
6698
6698
|
tabActivationDirection: d,
|
|
@@ -6710,7 +6710,7 @@ var cm = function(e) {
|
|
|
6710
6710
|
id: m,
|
|
6711
6711
|
role: "tabpanel",
|
|
6712
6712
|
tabIndex: v ? 0 : -1,
|
|
6713
|
-
inert:
|
|
6713
|
+
inert: Fn(!v),
|
|
6714
6714
|
[cm.index]: _
|
|
6715
6715
|
}, s],
|
|
6716
6716
|
stateAttributesMapping: lm
|
|
@@ -6742,73 +6742,73 @@ function fm(e) {
|
|
|
6742
6742
|
let { itemSizes: t, cols: n = 1, loopFocus: r = !0, onLoop: i, dense: a = !1, orientation: o = "both", direction: s, highlightedIndex: c, onHighlightedIndexChange: l, rootRef: u, enableHomeAndEndKeys: d = !1, stopEventPropagation: f = !1, disabledIndices: p, modifierKeys: m = dm } = e, [h, g] = Nr.useState(0), _ = n > 1, v = Nr.useRef(null), y = yt(v, u), b = Nr.useRef([]), x = Nr.useRef(!1), S = c ?? h, C = ot((e, t = !1) => {
|
|
6743
6743
|
if ((l ?? g)(e), t) {
|
|
6744
6744
|
let t = b.current[e];
|
|
6745
|
-
|
|
6745
|
+
Kt(v.current, t, s, o);
|
|
6746
6746
|
}
|
|
6747
6747
|
}), w = ot((e) => {
|
|
6748
6748
|
if (e.size === 0 || x.current) return;
|
|
6749
6749
|
x.current = !0;
|
|
6750
6750
|
let t = Array.from(e.keys()), n = t.find((e) => e?.hasAttribute("data-composite-item-active")) ?? null, r = n ? t.indexOf(n) : -1;
|
|
6751
|
-
r !== -1 && C(r),
|
|
6751
|
+
r !== -1 && C(r), Kt(v.current, n, s, o);
|
|
6752
6752
|
}), T = ot((e, t, n) => i ? i?.(e, t, n, b) : n), E = Nr.useMemo(() => ({
|
|
6753
6753
|
"aria-orientation": o === "both" ? void 0 : o,
|
|
6754
6754
|
ref: y,
|
|
6755
6755
|
onFocus(e) {
|
|
6756
6756
|
let t = v.current, n = qe(e.nativeEvent);
|
|
6757
|
-
!t || n == null || !
|
|
6757
|
+
!t || n == null || !Vt(n) || n.setSelectionRange(0, n.value.length ?? 0);
|
|
6758
6758
|
},
|
|
6759
6759
|
onKeyDown(e) {
|
|
6760
|
-
let c = d ?
|
|
6760
|
+
let c = d ? Jt : tn;
|
|
6761
6761
|
if (!c.has(e.key) || pm(e, m) || !v.current) return;
|
|
6762
|
-
let l = s === "rtl", u = l ?
|
|
6762
|
+
let l = s === "rtl", u = l ? Bt : Ut, h = {
|
|
6763
6763
|
horizontal: u,
|
|
6764
|
-
vertical:
|
|
6764
|
+
vertical: Zt,
|
|
6765
6765
|
both: u
|
|
6766
|
-
}[o], g = l ?
|
|
6766
|
+
}[o], g = l ? Ut : Bt, y = {
|
|
6767
6767
|
horizontal: g,
|
|
6768
|
-
vertical:
|
|
6768
|
+
vertical: qt,
|
|
6769
6769
|
both: g
|
|
6770
6770
|
}[o], x = qe(e.nativeEvent);
|
|
6771
|
-
if (x != null &&
|
|
6771
|
+
if (x != null && Vt(x) && !yi(x)) {
|
|
6772
6772
|
let t = x.selectionStart, n = x.selectionEnd, r = x.value ?? "";
|
|
6773
6773
|
if (t == null || e.shiftKey || t !== n || e.key !== y && t < r.length || e.key !== h && t > 0) return;
|
|
6774
6774
|
}
|
|
6775
|
-
let w = S, E =
|
|
6775
|
+
let w = S, E = An(b, p), D = Gn(b, p);
|
|
6776
6776
|
if (_) {
|
|
6777
6777
|
let i = t || Array.from({ length: b.current.length }, () => ({
|
|
6778
6778
|
width: 1,
|
|
6779
6779
|
height: 1
|
|
6780
|
-
})), s =
|
|
6781
|
-
w = s[
|
|
6780
|
+
})), s = Hn(i, n, a), c = s.findIndex((e) => e != null && !pn(b.current, e, p)), u = s.reduce((e, t, n) => t != null && !pn(b.current, t, p) ? n : e, -1);
|
|
6781
|
+
w = s[$n(s.map((e) => e == null ? null : b.current[e]), {
|
|
6782
6782
|
event: e,
|
|
6783
6783
|
orientation: o,
|
|
6784
6784
|
loopFocus: r,
|
|
6785
6785
|
onLoop: T,
|
|
6786
6786
|
cols: n,
|
|
6787
|
-
disabledIndices:
|
|
6787
|
+
disabledIndices: Tn([...p || b.current.map((e, t) => pn(b.current, t) ? t : void 0), void 0], s),
|
|
6788
6788
|
minIndex: c,
|
|
6789
6789
|
maxIndex: u,
|
|
6790
|
-
prevIndex:
|
|
6790
|
+
prevIndex: xn(S > D ? E : S, i, s, n, e.key === "ArrowDown" ? "bl" : e.key === "ArrowRight" ? "tr" : "tl"),
|
|
6791
6791
|
rtl: l
|
|
6792
6792
|
})];
|
|
6793
6793
|
}
|
|
6794
6794
|
let O = {
|
|
6795
6795
|
horizontal: [u],
|
|
6796
|
-
vertical: [
|
|
6797
|
-
both: [u,
|
|
6796
|
+
vertical: [Zt],
|
|
6797
|
+
both: [u, Zt]
|
|
6798
6798
|
}[o], k = {
|
|
6799
6799
|
horizontal: [g],
|
|
6800
|
-
vertical: [
|
|
6801
|
-
both: [g,
|
|
6800
|
+
vertical: [qt],
|
|
6801
|
+
both: [g, qt]
|
|
6802
6802
|
}[o], A = _ ? c : {
|
|
6803
|
-
horizontal: d ?
|
|
6804
|
-
vertical: d ?
|
|
6803
|
+
horizontal: d ? cn : Pt,
|
|
6804
|
+
vertical: d ? ln : sn,
|
|
6805
6805
|
both: c
|
|
6806
6806
|
}[o];
|
|
6807
|
-
d && (e.key === "Home" ? w = E : e.key === "End" && (w = D)), w === S && (O.includes(e.key) || k.includes(e.key)) && (r && w === D && O.includes(e.key) ? (w = E, i && (w = i(e, S, w, b))) : r && w === E && k.includes(e.key) ? (w = D, i && (w = i(e, S, w, b))) : w =
|
|
6807
|
+
d && (e.key === "Home" ? w = E : e.key === "End" && (w = D)), w === S && (O.includes(e.key) || k.includes(e.key)) && (r && w === D && O.includes(e.key) ? (w = E, i && (w = i(e, S, w, b))) : r && w === E && k.includes(e.key) ? (w = D, i && (w = i(e, S, w, b))) : w = lr(b.current, {
|
|
6808
6808
|
startingIndex: w,
|
|
6809
6809
|
decrement: k.includes(e.key),
|
|
6810
6810
|
disabledIndices: p
|
|
6811
|
-
})), w !== S && !
|
|
6811
|
+
})), w !== S && !On(b.current, w) && (f && e.stopPropagation(), A.has(e.key) && e.preventDefault(), C(w, !0), queueMicrotask(() => {
|
|
6812
6812
|
b.current[w]?.focus();
|
|
6813
6813
|
}));
|
|
6814
6814
|
}
|
|
@@ -6849,7 +6849,7 @@ function fm(e) {
|
|
|
6849
6849
|
]);
|
|
6850
6850
|
}
|
|
6851
6851
|
function pm(e, t) {
|
|
6852
|
-
for (let n of
|
|
6852
|
+
for (let n of Ht.values()) if (!t.includes(n) && e.getModifierState(n)) return !0;
|
|
6853
6853
|
return !1;
|
|
6854
6854
|
}
|
|
6855
6855
|
//#endregion
|
|
@@ -6867,7 +6867,7 @@ function mm(e) {
|
|
|
6867
6867
|
rootRef: y,
|
|
6868
6868
|
stopEventPropagation: v,
|
|
6869
6869
|
enableHomeAndEndKeys: g,
|
|
6870
|
-
direction:
|
|
6870
|
+
direction: Dn(),
|
|
6871
6871
|
disabledIndices: b,
|
|
6872
6872
|
modifierKeys: x
|
|
6873
6873
|
}), j = Ke(C, e, {
|
|
@@ -6892,7 +6892,7 @@ function mm(e) {
|
|
|
6892
6892
|
]);
|
|
6893
6893
|
return /*#__PURE__*/ U(rt.Provider, {
|
|
6894
6894
|
value: M,
|
|
6895
|
-
children: /*#__PURE__*/ U(
|
|
6895
|
+
children: /*#__PURE__*/ U(Qn, {
|
|
6896
6896
|
elementsRef: O,
|
|
6897
6897
|
onMapChange: (e) => {
|
|
6898
6898
|
_?.(e), k(e);
|
|
@@ -7077,7 +7077,7 @@ var wm = /*#__PURE__*/ function(e) {
|
|
|
7077
7077
|
}({}), Tm = { multiple(e) {
|
|
7078
7078
|
return e ? { [wm.multiple]: "" } : null;
|
|
7079
7079
|
} }, Em = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
7080
|
-
let { defaultValue: n, disabled: r = !1, loopFocus: i = !0, onValueChange: a, orientation: o = "horizontal", multiple: s = !1, value: c, className: l, render: u, style: d, ...f } = e, p =
|
|
7080
|
+
let { defaultValue: n, disabled: r = !1, loopFocus: i = !0, onValueChange: a, orientation: o = "horizontal", multiple: s = !1, value: c, className: l, render: u, style: d, ...f } = e, p = dr(!0), m = Nr.useMemo(() => {
|
|
7081
7081
|
if (c === void 0) return n ?? [];
|
|
7082
7082
|
}, [c, n]), h = Nr.useMemo(() => c !== void 0 || n !== void 0, [c, n]), g = (p?.disabled ?? !1) || r, [_, v] = Le({
|
|
7083
7083
|
controlled: c,
|
|
@@ -119968,12 +119968,12 @@ function Um({ connectors: e, disabled: t, label: n, exclude: r = [], onSelect: i
|
|
|
119968
119968
|
let a = f(), [o, s] = $r(!1), [c, l] = $r(null), u = Wr((e) => l(e?.closest(".open-flow-workbench") ?? null), []), [d, p] = $r(), m = r.join(","), h = Wr(async (t, n) => (await e.provideAddNodeOptionChoices(t, n))?.filter((e) => e.kind != "connector" || !m.split(",").includes(e.connector.actionId)), [e, m]), g = Wr(async (t, n) => (await e.provideAddNodeOptions(t, n))?.filter((e) => e.kind != "connector" || !m.split(",").includes(e.connector.actionId)), [e, m]);
|
|
119969
119969
|
return /* @__PURE__ */ U("div", {
|
|
119970
119970
|
ref: u,
|
|
119971
|
-
children: /* @__PURE__ */ W(
|
|
119971
|
+
children: /* @__PURE__ */ W(gn, {
|
|
119972
119972
|
open: o,
|
|
119973
119973
|
onOpenChange: (e) => {
|
|
119974
119974
|
s(e), p(void 0);
|
|
119975
119975
|
},
|
|
119976
|
-
children: [/* @__PURE__ */ W(
|
|
119976
|
+
children: [/* @__PURE__ */ W(Lt, {
|
|
119977
119977
|
disabled: t,
|
|
119978
119978
|
render: /* @__PURE__ */ U(V, {
|
|
119979
119979
|
type: "button",
|
|
@@ -119981,12 +119981,12 @@ function Um({ connectors: e, disabled: t, label: n, exclude: r = [], onSelect: i
|
|
|
119981
119981
|
size: "xs"
|
|
119982
119982
|
}),
|
|
119983
119983
|
children: [/* @__PURE__ */ U(di, {}), n]
|
|
119984
|
-
}), /* @__PURE__ */ W(
|
|
119984
|
+
}), /* @__PURE__ */ W(an, {
|
|
119985
119985
|
container: c,
|
|
119986
119986
|
closeLabel: a("contextPanel.close"),
|
|
119987
119987
|
className: "flex h-[min(560px,80dvh)] flex-col gap-2 overflow-hidden sm:max-w-lg",
|
|
119988
119988
|
children: [
|
|
119989
|
-
/* @__PURE__ */ U(
|
|
119989
|
+
/* @__PURE__ */ U(zt, { children: a("actionPicker.title") }),
|
|
119990
119990
|
o && /* @__PURE__ */ U(of, {
|
|
119991
119991
|
browseOptions: e.browseAddNodeOptions,
|
|
119992
119992
|
searchOptions: g,
|
|
@@ -120010,7 +120010,7 @@ function Um({ connectors: e, disabled: t, label: n, exclude: r = [], onSelect: i
|
|
|
120010
120010
|
}
|
|
120011
120011
|
}
|
|
120012
120012
|
}),
|
|
120013
|
-
d != null && /* @__PURE__ */ U(
|
|
120013
|
+
d != null && /* @__PURE__ */ U(zn, { children: d })
|
|
120014
120014
|
]
|
|
120015
120015
|
})]
|
|
120016
120016
|
})
|
|
@@ -120069,7 +120069,7 @@ function Gm(e, t = []) {
|
|
|
120069
120069
|
}
|
|
120070
120070
|
//#endregion
|
|
120071
120071
|
//#region src/workbench/browser/runtime/editor/agentSettings.tsx
|
|
120072
|
-
var Km = Hr(async () => ({ default: (await import("./inputValues-
|
|
120072
|
+
var Km = Hr(async () => ({ default: (await import("./inputValues-CDiBMKu8.js")).InputValues }));
|
|
120073
120073
|
function qm({ disabled: e, portalRoot: t, source: n, port: r, inputs: i, model: a, theme: o, onChange: s, onValidChange: c, onCommit: l, labelledBy: u }) {
|
|
120074
120074
|
let d = f(), p = m(), h = Qr({
|
|
120075
120075
|
onChange: s,
|
|
@@ -120096,7 +120096,7 @@ function qm({ disabled: e, portalRoot: t, source: n, port: r, inputs: i, model:
|
|
|
120096
120096
|
}, !1), h.current.onCommit();
|
|
120097
120097
|
}, [r.handle]);
|
|
120098
120098
|
return Kr(() => (n.kind != "value" && _(!0), () => _(!0)), [n.kind, _]), /* @__PURE__ */ W(ei, { children: [
|
|
120099
|
-
/* @__PURE__ */ U(
|
|
120099
|
+
/* @__PURE__ */ U(or, {
|
|
120100
120100
|
size: "sm",
|
|
120101
120101
|
variant: "subtle",
|
|
120102
120102
|
ariaLabel: d("agent.source"),
|
|
@@ -120137,7 +120137,7 @@ function qm({ disabled: e, portalRoot: t, source: n, port: r, inputs: i, model:
|
|
|
120137
120137
|
}] : []
|
|
120138
120138
|
]
|
|
120139
120139
|
}),
|
|
120140
|
-
n.kind == "input" && /* @__PURE__ */ U(
|
|
120140
|
+
n.kind == "input" && /* @__PURE__ */ U(or, {
|
|
120141
120141
|
size: "sm",
|
|
120142
120142
|
variant: "subtle",
|
|
120143
120143
|
ariaLabel: d("agent.inputName"),
|
|
@@ -120159,7 +120159,7 @@ function qm({ disabled: e, portalRoot: t, source: n, port: r, inputs: i, model:
|
|
|
120159
120159
|
}),
|
|
120160
120160
|
n.kind == "value" && n.value === null && Vm(Bm(r.jsonSchema), r.jsonSchema) != null ? /* @__PURE__ */ W("div", {
|
|
120161
120161
|
className: "agent-empty-value",
|
|
120162
|
-
children: [/* @__PURE__ */ U(
|
|
120162
|
+
children: [/* @__PURE__ */ U($t, { children: d("agent.emptyValue") }), /* @__PURE__ */ U(V, {
|
|
120163
120163
|
type: "button",
|
|
120164
120164
|
variant: "outline",
|
|
120165
120165
|
size: "xs",
|
|
@@ -120170,7 +120170,7 @@ function qm({ disabled: e, portalRoot: t, source: n, port: r, inputs: i, model:
|
|
|
120170
120170
|
children: d("agent.enterValue")
|
|
120171
120171
|
})]
|
|
120172
120172
|
}) : n.kind == "value" && /* @__PURE__ */ U(Lr, {
|
|
120173
|
-
fallback: /* @__PURE__ */ U(
|
|
120173
|
+
fallback: /* @__PURE__ */ U($t, { children: d("inspector.wait.inputsLoading") }),
|
|
120174
120174
|
children: /* @__PURE__ */ U(Km, {
|
|
120175
120175
|
labelledBy: u,
|
|
120176
120176
|
definitions: [r],
|
|
@@ -120190,7 +120190,7 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120190
120190
|
if (n.$.flowId.value != x) return !1;
|
|
120191
120191
|
let i = n.$.revision.value?.node({ kind: "flow" }, t), a = i?.kind == "task" ? i.definition : void 0;
|
|
120192
120192
|
if (a == null || !("executor" in a) || !B(a.executor, e)) return !1;
|
|
120193
|
-
let o =
|
|
120193
|
+
let o = Ft({
|
|
120194
120194
|
modelVersion: 1,
|
|
120195
120195
|
modules: {},
|
|
120196
120196
|
document: {
|
|
@@ -120265,14 +120265,14 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120265
120265
|
disabled: i,
|
|
120266
120266
|
className: "grid gap-4 border-0 p-0",
|
|
120267
120267
|
children: [
|
|
120268
|
-
/* @__PURE__ */ W(
|
|
120269
|
-
/* @__PURE__ */ U(
|
|
120268
|
+
/* @__PURE__ */ W(Rt, { children: [
|
|
120269
|
+
/* @__PURE__ */ U(In, {
|
|
120270
120270
|
htmlFor: `${t}-prompt`,
|
|
120271
120271
|
children: o("agent.prompt")
|
|
120272
120272
|
}),
|
|
120273
120273
|
/* @__PURE__ */ W("div", {
|
|
120274
120274
|
className: "agent-prompt-source",
|
|
120275
|
-
children: [/* @__PURE__ */ U(
|
|
120275
|
+
children: [/* @__PURE__ */ U(or, {
|
|
120276
120276
|
size: "sm",
|
|
120277
120277
|
variant: "subtle",
|
|
120278
120278
|
ariaLabel: o("agent.source"),
|
|
@@ -120298,7 +120298,7 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120298
120298
|
label: o("agent.nodeInput"),
|
|
120299
120299
|
disabled: F.length == 0
|
|
120300
120300
|
}]
|
|
120301
|
-
}), l.prompt.kind == "input" && /* @__PURE__ */ U(
|
|
120301
|
+
}), l.prompt.kind == "input" && /* @__PURE__ */ U(or, {
|
|
120302
120302
|
size: "sm",
|
|
120303
120303
|
variant: "subtle",
|
|
120304
120304
|
id: `${t}-prompt`,
|
|
@@ -120338,7 +120338,7 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120338
120338
|
}, !1)
|
|
120339
120339
|
})
|
|
120340
120340
|
] }),
|
|
120341
|
-
/* @__PURE__ */ W(
|
|
120341
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
120342
120342
|
htmlFor: `${t}-model`,
|
|
120343
120343
|
children: o("agent.model")
|
|
120344
120344
|
}), /* @__PURE__ */ U(it, {
|
|
@@ -120358,7 +120358,7 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120358
120358
|
id: `${t}-tools`,
|
|
120359
120359
|
children: o("agent.tools")
|
|
120360
120360
|
}),
|
|
120361
|
-
l.tools.length == 0 && l.code != 1 && /* @__PURE__ */ U(
|
|
120361
|
+
l.tools.length == 0 && l.code != 1 && /* @__PURE__ */ U($t, { children: o("agent.toolsHint") }),
|
|
120362
120362
|
l.tools.map((e) => /* @__PURE__ */ W("details", {
|
|
120363
120363
|
className: "inspector-disclosure inspector-disclosure-compact",
|
|
120364
120364
|
children: [/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(nt, { size: 14 }), /* @__PURE__ */ W("span", { children: [
|
|
@@ -120368,9 +120368,9 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120368
120368
|
] })] }), /* @__PURE__ */ W("div", {
|
|
120369
120369
|
className: "inspector-disclosure-content",
|
|
120370
120370
|
children: [
|
|
120371
|
-
O[e.action]?.authenticated == 1 && /* @__PURE__ */ W(
|
|
120372
|
-
/* @__PURE__ */ U(
|
|
120373
|
-
/* @__PURE__ */ U(
|
|
120371
|
+
O[e.action]?.authenticated == 1 && /* @__PURE__ */ W(Rt, { children: [
|
|
120372
|
+
/* @__PURE__ */ U(In, { children: o("agent.connection") }),
|
|
120373
|
+
/* @__PURE__ */ U(or, {
|
|
120374
120374
|
size: "sm",
|
|
120375
120375
|
variant: "subtle",
|
|
120376
120376
|
ariaLabel: o("agent.connection"),
|
|
@@ -120410,10 +120410,10 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120410
120410
|
children: o("inspector.actions.connect")
|
|
120411
120411
|
})
|
|
120412
120412
|
] }),
|
|
120413
|
-
/* @__PURE__ */ W(
|
|
120413
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
120414
120414
|
htmlFor: `${e.id}-approval`,
|
|
120415
120415
|
children: o("agent.execution")
|
|
120416
|
-
}), /* @__PURE__ */ U(
|
|
120416
|
+
}), /* @__PURE__ */ U(or, {
|
|
120417
120417
|
size: "sm",
|
|
120418
120418
|
variant: "subtle",
|
|
120419
120419
|
id: `${e.id}-approval`,
|
|
@@ -120434,12 +120434,12 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120434
120434
|
label: o("agent.confirm")
|
|
120435
120435
|
}]
|
|
120436
120436
|
})] }),
|
|
120437
|
-
/* @__PURE__ */ U(
|
|
120437
|
+
/* @__PURE__ */ U($t, { children: e.inputs.some((e) => e.source.kind != "model") ? o("agent.assigned", { fields: e.inputs.filter((e) => e.source.kind != "model").map((e) => e.handle).join(", ") }) : o("agent.modelParameters") }),
|
|
120438
120438
|
/* @__PURE__ */ W("details", {
|
|
120439
120439
|
className: "inspector-disclosure inspector-disclosure-compact",
|
|
120440
120440
|
children: [/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(nt, { size: 14 }), /* @__PURE__ */ U("span", { children: o("agent.parameters") })] }), /* @__PURE__ */ W("div", {
|
|
120441
120441
|
className: "inspector-disclosure-content",
|
|
120442
|
-
children: [/* @__PURE__ */ U(
|
|
120442
|
+
children: [/* @__PURE__ */ U($t, { children: o("agent.parametersHint") }), e.inputs.map((t) => {
|
|
120443
120443
|
let n = `${e.id}-${t.handle}`, r = p == n, c = t.source, l = c.kind == "model" ? o("agent.modelValue") : c.kind == "input" ? `${o("agent.nodeInput")} · ${c.input}` : `${o("agent.fixed")} · ${c.value === null ? o("agent.empty") : c.value === "" ? o("agent.blank") : typeof c.value == "string" ? c.value : JSON.stringify(c.value)}`;
|
|
120444
120444
|
return /* @__PURE__ */ W("div", {
|
|
120445
120445
|
className: "agent-parameter",
|
|
@@ -120464,10 +120464,10 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120464
120464
|
children: l
|
|
120465
120465
|
})
|
|
120466
120466
|
]
|
|
120467
|
-
}), r && /* @__PURE__ */ W(
|
|
120467
|
+
}), r && /* @__PURE__ */ W(Rt, {
|
|
120468
120468
|
id: `${n}-editor`,
|
|
120469
120469
|
className: "agent-parameter-editor",
|
|
120470
|
-
children: [/* @__PURE__ */ U(
|
|
120470
|
+
children: [/* @__PURE__ */ U($t, { children: t.description }), /* @__PURE__ */ U(qm, {
|
|
120471
120471
|
disabled: i,
|
|
120472
120472
|
portalRoot: s,
|
|
120473
120473
|
model: !0,
|
|
@@ -120498,7 +120498,7 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120498
120498
|
className: "inspector-disclosure inspector-disclosure-compact",
|
|
120499
120499
|
children: [/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(nt, { size: 14 }), /* @__PURE__ */ U("span", { children: o("agent.toolDetails") })] }), /* @__PURE__ */ W("div", {
|
|
120500
120500
|
className: "inspector-disclosure-content",
|
|
120501
|
-
children: [/* @__PURE__ */ W(
|
|
120501
|
+
children: [/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, { children: o("agent.toolName") }), /* @__PURE__ */ U(it, {
|
|
120502
120502
|
"data-agent-text": !0,
|
|
120503
120503
|
"aria-label": o("agent.toolName"),
|
|
120504
120504
|
value: e.name,
|
|
@@ -120506,7 +120506,7 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120506
120506
|
...e,
|
|
120507
120507
|
name: t.target.value
|
|
120508
120508
|
}, !1)
|
|
120509
|
-
})] }), /* @__PURE__ */ W(
|
|
120509
|
+
})] }), /* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, { children: o("agent.description") }), /* @__PURE__ */ U(Ti, {
|
|
120510
120510
|
"data-agent-text": !0,
|
|
120511
120511
|
"aria-label": o("agent.description"),
|
|
120512
120512
|
value: e.description,
|
|
@@ -120543,12 +120543,12 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120543
120543
|
" · ",
|
|
120544
120544
|
h.name
|
|
120545
120545
|
] }),
|
|
120546
|
-
/* @__PURE__ */ W(
|
|
120547
|
-
/* @__PURE__ */ U(
|
|
120546
|
+
/* @__PURE__ */ W(Rt, { children: [
|
|
120547
|
+
/* @__PURE__ */ U(In, {
|
|
120548
120548
|
htmlFor: `${t}-new-approval`,
|
|
120549
120549
|
children: o("agent.execution")
|
|
120550
120550
|
}),
|
|
120551
|
-
/* @__PURE__ */ U(
|
|
120551
|
+
/* @__PURE__ */ U(or, {
|
|
120552
120552
|
size: "sm",
|
|
120553
120553
|
variant: "subtle",
|
|
120554
120554
|
id: `${t}-new-approval`,
|
|
@@ -120566,9 +120566,9 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120566
120566
|
label: o("agent.confirm")
|
|
120567
120567
|
}]
|
|
120568
120568
|
}),
|
|
120569
|
-
/* @__PURE__ */ U(
|
|
120569
|
+
/* @__PURE__ */ U($t, { children: o("agent.executionHint") })
|
|
120570
120570
|
] }),
|
|
120571
|
-
/* @__PURE__ */ U(
|
|
120571
|
+
/* @__PURE__ */ U($t, { children: o("agent.newParameters") }),
|
|
120572
120572
|
/* @__PURE__ */ W("div", {
|
|
120573
120573
|
className: "form-actions",
|
|
120574
120574
|
children: [/* @__PURE__ */ U(V, {
|
|
@@ -120593,14 +120593,14 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120593
120593
|
children: [/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(nt, { size: 14 }), /* @__PURE__ */ U("span", { children: o("agent.more") })] }), /* @__PURE__ */ W("div", {
|
|
120594
120594
|
className: "inspector-disclosure-content",
|
|
120595
120595
|
children: [
|
|
120596
|
-
/* @__PURE__ */ W(
|
|
120596
|
+
/* @__PURE__ */ W(Rt, {
|
|
120597
120597
|
orientation: "horizontal",
|
|
120598
120598
|
children: [/* @__PURE__ */ W("div", {
|
|
120599
120599
|
className: "agent-code-copy",
|
|
120600
|
-
children: [/* @__PURE__ */ U(
|
|
120600
|
+
children: [/* @__PURE__ */ U(In, {
|
|
120601
120601
|
htmlFor: `${t}-code`,
|
|
120602
120602
|
children: o("agent.code")
|
|
120603
|
-
}), /* @__PURE__ */ U(
|
|
120603
|
+
}), /* @__PURE__ */ U($t, {
|
|
120604
120604
|
id: `${t}-code-description`,
|
|
120605
120605
|
children: o("agent.codeHint")
|
|
120606
120606
|
})]
|
|
@@ -120615,7 +120615,7 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120615
120615
|
})
|
|
120616
120616
|
})]
|
|
120617
120617
|
}),
|
|
120618
|
-
/* @__PURE__ */ W(
|
|
120618
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
120619
120619
|
htmlFor: `${t}-system`,
|
|
120620
120620
|
children: o("agent.system")
|
|
120621
120621
|
}), /* @__PURE__ */ U(Ti, {
|
|
@@ -120628,7 +120628,7 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120628
120628
|
system: e.target.value
|
|
120629
120629
|
}, !1)
|
|
120630
120630
|
})] }),
|
|
120631
|
-
/* @__PURE__ */ W(
|
|
120631
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
120632
120632
|
htmlFor: `${t}-rounds`,
|
|
120633
120633
|
children: o("agent.rounds")
|
|
120634
120634
|
}), /* @__PURE__ */ U(it, {
|
|
@@ -120643,9 +120643,9 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120643
120643
|
maxRounds: Number(e.target.value)
|
|
120644
120644
|
}, !1)
|
|
120645
120645
|
})] }),
|
|
120646
|
-
/* @__PURE__ */ W(
|
|
120647
|
-
/* @__PURE__ */ U(
|
|
120648
|
-
/* @__PURE__ */ U(
|
|
120646
|
+
/* @__PURE__ */ W(Rt, { children: [
|
|
120647
|
+
/* @__PURE__ */ U(In, { children: o("agent.notification") }),
|
|
120648
|
+
/* @__PURE__ */ U(or, {
|
|
120649
120649
|
size: "sm",
|
|
120650
120650
|
variant: "subtle",
|
|
120651
120651
|
ariaLabel: o("agent.notification"),
|
|
@@ -120672,9 +120672,9 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120672
120672
|
label: t.name
|
|
120673
120673
|
}))]
|
|
120674
120674
|
}),
|
|
120675
|
-
/* @__PURE__ */ U(
|
|
120675
|
+
/* @__PURE__ */ U($t, { children: o("agent.notificationHint") })
|
|
120676
120676
|
] }),
|
|
120677
|
-
l.notification != null && te != null && /* @__PURE__ */ W(ei, { children: [/* @__PURE__ */ W(
|
|
120677
|
+
l.notification != null && te != null && /* @__PURE__ */ W(ei, { children: [/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, { children: o("agent.messageField") }), /* @__PURE__ */ U(or, {
|
|
120678
120678
|
size: "sm",
|
|
120679
120679
|
variant: "subtle",
|
|
120680
120680
|
ariaLabel: o("agent.messageField"),
|
|
@@ -120698,7 +120698,7 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120698
120698
|
value: e.handle,
|
|
120699
120699
|
label: e.handle
|
|
120700
120700
|
}] : [])]
|
|
120701
|
-
})] }), te.inputs.flatMap((e) => !("handle" in e) || e.handle == l.notification?.messageHandle ? [] : [/* @__PURE__ */ W(
|
|
120701
|
+
})] }), te.inputs.flatMap((e) => !("handle" in e) || e.handle == l.notification?.messageHandle ? [] : [/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
120702
120702
|
id: `notice-${e.handle}-label`,
|
|
120703
120703
|
children: e.handle
|
|
120704
120704
|
}), /* @__PURE__ */ U(qm, {
|
|
@@ -120731,9 +120731,9 @@ function Jm({ task: e, nodeId: t, store: n, connectors: r, disabled: i, theme: a
|
|
|
120731
120731
|
]
|
|
120732
120732
|
})]
|
|
120733
120733
|
}),
|
|
120734
|
-
E.size > 0 && y !== o("agent.invalidValues") && /* @__PURE__ */ U(
|
|
120735
|
-
M != null && /* @__PURE__ */ U(
|
|
120736
|
-
y != null && /* @__PURE__ */ W(
|
|
120734
|
+
E.size > 0 && y !== o("agent.invalidValues") && /* @__PURE__ */ U(zn, { children: o("agent.invalidValues") }),
|
|
120735
|
+
M != null && /* @__PURE__ */ U(zn, { children: M }),
|
|
120736
|
+
y != null && /* @__PURE__ */ W(zn, { children: [y, /* @__PURE__ */ U(V, {
|
|
120737
120737
|
type: "submit",
|
|
120738
120738
|
variant: "outline",
|
|
120739
120739
|
size: "sm",
|
|
@@ -120867,7 +120867,7 @@ function Xm({ capabilities: e, connectors: t, disabled: n, nodeId: r, store: i,
|
|
|
120867
120867
|
title: o("inspector.actions.removeAction"),
|
|
120868
120868
|
"aria-label": `${o("inspector.actions.removeAction")} · ${l?.name ?? n.action}`,
|
|
120869
120869
|
onClick: () => void M(e.filter((e) => e.action != n.action)),
|
|
120870
|
-
children: /* @__PURE__ */ U(
|
|
120870
|
+
children: /* @__PURE__ */ U(Jn, {})
|
|
120871
120871
|
})
|
|
120872
120872
|
]
|
|
120873
120873
|
}),
|
|
@@ -120916,15 +120916,15 @@ function Xm({ capabilities: e, connectors: t, disabled: n, nodeId: r, store: i,
|
|
|
120916
120916
|
"aria-label": o("inspector.actions.example"),
|
|
120917
120917
|
children: /* @__PURE__ */ U("code", { children: D })
|
|
120918
120918
|
}),
|
|
120919
|
-
v == D && /* @__PURE__ */ U(
|
|
120919
|
+
v == D && /* @__PURE__ */ U(zn, { children: o("inspector.actions.copyError") })
|
|
120920
120920
|
]
|
|
120921
120921
|
}),
|
|
120922
120922
|
A && (l?.authenticated == 1 || n.connections.length > 0) && /* @__PURE__ */ W("div", {
|
|
120923
120923
|
id: ne,
|
|
120924
120924
|
className: "code-action-settings",
|
|
120925
|
-
children: [n.connections.length > 0 && /* @__PURE__ */ W(
|
|
120925
|
+
children: [n.connections.length > 0 && /* @__PURE__ */ W(Rt, {
|
|
120926
120926
|
className: "code-action-default",
|
|
120927
|
-
children: [/* @__PURE__ */ U(
|
|
120927
|
+
children: [/* @__PURE__ */ U(In, {
|
|
120928
120928
|
htmlFor: `actions-default-${r}-${n.action}`,
|
|
120929
120929
|
children: o("inspector.actions.default")
|
|
120930
120930
|
}), /* @__PURE__ */ W(Ci, {
|
|
@@ -120998,7 +120998,7 @@ function Xm({ capabilities: e, connectors: t, disabled: n, nodeId: r, store: i,
|
|
|
120998
120998
|
className: "code-action-connections",
|
|
120999
120999
|
children: [(d?.all ?? []).map((e) => {
|
|
121000
121000
|
let t = n.connections.find((t) => t.connectionId == e.connectionId), r = t == null ? e.alias : t.alias;
|
|
121001
|
-
return /* @__PURE__ */ W(
|
|
121001
|
+
return /* @__PURE__ */ W(In, {
|
|
121002
121002
|
className: "code-action-connection",
|
|
121003
121003
|
title: e.connectionId,
|
|
121004
121004
|
"data-unavailable": e.status != "active",
|
|
@@ -121051,7 +121051,7 @@ function Xm({ capabilities: e, connectors: t, disabled: n, nodeId: r, store: i,
|
|
|
121051
121051
|
...t == e.connectionId || t == null ? {} : { connectionId: t }
|
|
121052
121052
|
});
|
|
121053
121053
|
},
|
|
121054
|
-
children: /* @__PURE__ */ U(
|
|
121054
|
+
children: /* @__PURE__ */ U(Jn, {})
|
|
121055
121055
|
})]
|
|
121056
121056
|
}, e.connectionId))]
|
|
121057
121057
|
}), n.connections.length > 0 && /* @__PURE__ */ W("details", {
|
|
@@ -121087,7 +121087,7 @@ function Xm({ capabilities: e, connectors: t, disabled: n, nodeId: r, store: i,
|
|
|
121087
121087
|
]
|
|
121088
121088
|
}, n.action);
|
|
121089
121089
|
}),
|
|
121090
|
-
w != null && /* @__PURE__ */ W(
|
|
121090
|
+
w != null && /* @__PURE__ */ W(zn, {
|
|
121091
121091
|
role: "alert",
|
|
121092
121092
|
children: [w, /* @__PURE__ */ U(V, {
|
|
121093
121093
|
type: "button",
|
|
@@ -121637,7 +121637,7 @@ function hh({ value: e, disabled: t, onChange: n }) {
|
|
|
121637
121637
|
}),
|
|
121638
121638
|
children: r("conditionEditor.addCondition")
|
|
121639
121639
|
}),
|
|
121640
|
-
/* @__PURE__ */ W(
|
|
121640
|
+
/* @__PURE__ */ W(Yt, {
|
|
121641
121641
|
className: "flex items-center gap-2 text-sm leading-normal font-normal select-text",
|
|
121642
121642
|
children: [/* @__PURE__ */ U(Bi, {
|
|
121643
121643
|
disabled: t,
|
|
@@ -121668,9 +121668,9 @@ function hh({ value: e, disabled: t, onChange: n }) {
|
|
|
121668
121668
|
//#region src/workbench/browser/runtime/editor/nodeDescription.tsx
|
|
121669
121669
|
function gh({ value: e, disabled: t, onSave: n }) {
|
|
121670
121670
|
let r = f(), i = qr(), [a, o] = $r(e ?? "");
|
|
121671
|
-
return Kr(() => o(e ?? ""), [e]), /* @__PURE__ */ W(
|
|
121671
|
+
return Kr(() => o(e ?? ""), [e]), /* @__PURE__ */ W(Rt, {
|
|
121672
121672
|
className: "px-3 py-3",
|
|
121673
|
-
children: [/* @__PURE__ */ U(
|
|
121673
|
+
children: [/* @__PURE__ */ U(In, {
|
|
121674
121674
|
htmlFor: i,
|
|
121675
121675
|
children: r("inspector.node.description")
|
|
121676
121676
|
}), /* @__PURE__ */ U(Ti, {
|
|
@@ -121814,7 +121814,7 @@ var yh = /* @__PURE__ */ t((/* @__PURE__ */ r(((e) => {
|
|
|
121814
121814
|
return n;
|
|
121815
121815
|
};
|
|
121816
121816
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
121817
|
-
var o = i(
|
|
121817
|
+
var o = i(yn()), s = 89, c = 90, l = 77, u = 57, d = 219, f = 222, p = 192, m = 100, h = 3e3, g = typeof window < "u" && "navigator" in window && /Win/i.test(navigator.platform), _ = typeof window < "u" && "navigator" in window && /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform), v = "npm__react-simple-code-editor__textarea", y = `
|
|
121818
121818
|
/**
|
|
121819
121819
|
* Reset the text fill color so that placeholder is visible
|
|
121820
121820
|
*/
|
|
@@ -122224,7 +122224,7 @@ function Th({ schema: e, value: t, disabled: n, handleNames: r, onChange: i }) {
|
|
|
122224
122224
|
1048576,
|
|
122225
122225
|
1
|
|
122226
122226
|
]
|
|
122227
|
-
].map(([e, t, r, i, o, s]) => /* @__PURE__ */ W(
|
|
122227
|
+
].map(([e, t, r, i, o, s]) => /* @__PURE__ */ W(Yt, {
|
|
122228
122228
|
className: "grid gap-1 text-sm leading-normal font-normal select-text",
|
|
122229
122229
|
children: [a(`llmEditor.${t}`), /* @__PURE__ */ U(it, {
|
|
122230
122230
|
type: "number",
|
|
@@ -122247,12 +122247,12 @@ function Th({ schema: e, value: t, disabled: n, handleNames: r, onChange: i }) {
|
|
|
122247
122247
|
var Eh = () => {};
|
|
122248
122248
|
function Dh({ definition: e, handleNames: t = [], value: n, connected: r, variableName: i, variables: a, disabled: o, onValue: s, onVariable: c }) {
|
|
122249
122249
|
let l = f(), [u, d] = $r(!1), [p, m] = $r(!1), h = wh(e.jsonSchema, n), g = i != null, _ = g || u, v = a.enabled && le(e.jsonSchema) || g;
|
|
122250
|
-
return /* @__PURE__ */ W(
|
|
122250
|
+
return /* @__PURE__ */ W(Rt, {
|
|
122251
122251
|
className: "p-3",
|
|
122252
122252
|
children: [
|
|
122253
|
-
/* @__PURE__ */ U(
|
|
122254
|
-
e.description && /* @__PURE__ */ U(
|
|
122255
|
-
r ? /* @__PURE__ */ U(
|
|
122253
|
+
/* @__PURE__ */ U(In, { children: e.handle }),
|
|
122254
|
+
e.description && /* @__PURE__ */ U($t, { children: e.description }),
|
|
122255
|
+
r ? /* @__PURE__ */ U($t, { children: l("nodeInput.connected") }) : /* @__PURE__ */ W(ei, { children: [v && /* @__PURE__ */ W(Ci, {
|
|
122256
122256
|
"aria-label": `${e.handle} ${l("nodeInput.mode")}`,
|
|
122257
122257
|
disabled: o,
|
|
122258
122258
|
value: _ ? "variable" : "literal",
|
|
@@ -122427,7 +122427,7 @@ function Nh(e) {
|
|
|
122427
122427
|
group: e.target.value
|
|
122428
122428
|
})
|
|
122429
122429
|
}),
|
|
122430
|
-
/* @__PURE__ */ W(
|
|
122430
|
+
/* @__PURE__ */ W(Yt, {
|
|
122431
122431
|
className: "flex items-center gap-2 text-sm leading-normal font-normal select-text",
|
|
122432
122432
|
children: [/* @__PURE__ */ U(Bi, {
|
|
122433
122433
|
disabled: i,
|
|
@@ -122507,7 +122507,7 @@ function Nh(e) {
|
|
|
122507
122507
|
description: e.target.value
|
|
122508
122508
|
})
|
|
122509
122509
|
}),
|
|
122510
|
-
/* @__PURE__ */ W(
|
|
122510
|
+
/* @__PURE__ */ W(Yt, {
|
|
122511
122511
|
className: "flex items-center gap-2 text-sm leading-normal font-normal select-text",
|
|
122512
122512
|
children: [/* @__PURE__ */ U(Bi, {
|
|
122513
122513
|
disabled: i,
|
|
@@ -122583,15 +122583,15 @@ function Fh({ schema: e, config: t, disabled: n, onChange: r }) {
|
|
|
122583
122583
|
return s.length === 0 ? null : /* @__PURE__ */ W("section", {
|
|
122584
122584
|
className: "inspector-section",
|
|
122585
122585
|
"data-inspector-section": "trigger",
|
|
122586
|
-
children: [/* @__PURE__ */ U("h3", { children: i("triggerConfig.configuration") }), /* @__PURE__ */ U(
|
|
122586
|
+
children: [/* @__PURE__ */ U("h3", { children: i("triggerConfig.configuration") }), /* @__PURE__ */ U(Mt, { children: s.map(([e, a]) => {
|
|
122587
122587
|
let s = Er(a), c = typeof s.title == "string" ? s.title : e, l = o.includes(e) && !Object.hasOwn(t, e), u = Object.hasOwn(t, e) ? t[e] : s.default, d = Er(s.items), f = (t) => {
|
|
122588
122588
|
(t === void 0 || Or(t)) && r(e, t);
|
|
122589
122589
|
};
|
|
122590
|
-
return /* @__PURE__ */ W(
|
|
122590
|
+
return /* @__PURE__ */ W(Rt, {
|
|
122591
122591
|
"data-invalid": l || void 0,
|
|
122592
122592
|
children: [
|
|
122593
|
-
/* @__PURE__ */ W(
|
|
122594
|
-
typeof s.description == "string" && /* @__PURE__ */ U(
|
|
122593
|
+
/* @__PURE__ */ W(In, { children: [c, o.includes(e) ? " *" : ""] }),
|
|
122594
|
+
typeof s.description == "string" && /* @__PURE__ */ U($t, { children: s.description }),
|
|
122595
122595
|
s.type === "array" && Array.isArray(d?.enum) ? /* @__PURE__ */ W(ei, { children: [u !== void 0 && /* @__PURE__ */ U(V, {
|
|
122596
122596
|
type: "button",
|
|
122597
122597
|
size: "sm",
|
|
@@ -122615,7 +122615,7 @@ function Fh({ schema: e, config: t, disabled: n, onChange: r }) {
|
|
|
122615
122615
|
onChange: f,
|
|
122616
122616
|
onDraftIssue: Ph
|
|
122617
122617
|
}),
|
|
122618
|
-
l && /* @__PURE__ */ U(
|
|
122618
|
+
l && /* @__PURE__ */ U(zn, { children: i("triggerConfig.required") })
|
|
122619
122619
|
]
|
|
122620
122620
|
}, e);
|
|
122621
122621
|
}) })]
|
|
@@ -122625,7 +122625,7 @@ function Fh({ schema: e, config: t, disabled: n, onChange: r }) {
|
|
|
122625
122625
|
//#region src/workbench/browser/runtime/editor/triggerScheduleEditor.tsx
|
|
122626
122626
|
function Ih({ value: e, disabled: t, label: n, commit: r, numeric: i = !1 }) {
|
|
122627
122627
|
let a = qr(), [o, s] = $r(e), [c, l] = $r(e);
|
|
122628
|
-
return c !== e && (l(e), s(e)), /* @__PURE__ */ W(
|
|
122628
|
+
return c !== e && (l(e), s(e)), /* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
122629
122629
|
htmlFor: a,
|
|
122630
122630
|
children: n
|
|
122631
122631
|
}), /* @__PURE__ */ U(it, {
|
|
@@ -122649,10 +122649,10 @@ function Lh({ schedules: e, disabled: t, onChange: n, testHint: r = !1 }) {
|
|
|
122649
122649
|
return /* @__PURE__ */ U("section", {
|
|
122650
122650
|
className: "inspector-section",
|
|
122651
122651
|
"data-inspector-section": "trigger",
|
|
122652
|
-
children: /* @__PURE__ */ W(
|
|
122652
|
+
children: /* @__PURE__ */ W(Mt, { children: [
|
|
122653
122653
|
e.map((r, o) => {
|
|
122654
122654
|
let s = (t) => n(e.with(o, t));
|
|
122655
|
-
return /* @__PURE__ */ W(
|
|
122655
|
+
return /* @__PURE__ */ W(Mt, { children: [/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
122656
122656
|
htmlFor: `${a}-${o}-type`,
|
|
122657
122657
|
children: i("triggerSchedule.scheduleType")
|
|
122658
122658
|
}), /* @__PURE__ */ W(Ci, {
|
|
@@ -122689,7 +122689,7 @@ function Lh({ schedules: e, disabled: t, onChange: n, testHint: r = !1 }) {
|
|
|
122689
122689
|
value: t
|
|
122690
122690
|
});
|
|
122691
122691
|
}
|
|
122692
|
-
}), /* @__PURE__ */ W(
|
|
122692
|
+
}), /* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
122693
122693
|
htmlFor: `${a}-${o}-unit`,
|
|
122694
122694
|
children: i("triggerSchedule.scheduleUnit")
|
|
122695
122695
|
}), /* @__PURE__ */ U(Ci, {
|
|
@@ -122741,7 +122741,7 @@ function Lh({ schedules: e, disabled: t, onChange: n, testHint: r = !1 }) {
|
|
|
122741
122741
|
})] })] }, o);
|
|
122742
122742
|
}),
|
|
122743
122743
|
e.length === 0 && /* @__PURE__ */ U("p", { children: i("triggerSchedule.scheduleMissing") }),
|
|
122744
|
-
r && /* @__PURE__ */ U(
|
|
122744
|
+
r && /* @__PURE__ */ U($t, { children: i("triggerSchedule.scheduleTestHint") })
|
|
122745
122745
|
] })
|
|
122746
122746
|
});
|
|
122747
122747
|
}
|
|
@@ -122772,7 +122772,7 @@ function Rh({ trigger: e }) {
|
|
|
122772
122772
|
//#region src/workbench/browser/runtime/editor/webhookEditor.tsx
|
|
122773
122773
|
function zh({ label: e, value: t, disabled: n, multiline: r, onSave: i }) {
|
|
122774
122774
|
let a = qr(), [o, s] = $r(t), [c, l] = $r(t);
|
|
122775
|
-
return c !== t && (l(t), s(t)), /* @__PURE__ */ W(
|
|
122775
|
+
return c !== t && (l(t), s(t)), /* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
122776
122776
|
htmlFor: a,
|
|
122777
122777
|
children: e
|
|
122778
122778
|
}), U(r ? Ti : it, {
|
|
@@ -122805,10 +122805,10 @@ function Vh({ inputs: e, options: t, disabled: n, onChange: r }) {
|
|
|
122805
122805
|
return /* @__PURE__ */ W("section", {
|
|
122806
122806
|
className: "inspector-section",
|
|
122807
122807
|
"data-inspector-section": "trigger",
|
|
122808
|
-
children: [/* @__PURE__ */ U("h3", { children: i("webhookEditor.webhookRequest") }), /* @__PURE__ */ W(
|
|
122809
|
-
/* @__PURE__ */ W(
|
|
122808
|
+
children: [/* @__PURE__ */ U("h3", { children: i("webhookEditor.webhookRequest") }), /* @__PURE__ */ W(Mt, { children: [
|
|
122809
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, { children: i("webhookEditor.webhookMethods") }), /* @__PURE__ */ U("div", {
|
|
122810
122810
|
className: "flex flex-wrap gap-3",
|
|
122811
|
-
children: [.../* @__PURE__ */ new Set([...Bh, ...t.allowedMethods ?? []])].map((e) => /* @__PURE__ */ W(
|
|
122811
|
+
children: [.../* @__PURE__ */ new Set([...Bh, ...t.allowedMethods ?? []])].map((e) => /* @__PURE__ */ W(Yt, {
|
|
122812
122812
|
className: "flex items-center gap-2 text-sm leading-normal font-normal select-text",
|
|
122813
122813
|
children: [/* @__PURE__ */ U(Bi, {
|
|
122814
122814
|
disabled: n,
|
|
@@ -122820,8 +122820,8 @@ function Vh({ inputs: e, options: t, disabled: n, onChange: r }) {
|
|
|
122820
122820
|
}), e]
|
|
122821
122821
|
}, e))
|
|
122822
122822
|
})] }),
|
|
122823
|
-
/* @__PURE__ */ W(
|
|
122824
|
-
/* @__PURE__ */ U(
|
|
122823
|
+
/* @__PURE__ */ W(Rt, { children: [
|
|
122824
|
+
/* @__PURE__ */ U(In, { children: i("webhookEditor.webhookPayloadFields") }),
|
|
122825
122825
|
e.length === 0 && /* @__PURE__ */ U("p", {
|
|
122826
122826
|
className: "text-sm text-muted-foreground",
|
|
122827
122827
|
children: i("webhookEditor.webhookNoPayloadFields")
|
|
@@ -122843,7 +122843,7 @@ function Vh({ inputs: e, options: t, disabled: n, onChange: r }) {
|
|
|
122843
122843
|
/* @__PURE__ */ W("details", { children: [/* @__PURE__ */ U("summary", {
|
|
122844
122844
|
className: "cursor-pointer text-sm",
|
|
122845
122845
|
children: i("webhookEditor.webhookAdvanced")
|
|
122846
|
-
}), /* @__PURE__ */ W(
|
|
122846
|
+
}), /* @__PURE__ */ W(Mt, {
|
|
122847
122847
|
className: "mt-4",
|
|
122848
122848
|
children: [
|
|
122849
122849
|
/* @__PURE__ */ U(zh, {
|
|
@@ -122868,7 +122868,7 @@ function Vh({ inputs: e, options: t, disabled: n, onChange: r }) {
|
|
|
122868
122868
|
}
|
|
122869
122869
|
}
|
|
122870
122870
|
}),
|
|
122871
|
-
/* @__PURE__ */ W(
|
|
122871
|
+
/* @__PURE__ */ W(Yt, {
|
|
122872
122872
|
className: "flex items-center gap-2 text-sm leading-normal font-normal select-text",
|
|
122873
122873
|
children: [/* @__PURE__ */ U(Bi, {
|
|
122874
122874
|
disabled: n,
|
|
@@ -122883,8 +122883,8 @@ function Vh({ inputs: e, options: t, disabled: n, onChange: r }) {
|
|
|
122883
122883
|
disabled: n || t.noResponseBody === !0,
|
|
122884
122884
|
onSave: (e) => o("responseData", e === "" ? void 0 : e)
|
|
122885
122885
|
}),
|
|
122886
|
-
/* @__PURE__ */ U(
|
|
122887
|
-
Object.entries(a).map(([e, t]) => /* @__PURE__ */ W(
|
|
122886
|
+
/* @__PURE__ */ U(In, { children: i("webhookEditor.webhookHeaders") }),
|
|
122887
|
+
Object.entries(a).map(([e, t]) => /* @__PURE__ */ W(Mt, { children: [
|
|
122888
122888
|
/* @__PURE__ */ U(zh, {
|
|
122889
122889
|
label: i("webhookEditor.webhookHeaderName"),
|
|
122890
122890
|
value: e,
|
|
@@ -122934,7 +122934,7 @@ function Vh({ inputs: e, options: t, disabled: n, onChange: r }) {
|
|
|
122934
122934
|
}
|
|
122935
122935
|
//#endregion
|
|
122936
122936
|
//#region src/workbench/browser/runtime/editor/nodeInspector.tsx
|
|
122937
|
-
var Hh = Hr(async () => ({ default: (await import("./inputValues-
|
|
122937
|
+
var Hh = Hr(async () => ({ default: (await import("./inputValues-CDiBMKu8.js")).InputValues }));
|
|
122938
122938
|
function Uh(e, t) {
|
|
122939
122939
|
return e?.kind == "trigger" ? "trigger" : e?.kind == "condition" ? "condition" : e?.kind == "value" ? "value" : e?.kind == "wait" ? "wait" : e?.kind == "subflow" || e == null && t.kind == "subflow" ? "subflow" : e?.kind == "task" && e.definition != null && "executor" in e.definition ? e.definition.executor.kind == "connector" ? "connection" : "llm" : "task";
|
|
122940
122940
|
}
|
|
@@ -122963,7 +122963,7 @@ function qh({ diagnostics: e, pending: t }) {
|
|
|
122963
122963
|
return /* @__PURE__ */ W("section", {
|
|
122964
122964
|
className: `inspector-section diagnostics-section ${o ? "incomplete" : ""}`,
|
|
122965
122965
|
children: [/* @__PURE__ */ W("h3", { children: [
|
|
122966
|
-
/* @__PURE__ */ U(
|
|
122966
|
+
/* @__PURE__ */ U(Vn, {
|
|
122967
122967
|
name: "alert",
|
|
122968
122968
|
size: 15
|
|
122969
122969
|
}),
|
|
@@ -122990,14 +122990,14 @@ function Jh({ revision: e, target: t, selection: n, store: r, disabled: i }) {
|
|
|
122990
122990
|
className: "inspector-section inspector-sources",
|
|
122991
122991
|
"data-inspector-section": "inputs",
|
|
122992
122992
|
ref: s,
|
|
122993
|
-
children: [/* @__PURE__ */ U("h3", { children: a("inspector.sources.title") }), /* @__PURE__ */ U(
|
|
122993
|
+
children: [/* @__PURE__ */ U("h3", { children: a("inspector.sources.title") }), /* @__PURE__ */ U(Mt, {
|
|
122994
122994
|
className: "gap-2",
|
|
122995
122995
|
children: l.map(({ handle: e, outputs: t }) => {
|
|
122996
122996
|
let s = n.node.inputs[e], l = s?.kind == "sources" ? s.sources.filter((e) => e.kind == "node") : [], u = l.length == 1 ? l[0] : void 0, d = u == null ? l.length > 0 ? "merged" : "" : JSON.stringify([u.nodeId, u.output]), f = u != null && t[u.nodeId]?.includes(u.output), p = `source-${n.id}-${e}`;
|
|
122997
|
-
return /* @__PURE__ */ W(
|
|
122997
|
+
return /* @__PURE__ */ W(Rt, {
|
|
122998
122998
|
className: "grid grid-cols-[minmax(0,7rem)_minmax(0,1fr)] items-center gap-x-2 gap-y-1",
|
|
122999
122999
|
children: [
|
|
123000
|
-
/* @__PURE__ */ U(
|
|
123000
|
+
/* @__PURE__ */ U(In, {
|
|
123001
123001
|
htmlFor: p,
|
|
123002
123002
|
className: "min-w-0",
|
|
123003
123003
|
title: e,
|
|
@@ -123006,7 +123006,7 @@ function Jh({ revision: e, target: t, selection: n, store: r, disabled: i }) {
|
|
|
123006
123006
|
children: e
|
|
123007
123007
|
})
|
|
123008
123008
|
}),
|
|
123009
|
-
/* @__PURE__ */ W(
|
|
123009
|
+
/* @__PURE__ */ W(qn, {
|
|
123010
123010
|
disabled: i,
|
|
123011
123011
|
value: d,
|
|
123012
123012
|
onValueChange: (t) => {
|
|
@@ -123021,13 +123021,13 @@ function Jh({ revision: e, target: t, selection: n, store: r, disabled: i }) {
|
|
|
123021
123021
|
}
|
|
123022
123022
|
}
|
|
123023
123023
|
},
|
|
123024
|
-
children: [/* @__PURE__ */ U(
|
|
123024
|
+
children: [/* @__PURE__ */ U(ir, {
|
|
123025
123025
|
id: p,
|
|
123026
123026
|
size: "sm",
|
|
123027
123027
|
variant: "subtle",
|
|
123028
123028
|
className: "min-w-0 w-full",
|
|
123029
123029
|
"aria-invalid": u != null && !f,
|
|
123030
|
-
children: /* @__PURE__ */ U(
|
|
123030
|
+
children: /* @__PURE__ */ U(vn, {
|
|
123031
123031
|
className: "min-w-0",
|
|
123032
123032
|
children: l.length == 0 ? /* @__PURE__ */ U("span", {
|
|
123033
123033
|
className: "truncate",
|
|
@@ -123059,21 +123059,21 @@ function Jh({ revision: e, target: t, selection: n, store: r, disabled: i }) {
|
|
|
123059
123059
|
}, `${e.nodeId}:${e.output}`))
|
|
123060
123060
|
})
|
|
123061
123061
|
})
|
|
123062
|
-
}), /* @__PURE__ */ W(
|
|
123062
|
+
}), /* @__PURE__ */ W(tr, {
|
|
123063
123063
|
align: "start",
|
|
123064
123064
|
alignItemWithTrigger: !1,
|
|
123065
123065
|
container: o,
|
|
123066
|
-
children: [/* @__PURE__ */ W(
|
|
123067
|
-
/* @__PURE__ */ U(
|
|
123066
|
+
children: [/* @__PURE__ */ W(Mn, { children: [
|
|
123067
|
+
/* @__PURE__ */ U(mn, {
|
|
123068
123068
|
value: "",
|
|
123069
123069
|
children: a("inspector.sources.local")
|
|
123070
123070
|
}),
|
|
123071
|
-
l.length > 1 && /* @__PURE__ */ U(
|
|
123071
|
+
l.length > 1 && /* @__PURE__ */ U(mn, {
|
|
123072
123072
|
value: "merged",
|
|
123073
123073
|
disabled: !0,
|
|
123074
123074
|
children: l.map((e) => `${c.nodes[e.nodeId]?.name ?? e.nodeId}.${e.output}`).join(" / ")
|
|
123075
123075
|
}),
|
|
123076
|
-
u != null && !f && /* @__PURE__ */ W(
|
|
123076
|
+
u != null && !f && /* @__PURE__ */ W(mn, {
|
|
123077
123077
|
value: d,
|
|
123078
123078
|
disabled: !0,
|
|
123079
123079
|
children: [
|
|
@@ -123082,13 +123082,13 @@ function Jh({ revision: e, target: t, selection: n, store: r, disabled: i }) {
|
|
|
123082
123082
|
u.output
|
|
123083
123083
|
]
|
|
123084
123084
|
})
|
|
123085
|
-
] }), Object.entries(t).map(([e, t]) => /* @__PURE__ */ W(
|
|
123085
|
+
] }), Object.entries(t).map(([e, t]) => /* @__PURE__ */ W(Mn, { children: [/* @__PURE__ */ U(Xn, { children: c.nodes[e]?.name ?? e }), t.map((t) => /* @__PURE__ */ U(mn, {
|
|
123086
123086
|
value: JSON.stringify([e, t]),
|
|
123087
123087
|
children: t
|
|
123088
123088
|
}, t))] }, e))]
|
|
123089
123089
|
})]
|
|
123090
123090
|
}),
|
|
123091
|
-
u != null && !f && /* @__PURE__ */ U(
|
|
123091
|
+
u != null && !f && /* @__PURE__ */ U(zn, {
|
|
123092
123092
|
className: "col-start-2",
|
|
123093
123093
|
children: a("inspector.sources.unavailable")
|
|
123094
123094
|
})
|
|
@@ -123117,7 +123117,7 @@ function Yh({ disabled: e, node: t, nodeId: n, store: r }) {
|
|
|
123117
123117
|
return /* @__PURE__ */ W("details", {
|
|
123118
123118
|
className: "inspector-disclosure",
|
|
123119
123119
|
"data-inspector-section": "node",
|
|
123120
|
-
children: [/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(
|
|
123120
|
+
children: [/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(Vn, {
|
|
123121
123121
|
name: "chevron-down",
|
|
123122
123122
|
size: 14
|
|
123123
123123
|
}), /* @__PURE__ */ U("span", {
|
|
@@ -123125,10 +123125,10 @@ function Yh({ disabled: e, node: t, nodeId: n, store: r }) {
|
|
|
123125
123125
|
children: /* @__PURE__ */ U("strong", { children: i("inspector.node.title") })
|
|
123126
123126
|
})] }), /* @__PURE__ */ U("div", {
|
|
123127
123127
|
className: "inspector-disclosure-content node-settings",
|
|
123128
|
-
children: /* @__PURE__ */ W(
|
|
123128
|
+
children: /* @__PURE__ */ W(Rt, {
|
|
123129
123129
|
"data-invalid": s != null,
|
|
123130
123130
|
children: [
|
|
123131
|
-
/* @__PURE__ */ U(
|
|
123131
|
+
/* @__PURE__ */ U(In, {
|
|
123132
123132
|
htmlFor: l,
|
|
123133
123133
|
children: i("inspector.node.timeout")
|
|
123134
123134
|
}),
|
|
@@ -123143,7 +123143,7 @@ function Yh({ disabled: e, node: t, nodeId: n, store: r }) {
|
|
|
123143
123143
|
type: "number",
|
|
123144
123144
|
value: a
|
|
123145
123145
|
}),
|
|
123146
|
-
s != null && /* @__PURE__ */ U(
|
|
123146
|
+
s != null && /* @__PURE__ */ U(zn, { children: s })
|
|
123147
123147
|
]
|
|
123148
123148
|
})
|
|
123149
123149
|
})]
|
|
@@ -123182,7 +123182,7 @@ function Xh({ action: e, actionError: t, actionId: n, activeConnections: r, auth
|
|
|
123182
123182
|
onClick: () => void c.connect(e.serviceId),
|
|
123183
123183
|
size: "sm",
|
|
123184
123184
|
type: "button",
|
|
123185
|
-
children: [/* @__PURE__ */ U(
|
|
123185
|
+
children: [/* @__PURE__ */ U(Vn, {
|
|
123186
123186
|
"data-icon": "inline-start",
|
|
123187
123187
|
name: "plus"
|
|
123188
123188
|
}), m("inspector.account.connectService", { service: e.serviceName })]
|
|
@@ -123192,9 +123192,9 @@ function Xh({ action: e, actionError: t, actionId: n, activeConnections: r, auth
|
|
|
123192
123192
|
let t;
|
|
123193
123193
|
s != null && (t = a == null ? m("inspector.account.missing") : a.status == "active" ? m("inspector.account.pinned") : m(`inspector.account.status.${a.status}`)), _ = /* @__PURE__ */ W(ei, { children: [
|
|
123194
123194
|
i && /* @__PURE__ */ U("p", { children: m("inspector.account.authorizationPending") }),
|
|
123195
|
-
/* @__PURE__ */ W(
|
|
123195
|
+
/* @__PURE__ */ W(Rt, {
|
|
123196
123196
|
className: "connection-field",
|
|
123197
|
-
children: [/* @__PURE__ */ U(
|
|
123197
|
+
children: [/* @__PURE__ */ U(In, {
|
|
123198
123198
|
className: "sr-only",
|
|
123199
123199
|
htmlFor: `${u}-connection`,
|
|
123200
123200
|
children: m("inspector.account.connection")
|
|
@@ -123234,7 +123234,7 @@ function Xh({ action: e, actionError: t, actionId: n, activeConnections: r, auth
|
|
|
123234
123234
|
type: "button",
|
|
123235
123235
|
variant: "ghost",
|
|
123236
123236
|
children: [
|
|
123237
|
-
/* @__PURE__ */ U(
|
|
123237
|
+
/* @__PURE__ */ U(Vn, {
|
|
123238
123238
|
"data-icon": "inline-start",
|
|
123239
123239
|
name: "plus"
|
|
123240
123240
|
}),
|
|
@@ -123248,7 +123248,7 @@ function Xh({ action: e, actionError: t, actionId: n, activeConnections: r, auth
|
|
|
123248
123248
|
className: `inspector-section connection-state ${g ? "required" : ""}`,
|
|
123249
123249
|
"data-inspector-section": "account",
|
|
123250
123250
|
children: [/* @__PURE__ */ W("h3", { children: [
|
|
123251
|
-
/* @__PURE__ */ U(
|
|
123251
|
+
/* @__PURE__ */ U(Vn, {
|
|
123252
123252
|
name: "connection",
|
|
123253
123253
|
size: 15
|
|
123254
123254
|
}),
|
|
@@ -123313,8 +123313,8 @@ function Zh({ activeConnectorConnections: e, connectorAction: t, connectorAction
|
|
|
123313
123313
|
onSubmit: (e) => {
|
|
123314
123314
|
e.preventDefault(), oe();
|
|
123315
123315
|
},
|
|
123316
|
-
children: /* @__PURE__ */ W(
|
|
123317
|
-
/* @__PURE__ */ W(
|
|
123316
|
+
children: /* @__PURE__ */ W(Mt, { children: [
|
|
123317
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
123318
123318
|
htmlFor: `${j}-prompt`,
|
|
123319
123319
|
children: _("inspector.wait.prompt")
|
|
123320
123320
|
}), /* @__PURE__ */ U(Ti, {
|
|
@@ -123330,7 +123330,7 @@ function Zh({ activeConnectorConnections: e, connectorAction: t, connectorAction
|
|
|
123330
123330
|
rows: 3,
|
|
123331
123331
|
value: T
|
|
123332
123332
|
})] }),
|
|
123333
|
-
/* @__PURE__ */ W(
|
|
123333
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, { children: _("inspector.wait.mode") }), /* @__PURE__ */ W(km, {
|
|
123334
123334
|
"aria-label": _("inspector.wait.mode"),
|
|
123335
123335
|
className: "wait-mode-switcher",
|
|
123336
123336
|
disabled: c,
|
|
@@ -123355,7 +123355,7 @@ function Zh({ activeConnectorConnections: e, connectorAction: t, connectorAction
|
|
|
123355
123355
|
children: _("inspector.wait.approval")
|
|
123356
123356
|
})]
|
|
123357
123357
|
})] }),
|
|
123358
|
-
/* @__PURE__ */ W(
|
|
123358
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, { children: _("inspector.wait.notificationTask") }), ee == null ? /* @__PURE__ */ W(V, {
|
|
123359
123359
|
className: "self-start",
|
|
123360
123360
|
disabled: c,
|
|
123361
123361
|
onClick: (e) => void z(e.currentTarget),
|
|
@@ -123363,7 +123363,7 @@ function Zh({ activeConnectorConnections: e, connectorAction: t, connectorAction
|
|
|
123363
123363
|
type: "button",
|
|
123364
123364
|
variant: "ghost",
|
|
123365
123365
|
children: [
|
|
123366
|
-
/* @__PURE__ */ U(
|
|
123366
|
+
/* @__PURE__ */ U(Vn, {
|
|
123367
123367
|
"data-icon": "inline-start",
|
|
123368
123368
|
name: "plus"
|
|
123369
123369
|
}),
|
|
@@ -123373,7 +123373,7 @@ function Zh({ activeConnectorConnections: e, connectorAction: t, connectorAction
|
|
|
123373
123373
|
}) : /* @__PURE__ */ W("div", {
|
|
123374
123374
|
className: "wait-notification-summary",
|
|
123375
123375
|
children: [
|
|
123376
|
-
/* @__PURE__ */ U(
|
|
123376
|
+
/* @__PURE__ */ U(Vn, {
|
|
123377
123377
|
name: "connection",
|
|
123378
123378
|
size: 16
|
|
123379
123379
|
}),
|
|
@@ -123401,11 +123401,11 @@ function Zh({ activeConnectorConnections: e, connectorAction: t, connectorAction
|
|
|
123401
123401
|
title: _("inspector.wait.removeNotification"),
|
|
123402
123402
|
type: "button",
|
|
123403
123403
|
variant: "ghost",
|
|
123404
|
-
children: /* @__PURE__ */ U(
|
|
123404
|
+
children: /* @__PURE__ */ U(Vn, { name: "close" })
|
|
123405
123405
|
})
|
|
123406
123406
|
]
|
|
123407
123407
|
})] }),
|
|
123408
|
-
ee != null && te.length > 1 && /* @__PURE__ */ W(
|
|
123408
|
+
ee != null && te.length > 1 && /* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
123409
123409
|
htmlFor: `${j}-message-handle`,
|
|
123410
123410
|
children: _("inspector.wait.messageHandle")
|
|
123411
123411
|
}), /* @__PURE__ */ U(Ci, {
|
|
@@ -123423,11 +123423,11 @@ function Zh({ activeConnectorConnections: e, connectorAction: t, connectorAction
|
|
|
123423
123423
|
children: e
|
|
123424
123424
|
}, e))
|
|
123425
123425
|
})] }),
|
|
123426
|
-
ee != null && I.length > 0 && /* @__PURE__ */ W(
|
|
123426
|
+
ee != null && I.length > 0 && /* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, { children: _("inspector.wait.inputs") }), /* @__PURE__ */ U("fieldset", {
|
|
123427
123427
|
className: "wait-notification-inputs",
|
|
123428
123428
|
disabled: c,
|
|
123429
123429
|
children: /* @__PURE__ */ U(Lr, {
|
|
123430
|
-
fallback: /* @__PURE__ */ U(
|
|
123430
|
+
fallback: /* @__PURE__ */ U($t, { children: _("inspector.wait.inputsLoading") }),
|
|
123431
123431
|
children: /* @__PURE__ */ U(Hh, {
|
|
123432
123432
|
definitions: I,
|
|
123433
123433
|
language: g,
|
|
@@ -123443,7 +123443,7 @@ function Zh({ activeConnectorConnections: e, connectorAction: t, connectorAction
|
|
|
123443
123443
|
}, `${x}:${C}`)
|
|
123444
123444
|
})
|
|
123445
123445
|
})] }),
|
|
123446
|
-
D != null && /* @__PURE__ */ U(
|
|
123446
|
+
D != null && /* @__PURE__ */ U(zn, { children: D })
|
|
123447
123447
|
] })
|
|
123448
123448
|
}), ee?.executor.kind == "connector" && t?.authenticated !== !1 && /* @__PURE__ */ U(Xh, {
|
|
123449
123449
|
action: t,
|
|
@@ -123569,7 +123569,7 @@ function Qh({ children: e, connectorAction: t, connectors: n, disabled: r, focus
|
|
|
123569
123569
|
"executor" in m && m.executor.kind != "agent" && /* @__PURE__ */ W("details", {
|
|
123570
123570
|
className: "inspector-disclosure",
|
|
123571
123571
|
"data-inspector-section": "task",
|
|
123572
|
-
children: [/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(
|
|
123572
|
+
children: [/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(Vn, {
|
|
123573
123573
|
name: "chevron-down",
|
|
123574
123574
|
size: 14
|
|
123575
123575
|
}), /* @__PURE__ */ U("span", {
|
|
@@ -123577,7 +123577,7 @@ function Qh({ children: e, connectorAction: t, connectors: n, disabled: r, focus
|
|
|
123577
123577
|
children: /* @__PURE__ */ U("strong", { children: p("inspector.task.definition") })
|
|
123578
123578
|
})] }), /* @__PURE__ */ U("div", {
|
|
123579
123579
|
className: "inspector-disclosure-content node-settings",
|
|
123580
|
-
children: /* @__PURE__ */ W(
|
|
123580
|
+
children: /* @__PURE__ */ W(Mt, { children: [y != null && /* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
123581
123581
|
htmlFor: `${g}-response-mode`,
|
|
123582
123582
|
children: p("inspector.task.responseMode")
|
|
123583
123583
|
}), /* @__PURE__ */ W(Ci, {
|
|
@@ -123600,15 +123600,15 @@ function Qh({ children: e, connectorAction: t, connectors: n, disabled: r, focus
|
|
|
123600
123600
|
children: p("inspector.task.structuredJson")
|
|
123601
123601
|
})]
|
|
123602
123602
|
})] }), "executor" in m && m.executor.kind == "connector" && /* @__PURE__ */ W(ei, { children: [
|
|
123603
|
-
/* @__PURE__ */ W(
|
|
123603
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, { children: p("inspector.task.connectorAction") }), /* @__PURE__ */ U($t, {
|
|
123604
123604
|
className: "reference-value",
|
|
123605
123605
|
children: t?.name ?? m.executor.action
|
|
123606
123606
|
})] }),
|
|
123607
|
-
/* @__PURE__ */ W(
|
|
123607
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, { children: p("inspector.task.inputPorts") }), /* @__PURE__ */ U($t, {
|
|
123608
123608
|
className: "reference-value",
|
|
123609
123609
|
children: m.inputs.flatMap((e) => "handle" in e ? [e.handle] : []).join(", ") || p("common.none")
|
|
123610
123610
|
})] }),
|
|
123611
|
-
/* @__PURE__ */ W(
|
|
123611
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, { children: p("inspector.task.outputPorts") }), /* @__PURE__ */ U($t, {
|
|
123612
123612
|
className: "reference-value",
|
|
123613
123613
|
children: m.outputs.flatMap((e) => "handle" in e ? [e.handle] : []).join(", ") || p("common.none")
|
|
123614
123614
|
})] })
|
|
@@ -123681,8 +123681,8 @@ function $h({ definition: e, disabled: t, store: n, subflowId: r }) {
|
|
|
123681
123681
|
},
|
|
123682
123682
|
children: [
|
|
123683
123683
|
/* @__PURE__ */ U("h3", { children: i("inspector.subflow.definition") }),
|
|
123684
|
-
/* @__PURE__ */ W(
|
|
123685
|
-
/* @__PURE__ */ W(
|
|
123684
|
+
/* @__PURE__ */ W(Mt, { children: [
|
|
123685
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
123686
123686
|
htmlFor: `${r}-name`,
|
|
123687
123687
|
children: i("common.name")
|
|
123688
123688
|
}), /* @__PURE__ */ U(it, {
|
|
@@ -123691,7 +123691,7 @@ function $h({ definition: e, disabled: t, store: n, subflowId: r }) {
|
|
|
123691
123691
|
onChange: (e) => o(e.target.value),
|
|
123692
123692
|
value: a
|
|
123693
123693
|
})] }),
|
|
123694
|
-
/* @__PURE__ */ W(
|
|
123694
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
123695
123695
|
htmlFor: `${r}-inputs`,
|
|
123696
123696
|
children: i("inspector.subflow.inputPorts")
|
|
123697
123697
|
}), /* @__PURE__ */ U(Ti, {
|
|
@@ -123702,7 +123702,7 @@ function $h({ definition: e, disabled: t, store: n, subflowId: r }) {
|
|
|
123702
123702
|
spellCheck: !1,
|
|
123703
123703
|
value: s
|
|
123704
123704
|
})] }),
|
|
123705
|
-
/* @__PURE__ */ W(
|
|
123705
|
+
/* @__PURE__ */ W(Rt, { children: [/* @__PURE__ */ U(In, {
|
|
123706
123706
|
htmlFor: `${r}-outputs`,
|
|
123707
123707
|
children: i("inspector.subflow.outputPorts")
|
|
123708
123708
|
}), /* @__PURE__ */ U(Ti, {
|
|
@@ -123713,7 +123713,7 @@ function $h({ definition: e, disabled: t, store: n, subflowId: r }) {
|
|
|
123713
123713
|
spellCheck: !1,
|
|
123714
123714
|
value: l
|
|
123715
123715
|
})] }),
|
|
123716
|
-
d != null && /* @__PURE__ */ U(
|
|
123716
|
+
d != null && /* @__PURE__ */ U(zn, { children: d })
|
|
123717
123717
|
] }),
|
|
123718
123718
|
/* @__PURE__ */ U("div", {
|
|
123719
123719
|
className: "form-actions",
|
|
@@ -123735,7 +123735,7 @@ function eg({ activeConnections: e, authorizationPending: t, connection: n, conn
|
|
|
123735
123735
|
"data-inspector-section": "account",
|
|
123736
123736
|
children: [
|
|
123737
123737
|
/* @__PURE__ */ W("h3", { children: [
|
|
123738
|
-
/* @__PURE__ */ U(
|
|
123738
|
+
/* @__PURE__ */ U(Vn, {
|
|
123739
123739
|
name: "connection",
|
|
123740
123740
|
size: 15
|
|
123741
123741
|
}),
|
|
@@ -123749,9 +123749,9 @@ function eg({ activeConnections: e, authorizationPending: t, connection: n, conn
|
|
|
123749
123749
|
size: "sm",
|
|
123750
123750
|
type: "button",
|
|
123751
123751
|
children: c("inspector.account.connectService", { service: u.definition.provider })
|
|
123752
|
-
})] }) : /* @__PURE__ */ W(ei, { children: [/* @__PURE__ */ W(
|
|
123752
|
+
})] }) : /* @__PURE__ */ W(ei, { children: [/* @__PURE__ */ W(Rt, {
|
|
123753
123753
|
className: "connection-field",
|
|
123754
|
-
children: [/* @__PURE__ */ U(
|
|
123754
|
+
children: [/* @__PURE__ */ U(In, {
|
|
123755
123755
|
className: "sr-only",
|
|
123756
123756
|
htmlFor: `${d}-connection`,
|
|
123757
123757
|
children: c("inspector.account.connection")
|
|
@@ -123776,7 +123776,7 @@ function eg({ activeConnections: e, authorizationPending: t, connection: n, conn
|
|
|
123776
123776
|
type: "button",
|
|
123777
123777
|
variant: "ghost",
|
|
123778
123778
|
children: [
|
|
123779
|
-
/* @__PURE__ */ U(
|
|
123779
|
+
/* @__PURE__ */ U(Vn, {
|
|
123780
123780
|
"data-icon": "inline-start",
|
|
123781
123781
|
name: "plus"
|
|
123782
123782
|
}),
|
|
@@ -123934,7 +123934,7 @@ function tg({ variables: e, connectorAction: t, connectorActionError: n, connect
|
|
|
123934
123934
|
return k ? /* @__PURE__ */ W("details", {
|
|
123935
123935
|
className: "inspector-disclosure",
|
|
123936
123936
|
children: [
|
|
123937
|
-
/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(
|
|
123937
|
+
/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(Vn, {
|
|
123938
123938
|
name: "chevron-down",
|
|
123939
123939
|
size: 14
|
|
123940
123940
|
}), /* @__PURE__ */ W("span", {
|
|
@@ -124054,16 +124054,16 @@ function rg(e) {
|
|
|
124054
124054
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/tooltip/store/TooltipStore.js
|
|
124055
124055
|
var ig = {
|
|
124056
124056
|
...At,
|
|
124057
|
-
disabled:
|
|
124058
|
-
instantType:
|
|
124059
|
-
isInstantPhase:
|
|
124060
|
-
trackCursorAxis:
|
|
124061
|
-
disableHoverablePopup:
|
|
124062
|
-
lastOpenChangeReason:
|
|
124063
|
-
closeOnClick:
|
|
124064
|
-
closeDelay:
|
|
124065
|
-
hasViewport:
|
|
124066
|
-
}, ag = class e extends
|
|
124057
|
+
disabled: Un((e) => e.disabled),
|
|
124058
|
+
instantType: Un((e) => e.instantType),
|
|
124059
|
+
isInstantPhase: Un((e) => e.isInstantPhase),
|
|
124060
|
+
trackCursorAxis: Un((e) => e.trackCursorAxis),
|
|
124061
|
+
disableHoverablePopup: Un((e) => e.disableHoverablePopup),
|
|
124062
|
+
lastOpenChangeReason: Un((e) => e.openChangeReason),
|
|
124063
|
+
closeOnClick: Un((e) => e.closeOnClick),
|
|
124064
|
+
closeDelay: Un((e) => e.closeDelay),
|
|
124065
|
+
hasViewport: Un((e) => e.hasViewport)
|
|
124066
|
+
}, ag = class e extends Pn {
|
|
124067
124067
|
constructor(e) {
|
|
124068
124068
|
super({
|
|
124069
124069
|
...og(),
|
|
@@ -124072,7 +124072,7 @@ var ig = {
|
|
|
124072
124072
|
popupRef: /*#__PURE__*/ Nr.createRef(),
|
|
124073
124073
|
onOpenChange: void 0,
|
|
124074
124074
|
onOpenChangeComplete: void 0,
|
|
124075
|
-
triggerElements: new
|
|
124075
|
+
triggerElements: new Cn()
|
|
124076
124076
|
}, ig);
|
|
124077
124077
|
}
|
|
124078
124078
|
setOpen = (e, t) => {
|
|
@@ -124093,7 +124093,7 @@ var ig = {
|
|
|
124093
124093
|
r ? ti.flushSync(o) : o();
|
|
124094
124094
|
};
|
|
124095
124095
|
static useStore(t, n) {
|
|
124096
|
-
let r = lt(() => new e(n)).current, i = t ?? r, a =
|
|
124096
|
+
let r = lt(() => new e(n)).current, i = t ?? r, a = dn({
|
|
124097
124097
|
popupStore: i,
|
|
124098
124098
|
onOpenChange: i.setOpen
|
|
124099
124099
|
});
|
|
@@ -124102,7 +124102,7 @@ var ig = {
|
|
|
124102
124102
|
};
|
|
124103
124103
|
function og() {
|
|
124104
124104
|
return {
|
|
124105
|
-
...
|
|
124105
|
+
...nn(),
|
|
124106
124106
|
disabled: !1,
|
|
124107
124107
|
instantType: void 0,
|
|
124108
124108
|
isInstantPhase: !1,
|
|
@@ -124116,14 +124116,14 @@ function og() {
|
|
|
124116
124116
|
}
|
|
124117
124117
|
//#endregion
|
|
124118
124118
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/tooltip/root/TooltipRoot.js
|
|
124119
|
-
var sg =
|
|
124119
|
+
var sg = hn(function(e) {
|
|
124120
124120
|
let { disabled: t = !1, defaultOpen: n = !1, open: r, disableHoverablePopup: i = !1, trackCursorAxis: a = "none", actionsRef: o, onOpenChange: s, onOpenChangeComplete: c, handle: l, triggerId: u, defaultTriggerId: d = null, children: f } = e, p = ag.useStore(l?.store, {
|
|
124121
124121
|
open: n,
|
|
124122
124122
|
openProp: r,
|
|
124123
124123
|
activeTriggerId: d,
|
|
124124
124124
|
triggerIdProp: u
|
|
124125
124125
|
});
|
|
124126
|
-
|
|
124126
|
+
Rn(() => {
|
|
124127
124127
|
r === void 0 && p.state.open === !1 && n === !0 && p.update({
|
|
124128
124128
|
open: !0,
|
|
124129
124129
|
activeTriggerId: d
|
|
@@ -124139,8 +124139,8 @@ var sg = _n(function(e) {
|
|
|
124139
124139
|
m,
|
|
124140
124140
|
t,
|
|
124141
124141
|
p
|
|
124142
|
-
]), p.useSyncedValue("disabled", t),
|
|
124143
|
-
let { forceUnmount: v, transitionStatus: y } =
|
|
124142
|
+
]), p.useSyncedValue("disabled", t), cr(p);
|
|
124143
|
+
let { forceUnmount: v, transitionStatus: y } = Yn(h, p), b = p.select("floatingRootContext"), x = p.useState("isInstantPhase"), S = p.useState("instantType"), C = p.useState("lastOpenChangeReason"), w = Nr.useRef(null);
|
|
124144
124144
|
ht(() => {
|
|
124145
124145
|
y === "ending" && C === "none" || y !== "ending" && x ? (S !== "delay" && (w.current = S), p.set("instantType", "delay")) : w.current !== null && (p.set("instantType", w.current), w.current = null);
|
|
124146
124146
|
}, [
|
|
@@ -124163,13 +124163,13 @@ var sg = _n(function(e) {
|
|
|
124163
124163
|
unmount: v,
|
|
124164
124164
|
close: T
|
|
124165
124165
|
}), [v, T]);
|
|
124166
|
-
let E =
|
|
124166
|
+
let E = ur(b, {
|
|
124167
124167
|
enabled: !t,
|
|
124168
124168
|
referencePress: () => p.select("closeOnClick")
|
|
124169
124169
|
}), D = vi(b, {
|
|
124170
124170
|
enabled: !t && a !== "none",
|
|
124171
124171
|
axis: a === "none" ? void 0 : a
|
|
124172
|
-
}), { getReferenceProps: O, getFloatingProps: k, getTriggerProps: A } =
|
|
124172
|
+
}), { getReferenceProps: O, getFloatingProps: k, getTriggerProps: A } = un([E, D]), j = Nr.useMemo(() => O(), [O]), M = Nr.useMemo(() => A(), [A]), ee = Nr.useMemo(() => k(), [k]);
|
|
124173
124173
|
return p.useSyncedValues({
|
|
124174
124174
|
activeTriggerProps: j,
|
|
124175
124175
|
inactiveTriggerProps: M,
|
|
@@ -124190,11 +124190,11 @@ function lg() {
|
|
|
124190
124190
|
//#endregion
|
|
124191
124191
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/tooltip/trigger/TooltipTriggerDataAttributes.js
|
|
124192
124192
|
var ug = function(e) {
|
|
124193
|
-
return e[e.popupOpen =
|
|
124194
|
-
}({}), dg =
|
|
124193
|
+
return e[e.popupOpen = Bn.popupOpen] = "popupOpen", e.triggerDisabled = "data-trigger-disabled", e;
|
|
124194
|
+
}({}), dg = Zn(function(e, t) {
|
|
124195
124195
|
let { className: n, render: r, handle: i, payload: a, disabled: o, delay: s, closeOnClick: c = !0, closeDelay: l, id: u, style: d, ...f } = e, p = rg(!0), m = i?.store ?? p;
|
|
124196
124196
|
if (!m) throw Error(process.env.NODE_ENV === "production" ? xt(82) : "Base UI: <Tooltip.Trigger> must be either used within a <Tooltip.Root> component or provided with a handle.");
|
|
124197
|
-
let h = Be(u), g = m.useState("isTriggerActive", h), _ = m.useState("isOpenedByTrigger", h), v = m.useState("floatingRootContext"), y = Nr.useRef(null), b = s ?? 600, x = l ?? 0, { registerTrigger: S, isMountedByThisTrigger: C } =
|
|
124197
|
+
let h = Be(u), g = m.useState("isTriggerActive", h), _ = m.useState("isOpenedByTrigger", h), v = m.useState("floatingRootContext"), y = Nr.useRef(null), b = s ?? 600, x = l ?? 0, { registerTrigger: S, isMountedByThisTrigger: C } = rr(h, y, m, {
|
|
124198
124198
|
payload: a,
|
|
124199
124199
|
closeOnClick: c,
|
|
124200
124200
|
closeDelay: x
|
|
@@ -124237,7 +124237,7 @@ var ug = function(e) {
|
|
|
124237
124237
|
},
|
|
124238
124238
|
f
|
|
124239
124239
|
],
|
|
124240
|
-
stateAttributesMapping:
|
|
124240
|
+
stateAttributesMapping: Xt
|
|
124241
124241
|
});
|
|
124242
124242
|
});
|
|
124243
124243
|
process.env.NODE_ENV !== "production" && (dg.displayName = "TooltipTrigger");
|
|
@@ -124253,7 +124253,7 @@ function pg() {
|
|
|
124253
124253
|
//#endregion
|
|
124254
124254
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/FloatingPortalLite.js
|
|
124255
124255
|
var mg = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
124256
|
-
let { children: n, container: r, className: i, render: a, style: o, ...s } = e, { portalNode: c, portalSubtree: l } =
|
|
124256
|
+
let { children: n, container: r, className: i, render: a, style: o, ...s } = e, { portalNode: c, portalSubtree: l } = _n({
|
|
124257
124257
|
container: r,
|
|
124258
124258
|
ref: t,
|
|
124259
124259
|
componentProps: e,
|
|
@@ -124287,7 +124287,7 @@ function _g() {
|
|
|
124287
124287
|
//#endregion
|
|
124288
124288
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/tooltip/positioner/TooltipPositioner.js
|
|
124289
124289
|
var vg = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
124290
|
-
let { render: n, className: r, anchor: i, positionMethod: a = "absolute", side: o = "top", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d = 5, arrowPadding: f = 5, sticky: p = !1, disableAnchorTracking: m = !1, collisionAvoidance: h =
|
|
124290
|
+
let { render: n, className: r, anchor: i, positionMethod: a = "absolute", side: o = "top", align: s = "center", sideOffset: c = 0, alignOffset: l = 0, collisionBoundary: u = "clipping-ancestors", collisionPadding: d = 5, arrowPadding: f = 5, sticky: p = !1, disableAnchorTracking: m = !1, collisionAvoidance: h = It, style: g, ..._ } = e, v = rg(), y = pg(), b = v.useState("open"), x = v.useState("mounted"), S = v.useState("trackCursorAxis"), C = v.useState("disableHoverablePopup"), w = v.useState("floatingRootContext"), T = v.useState("instantType"), E = v.useState("transitionStatus"), D = v.useState("hasViewport"), O = Wn({
|
|
124291
124291
|
anchor: i,
|
|
124292
124292
|
positionMethod: a,
|
|
124293
124293
|
floatingRootContext: w,
|
|
@@ -124303,7 +124303,7 @@ var vg = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
124303
124303
|
disableAnchorTracking: m,
|
|
124304
124304
|
keepMounted: y,
|
|
124305
124305
|
collisionAvoidance: h,
|
|
124306
|
-
adaptiveOrigin: D ?
|
|
124306
|
+
adaptiveOrigin: D ? kn : void 0
|
|
124307
124307
|
}), k = Nr.useMemo(() => ({
|
|
124308
124308
|
open: b,
|
|
124309
124309
|
side: O.side,
|
|
@@ -124317,7 +124317,7 @@ var vg = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
124317
124317
|
O.anchorHidden,
|
|
124318
124318
|
S,
|
|
124319
124319
|
T
|
|
124320
|
-
]), A =
|
|
124320
|
+
]), A = wn(e, k, {
|
|
124321
124321
|
styles: O.positionerStyles,
|
|
124322
124322
|
transitionStatus: E,
|
|
124323
124323
|
props: _,
|
|
@@ -124334,7 +124334,7 @@ process.env.NODE_ENV !== "production" && (vg.displayName = "TooltipPositioner");
|
|
|
124334
124334
|
//#endregion
|
|
124335
124335
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/tooltip/popup/TooltipPopup.js
|
|
124336
124336
|
var yg = {
|
|
124337
|
-
...
|
|
124337
|
+
...Nt,
|
|
124338
124338
|
...ft
|
|
124339
124339
|
}, bg = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
124340
124340
|
let { className: n, render: r, style: i, ...a } = e, o = rg(), { side: s, align: c } = _g(), l = o.useState("open"), u = o.useState("instantType"), d = o.useState("transitionStatus"), f = o.useState("popupProps"), p = o.useState("floatingRootContext");
|
|
@@ -124364,7 +124364,7 @@ var yg = {
|
|
|
124364
124364
|
],
|
|
124365
124365
|
props: [
|
|
124366
124366
|
f,
|
|
124367
|
-
|
|
124367
|
+
fn(d),
|
|
124368
124368
|
a
|
|
124369
124369
|
],
|
|
124370
124370
|
stateAttributesMapping: yg
|
|
@@ -124388,7 +124388,7 @@ var xg = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
124388
124388
|
style: p,
|
|
124389
124389
|
"aria-hidden": !0
|
|
124390
124390
|
}, a],
|
|
124391
|
-
stateAttributesMapping:
|
|
124391
|
+
stateAttributesMapping: Nt
|
|
124392
124392
|
});
|
|
124393
124393
|
});
|
|
124394
124394
|
process.env.NODE_ENV !== "production" && (xg.displayName = "TooltipArrow");
|
|
@@ -143516,7 +143516,7 @@ function lI(e) {
|
|
|
143516
143516
|
//#endregion
|
|
143517
143517
|
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/context-menu/trigger/ContextMenuTrigger.js
|
|
143518
143518
|
var uI = 500, dI = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
143519
|
-
let { render: n, className: r, style: i, ...a } = e, { setAnchor: o, actionsRef: s, internalBackdropRef: c, backdropRef: l, positionerRef: u, allowMouseUpTriggerRef: d, initialCursorPointRef: f, rootId: p } = L(!1), { store: m } = w(!1), h = m.useState("open"), g = m.useState("disabled"), _ = Nr.useRef(null), v = Nr.useRef(null), y =
|
|
143519
|
+
let { render: n, className: r, style: i, ...a } = e, { setAnchor: o, actionsRef: s, internalBackdropRef: c, backdropRef: l, positionerRef: u, allowMouseUpTriggerRef: d, initialCursorPointRef: f, rootId: p } = L(!1), { store: m } = w(!1), h = m.useState("open"), g = m.useState("disabled"), _ = Nr.useRef(null), v = Nr.useRef(null), y = Nn(), b = Nn(), x = Nr.useRef(!1);
|
|
143520
143520
|
function S(e, t, n) {
|
|
143521
143521
|
let r = n.type.startsWith("touch");
|
|
143522
143522
|
f.current = {
|
|
@@ -143535,9 +143535,9 @@ var uI = 500, dI = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
143535
143535
|
}
|
|
143536
143536
|
function C(e) {
|
|
143537
143537
|
if (g) return;
|
|
143538
|
-
d.current = !0,
|
|
143538
|
+
d.current = !0, hr(e), S(e.clientX, e.clientY, e.nativeEvent);
|
|
143539
143539
|
let t = kt(_.current);
|
|
143540
|
-
|
|
143540
|
+
en(t, "mouseup", (e) => {
|
|
143541
143541
|
if (d.current = !1, !x.current) return;
|
|
143542
143542
|
b.clear(), x.current = !1;
|
|
143543
143543
|
let t = qe(e);
|
|
@@ -143572,7 +143572,7 @@ var uI = 500, dI = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
143572
143572
|
(We(_.current, t) || We(c.current, t) || We(l.current, t)) && e.preventDefault();
|
|
143573
143573
|
}
|
|
143574
143574
|
let t = kt(_.current);
|
|
143575
|
-
return
|
|
143575
|
+
return en(t, "contextmenu", e);
|
|
143576
143576
|
}, [
|
|
143577
143577
|
l,
|
|
143578
143578
|
g,
|
|
@@ -143588,7 +143588,7 @@ var uI = 500, dI = /*#__PURE__*/ Nr.forwardRef(function(e, t) {
|
|
|
143588
143588
|
onTouchCancel: D,
|
|
143589
143589
|
style: { WebkitTouchCallout: "none" }
|
|
143590
143590
|
}, a],
|
|
143591
|
-
stateAttributesMapping:
|
|
143591
|
+
stateAttributesMapping: Ln
|
|
143592
143592
|
});
|
|
143593
143593
|
});
|
|
143594
143594
|
process.env.NODE_ENV !== "production" && (dI.displayName = "ContextMenuTrigger");
|
|
@@ -145616,7 +145616,7 @@ var QL = Br(function({ addNodeOptions: e, history: t, blocksOpen: n, disabled: r
|
|
|
145616
145616
|
children: [
|
|
145617
145617
|
/* @__PURE__ */ U("span", {
|
|
145618
145618
|
className: "empty-icon",
|
|
145619
|
-
children: /* @__PURE__ */ U(
|
|
145619
|
+
children: /* @__PURE__ */ U(Vn, {
|
|
145620
145620
|
name: A.kind == "flow" ? "flow" : "subflow",
|
|
145621
145621
|
size: 22
|
|
145622
145622
|
})
|
|
@@ -145631,7 +145631,7 @@ var QL = Br(function({ addNodeOptions: e, history: t, blocksOpen: n, disabled: r
|
|
|
145631
145631
|
onClick: () => he != null && void ve(he),
|
|
145632
145632
|
type: "button",
|
|
145633
145633
|
children: [
|
|
145634
|
-
/* @__PURE__ */ U(
|
|
145634
|
+
/* @__PURE__ */ U(Vn, {
|
|
145635
145635
|
"data-icon": "inline-start",
|
|
145636
145636
|
name: "plus"
|
|
145637
145637
|
}),
|
|
@@ -145643,7 +145643,7 @@ var QL = Br(function({ addNodeOptions: e, history: t, blocksOpen: n, disabled: r
|
|
|
145643
145643
|
onClick: me,
|
|
145644
145644
|
type: "button",
|
|
145645
145645
|
children: [
|
|
145646
|
-
/* @__PURE__ */ U(
|
|
145646
|
+
/* @__PURE__ */ U(Vn, {
|
|
145647
145647
|
"data-icon": "inline-start",
|
|
145648
145648
|
name: "plus"
|
|
145649
145649
|
}),
|
|
@@ -145692,7 +145692,7 @@ function $L({ history: e, blocksOpen: t, disabled: n, onOpenBlocks: r, runContro
|
|
|
145692
145692
|
type: "button",
|
|
145693
145693
|
variant: "ghost",
|
|
145694
145694
|
children: [
|
|
145695
|
-
/* @__PURE__ */ U(
|
|
145695
|
+
/* @__PURE__ */ U(Vn, {
|
|
145696
145696
|
"data-icon": "inline-start",
|
|
145697
145697
|
name: "plus"
|
|
145698
145698
|
}),
|
|
@@ -145713,7 +145713,7 @@ function $L({ history: e, blocksOpen: t, disabled: n, onOpenBlocks: r, runContro
|
|
|
145713
145713
|
type: "button",
|
|
145714
145714
|
variant: "default",
|
|
145715
145715
|
children: [
|
|
145716
|
-
/* @__PURE__ */ U(
|
|
145716
|
+
/* @__PURE__ */ U(Vn, {
|
|
145717
145717
|
"data-icon": "inline-start",
|
|
145718
145718
|
name: "plus"
|
|
145719
145719
|
}),
|
|
@@ -145949,7 +145949,7 @@ function dR({ store: e }) {
|
|
|
145949
145949
|
className: "trigger-binding-detail-label",
|
|
145950
145950
|
children: n(f ? "publication.hideTriggerDetails" : "publication.triggerDetails")
|
|
145951
145951
|
}),
|
|
145952
|
-
/* @__PURE__ */ U(
|
|
145952
|
+
/* @__PURE__ */ U(Vn, { name: f ? "chevron-up" : "chevron-down" })
|
|
145953
145953
|
]
|
|
145954
145954
|
}), l.currentPublicationId != null && /* @__PURE__ */ U(V, {
|
|
145955
145955
|
disabled: c != null || u != null,
|
|
@@ -146089,7 +146089,7 @@ function dR({ store: e }) {
|
|
|
146089
146089
|
children: /* @__PURE__ */ W(fe, { children: [
|
|
146090
146090
|
/* @__PURE__ */ U(Ae, {
|
|
146091
146091
|
variant: "icon",
|
|
146092
|
-
children: /* @__PURE__ */ U(
|
|
146092
|
+
children: /* @__PURE__ */ U(Vn, { name: "publish" })
|
|
146093
146093
|
}),
|
|
146094
146094
|
/* @__PURE__ */ U(ne, { children: n("publication.historyEmpty") }),
|
|
146095
146095
|
/* @__PURE__ */ U(je, { children: n("publication.historyEmptyDescription") })
|
|
@@ -146219,7 +146219,7 @@ function fR({ disabled: e, inputContent: t, inputOpen: n, inputStatus: r, onInpu
|
|
|
146219
146219
|
onClick: a,
|
|
146220
146220
|
size: "default",
|
|
146221
146221
|
type: "button",
|
|
146222
|
-
children: [c ? /* @__PURE__ */ U(
|
|
146222
|
+
children: [c ? /* @__PURE__ */ U(sr, { "data-icon": "inline-start" }) : /* @__PURE__ */ U(Vn, {
|
|
146223
146223
|
"data-icon": "inline-start",
|
|
146224
146224
|
name: "play"
|
|
146225
146225
|
}), /* @__PURE__ */ U("span", {
|
|
@@ -146244,7 +146244,7 @@ function fR({ disabled: e, inputContent: t, inputOpen: n, inputStatus: r, onInpu
|
|
|
146244
146244
|
disabled: e || c,
|
|
146245
146245
|
size: "icon",
|
|
146246
146246
|
type: "button",
|
|
146247
|
-
children: [/* @__PURE__ */ U(
|
|
146247
|
+
children: [/* @__PURE__ */ U(Vn, { name: "task" }), /* @__PURE__ */ U("span", {
|
|
146248
146248
|
"aria-hidden": "true",
|
|
146249
146249
|
className: `run-input-state status-dot ${r == "ready" ? "success" : "running"}`
|
|
146250
146250
|
})]
|
|
@@ -146271,7 +146271,7 @@ function fR({ disabled: e, inputContent: t, inputOpen: n, inputStatus: r, onInpu
|
|
|
146271
146271
|
disabled: e || c,
|
|
146272
146272
|
size: "icon",
|
|
146273
146273
|
type: "button",
|
|
146274
|
-
children: /* @__PURE__ */ U(
|
|
146274
|
+
children: /* @__PURE__ */ U(Vn, { name: "chevron-down" })
|
|
146275
146275
|
}) })
|
|
146276
146276
|
}), /* @__PURE__ */ U(F, {
|
|
146277
146277
|
align: "end",
|
|
@@ -146486,7 +146486,7 @@ function CR({ code: e, message: t, children: n }) {
|
|
|
146486
146486
|
className: "mt-2.5",
|
|
146487
146487
|
variant: "error",
|
|
146488
146488
|
children: [
|
|
146489
|
-
/* @__PURE__ */ U(
|
|
146489
|
+
/* @__PURE__ */ U(Vn, { name: "alert" }),
|
|
146490
146490
|
/* @__PURE__ */ U(hR, {
|
|
146491
146491
|
className: "whitespace-pre-wrap wrap-anywhere",
|
|
146492
146492
|
children: t
|
|
@@ -146683,7 +146683,7 @@ function BR({ onLocate: e, onResolve: t, resolvingAction: n, run: r }) {
|
|
|
146683
146683
|
return o == null ? null : /* @__PURE__ */ W(mR, {
|
|
146684
146684
|
className: "mx-2 mt-2 shrink-0",
|
|
146685
146685
|
children: [
|
|
146686
|
-
/* @__PURE__ */ U(
|
|
146686
|
+
/* @__PURE__ */ U(Vn, { name: "wait" }),
|
|
146687
146687
|
/* @__PURE__ */ U(hR, { children: o.prompt }),
|
|
146688
146688
|
/* @__PURE__ */ W(gR, { children: [/* @__PURE__ */ U("div", { children: a("run.waitExpires", { date: new Date(o.expiresAt).toLocaleString(i) }) }), /* @__PURE__ */ W("div", {
|
|
146689
146689
|
className: "mt-2 flex flex-wrap gap-2",
|
|
@@ -146700,7 +146700,7 @@ function BR({ onLocate: e, onResolve: t, resolvingAction: n, run: r }) {
|
|
|
146700
146700
|
type: "button",
|
|
146701
146701
|
variant: "secondary",
|
|
146702
146702
|
children: [
|
|
146703
|
-
/* @__PURE__ */ U(
|
|
146703
|
+
/* @__PURE__ */ U(Vn, { name: "fit" }),
|
|
146704
146704
|
" ",
|
|
146705
146705
|
a("run.locateWait")
|
|
146706
146706
|
]
|
|
@@ -146752,7 +146752,7 @@ function GR({ container: e, events: t, filters: n, onChange: r }) {
|
|
|
146752
146752
|
title: i("run.filterEvents"),
|
|
146753
146753
|
type: "button",
|
|
146754
146754
|
variant: "ghost",
|
|
146755
|
-
children: /* @__PURE__ */ U(
|
|
146755
|
+
children: /* @__PURE__ */ U(Vn, { name: "filter" })
|
|
146756
146756
|
}) }), /* @__PURE__ */ U(F, {
|
|
146757
146757
|
align: "end",
|
|
146758
146758
|
className: "run-log-filter",
|
|
@@ -146777,7 +146777,7 @@ function KR({ events: e, eventsExpiresAt: t, historyComplete: n, run: r }) {
|
|
|
146777
146777
|
title: i("run.exportLog"),
|
|
146778
146778
|
type: "button",
|
|
146779
146779
|
variant: "ghost",
|
|
146780
|
-
children: /* @__PURE__ */ U(
|
|
146780
|
+
children: /* @__PURE__ */ U(Vn, { name: "download" })
|
|
146781
146781
|
});
|
|
146782
146782
|
}
|
|
146783
146783
|
function qR(e) {
|
|
@@ -146889,7 +146889,7 @@ function ez({ raw: e, events: t, eventsExpiresAt: n, eventNodes: r, filters: i,
|
|
|
146889
146889
|
x != null && /* @__PURE__ */ W("li", {
|
|
146890
146890
|
"aria-live": "polite",
|
|
146891
146891
|
className: "run-log-notice",
|
|
146892
|
-
children: [/* @__PURE__ */ U(
|
|
146892
|
+
children: [/* @__PURE__ */ U(Vn, {
|
|
146893
146893
|
name: "alert",
|
|
146894
146894
|
size: 14
|
|
146895
146895
|
}), /* @__PURE__ */ U("span", { children: x == "expired" ? g("run.historyExpired") : n == null ? g("run.eventsTruncatedNotice") : g("run.eventsTruncatedUntil", { date: new Date(n).toLocaleString(h) }) })]
|
|
@@ -146908,7 +146908,7 @@ function ez({ raw: e, events: t, eventsExpiresAt: n, eventNodes: r, filters: i,
|
|
|
146908
146908
|
/* @__PURE__ */ U("span", {
|
|
146909
146909
|
className: "run-log-icon",
|
|
146910
146910
|
title: i?.kind ?? t.kind,
|
|
146911
|
-
children: /* @__PURE__ */ U(
|
|
146911
|
+
children: /* @__PURE__ */ U(Vn, {
|
|
146912
146912
|
name: i == null ? "task" : qR(i),
|
|
146913
146913
|
size: 14
|
|
146914
146914
|
})
|
|
@@ -146932,7 +146932,7 @@ function ez({ raw: e, events: t, eventsExpiresAt: n, eventNodes: r, filters: i,
|
|
|
146932
146932
|
onClick: () => c(t.sequence),
|
|
146933
146933
|
size: "icon-xs",
|
|
146934
146934
|
variant: "ghost",
|
|
146935
|
-
children: /* @__PURE__ */ U(
|
|
146935
|
+
children: /* @__PURE__ */ U(Vn, { name: "fit" })
|
|
146936
146936
|
})
|
|
146937
146937
|
]
|
|
146938
146938
|
}),
|
|
@@ -146949,7 +146949,7 @@ function ez({ raw: e, events: t, eventsExpiresAt: n, eventNodes: r, filters: i,
|
|
|
146949
146949
|
}),
|
|
146950
146950
|
/* @__PURE__ */ W("details", {
|
|
146951
146951
|
className: "run-steps",
|
|
146952
|
-
children: [/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(
|
|
146952
|
+
children: [/* @__PURE__ */ W("summary", { children: [/* @__PURE__ */ U(Vn, {
|
|
146953
146953
|
name: "chevron-left",
|
|
146954
146954
|
size: 12
|
|
146955
146955
|
}), g("run.executionSteps", { count: u.length })] }), /* @__PURE__ */ U("ol", {
|
|
@@ -146973,7 +146973,7 @@ function ez({ raw: e, events: t, eventsExpiresAt: n, eventNodes: r, filters: i,
|
|
|
146973
146973
|
className: "run-step-line",
|
|
146974
146974
|
children: [i, /* @__PURE__ */ W("span", {
|
|
146975
146975
|
className: "run-step-toggle",
|
|
146976
|
-
children: [g("run.eventDetails"), /* @__PURE__ */ U(
|
|
146976
|
+
children: [g("run.eventDetails"), /* @__PURE__ */ U(Vn, {
|
|
146977
146977
|
name: "chevron-left",
|
|
146978
146978
|
size: 12
|
|
146979
146979
|
})]
|
|
@@ -147005,7 +147005,7 @@ function ez({ raw: e, events: t, eventsExpiresAt: n, eventNodes: r, filters: i,
|
|
|
147005
147005
|
/* @__PURE__ */ U("span", {
|
|
147006
147006
|
className: "run-log-icon",
|
|
147007
147007
|
title: t.kind,
|
|
147008
|
-
children: /* @__PURE__ */ U(
|
|
147008
|
+
children: /* @__PURE__ */ U(Vn, {
|
|
147009
147009
|
name: qR(t),
|
|
147010
147010
|
size: 14
|
|
147011
147011
|
})
|
|
@@ -147021,7 +147021,7 @@ function ez({ raw: e, events: t, eventsExpiresAt: n, eventNodes: r, filters: i,
|
|
|
147021
147021
|
className: "run-log-title",
|
|
147022
147022
|
children: [
|
|
147023
147023
|
/* @__PURE__ */ U("strong", { children: n }),
|
|
147024
|
-
/* @__PURE__ */ U(
|
|
147024
|
+
/* @__PURE__ */ U(Vn, {
|
|
147025
147025
|
className: "run-log-chevron",
|
|
147026
147026
|
name: "chevron-left",
|
|
147027
147027
|
size: 11
|
|
@@ -147035,7 +147035,7 @@ function ez({ raw: e, events: t, eventsExpiresAt: n, eventNodes: r, filters: i,
|
|
|
147035
147035
|
title: g("run.locateNode", { name: n }),
|
|
147036
147036
|
type: "button",
|
|
147037
147037
|
variant: "ghost",
|
|
147038
|
-
children: /* @__PURE__ */ U(
|
|
147038
|
+
children: /* @__PURE__ */ U(Vn, { name: "fit" })
|
|
147039
147039
|
})
|
|
147040
147040
|
]
|
|
147041
147041
|
}), /* @__PURE__ */ U(DR, {
|
|
@@ -147051,7 +147051,7 @@ function ez({ raw: e, events: t, eventsExpiresAt: n, eventNodes: r, filters: i,
|
|
|
147051
147051
|
children: [
|
|
147052
147052
|
/* @__PURE__ */ U("span", {
|
|
147053
147053
|
className: "run-log-icon",
|
|
147054
|
-
children: /* @__PURE__ */ U(
|
|
147054
|
+
children: /* @__PURE__ */ U(Vn, {
|
|
147055
147055
|
name: "check",
|
|
147056
147056
|
size: 14
|
|
147057
147057
|
})
|
|
@@ -147081,7 +147081,7 @@ function ez({ raw: e, events: t, eventsExpiresAt: n, eventNodes: r, filters: i,
|
|
|
147081
147081
|
children: [
|
|
147082
147082
|
/* @__PURE__ */ U("span", {
|
|
147083
147083
|
className: "run-log-icon",
|
|
147084
|
-
children: /* @__PURE__ */ U(
|
|
147084
|
+
children: /* @__PURE__ */ U(Vn, {
|
|
147085
147085
|
name: u.status == "completed" ? "check" : u.status == "canceled" ? "flow" : "alert",
|
|
147086
147086
|
size: 14
|
|
147087
147087
|
})
|
|
@@ -147223,14 +147223,14 @@ function tz({ tools: e, cancelDisabled: t, canceling: n, events: r, eventsExpire
|
|
|
147223
147223
|
onClick: l,
|
|
147224
147224
|
size: "icon-sm",
|
|
147225
147225
|
variant: "ghost",
|
|
147226
|
-
children: /* @__PURE__ */ U(
|
|
147226
|
+
children: /* @__PURE__ */ U(Vn, { name: "trash" })
|
|
147227
147227
|
}),
|
|
147228
147228
|
/* @__PURE__ */ U(V, {
|
|
147229
147229
|
"aria-label": T("run.collapse"),
|
|
147230
147230
|
onClick: _,
|
|
147231
147231
|
size: "icon-sm",
|
|
147232
147232
|
variant: "ghost",
|
|
147233
|
-
children: /* @__PURE__ */ U(
|
|
147233
|
+
children: /* @__PURE__ */ U(Vn, { name: "chevron-down" })
|
|
147234
147234
|
})
|
|
147235
147235
|
]
|
|
147236
147236
|
}),
|
|
@@ -147282,7 +147282,7 @@ function tz({ tools: e, cancelDisabled: t, canceling: n, events: r, eventsExpire
|
|
|
147282
147282
|
onClick: _,
|
|
147283
147283
|
size: "icon-xs",
|
|
147284
147284
|
variant: "ghost",
|
|
147285
|
-
children: /* @__PURE__ */ U(
|
|
147285
|
+
children: /* @__PURE__ */ U(Vn, { name: y ? "chevron-down" : "chevron-up" })
|
|
147286
147286
|
})
|
|
147287
147287
|
]
|
|
147288
147288
|
})
|
|
@@ -147320,7 +147320,7 @@ function rz({ onStarted: e, request: t, store: n, theme: r }) {
|
|
|
147320
147320
|
size: "icon-sm",
|
|
147321
147321
|
type: "button",
|
|
147322
147322
|
variant: "ghost",
|
|
147323
|
-
children: /* @__PURE__ */ U(
|
|
147323
|
+
children: /* @__PURE__ */ U(Vn, { name: "close" })
|
|
147324
147324
|
})] }),
|
|
147325
147325
|
/* @__PURE__ */ W("div", {
|
|
147326
147326
|
className: "run-input-content",
|
|
@@ -147328,7 +147328,7 @@ function rz({ onStarted: e, request: t, store: n, theme: r }) {
|
|
|
147328
147328
|
/* @__PURE__ */ U("p", { children: i("runInput.remembered") }),
|
|
147329
147329
|
t.attempted && !a && /* @__PURE__ */ W(mR, {
|
|
147330
147330
|
variant: "destructive",
|
|
147331
|
-
children: [/* @__PURE__ */ U(
|
|
147331
|
+
children: [/* @__PURE__ */ U(Vn, { name: "alert" }), /* @__PURE__ */ U(gR, { children: i("runInput.invalid") })]
|
|
147332
147332
|
}),
|
|
147333
147333
|
t.groups.map((e) => /* @__PURE__ */ U(nz, {
|
|
147334
147334
|
attempted: t.attempted,
|
|
@@ -147348,7 +147348,7 @@ function rz({ onStarted: e, request: t, store: n, theme: r }) {
|
|
|
147348
147348
|
}), /* @__PURE__ */ W(V, {
|
|
147349
147349
|
disabled: o || t.triggerId == null,
|
|
147350
147350
|
type: "submit",
|
|
147351
|
-
children: [o ? /* @__PURE__ */ U(
|
|
147351
|
+
children: [o ? /* @__PURE__ */ U(sr, { "data-icon": "inline-start" }) : /* @__PURE__ */ U(Vn, {
|
|
147352
147352
|
"data-icon": "inline-start",
|
|
147353
147353
|
name: "play"
|
|
147354
147354
|
}), i(o ? "workspace.starting" : "runInput.startTest")]
|
|
@@ -147407,23 +147407,23 @@ function az({ client: e, runId: t }) {
|
|
|
147407
147407
|
}
|
|
147408
147408
|
return /* @__PURE__ */ U("div", {
|
|
147409
147409
|
ref: s,
|
|
147410
|
-
children: /* @__PURE__ */ W(
|
|
147410
|
+
children: /* @__PURE__ */ W(gn, {
|
|
147411
147411
|
open: r,
|
|
147412
147412
|
onOpenChange: (e) => {
|
|
147413
147413
|
i(e), e ? C() : (c.current?.abort(), x(!1));
|
|
147414
147414
|
},
|
|
147415
|
-
children: [/* @__PURE__ */ U(
|
|
147415
|
+
children: [/* @__PURE__ */ U(Lt, {
|
|
147416
147416
|
render: /* @__PURE__ */ U(V, {
|
|
147417
147417
|
type: "button",
|
|
147418
147418
|
size: "sm",
|
|
147419
147419
|
variant: "ghost"
|
|
147420
147420
|
}),
|
|
147421
147421
|
children: n("run.savedResults")
|
|
147422
|
-
}), /* @__PURE__ */ W(
|
|
147422
|
+
}), /* @__PURE__ */ W(an, {
|
|
147423
147423
|
container: a,
|
|
147424
147424
|
closeLabel: n("contextPanel.close"),
|
|
147425
147425
|
className: "flex max-h-[80dvh] flex-col overflow-hidden sm:max-w-3xl",
|
|
147426
|
-
children: [/* @__PURE__ */ U(
|
|
147426
|
+
children: [/* @__PURE__ */ U(zt, { children: n("run.savedResults") }), /* @__PURE__ */ W("div", {
|
|
147427
147427
|
className: "flex min-h-0 flex-col gap-2 overflow-y-auto text-sm",
|
|
147428
147428
|
children: [
|
|
147429
147429
|
/* @__PURE__ */ U("div", { children: /* @__PURE__ */ U(V, {
|
|
@@ -147610,7 +147610,7 @@ function cz({ onConfigureConnector: e, onLocateEvent: t, store: n }) {
|
|
|
147610
147610
|
children: /* @__PURE__ */ W(fe, { children: [
|
|
147611
147611
|
/* @__PURE__ */ U(Ae, {
|
|
147612
147612
|
variant: "icon",
|
|
147613
|
-
children: /* @__PURE__ */ U(
|
|
147613
|
+
children: /* @__PURE__ */ U(Vn, { name: "play" })
|
|
147614
147614
|
}),
|
|
147615
147615
|
/* @__PURE__ */ U(ne, { children: i("run.historyEmpty") }),
|
|
147616
147616
|
/* @__PURE__ */ U(je, { children: i("run.historyEmptyDescription") })
|
|
@@ -147680,7 +147680,7 @@ function cz({ onConfigureConnector: e, onLocateEvent: t, store: n }) {
|
|
|
147680
147680
|
size: "sm",
|
|
147681
147681
|
variant: "ghost",
|
|
147682
147682
|
children: [
|
|
147683
|
-
/* @__PURE__ */ U(
|
|
147683
|
+
/* @__PURE__ */ U(Vn, { name: "chevron-left" }),
|
|
147684
147684
|
" ",
|
|
147685
147685
|
i("run.history")
|
|
147686
147686
|
]
|
|
@@ -147899,7 +147899,7 @@ function dz({ checked: e, checking: t, items: n, nodes: r, onClose: i, onRefresh
|
|
|
147899
147899
|
onClick: i,
|
|
147900
147900
|
size: "icon-sm",
|
|
147901
147901
|
variant: "ghost",
|
|
147902
|
-
children: /* @__PURE__ */ U(
|
|
147902
|
+
children: /* @__PURE__ */ U(Vn, { name: "close" })
|
|
147903
147903
|
})]
|
|
147904
147904
|
})] }), n.length == 0 ? t ? /* @__PURE__ */ W("div", {
|
|
147905
147905
|
"aria-label": s("diagnostics.checking"),
|
|
@@ -147915,7 +147915,7 @@ function dz({ checked: e, checking: t, items: n, nodes: r, onClose: i, onRefresh
|
|
|
147915
147915
|
children: /* @__PURE__ */ W(fe, { children: [
|
|
147916
147916
|
/* @__PURE__ */ U(Ae, {
|
|
147917
147917
|
variant: "icon",
|
|
147918
|
-
children: /* @__PURE__ */ U(
|
|
147918
|
+
children: /* @__PURE__ */ U(Vn, { name: "check" })
|
|
147919
147919
|
}),
|
|
147920
147920
|
/* @__PURE__ */ U(ne, { children: s(e ? "diagnostics.emptyTitle" : "diagnostics.notCheckedTitle") }),
|
|
147921
147921
|
/* @__PURE__ */ U(je, { children: s(e ? "diagnostics.emptyDescription" : "diagnostics.notCheckedDescription") })
|
|
@@ -148008,7 +148008,7 @@ function hz({ activeView: e, flowHref: t, flowsHref: n, hostAction: r, hostTitle
|
|
|
148008
148008
|
size: "icon-sm",
|
|
148009
148009
|
title: m("resource.workflows"),
|
|
148010
148010
|
variant: "ghost",
|
|
148011
|
-
children: /* @__PURE__ */ U(
|
|
148011
|
+
children: /* @__PURE__ */ U(Vn, { name: "chevron-left" })
|
|
148012
148012
|
}),
|
|
148013
148013
|
/* @__PURE__ */ W(V, {
|
|
148014
148014
|
className: "workspace-flow-link",
|
|
@@ -148017,7 +148017,7 @@ function hz({ activeView: e, flowHref: t, flowsHref: n, hostAction: r, hostTitle
|
|
|
148017
148017
|
render: /* @__PURE__ */ U("a", { href: t }),
|
|
148018
148018
|
size: "default",
|
|
148019
148019
|
variant: "ghost",
|
|
148020
|
-
children: [/* @__PURE__ */ U(
|
|
148020
|
+
children: [/* @__PURE__ */ U(Vn, {
|
|
148021
148021
|
"data-icon": "inline-start",
|
|
148022
148022
|
name: "flow"
|
|
148023
148023
|
}), x?.name ?? x?.flowId]
|
|
@@ -148080,7 +148080,7 @@ function hz({ activeView: e, flowHref: t, flowsHref: n, hostAction: r, hostTitle
|
|
|
148080
148080
|
size: "sm",
|
|
148081
148081
|
title: m("diagnostics.open"),
|
|
148082
148082
|
variant: M ? "destructive" : "ghost",
|
|
148083
|
-
children: [/* @__PURE__ */ U(
|
|
148083
|
+
children: [/* @__PURE__ */ U(Vn, {
|
|
148084
148084
|
"data-icon": "inline-start",
|
|
148085
148085
|
name: M ? "alert" : "check"
|
|
148086
148086
|
}), pz(_?.valid, _?.diagnostics.length ?? 0, w, m)]
|
|
@@ -148089,7 +148089,7 @@ function hz({ activeView: e, flowHref: t, flowsHref: n, hostAction: r, hostTitle
|
|
|
148089
148089
|
"aria-atomic": "true",
|
|
148090
148090
|
"aria-live": "polite",
|
|
148091
148091
|
className: "saved-state",
|
|
148092
|
-
children: [O || b == null ? null : /* @__PURE__ */ U(
|
|
148092
|
+
children: [O || b == null ? null : /* @__PURE__ */ U(Vn, {
|
|
148093
148093
|
name: C == "failed" ? "alert" : C == "saving" ? "wait" : "check",
|
|
148094
148094
|
size: 16
|
|
148095
148095
|
}), /* @__PURE__ */ U("span", { children: m(`workspace.status.${C}`) })]
|
|
@@ -148102,7 +148102,7 @@ function hz({ activeView: e, flowHref: t, flowsHref: n, hostAction: r, hostTitle
|
|
|
148102
148102
|
disabled: h != null || M || ee || S?.hasUnpublishedChanges == 0,
|
|
148103
148103
|
onClick: () => void p.publications.publish(),
|
|
148104
148104
|
size: "default",
|
|
148105
|
-
children: [/* @__PURE__ */ U(
|
|
148105
|
+
children: [/* @__PURE__ */ U(Vn, {
|
|
148106
148106
|
"data-icon": "inline-start",
|
|
148107
148107
|
name: "publish"
|
|
148108
148108
|
}), /* @__PURE__ */ U("span", {
|
|
@@ -148289,7 +148289,7 @@ function vz({ onRun: e, onRunStarted: t, onCloseRuns: n, onConfigureConnector: r
|
|
|
148289
148289
|
title: M.node.name ?? j?.title ?? "",
|
|
148290
148290
|
icon: j != null && "icon" in j ? j.icon : void 0,
|
|
148291
148291
|
disabled: ye,
|
|
148292
|
-
fallback: /* @__PURE__ */ U(
|
|
148292
|
+
fallback: /* @__PURE__ */ U(Vn, { name: Uh(M, N) }),
|
|
148293
148293
|
onRename: (e) => {
|
|
148294
148294
|
s.workspace.saveNodeTitle(M.id, e);
|
|
148295
148295
|
},
|
|
@@ -148300,7 +148300,7 @@ function vz({ onRun: e, onRunStarted: t, onCloseRuns: n, onConfigureConnector: r
|
|
|
148300
148300
|
if (A == null || N == null) return;
|
|
148301
148301
|
let t = A.graph(N);
|
|
148302
148302
|
if (t == null) return;
|
|
148303
|
-
let n =
|
|
148303
|
+
let n = Wt(t, M.id, e);
|
|
148304
148304
|
return n == null ? void 0 : l(`inspector.node.${n === "empty" ? "nameEmpty" : "nameDuplicate"}`);
|
|
148305
148305
|
}
|
|
148306
148306
|
}, M.id) : void 0,
|
|
@@ -148457,7 +148457,7 @@ function yz({ hostAction: e, hostTitle: t, hrefFor: n, navigation: r, onConfigur
|
|
|
148457
148457
|
children: [/* @__PURE__ */ W(fe, { children: [
|
|
148458
148458
|
/* @__PURE__ */ U(Ae, {
|
|
148459
148459
|
variant: "icon",
|
|
148460
|
-
children: /* @__PURE__ */ U(
|
|
148460
|
+
children: /* @__PURE__ */ U(Vn, {
|
|
148461
148461
|
name: "alert",
|
|
148462
148462
|
size: 20
|
|
148463
148463
|
})
|