@oomol-lab/open-flow 0.1.0-alpha.9 → 0.1.0-beta.2
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/README.md +5 -1
- package/dist/browser/createResourceDialog-BkZns-oZ.js +504 -0
- package/dist/browser/diagnostics-giPSzyMo.js +9346 -0
- package/dist/browser/{dist-DhsGR_K3.js → dist-3Mj8q8Pr.js} +27 -27
- package/dist/browser/{dist-n9WmBm5w.js → dist-BKuSVKCC.js} +1 -1
- package/dist/browser/{dist-DQVavPcf.js → dist-BMqL-qR5.js} +469 -903
- package/dist/browser/{dist-D5mdziGP.js → dist-BN4ZCyOB.js} +9 -9
- package/dist/browser/{dist-CVtP-E2c.js → dist-BpopSHwP.js} +1 -1
- package/dist/browser/{dist-B0Q2Mn0n.js → dist-CJpzJrLM.js} +191 -191
- package/dist/browser/{dist-DXgEYMFx.js → dist-CPuF50D9.js} +196 -196
- package/dist/browser/{dist-CUkceEvN.js → dist-CUSrALSX.js} +113 -113
- package/dist/browser/dist-CeSZ2xSM.js +444 -0
- package/dist/browser/{dist-Bc9TvHYl.js → dist-DUzA0Ukh.js} +20 -20
- package/dist/browser/{dist-DWzdGVm9.js → dist-DWADUsVB.js} +74 -74
- package/dist/browser/{esm-YIGXG-Js.js → esm-B_PbUobB.js} +13 -13
- package/dist/browser/flow-authoring-node.d.ts +4 -2
- package/dist/browser/flow-authoring.d.ts +2 -1
- package/dist/browser/flow-authoring.js +400 -100
- package/dist/browser/flow-change.d.ts +9 -4
- package/dist/browser/flow-change.js +49 -46
- package/dist/browser/{flowRunInputEditorStore-DXOyyY7o.js → flowRunInputEditorStore-BeyUSWpO.js} +1644 -908
- package/dist/browser/{flowWorkspace-D7-rBA1-.js → flowWorkspace-DAMLVMcF.js} +18416 -16444
- package/dist/browser/getPseudoElementBounds-ESJExRFX.js +7642 -0
- package/dist/browser/languages-DgJehE1g.js +62 -0
- package/dist/browser/lib-C5Ipyfps.js +7856 -0
- package/dist/browser/licenses.md +119 -1
- package/dist/browser/main-DmjVyuWr.js +76 -0
- package/dist/browser/{markdownContent-ColGUxHy.js → markdownContent-DdlIRN3_.js} +4811 -4795
- package/dist/browser/theme.css +63 -0
- package/dist/browser/theme.css.d.ts +1 -0
- package/dist/browser/typeScriptSession-mPCiA9sV.js +2579 -0
- package/dist/browser/workbench-contract.d.ts +2 -1
- package/dist/browser/workbench.css +1 -1
- package/dist/browser/workbench.d.ts +46 -1
- package/dist/browser/workbench.js +1132 -1474
- package/dist/browser/workbenchSelect-B2s1HV-Y.js +1374 -0
- package/dist/common/connector-action.d.ts +6 -0
- package/dist/common/connector-action.js +37 -29
- package/dist/common/control-api-conformance.js +80 -29
- package/dist/common/control-api-errors.d.ts +24 -0
- package/dist/common/control-api.d.ts +54 -7
- package/dist/common/control-api.js +226 -95
- package/dist/common/flow-encoding.d.ts +2 -2
- package/dist/common/flow-encoding.js +4 -1
- package/dist/common/flow-semantics.d.ts +3 -0
- package/dist/common/flow-semantics.js +939 -851
- package/dist/common/integration-trigger.d.ts +1 -0
- package/dist/common/licenses.md +1 -25
- package/dist/common/localization.d.ts +21 -0
- package/dist/common/localization.js +62 -0
- package/dist/common/provider-triggers.js +4 -1
- package/dist/common/scheduler.d.ts +5 -5
- package/dist/common/scheduler.js +250 -236
- package/package.json +10 -1
- package/dist/browser/addNodeOptions-DRndy4EK.js +0 -6910
- package/dist/browser/createLucideIcon-CqjqCezK.js +0 -5537
- package/dist/browser/createResourceDialog-A64dDFCG.js +0 -467
- package/dist/browser/field-CKGQHCIi.js +0 -312
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as r, r as i, t as a } from "./dist-
|
|
3
|
-
import {
|
|
1
|
+
import { _ as e, a as t, s as n } from "./dist-BpopSHwP.js";
|
|
2
|
+
import { n as r, r as i, t as a } from "./dist-DWADUsVB.js";
|
|
3
|
+
import { _ as o, o as s, p as c, r as l, w as u, y as d } from "./dist-CUSrALSX.js";
|
|
4
4
|
//#region ../../node_modules/.bun/@lezer+yaml@1.0.4/node_modules/@lezer/yaml/dist/index.js
|
|
5
|
-
var f = 63, p = 64, m = 1, h = 2, g = 3, _ = 4, v = 5,
|
|
5
|
+
var f = 63, p = 64, m = 1, h = 2, g = 3, _ = 4, v = 5, y = 6, b = 7, x = 65, S = 66, ee = 8, te = 9, ne = 10, C = 11, re = 12, w = 13, T = 19, E = 20, D = 29, O = 33, k = 34, ie = 47, ae = 0, A = 1, j = 2, M = 3, N = 4, P = class {
|
|
6
6
|
constructor(e, t, n) {
|
|
7
7
|
this.parent = e, this.depth = t, this.type = n, this.hash = (e ? e.hash + e.hash << 8 : 0) + t + (t << 4) + n;
|
|
8
8
|
}
|
|
9
9
|
};
|
|
10
|
-
P.top = new P(null, -1,
|
|
10
|
+
P.top = new P(null, -1, ae);
|
|
11
11
|
function F(e, t) {
|
|
12
12
|
for (let n = 0, r = t - e.pos - 1;; r--, n++) {
|
|
13
13
|
let t = e.peek(r);
|
|
@@ -29,15 +29,15 @@ function z(e) {
|
|
|
29
29
|
var B = new a({
|
|
30
30
|
start: P.top,
|
|
31
31
|
reduce(e, t) {
|
|
32
|
-
return e.type == M && (t ==
|
|
32
|
+
return e.type == M && (t == E || t == k) ? e.parent : e;
|
|
33
33
|
},
|
|
34
34
|
shift(e, t, n, r) {
|
|
35
35
|
if (t == g) return new P(e, F(r, r.pos), A);
|
|
36
|
-
if (t ==
|
|
36
|
+
if (t == x || t == v) return new P(e, F(r, r.pos), j);
|
|
37
37
|
if (t == f) return e.parent;
|
|
38
|
-
if (t ==
|
|
39
|
-
if (t ==
|
|
40
|
-
if (t ==
|
|
38
|
+
if (t == T || t == O) return new P(e, 0, M);
|
|
39
|
+
if (t == w && e.type == N) return e.parent;
|
|
40
|
+
if (t == ie) {
|
|
41
41
|
let t = /[1-9]/.exec(r.read(r.pos, n.pos));
|
|
42
42
|
if (t) return new P(e, e.depth + +t[0], N);
|
|
43
43
|
}
|
|
@@ -68,11 +68,11 @@ var H = new r((e, t) => {
|
|
|
68
68
|
}
|
|
69
69
|
}, { contextual: !0 }), U = new r((e, t) => {
|
|
70
70
|
if (t.context.type == M) {
|
|
71
|
-
e.next == 63 && (e.advance(), z(e.next) && e.acceptToken(
|
|
71
|
+
e.next == 63 && (e.advance(), z(e.next) && e.acceptToken(b));
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
74
|
if (e.next == 45) e.advance(), z(e.next) && e.acceptToken(t.context.type == A && t.context.depth == F(e, e.pos - 1) ? _ : g);
|
|
75
|
-
else if (e.next == 63) e.advance(), z(e.next) && e.acceptToken(t.context.type == j && t.context.depth == F(e, e.pos - 1) ?
|
|
75
|
+
else if (e.next == 63) e.advance(), z(e.next) && e.acceptToken(t.context.type == j && t.context.depth == F(e, e.pos - 1) ? y : v);
|
|
76
76
|
else {
|
|
77
77
|
let n = e.pos;
|
|
78
78
|
for (;;) if (I(e.next)) {
|
|
@@ -95,8 +95,8 @@ var H = new r((e, t) => {
|
|
|
95
95
|
}
|
|
96
96
|
for (; I(e.next);) e.advance();
|
|
97
97
|
if (e.next == 58) {
|
|
98
|
-
if (e.pos == n && t.canShift(
|
|
99
|
-
z(e.peek(1)) && e.acceptTokenTo(t.context.type == j && t.context.depth == F(e, n) ?
|
|
98
|
+
if (e.pos == n && t.canShift(D)) return;
|
|
99
|
+
z(e.peek(1)) && e.acceptTokenTo(t.context.type == j && t.context.depth == F(e, n) ? S : x, n);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
}, { contextual: !0 });
|
|
@@ -177,11 +177,11 @@ function Q(e, t, n, r) {
|
|
|
177
177
|
return !0;
|
|
178
178
|
}
|
|
179
179
|
var ce = new r((e, t) => {
|
|
180
|
-
if (e.next == 33) q(e), e.acceptToken(
|
|
180
|
+
if (e.next == 33) q(e), e.acceptToken(re);
|
|
181
181
|
else if (e.next == 38 || e.next == 42) {
|
|
182
|
-
let t = e.next == 38 ?
|
|
182
|
+
let t = e.next == 38 ? ne : C;
|
|
183
183
|
J(e), e.acceptToken(t);
|
|
184
|
-
} else e.next == 39 || e.next == 34 ? (Y(e, !1), e.acceptToken(
|
|
184
|
+
} else e.next == 39 || e.next == 34 ? (Y(e, !1), e.acceptToken(te)) : Q(e, !1, t.context.type == M, t.context.depth) && e.acceptToken(ee);
|
|
185
185
|
}), le = new r((e, t) => {
|
|
186
186
|
let n = t.context.type == N ? t.context.depth : -1, r = e.pos;
|
|
187
187
|
scan: for (;;) {
|
|
@@ -195,7 +195,7 @@ var ce = new r((e, t) => {
|
|
|
195
195
|
r = e.pos;
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
e.acceptTokenTo(
|
|
198
|
+
e.acceptTokenTo(w, r);
|
|
199
199
|
}), ue = t({
|
|
200
200
|
DirectiveName: n.keyword,
|
|
201
201
|
DirectiveContent: n.attributeValue,
|
|
@@ -271,9 +271,9 @@ var ce = new r((e, t) => {
|
|
|
271
271
|
tokenizers: [0],
|
|
272
272
|
topRules: { Document: [0, 1] },
|
|
273
273
|
tokenPrec: 67
|
|
274
|
-
}), $ = /*@__PURE__*/
|
|
274
|
+
}), $ = /*@__PURE__*/ l.define({
|
|
275
275
|
name: "yaml",
|
|
276
|
-
parser: /*@__PURE__*/ de.configure({ props: [/*@__PURE__*/
|
|
276
|
+
parser: /*@__PURE__*/ de.configure({ props: [/*@__PURE__*/ u.add({
|
|
277
277
|
Stream: (e) => {
|
|
278
278
|
for (let t = e.node.resolve(e.pos, -1); t && t.to >= e.pos; t = t.parent) {
|
|
279
279
|
if (t.name == "BlockLiteralContent" && t.from < t.to) return e.baseIndentFor(t);
|
|
@@ -288,10 +288,10 @@ var ce = new r((e, t) => {
|
|
|
288
288
|
}
|
|
289
289
|
return null;
|
|
290
290
|
},
|
|
291
|
-
FlowMapping: /*@__PURE__*/
|
|
292
|
-
FlowSequence: /*@__PURE__*/
|
|
291
|
+
FlowMapping: /*@__PURE__*/ c({ closing: "}" }),
|
|
292
|
+
FlowSequence: /*@__PURE__*/ c({ closing: "]" })
|
|
293
293
|
}), /*@__PURE__*/ d.add({
|
|
294
|
-
"FlowMapping FlowSequence":
|
|
294
|
+
"FlowMapping FlowSequence": o,
|
|
295
295
|
"Item Pair BlockLiteral": (e, t) => ({
|
|
296
296
|
from: t.doc.lineAt(e.from).to,
|
|
297
297
|
to: e.to
|
|
@@ -303,18 +303,18 @@ var ce = new r((e, t) => {
|
|
|
303
303
|
}
|
|
304
304
|
});
|
|
305
305
|
function pe() {
|
|
306
|
-
return new
|
|
306
|
+
return new s($);
|
|
307
307
|
}
|
|
308
|
-
var me = /*@__PURE__*/
|
|
308
|
+
var me = /*@__PURE__*/ l.define({
|
|
309
309
|
name: "yaml-frontmatter",
|
|
310
310
|
parser: /*@__PURE__*/ fe.configure({ props: [/*@__PURE__*/ t({ DashLine: n.meta })] })
|
|
311
311
|
});
|
|
312
312
|
function he(t) {
|
|
313
|
-
let { language: n, support: r } = t.content instanceof
|
|
313
|
+
let { language: n, support: r } = t.content instanceof s ? t.content : {
|
|
314
314
|
language: t.content,
|
|
315
315
|
support: []
|
|
316
316
|
};
|
|
317
|
-
return new
|
|
317
|
+
return new s(me.configure({ wrap: e((e) => e.name == "FrontmatterContent" ? { parser: $.parser } : e.name == "Body" ? { parser: n.parser } : null) }), r);
|
|
318
318
|
}
|
|
319
319
|
//#endregion
|
|
320
320
|
export { pe as yaml, he as yamlFrontmatter, $ as yamlLanguage };
|
|
@@ -6655,4 +6655,4 @@ var Ss = {
|
|
|
6655
6655
|
getHeightChangeFlag: () => Zr
|
|
6656
6656
|
};
|
|
6657
6657
|
//#endregion
|
|
6658
|
-
export { $
|
|
6658
|
+
export { $a as C, mo as D, Lo as E, fe as O, R as S, Ro as T, ms as _, B as a, Xi as b, no as c, wa as d, zo as f, Ua as g, Jo as h, $ as i, ie as k, me as l, To as m, N as n, E as o, No as p, Z as r, wo as s, O as t, pa as u, Pa as v, $i as w, us as x, Co as y };
|