@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.
Files changed (58) hide show
  1. package/README.md +5 -1
  2. package/dist/browser/createResourceDialog-BkZns-oZ.js +504 -0
  3. package/dist/browser/diagnostics-giPSzyMo.js +9346 -0
  4. package/dist/browser/{dist-DhsGR_K3.js → dist-3Mj8q8Pr.js} +27 -27
  5. package/dist/browser/{dist-n9WmBm5w.js → dist-BKuSVKCC.js} +1 -1
  6. package/dist/browser/{dist-DQVavPcf.js → dist-BMqL-qR5.js} +469 -903
  7. package/dist/browser/{dist-D5mdziGP.js → dist-BN4ZCyOB.js} +9 -9
  8. package/dist/browser/{dist-CVtP-E2c.js → dist-BpopSHwP.js} +1 -1
  9. package/dist/browser/{dist-B0Q2Mn0n.js → dist-CJpzJrLM.js} +191 -191
  10. package/dist/browser/{dist-DXgEYMFx.js → dist-CPuF50D9.js} +196 -196
  11. package/dist/browser/{dist-CUkceEvN.js → dist-CUSrALSX.js} +113 -113
  12. package/dist/browser/dist-CeSZ2xSM.js +444 -0
  13. package/dist/browser/{dist-Bc9TvHYl.js → dist-DUzA0Ukh.js} +20 -20
  14. package/dist/browser/{dist-DWzdGVm9.js → dist-DWADUsVB.js} +74 -74
  15. package/dist/browser/{esm-YIGXG-Js.js → esm-B_PbUobB.js} +13 -13
  16. package/dist/browser/flow-authoring-node.d.ts +4 -2
  17. package/dist/browser/flow-authoring.d.ts +2 -1
  18. package/dist/browser/flow-authoring.js +400 -100
  19. package/dist/browser/flow-change.d.ts +9 -4
  20. package/dist/browser/flow-change.js +49 -46
  21. package/dist/browser/{flowRunInputEditorStore-DXOyyY7o.js → flowRunInputEditorStore-BeyUSWpO.js} +1644 -908
  22. package/dist/browser/{flowWorkspace-D7-rBA1-.js → flowWorkspace-DAMLVMcF.js} +18416 -16444
  23. package/dist/browser/getPseudoElementBounds-ESJExRFX.js +7642 -0
  24. package/dist/browser/languages-DgJehE1g.js +62 -0
  25. package/dist/browser/lib-C5Ipyfps.js +7856 -0
  26. package/dist/browser/licenses.md +119 -1
  27. package/dist/browser/main-DmjVyuWr.js +76 -0
  28. package/dist/browser/{markdownContent-ColGUxHy.js → markdownContent-DdlIRN3_.js} +4811 -4795
  29. package/dist/browser/theme.css +63 -0
  30. package/dist/browser/theme.css.d.ts +1 -0
  31. package/dist/browser/typeScriptSession-mPCiA9sV.js +2579 -0
  32. package/dist/browser/workbench-contract.d.ts +2 -1
  33. package/dist/browser/workbench.css +1 -1
  34. package/dist/browser/workbench.d.ts +46 -1
  35. package/dist/browser/workbench.js +1132 -1474
  36. package/dist/browser/workbenchSelect-B2s1HV-Y.js +1374 -0
  37. package/dist/common/connector-action.d.ts +6 -0
  38. package/dist/common/connector-action.js +37 -29
  39. package/dist/common/control-api-conformance.js +80 -29
  40. package/dist/common/control-api-errors.d.ts +24 -0
  41. package/dist/common/control-api.d.ts +54 -7
  42. package/dist/common/control-api.js +226 -95
  43. package/dist/common/flow-encoding.d.ts +2 -2
  44. package/dist/common/flow-encoding.js +4 -1
  45. package/dist/common/flow-semantics.d.ts +3 -0
  46. package/dist/common/flow-semantics.js +939 -851
  47. package/dist/common/integration-trigger.d.ts +1 -0
  48. package/dist/common/licenses.md +1 -25
  49. package/dist/common/localization.d.ts +21 -0
  50. package/dist/common/localization.js +62 -0
  51. package/dist/common/provider-triggers.js +4 -1
  52. package/dist/common/scheduler.d.ts +5 -5
  53. package/dist/common/scheduler.js +250 -236
  54. package/package.json +10 -1
  55. package/dist/browser/addNodeOptions-DRndy4EK.js +0 -6910
  56. package/dist/browser/createLucideIcon-CqjqCezK.js +0 -5537
  57. package/dist/browser/createResourceDialog-A64dDFCG.js +0 -467
  58. package/dist/browser/field-CKGQHCIi.js +0 -312
@@ -337,6 +337,30 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
337
337
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
338
338
  THE SOFTWARE.
