@oomol-lab/open-flow 0.1.0-alpha.0 → 0.1.0-alpha.10
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/addNodeOptions-BwrMvPQC.js +5230 -0
- package/dist/browser/assets/typeScriptWorker-CaA4llbX.js +59850 -0
- package/dist/browser/carbon-DMCVsjHo.js +53 -0
- package/dist/browser/{project-change.js → change-Cu6pQIit.js} +15 -45
- package/dist/browser/createLucideIcon-COMgwa_u.js +5317 -0
- package/dist/browser/createResourceDialog-YgMLylQz.js +467 -0
- package/dist/browser/{dist-o4dBuwiG.js → dist-3Mj8q8Pr.js} +28 -28
- package/dist/browser/{dist-CIq6ue3I.js → dist-BKuSVKCC.js} +1115 -1103
- package/dist/browser/{dist-DL0SDskM.js → dist-BMqL-qR5.js} +473 -906
- package/dist/browser/{dist-CLZJNoWB.js → dist-BN4ZCyOB.js} +10 -10
- package/dist/browser/{dist-zyY--HOV.js → dist-BpopSHwP.js} +3 -3
- package/dist/browser/dist-C46JByB-.js +252 -0
- package/dist/browser/{dist-BbyiRq3c.js → dist-CJpzJrLM.js} +294 -284
- package/dist/browser/{dist-Djd02JSy.js → dist-CPuF50D9.js} +198 -198
- package/dist/browser/{dist-CvcmLAMW.js → dist-CUSrALSX.js} +115 -115
- package/dist/browser/dist-CeSZ2xSM.js +444 -0
- package/dist/browser/{dist-7oZK9QXZ.js → dist-DMi8_lU3.js} +5 -5
- package/dist/browser/{dist-B9OV3YTx.js → dist-DUzA0Ukh.js} +22 -22
- package/dist/browser/{dist-aWSZx4q1.js → dist-DWADUsVB.js} +75 -75
- package/dist/browser/{dist-BLk5M0uK.js → dist-Mecbzdl2.js} +3 -3
- package/dist/browser/{esm-DXw7EADW.js → esm-CvAs_mAS.js} +14 -24
- package/dist/browser/field-BrEG-7ap.js +312 -0
- package/dist/browser/flow-authoring-edge.d.ts +3 -0
- package/dist/browser/flow-authoring-module.d.ts +4 -0
- package/dist/browser/flow-authoring-node.d.ts +84 -0
- package/dist/browser/flow-authoring.d.ts +4 -0
- package/dist/browser/flow-authoring.js +522 -0
- package/dist/browser/{project-change.d.ts → flow-change.d.ts} +27 -36
- package/dist/browser/flow-change.js +231 -0
- package/dist/browser/{project-notifications.d.ts → flow-notifications.d.ts} +6 -3
- package/dist/browser/flowRunInputEditorStore-DXOyyY7o.js +8219 -0
- package/dist/browser/flowWorkspace-X_T_DcQf.js +46003 -0
- package/dist/browser/{lib-S4ccuMeT.js → lib-GrGxYjsJ.js} +3 -5
- package/dist/browser/licenses.md +620 -12
- package/dist/browser/{markdownContent-ZZFfSRqO.js → markdownContent-BI-2PmDX.js} +4071 -4035
- package/dist/browser/typeScriptSession-Dagu_tRs.js +2549 -0
- package/dist/browser/workbench-contract.d.ts +4 -5
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.d.ts +2 -1
- package/dist/browser/workbench.js +3920 -2138
- package/dist/common/connector-action.d.ts +6 -0
- package/dist/common/connector-action.js +38 -30
- package/dist/common/control-api-conformance.js +223 -359
- package/dist/common/control-api-errors.d.ts +20 -24
- package/dist/common/control-api.d.ts +44 -73
- package/dist/common/control-api.js +150 -203
- package/dist/common/cron-trigger.d.ts +1 -1
- package/dist/common/cron-trigger.js +1 -1
- package/dist/common/flow-encoding.d.ts +11 -0
- package/dist/common/{project-encoding.js → flow-encoding.js} +14 -13
- package/dist/common/{project-notifications.d.ts → flow-notifications.d.ts} +6 -3
- package/dist/common/{project-semantics.d.ts → flow-semantics.d.ts} +9 -12
- package/dist/common/{project-semantics.js → flow-semantics.js} +594 -597
- package/dist/common/integration-trigger.d.ts +2 -1
- package/dist/common/integration-trigger.js +1 -1
- package/dist/common/poll-trigger.d.ts +1 -1
- package/dist/common/provider-triggers.js +1057 -948
- package/dist/common/run-lifecycle.js +1 -1
- package/dist/common/runtime-contract.d.ts +1 -1
- package/dist/common/runtime-contract.js +1 -1
- package/dist/common/scheduler.d.ts +7 -7
- package/dist/common/scheduler.js +237 -232
- package/dist/common/webhook-trigger.d.ts +1 -1
- package/dist/common/webhook-trigger.js +35 -1
- package/package.json +20 -10
- package/dist/browser/addNodeOptions-DqoIueCR.js +0 -33746
- package/dist/browser/carbon-nMY84Amv.js +0 -53
- package/dist/browser/composite-7VwgfnXx.js +0 -6088
- package/dist/browser/createResourceDialog-ByuJWdSL.js +0 -439
- package/dist/browser/dist-n-z5HtaO.js +0 -4
- package/dist/browser/flowWorkspace-DwVMpcar.js +0 -22092
- package/dist/common/project-encoding.d.ts +0 -11
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as n } from "./dist-
|
|
3
|
-
import {
|
|
4
|
-
//#region ../../node_modules/@lezer/json/dist/index.js
|
|
1
|
+
import { a as e, s as t } from "./dist-BpopSHwP.js";
|
|
2
|
+
import { r as n } from "./dist-DWADUsVB.js";
|
|
3
|
+
import { _ as r, o as i, r as a, u as o, w as s, y as c } from "./dist-CUSrALSX.js";
|
|
4
|
+
//#region ../../node_modules/.bun/@lezer+json@1.0.3/node_modules/@lezer/json/dist/index.js
|
|
5
5
|
var l = e({
|
|
6
6
|
String: t.string,
|
|
7
7
|
Number: t.number,
|
|
@@ -67,12 +67,12 @@ function f(e, t) {
|
|
|
67
67
|
let n;
|
|
68
68
|
return (n = e.message.match(/at position (\d+)/)) ? Math.min(+n[1], t.length) : (n = e.message.match(/at line (\d+) column (\d+)/)) ? Math.min(t.line(+n[1]).from + +n[2] - 1, t.length) : 0;
|
|
69
69
|
}
|
|
70
|
-
var p = /*@__PURE__*/
|
|
70
|
+
var p = /*@__PURE__*/ a.define({
|
|
71
71
|
name: "json",
|
|
72
|
-
parser: /*@__PURE__*/ u.configure({ props: [/*@__PURE__*/
|
|
73
|
-
Object: /*@__PURE__*/
|
|
74
|
-
Array: /*@__PURE__*/
|
|
75
|
-
}), /*@__PURE__*/ c.add({ "Object Array":
|
|
72
|
+
parser: /*@__PURE__*/ u.configure({ props: [/*@__PURE__*/ s.add({
|
|
73
|
+
Object: /*@__PURE__*/ o({ except: /^\s*\}/ }),
|
|
74
|
+
Array: /*@__PURE__*/ o({ except: /^\s*\]/ })
|
|
75
|
+
}), /*@__PURE__*/ c.add({ "Object Array": r })] }),
|
|
76
76
|
languageData: {
|
|
77
77
|
closeBrackets: { brackets: [
|
|
78
78
|
"[",
|
|
@@ -83,7 +83,7 @@ var p = /*@__PURE__*/ o.define({
|
|
|
83
83
|
}
|
|
84
84
|
});
|
|
85
85
|
function m() {
|
|
86
|
-
return new
|
|
86
|
+
return new i(p);
|
|
87
87
|
}
|
|
88
88
|
//#endregion
|
|
89
89
|
export { m as json, p as jsonLanguage, d as jsonParseLinter };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-CEFd7nDs.js";
|
|
2
|
-
//#region ../../node_modules/@lezer/common/dist/index.js
|
|
2
|
+
//#region ../../node_modules/.bun/@lezer+common@1.5.2/node_modules/@lezer/common/dist/index.js
|
|
3
3
|
var t = 1024, n = 0, r = class {
|
|
4
4
|
constructor(e, t) {
|
|
5
5
|
this.from = e, this.to = t;
|
|
@@ -1123,7 +1123,7 @@ function me(e, t) {
|
|
|
1123
1123
|
return n;
|
|
1124
1124
|
}
|
|
1125
1125
|
//#endregion
|
|
1126
|
-
//#region ../../node_modules/@lezer/highlight/dist/index.js
|
|
1126
|
+
//#region ../../node_modules/.bun/@lezer+highlight@1.2.3/node_modules/@lezer/highlight/dist/index.js
|
|
1127
1127
|
var he = /* @__PURE__ */ e({
|
|
1128
1128
|
Tag: () => F,
|
|
1129
1129
|
classHighlighter: () => Oe,
|
|
@@ -1540,4 +1540,4 @@ var Oe = R([
|
|
|
1540
1540
|
}
|
|
1541
1541
|
]);
|
|
1542
1542
|
//#endregion
|
|
1543
|
-
export {
|
|
1543
|
+
export { ne as _, I as a, t as c, c as d, s as f, N as g, f as h, z as i, d as l, ee as m, he as n, R as o, M as p, Ce as r, $ as s, F as t, i as u };
|
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
//#region ../../node_modules/.bun/value-enhancer@5.7.2/node_modules/value-enhancer/dist/index.mjs
|
|
2
|
+
var e = {}, t = (e, t) => e?.set?.(t), n = (e) => e, r = Object.is, i = (e, t) => {
|
|
3
|
+
if (r(e, t)) return !0;
|
|
4
|
+
if (!Array.isArray(e) || !Array.isArray(t)) return !1;
|
|
5
|
+
let n = e.length;
|
|
6
|
+
if (t.length !== n) return !1;
|
|
7
|
+
for (let i = 0; i < n; i++) if (!r(e[i], t[i])) return !1;
|
|
8
|
+
return !0;
|
|
9
|
+
}, a = (e) => e.value, o = (e) => e.map(a), s = (e) => e.$version, c = (e, t) => {
|
|
10
|
+
try {
|
|
11
|
+
e(t);
|
|
12
|
+
} catch (e) {
|
|
13
|
+
console.error(e);
|
|
14
|
+
}
|
|
15
|
+
}, l = (e, t) => (e.set = t, e), u = (e) => !!e?.$valCompute, d = (e) => !!e?.set;
|
|
16
|
+
function f() {
|
|
17
|
+
if (typeof window > "u") return;
|
|
18
|
+
let e = { style: "color:#a225c2" }, t = { style: "color:#268bd2" }, n = { style: "color:#e28c5f" }, r = { style: "color:#eb2f96" }, i = {
|
|
19
|
+
header: (t) => u(t) ? [
|
|
20
|
+
"div",
|
|
21
|
+
e,
|
|
22
|
+
`${d(t) ? "Val" : "ReadonlyVal"}`,
|
|
23
|
+
"<",
|
|
24
|
+
a(t.value),
|
|
25
|
+
">"
|
|
26
|
+
] : null,
|
|
27
|
+
hasBody: () => !1
|
|
28
|
+
};
|
|
29
|
+
function a(e) {
|
|
30
|
+
return typeof e == "number" ? [
|
|
31
|
+
"span",
|
|
32
|
+
t,
|
|
33
|
+
e
|
|
34
|
+
] : typeof e == "string" ? [
|
|
35
|
+
"span",
|
|
36
|
+
n,
|
|
37
|
+
e
|
|
38
|
+
] : typeof e == "boolean" ? [
|
|
39
|
+
"span",
|
|
40
|
+
r,
|
|
41
|
+
e
|
|
42
|
+
] : typeof e == "object" && e ? ["object", { object: e }] : [
|
|
43
|
+
"span",
|
|
44
|
+
n,
|
|
45
|
+
String(e)
|
|
46
|
+
];
|
|
47
|
+
}
|
|
48
|
+
(window.devtoolsFormatters ??= []).push(i);
|
|
49
|
+
}
|
|
50
|
+
function p() {
|
|
51
|
+
f();
|
|
52
|
+
}
|
|
53
|
+
var m = /* @__PURE__ */ Promise.resolve(), h = /* @__PURE__ */ new Set(), g = /* @__PURE__ */ new Set(), _ = h, v, y = () => {
|
|
54
|
+
let e = _;
|
|
55
|
+
_ = _ === h ? g : h, v = !1;
|
|
56
|
+
for (let t of e) t.t();
|
|
57
|
+
e.clear();
|
|
58
|
+
}, b = (e) => {
|
|
59
|
+
_.add(e), v ||= m.then(y);
|
|
60
|
+
}, x = (e) => _.delete(e), S = /* @__PURE__ */ new FinalizationRegistry(c), C = class {
|
|
61
|
+
constructor(e, t, n) {
|
|
62
|
+
if (this.#n = e, this.q = (t?.equal ?? r) || void 0, this.e = t?.eager, this.m = t?.name, this.#t = t?.onDisposeValue, n) {
|
|
63
|
+
let e = new WeakRef(this), t = () => {
|
|
64
|
+
if (r) {
|
|
65
|
+
let e = r;
|
|
66
|
+
r = void 0, e();
|
|
67
|
+
}
|
|
68
|
+
}, r = n(() => {
|
|
69
|
+
let n = e.deref();
|
|
70
|
+
n ? n.n() : t();
|
|
71
|
+
});
|
|
72
|
+
r && S.register(this, this.#e = t);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
g = this;
|
|
76
|
+
b = /* @__PURE__ */ new Map();
|
|
77
|
+
s = 4;
|
|
78
|
+
v;
|
|
79
|
+
c = e;
|
|
80
|
+
q;
|
|
81
|
+
e;
|
|
82
|
+
m;
|
|
83
|
+
u = () => {
|
|
84
|
+
if (this.s & 4) {
|
|
85
|
+
this.s &= -5;
|
|
86
|
+
let t = this.#n();
|
|
87
|
+
this.c === e ? this.w(t) : this.q?.(t, this.c) || (this.w(t), this.s & 1 && (this.s |= 2));
|
|
88
|
+
}
|
|
89
|
+
return this.c;
|
|
90
|
+
};
|
|
91
|
+
n = () => {
|
|
92
|
+
this.#i && (console.error(this.c, /* @__PURE__ */ Error(`${this.m || ""} disposed`)), process.env.NODE_ENV !== "production" && console.error(this.#i)), this.s |= 4, this.b.size && (this.s |= 1, this[3] && this.#r(3), this[2] && (this.u(), this.s & 2 && this.#r(2)), this[1] ? b(this) : this.s &= -4);
|
|
93
|
+
};
|
|
94
|
+
a(e, t) {
|
|
95
|
+
let n = this.b.get(e);
|
|
96
|
+
return n && this[n]--, this.b.set(e, t), this[t]++, () => this.r(e);
|
|
97
|
+
}
|
|
98
|
+
r(e) {
|
|
99
|
+
if (e) {
|
|
100
|
+
let t = this.b.get(e);
|
|
101
|
+
t && (this.b.delete(e), this[t]--);
|
|
102
|
+
} else this.b.clear(), this[1] = this[2] = this[3] = 0, x(this);
|
|
103
|
+
}
|
|
104
|
+
t() {
|
|
105
|
+
this[1] && (this.u(), this.s & 2 && this.#r(1)), this.s &= -4;
|
|
106
|
+
}
|
|
107
|
+
d() {
|
|
108
|
+
let t = this.c;
|
|
109
|
+
this.r(), S.unregister(this), this.#e?.(), this.#i = process.env.NODE_ENV === "production" || /* @__PURE__ */ Error("[val-dev] Val disposed at:"), this.#t && t !== e && this.#t(t);
|
|
110
|
+
}
|
|
111
|
+
w(e) {
|
|
112
|
+
this.w = this.q?.(e, e) ? this.y : this.x, this.w(e);
|
|
113
|
+
}
|
|
114
|
+
x(t) {
|
|
115
|
+
let n = this.c;
|
|
116
|
+
this.c = t, this.v = Symbol(), this.#t && n !== e && n !== t && this.#t(n);
|
|
117
|
+
}
|
|
118
|
+
y(t) {
|
|
119
|
+
let n = this.c;
|
|
120
|
+
this.c = this.v = t, this.#t && n !== e && n !== t && this.#t(n);
|
|
121
|
+
}
|
|
122
|
+
1 = 0;
|
|
123
|
+
2 = 0;
|
|
124
|
+
3 = 0;
|
|
125
|
+
#e;
|
|
126
|
+
#t;
|
|
127
|
+
#n;
|
|
128
|
+
#r(e) {
|
|
129
|
+
for (let [t, n] of this.b) n === e && c(t, this.c);
|
|
130
|
+
}
|
|
131
|
+
#i;
|
|
132
|
+
}, w = class {
|
|
133
|
+
#e = /* @__PURE__ */ new WeakSet();
|
|
134
|
+
constructor(e) {
|
|
135
|
+
this.g = e.g, this.e = e.e, this.u = e.u, this.n = e.n, this.b = e.b;
|
|
136
|
+
}
|
|
137
|
+
get v() {
|
|
138
|
+
return this.g.v;
|
|
139
|
+
}
|
|
140
|
+
g;
|
|
141
|
+
b;
|
|
142
|
+
e;
|
|
143
|
+
u;
|
|
144
|
+
n;
|
|
145
|
+
a(e, t) {
|
|
146
|
+
return this.#e.add(e), this.g.a(e, t);
|
|
147
|
+
}
|
|
148
|
+
r(e) {
|
|
149
|
+
if (e) this.#e.has(e) && (this.#e.delete(e), this.g.r(e));
|
|
150
|
+
else for (let e of this.g.b.keys()) this.r(e);
|
|
151
|
+
}
|
|
152
|
+
d() {
|
|
153
|
+
this.r();
|
|
154
|
+
}
|
|
155
|
+
}, T = class {
|
|
156
|
+
#e;
|
|
157
|
+
constructor(e) {
|
|
158
|
+
this.#e = e, this.get = e.u, e.u();
|
|
159
|
+
}
|
|
160
|
+
get name() {
|
|
161
|
+
return this.#e.m;
|
|
162
|
+
}
|
|
163
|
+
get $version() {
|
|
164
|
+
return this.get(), this.#e.v;
|
|
165
|
+
}
|
|
166
|
+
get value() {
|
|
167
|
+
return this.get();
|
|
168
|
+
}
|
|
169
|
+
set value(e) {
|
|
170
|
+
this.set?.(e);
|
|
171
|
+
}
|
|
172
|
+
set;
|
|
173
|
+
get;
|
|
174
|
+
ref(e) {
|
|
175
|
+
let t = new T(new w(this.#e));
|
|
176
|
+
return e && this.set ? l(t, this.set) : t;
|
|
177
|
+
}
|
|
178
|
+
reaction(e, t = this.#e.e) {
|
|
179
|
+
return this.#e.a(e, t ? 2 : 1);
|
|
180
|
+
}
|
|
181
|
+
subscribe(e, t = this.#e.e) {
|
|
182
|
+
let n = this.reaction(e, t);
|
|
183
|
+
return c(e, this.get()), n;
|
|
184
|
+
}
|
|
185
|
+
$valCompute(e) {
|
|
186
|
+
return this.#e.a(e, 3);
|
|
187
|
+
}
|
|
188
|
+
unsubscribe(e) {
|
|
189
|
+
this.#e.r(e);
|
|
190
|
+
}
|
|
191
|
+
dispose() {
|
|
192
|
+
this.#e.d();
|
|
193
|
+
}
|
|
194
|
+
toString() {
|
|
195
|
+
return String(this.get());
|
|
196
|
+
}
|
|
197
|
+
toJSON(e) {
|
|
198
|
+
let t = this.get();
|
|
199
|
+
return t && t.toJSON ? t.toJSON(e) : t;
|
|
200
|
+
}
|
|
201
|
+
}, E = (e, t) => {
|
|
202
|
+
let n = e, r = new C(() => n, t);
|
|
203
|
+
return [new T(r), (e) => {
|
|
204
|
+
r.q?.(e, n) || (n = e, r.n());
|
|
205
|
+
}];
|
|
206
|
+
}, D = (e, t) => l(...E(e, t)), O = (e, t, n) => new T(new C(e, n, t)), k = (e, t = n, r) => {
|
|
207
|
+
let a, l;
|
|
208
|
+
return O(() => {
|
|
209
|
+
let n = e.map(s);
|
|
210
|
+
return (!l || !i(n, l)) && (l = n, a = t(o(e))), a;
|
|
211
|
+
}, (t) => {
|
|
212
|
+
let n = e.map((e) => e.$valCompute(t));
|
|
213
|
+
return () => n.forEach(c);
|
|
214
|
+
}, r);
|
|
215
|
+
}, A = (t, n) => {
|
|
216
|
+
let i = 0, a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), s = (t) => {
|
|
217
|
+
if (!u(t)) {
|
|
218
|
+
if (!u(t?.$)) return t;
|
|
219
|
+
t = t.$;
|
|
220
|
+
}
|
|
221
|
+
return a.has(t) ? r(t.$version, a.get(t)) || a.set(t, e) : (o.delete(t) || t.$valCompute(l.n), a.set(t, t.$version)), t.value;
|
|
222
|
+
}, c, l = new C(() => {
|
|
223
|
+
if (!i) {
|
|
224
|
+
if (a.size) x: {
|
|
225
|
+
for (let [e, t] of a) if (!r(e.$version, t)) break x;
|
|
226
|
+
return c;
|
|
227
|
+
}
|
|
228
|
+
let e = a;
|
|
229
|
+
a = o, o = e, i++;
|
|
230
|
+
}
|
|
231
|
+
if (c = t(s), !--i && o.size) {
|
|
232
|
+
for (let e of o.keys()) e.unsubscribe(l.n);
|
|
233
|
+
o.clear();
|
|
234
|
+
}
|
|
235
|
+
return c;
|
|
236
|
+
}, n, () => () => {
|
|
237
|
+
if (a.size) {
|
|
238
|
+
for (let e of a.keys()) e.unsubscribe(l.n);
|
|
239
|
+
a.clear();
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
return new T(l);
|
|
243
|
+
}, j = (t, i = n, a) => {
|
|
244
|
+
let o, s = e;
|
|
245
|
+
return O(() => {
|
|
246
|
+
let e = t.$version;
|
|
247
|
+
return r(e, s) || (s = e, o = i(t.value)), o;
|
|
248
|
+
}, (e) => t.$valCompute(e), a);
|
|
249
|
+
};
|
|
250
|
+
process.env.NODE_ENV !== "production" && p();
|
|
251
|
+
//#endregion
|
|
252
|
+
export { j as a, d as c, r as d, D as f, A as i, E as l, l as n, n as o, k as r, u as s, i as t, t as u };
|