339
339
 
340
+ ## @codemirror/lsp-client - 6.2.5 (MIT)
341
+
342
+ MIT License
343
+
344
+ Copyright (C) 2025 by Marijn Haverbeke <marijn@haverbeke.berlin> and others
345
+
346
+ Permission is hereby granted, free of charge, to any person obtaining a copy
347
+ of this software and associated documentation files (the "Software"), to deal
348
+ in the Software without restriction, including without limitation the rights
349
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
350
+ copies of the Software, and to permit persons to whom the Software is
351
+ furnished to do so, subject to the following conditions:
352
+
353
+ The above copyright notice and this permission notice shall be included in
354
+ all copies or substantial portions of the Software.
355
+
356
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
357
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
358
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
359
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
360
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
361
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
362
+ THE SOFTWARE.
363
+
340
364
  ## @codemirror/search - 6.7.1 (MIT)
341
365
 
342
366
  MIT License
@@ -1129,7 +1153,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1129
1153
 
1130
1154
  ## @uiw/codemirror-themes - 4.25.11 (MIT)
1131
1155
 
1132
- ## @ungap/structured-clone - 1.3.3 (ISC)
1156
+ ## @ungap/structured-clone - 1.3.4 (ISC)
1133
1157
 
1134
1158
  ISC License
1135
1159
 
@@ -2030,6 +2054,30 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2030
2054
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2031
2055
  THE SOFTWARE.
2032
2056
 
2057
+ ## dequal - 2.0.3 (MIT)
2058
+
2059
+ The MIT License (MIT)
2060
+
2061
+ Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
2062
+
2063
+ Permission is hereby granted, free of charge, to any person obtaining a copy
2064
+ of this software and associated documentation files (the "Software"), to deal
2065
+ in the Software without restriction, including without limitation the rights
2066
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
2067
+ copies of the Software, and to permit persons to whom the Software is
2068
+ furnished to do so, subject to the following conditions:
2069
+
2070
+ The above copyright notice and this permission notice shall be included in
2071
+ all copies or substantial portions of the Software.
2072
+
2073
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
2074
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
2075
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
2076
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
2077
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2078
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2079
+ THE SOFTWARE.
2080
+
2033
2081
  ## devlop - 1.1.0 (MIT)
2034
2082
 
2035
2083
  (The MIT License)
@@ -3200,6 +3248,53 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
3200
3248
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
3201
3249
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
3202
3250
 
3251
+ ## marked - 15.0.12 (MIT)
3252
+
3253
+ # License information
3254
+
3255
+ ## Contribution License Agreement
3256
+
3257
+ If you contribute code to this project, you are implicitly allowing your code
3258
+ to be distributed under the MIT license. You are also implicitly verifying that
3259
+ all code is your original work. `</legalese>`
3260
+
3261
+ ## Marked
3262
+
3263
+ Copyright (c) 2018+, MarkedJS (https://github.com/markedjs/)
3264
+ Copyright (c) 2011-2018, Christopher Jeffrey (https://github.com/chjj/)
3265
+
3266
+ Permission is hereby granted, free of charge, to any person obtaining a copy
3267
+ of this software and associated documentation files (the "Software"), to deal
3268
+ in the Software without restriction, including without limitation the rights
3269
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
3270
+ copies of the Software, and to permit persons to whom the Software is
3271
+ furnished to do so, subject to the following conditions:
3272
+
3273
+ The above copyright notice and this permission notice shall be included in
3274
+ all copies or substantial portions of the Software.
3275
+
3276
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
3277
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
3278
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
3279
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
3280
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
3281
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3282
+ THE SOFTWARE.
3283
+
3284
+ ## Markdown
3285
+
3286
+ Copyright © 2004, John Gruber
3287
+ http://daringfireball.net/
3288
+ All rights reserved.
3289
+
3290
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
3291
+
3292
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
3293
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3294
+ * Neither the name “Markdown” nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
3295
+
3296
+ This software is provided by the copyright holders and contributors “as is” and any express or implied warranties, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose are disclaimed. In no event shall the copyright owner or contributors be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this software, even if advised of the possibility of such damage.
3297
+
3203
3298
  ## mdast-util-find-and-replace - 3.0.2 (MIT)
3204
3299
 
3205
3300
  (The MIT License)
@@ -4225,6 +4320,29 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
4225
4320
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
4226
4321
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4227
4322
 
4323
+ ## nanoid - 6.0.1 (MIT)
4324
+
4325
+ The MIT License (MIT)
4326
+
4327
+ Copyright 2017 Andrey Sitnik <andrey@sitnik.es>
4328
+
4329
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
4330
+ this software and associated documentation files (the "Software"), to deal in
4331
+ the Software without restriction, including without limitation the rights to
4332
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
4333
+ the Software, and to permit persons to whom the Software is furnished to do so,
4334
+ subject to the following conditions:
4335
+
4336
+ The above copyright notice and this permission notice shall be included in all
4337
+ copies or substantial portions of the Software.
4338
+
4339
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
4340
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
4341
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
4342
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
4343
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
4344
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4345
+
4228
4346
  ## nth-check - 2.1.1 (BSD-2-Clause)
4229
4347
 
4230
4348
  Copyright (c) Felix Böhm
@@ -0,0 +1,76 @@
1
+ import { a as e, o as t, s as n } from "./dist-C46JByB-.js";
2
+ import r, { Fragment as i, createContext as a, createElement as o, isValidElement as s, useContext as c, useDebugValue as l, useEffect as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
3
+ //#region ../../node_modules/.bun/use-value-enhancer@5.0.7+5fffd67310d91248/node_modules/use-value-enhancer/dist/use-value-enhancer.mjs
4
+ var h = typeof document < "u" ? d : u, g = (e) => [...e.values()], _ = (e) => n(e) ? e : n(e?.$) ? e.$ : void 0, v = () => {}, y = () => v, b = [y, y], x = r.useSyncExternalStore ? (e, t = !0) => {
5
+ let [n, i, a] = f(() => {
6
+ let n = _(e);
7
+ return n && [
8
+ (e) => n.subscribe(e, t),
9
+ () => n.$version,
10
+ n
11
+ ];
12
+ }, [e, t]) ?? b, o = r.useSyncExternalStore(n, i, i), s = f(() => a ? a.get() : e, [
13
+ o,
14
+ a,
15
+ e
16
+ ]);
17
+ return l(s), s;
18
+ } : (e, t = !0) => {
19
+ let n = f(() => _(e), [e]), [r, i] = m(() => n?.$version);
20
+ u(() => {
21
+ if (n) {
22
+ let e = () => n.$version;
23
+ return n.subscribe(() => i(e), t);
24
+ }
25
+ }, [n, t]);
26
+ let a = f(() => n ? n.get() : e, [
27
+ r,
28
+ n,
29
+ e
30
+ ]);
31
+ return l(a), a;
32
+ }, S = (e, n, r = t, i = !0) => {
33
+ let a, o;
34
+ i === !0 || i === !1 ? o = i : i && ({eager: o, equal: a} = i);
35
+ let s = p(a), c = p(r), u = f(() => n && e(n, (e) => c.current(e), { equal: (e, t) => s.current !== !1 && (s.current || Object.is)(e, t) }), [n]);
36
+ h(() => {
37
+ s.current = a, c.current = r;
38
+ }, [s, c]);
39
+ let d = x(u, o);
40
+ return l(d), d;
41
+ }, C = (t, n, r) => S(e, t, n, r), w = (e, t) => C(n(e) ? e : e?.$, g, t), T = /* @__PURE__ */ a(null), E = ({ i18n: e, children: t }) => {
42
+ let n = x(e.t$), r = c(T)?.t;
43
+ return o(T.Provider, {
44
+ value: f(() => ({
45
+ t: r ? (e, t) => {
46
+ let i = n(e, t);
47
+ return i === e ? r(e, t) : i;
48
+ } : n,
49
+ i18n: e
50
+ }), [n, r]),
51
+ children: t
52
+ });
53
+ }, D = (e) => {
54
+ let t = c(T);
55
+ if (!t && !e) throw Error("I18nProvider not found");
56
+ return t;
57
+ }, O = (e) => D(e)?.t, k = (e) => D(e)?.i18n, A = (e) => x(k(e)?.lang$), j = ({ message: e, children: t }) => {
58
+ if (!e) return null;
59
+ let n = f(() => {
60
+ let t = [], n = /{{(\S+?)}}/gi, r, i = 0;
61
+ for (; r = n.exec(e);) t.push(e.slice(i, r.index), r[1]), i = r.index + r[0].length;
62
+ return t.push(e.slice(i)), t;
63
+ }, [e]);
64
+ if (n.length === 1) return o(i, null, e);
65
+ let r = {}, a = !1;
66
+ for (let e of Array.isArray(t) ? t : [t]) if (s(e)) {
67
+ let t = e.props["data-t-slot"];
68
+ t && (r[t] = e, a = !0);
69
+ }
70
+ let c = n.slice();
71
+ if (a) for (let e = 1; e < c.length; e += 2) c[e] = r[n[e]] || `{{${n[e]}}}`;
72
+ else c[1] = t || `{{${n[1]}}}`;
73
+ return o(i, null, c);
74
+ };
75
+ //#endregion
76
+ export { O as a, w as c, A as i, j as n, C as o, k as r, x as s, E as t };