@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,5 +1,5 @@
|
|
|
1
|
-
import { c as e, d as t,
|
|
2
|
-
//#region ../../node_modules/@lezer/lr/dist/index.js
|
|
1
|
+
import { c as e, d as t, f as n, h as r, l as i, m as a, u as o } from "./dist-BpopSHwP.js";
|
|
2
|
+
//#region ../../node_modules/.bun/@lezer+lr@1.4.10/node_modules/@lezer/lr/dist/index.js
|
|
3
3
|
var s = class e {
|
|
4
4
|
constructor(e, t, n, r, i, a, o, s, c, l = 0, u) {
|
|
5
5
|
this.p = e, this.stack = t, this.state = n, this.reducePos = r, this.pos = i, this.score = a, this.buffer = o, this.bufferBase = s, this.curContext = c, this.lookAhead = l, this.parent = u;
|
|
@@ -435,12 +435,12 @@ function b(e, t, n, r) {
|
|
|
435
435
|
return i < 0 || y(n, r, e) < i;
|
|
436
436
|
}
|
|
437
437
|
var x = typeof process < "u" && /\bparse\b/.test({}.LOG), S = null;
|
|
438
|
-
function C(t, n
|
|
439
|
-
let
|
|
440
|
-
for (
|
|
441
|
-
if ((
|
|
442
|
-
if (
|
|
443
|
-
if (!
|
|
438
|
+
function C(e, t, n) {
|
|
439
|
+
let r = e.cursor(i.IncludeAnonymous);
|
|
440
|
+
for (r.moveTo(t);;) if (!(n < 0 ? r.childBefore(t) : r.childAfter(t))) for (;;) {
|
|
441
|
+
if ((n < 0 ? r.to < t : r.from > t) && !r.type.isError) return n < 0 ? Math.max(0, Math.min(r.to - 1, t - 25)) : Math.min(e.length, Math.max(r.from + 1, t + 25));
|
|
442
|
+
if (n < 0 ? r.prevSibling() : r.nextSibling()) break;
|
|
443
|
+
if (!r.parent()) return n < 0 ? 0 : e.length;
|
|
444
444
|
}
|
|
445
445
|
}
|
|
446
446
|
var w = class {
|
|
@@ -461,24 +461,24 @@ var w = class {
|
|
|
461
461
|
for (;;) {
|
|
462
462
|
let t = this.trees.length - 1;
|
|
463
463
|
if (t < 0) return this.nextFragment(), null;
|
|
464
|
-
let
|
|
465
|
-
if (
|
|
464
|
+
let n = this.trees[t], i = this.index[t];
|
|
465
|
+
if (i == n.children.length) {
|
|
466
466
|
this.trees.pop(), this.start.pop(), this.index.pop();
|
|
467
467
|
continue;
|
|
468
468
|
}
|
|
469
|
-
let
|
|
469
|
+
let a = n.children[i], s = this.start[t] + n.positions[i];
|
|
470
470
|
if (s > e) return this.nextStart = s, null;
|
|
471
|
-
if (
|
|
471
|
+
if (a instanceof r) {
|
|
472
472
|
if (s == e) {
|
|
473
473
|
if (s < this.safeFrom) return null;
|
|
474
|
-
let e = s +
|
|
474
|
+
let e = s + a.length;
|
|
475
475
|
if (e <= this.safeTo) {
|
|
476
|
-
let t =
|
|
477
|
-
if (!t || e + t < this.fragment.to) return
|
|
476
|
+
let t = a.prop(o.lookAhead);
|
|
477
|
+
if (!t || e + t < this.fragment.to) return a;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
this.index[t]++, s +
|
|
481
|
-
} else this.index[t]++, this.nextStart = s +
|
|
480
|
+
this.index[t]++, s + a.length >= Math.max(this.safeFrom, e) && (this.trees.push(a), this.start.push(s), this.index.push(0));
|
|
481
|
+
} else this.index[t]++, this.nextStart = s + a.length;
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
}, T = class {
|
|
@@ -601,28 +601,28 @@ var w = class {
|
|
|
601
601
|
if (this.stoppedAt != null && this.stoppedAt < e) throw RangeError("Can't move stoppedAt forward");
|
|
602
602
|
this.stoppedAt = e;
|
|
603
603
|
}
|
|
604
|
-
advanceStack(e, t,
|
|
605
|
-
let
|
|
606
|
-
if (this.stoppedAt != null &&
|
|
604
|
+
advanceStack(e, t, n) {
|
|
605
|
+
let i = e.pos, { parser: a } = this, s = x ? this.stackID(e) + " -> " : "";
|
|
606
|
+
if (this.stoppedAt != null && i > this.stoppedAt) return e.forceReduce() ? e : null;
|
|
607
607
|
if (this.fragments) {
|
|
608
|
-
let t = e.curContext && e.curContext.tracker.strict,
|
|
609
|
-
for (let c = this.fragments.nodeAt(
|
|
610
|
-
let
|
|
611
|
-
if (
|
|
608
|
+
let t = e.curContext && e.curContext.tracker.strict, n = t ? e.curContext.hash : 0;
|
|
609
|
+
for (let c = this.fragments.nodeAt(i); c;) {
|
|
610
|
+
let i = this.parser.nodeSet.types[c.type.id] == c.type ? a.getGoto(e.state, c.type.id) : -1;
|
|
611
|
+
if (i > -1 && c.length && (!t || (c.prop(o.contextHash) || 0) == n)) return e.useNode(c, i), x && console.log(s + this.stackID(e) + ` (via reuse of ${a.getName(c.type.id)})`), !0;
|
|
612
612
|
if (!(c instanceof r) || c.children.length == 0 || c.positions[0] > 0) break;
|
|
613
613
|
let l = c.children[0];
|
|
614
614
|
if (l instanceof r && c.positions[0] == 0) c = l;
|
|
615
615
|
else break;
|
|
616
616
|
}
|
|
617
617
|
}
|
|
618
|
-
let c =
|
|
619
|
-
if (c > 0) return e.reduce(c), x && console.log(s + this.stackID(e) + ` (via always-reduce ${
|
|
618
|
+
let c = a.stateSlot(e.state, 4);
|
|
619
|
+
if (c > 0) return e.reduce(c), x && console.log(s + this.stackID(e) + ` (via always-reduce ${a.getName(c & 65535)})`), !0;
|
|
620
620
|
if (e.stack.length >= 8400) for (; e.stack.length > 6e3 && e.forceReduce(););
|
|
621
621
|
let l = this.tokens.getActions(e);
|
|
622
|
-
for (let
|
|
623
|
-
let
|
|
624
|
-
if (f.apply(
|
|
625
|
-
f.pos >
|
|
622
|
+
for (let r = 0; r < l.length;) {
|
|
623
|
+
let o = l[r++], c = l[r++], u = l[r++], d = r == l.length || !n, f = d ? e : e.split(), p = this.tokens.mainToken;
|
|
624
|
+
if (f.apply(o, c, p ? p.start : f.pos, u), x && console.log(s + this.stackID(f) + ` (via ${o & 65536 ? `reduce of ${a.getName(o & 65535)}` : "shift"} for ${a.getName(c)} @ ${i}${f == e ? "" : ", split"})`), d) return !0;
|
|
625
|
+
f.pos > i ? t.push(f) : n.push(f);
|
|
626
626
|
}
|
|
627
627
|
return !1;
|
|
628
628
|
}
|
|
@@ -683,42 +683,42 @@ var O = class {
|
|
|
683
683
|
constructor(e) {
|
|
684
684
|
this.start = e.start, this.shift = e.shift || k, this.reduce = e.reduce || k, this.reuse = e.reuse || k, this.hash = e.hash || (() => 0), this.strict = e.strict !== !1;
|
|
685
685
|
}
|
|
686
|
-
}, j = class
|
|
687
|
-
constructor(
|
|
688
|
-
if (super(), this.wrappers = [],
|
|
689
|
-
let
|
|
690
|
-
this.minRepeatTerm =
|
|
691
|
-
for (let
|
|
692
|
-
let
|
|
693
|
-
for (let e = 0; e <
|
|
686
|
+
}, j = class r extends a {
|
|
687
|
+
constructor(r) {
|
|
688
|
+
if (super(), this.wrappers = [], r.version != 14) throw RangeError(`Parser version (${r.version}) doesn't match runtime version (14)`);
|
|
689
|
+
let i = r.nodeNames.split(" ");
|
|
690
|
+
this.minRepeatTerm = i.length;
|
|
691
|
+
for (let e = 0; e < r.repeatNodeCount; e++) i.push("");
|
|
692
|
+
let a = Object.keys(r.topRules).map((e) => r.topRules[e][1]), s = [];
|
|
693
|
+
for (let e = 0; e < i.length; e++) s.push([]);
|
|
694
694
|
function c(e, t, n) {
|
|
695
695
|
s[e].push([t, t.deserialize(String(n))]);
|
|
696
696
|
}
|
|
697
|
-
if (
|
|
698
|
-
let
|
|
699
|
-
typeof
|
|
700
|
-
for (let n = 1; n <
|
|
701
|
-
let r =
|
|
702
|
-
if (r >= 0) c(r,
|
|
697
|
+
if (r.nodeProps) for (let e of r.nodeProps) {
|
|
698
|
+
let t = e[0];
|
|
699
|
+
typeof t == "string" && (t = o[t]);
|
|
700
|
+
for (let n = 1; n < e.length;) {
|
|
701
|
+
let r = e[n++];
|
|
702
|
+
if (r >= 0) c(r, t, e[n++]);
|
|
703
703
|
else {
|
|
704
|
-
let i =
|
|
705
|
-
for (let a = -r; a > 0; a--) c(
|
|
704
|
+
let i = e[n + -r];
|
|
705
|
+
for (let a = -r; a > 0; a--) c(e[n++], t, i);
|
|
706
706
|
n++;
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
this.nodeSet = new
|
|
711
|
-
name:
|
|
712
|
-
id:
|
|
713
|
-
props: s[
|
|
714
|
-
top:
|
|
715
|
-
error:
|
|
716
|
-
skipped:
|
|
717
|
-
}))),
|
|
718
|
-
let l = d(
|
|
719
|
-
this.context =
|
|
710
|
+
this.nodeSet = new t(i.map((e, t) => n.define({
|
|
711
|
+
name: t >= this.minRepeatTerm ? void 0 : e,
|
|
712
|
+
id: t,
|
|
713
|
+
props: s[t],
|
|
714
|
+
top: a.indexOf(t) > -1,
|
|
715
|
+
error: t == 0,
|
|
716
|
+
skipped: r.skippedNodes && r.skippedNodes.indexOf(t) > -1
|
|
717
|
+
}))), r.propSources && (this.nodeSet = this.nodeSet.extend(...r.propSources)), this.strict = !1, this.bufferLength = e;
|
|
718
|
+
let l = d(r.tokenData);
|
|
719
|
+
this.context = r.context, this.specializerSpecs = r.specialized || [], this.specialized = new Uint16Array(this.specializerSpecs.length);
|
|
720
720
|
for (let e = 0; e < this.specializerSpecs.length; e++) this.specialized[e] = this.specializerSpecs[e].term;
|
|
721
|
-
this.specializers = this.specializerSpecs.map(P), this.states = d(
|
|
721
|
+
this.specializers = this.specializerSpecs.map(P), this.states = d(r.states, Uint32Array), this.data = d(r.stateData), this.goto = d(r.goto), this.maxTerm = r.maxTerm, this.tokenizers = r.tokenizers.map((e) => typeof e == "number" ? new h(l, e) : e), this.topRules = r.topRules, this.dialects = r.dialects || {}, this.dynamicPrecedences = r.dynamicPrecedences || null, this.tokenPrecTable = r.tokenPrec, this.termNames = r.termNames || null, this.maxNode = this.nodeSet.types.length - 1, this.dialect = this.parseDialect(), this.top = this.topRules[Object.keys(this.topRules)[0]];
|
|
722
722
|
}
|
|
723
723
|
createParse(e, t, n) {
|
|
724
724
|
let r = new E(this, e, t, n);
|
|
@@ -781,22 +781,22 @@ var O = class {
|
|
|
781
781
|
}
|
|
782
782
|
return t;
|
|
783
783
|
}
|
|
784
|
-
configure(
|
|
785
|
-
let
|
|
786
|
-
if (
|
|
787
|
-
let
|
|
788
|
-
if (!
|
|
789
|
-
|
|
790
|
-
}
|
|
791
|
-
return
|
|
792
|
-
let n =
|
|
793
|
-
return n ? n.to :
|
|
794
|
-
})),
|
|
795
|
-
let i =
|
|
796
|
-
if (!i) return
|
|
797
|
-
let a = Object.assign(Object.assign({},
|
|
798
|
-
return
|
|
799
|
-
})),
|
|
784
|
+
configure(e) {
|
|
785
|
+
let t = Object.assign(Object.create(r.prototype), this);
|
|
786
|
+
if (e.props && (t.nodeSet = this.nodeSet.extend(...e.props)), e.top) {
|
|
787
|
+
let n = this.topRules[e.top];
|
|
788
|
+
if (!n) throw RangeError(`Invalid top rule name ${e.top}`);
|
|
789
|
+
t.top = n;
|
|
790
|
+
}
|
|
791
|
+
return e.tokenizers && (t.tokenizers = this.tokenizers.map((t) => {
|
|
792
|
+
let n = e.tokenizers.find((e) => e.from == t);
|
|
793
|
+
return n ? n.to : t;
|
|
794
|
+
})), e.specializers && (t.specializers = this.specializers.slice(), t.specializerSpecs = this.specializerSpecs.map((n, r) => {
|
|
795
|
+
let i = e.specializers.find((e) => e.from == n.external);
|
|
796
|
+
if (!i) return n;
|
|
797
|
+
let a = Object.assign(Object.assign({}, n), { external: i.to });
|
|
798
|
+
return t.specializers[r] = P(a), a;
|
|
799
|
+
})), e.contextTracker && (t.context = e.contextTracker), e.dialect && (t.dialect = this.parseDialect(e.dialect)), e.strict != null && (t.strict = e.strict), e.wrap && (t.wrappers = t.wrappers.concat(e.wrap)), e.bufferLength != null && (t.bufferLength = e.bufferLength), t;
|
|
800
800
|
}
|
|
801
801
|
hasWrappers() {
|
|
802
802
|
return this.wrappers.length > 0;
|
|
@@ -824,8 +824,8 @@ var O = class {
|
|
|
824
824
|
for (let e = 0; e < t.length; e++) if (!n[e]) for (let n = this.dialects[t[e]], i; (i = this.data[n++]) != 65535;) (r ||= new Uint8Array(this.maxTerm + 1))[i] = 1;
|
|
825
825
|
return new O(e, n, r);
|
|
826
826
|
}
|
|
827
|
-
static deserialize(
|
|
828
|
-
return new e
|
|
827
|
+
static deserialize(e) {
|
|
828
|
+
return new r(e);
|
|
829
829
|
}
|
|
830
830
|
};
|
|
831
831
|
function M(e, t) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as e } from "./rolldown-runtime-CEFd7nDs.js";
|
|
2
|
-
//#region ../../node_modules/@marijn/find-cluster-break/src/index.js
|
|
2
|
+
//#region ../../node_modules/.bun/@marijn+find-cluster-break@1.0.4/node_modules/@marijn/find-cluster-break/src/index.js
|
|
3
3
|
var t = [], n = [];
|
|
4
4
|
(() => {
|
|
5
|
-
let e = "lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,
|
|
5
|
+
let e = "lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,1n,9,16,o,,x,1i,3,,i,,7,a,2,t,3,1k,,,7,2,2,2,3,9,,a,2,q,,2,3,1k,,,5,4,2,2,3,3,,u,2,3,,b,3,1k,,,8,,3,,3,k,2,m,6,,3,1k,,,7,2,2,2,3,7,3,a,2,u,,1n,5,3,3,,4,9,,14,5,1j,,,7,,3,,4,7,2,b,2,t,3,1k,,,7,,3,,4,7,2,b,2,f,,c,4,1j,2,,7,,3,,4,9,,a,2,t,3,1y,,4,6,,,,8,i,2,1p,,,8,c,8,2q,,,a,b,7,21,2,r,,,,,,4,2,1d,k,,2,5,b,,10,9,,2u,b,,6,n,4,4,3,g,4,d,,,3,6,,f,,jj,3,qa,4,s,3,t,2,u,2,1s,w,9,,19,3,,,39,2,y,,3a,c,4,c,63,5,1l,a,,,,,2,o,2,,1c,1a,2,c,k,5,1b,h,12,9,c,3,u,d,1k,e,1c,k,48,3,,l,4,,6,,2,3,5i,1s,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,n,5,4,,2b,2,1e,i,q,i,d,,12,8,p,d,18,4,1b,e,10,,1v,e,c,,8,2,1a,,1f,,,3,2,2,5,2,,,15,5,5,2,6k,8,,2,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,1t,5,8t,2,25,6,1y,b,1d,4,3e,3,1h,f,15,,2,2,a,4,19,b,7,,1p,3,10,e,g,2,18,,c,3,1c,e,8,4,,2,2k,c,6,,2,,4d,c,l,4,1j,2,,7,2,2,2,3,9,,a,2,2,7,3,5,1v,9,,,2,,,4,,5,,,e,2,2a,i,n,,29,k,6j,7,2,9,r,2,2a,h,2y,d,2t,3,2,a,74,f,6t,6,,2,2,4,,,,2,3x,7,2,7,3,,s,a,14,7,,4,8,,9,b,1a,g,5i,8,5j,8,,8,2a,m,,e,3e,6,3,,,2,,7,,,1u,5,,2,,5,9n,4,9,2,,,1c,7,3,5,n,,44l,,6,f,8ug,i,1xc,5,1n,7,t4,,,1j,7,4,29,,b,2,f57,2,3mp,1a,2,n,f2,5,3,6,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,2s,,4g,7,af,,1p,4,e4,4,72,2,6r,,2,,7,2,5,,d6,7,31,7,240,5".split(",").map((e) => e ? parseInt(e, 36) : 1);
|
|
6
6
|
for (let r = 0, i = 0; r < e.length; r++) (r % 2 ? n : t).push(i += e[r]);
|
|
7
7
|
})();
|
|
8
8
|
function r(e) {
|
|
@@ -62,7 +62,7 @@ function f(e) {
|
|
|
62
62
|
return e < 65536 ? 1 : 2;
|
|
63
63
|
}
|
|
64
64
|
//#endregion
|
|
65
|
-
//#region ../../node_modules/@codemirror/state/dist/index.js
|
|
65
|
+
//#region ../../node_modules/.bun/@codemirror+state@6.7.1/node_modules/@codemirror/state/dist/index.js
|
|
66
66
|
var ee = /* @__PURE__ */ e({
|
|
67
67
|
Annotation: () => B,
|
|
68
68
|
AnnotationType: () => Ae,
|
|
@@ -1,18 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { r as t } from "./dist-
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
return i = Object.assign ? Object.assign.bind() : function(e) {
|
|
7
|
-
for (var t = 1; t < arguments.length; t++) {
|
|
8
|
-
var n = arguments[t];
|
|
9
|
-
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
10
|
-
}
|
|
11
|
-
return e;
|
|
12
|
-
}, i.apply(null, arguments);
|
|
13
|
-
}
|
|
14
|
-
//#endregion
|
|
15
|
-
//#region ../../node_modules/@uiw/codemirror-themes/esm/index.js
|
|
1
|
+
import { s as e } from "./dist-BpopSHwP.js";
|
|
2
|
+
import { r as t } from "./dist-BKuSVKCC.js";
|
|
3
|
+
import { M as n, t as r } from "./dist-CUSrALSX.js";
|
|
4
|
+
import { n as i } from "./flowWorkspace-X_T_DcQf.js";
|
|
5
|
+
//#region ../../node_modules/.bun/@uiw+codemirror-themes@4.25.11/node_modules/@uiw/codemirror-themes/esm/index.js
|
|
16
6
|
var a = (e) => {
|
|
17
7
|
var i = e.theme, a = e.settings, o = a === void 0 ? {} : a, s = e.styles, c = s === void 0 ? [] : s, l = { ".cm-gutters": {} }, u = {};
|
|
18
8
|
o.background && (u.backgroundColor = o.background), o.backgroundImage && (u.backgroundImage = o.backgroundImage), o.foreground && (u.color = o.foreground), o.fontSize && (u.fontSize = o.fontSize), (o.background || o.foreground) && (l["&"] = u), o.fontFamily && (l["&.cm-editor .cm-scroller"] = { fontFamily: o.fontFamily }), o.gutterBackground && (l[".cm-gutters"].backgroundColor = o.gutterBackground), o.gutterForeground && (l[".cm-gutters"].color = o.gutterForeground), o.gutterBorder && (l[".cm-gutters"].borderRightColor = o.gutterBorder), o.caret && (l[".cm-content"] = { caretColor: o.caret }, l[".cm-cursor, .cm-dropCursor"] = { borderLeftColor: o.caret });
|
|
@@ -114,21 +104,21 @@ var a = (e) => {
|
|
|
114
104
|
tag: e.invalid,
|
|
115
105
|
color: "#cb2431"
|
|
116
106
|
}
|
|
117
|
-
], c = (
|
|
107
|
+
], c = (e) => {
|
|
118
108
|
var t = e || {}, n = t.theme, r = n === void 0 ? "light" : n, c = t.settings, l = c === void 0 ? {} : c, u = t.styles, d = u === void 0 ? [] : u;
|
|
119
109
|
return a({
|
|
120
110
|
theme: r,
|
|
121
111
|
settings: i({}, o, l),
|
|
122
112
|
styles: [...s, ...d]
|
|
123
113
|
});
|
|
124
|
-
}
|
|
114
|
+
}, l = c(), u = {
|
|
125
115
|
background: "#0d1117",
|
|
126
116
|
foreground: "#c9d1d9",
|
|
127
117
|
caret: "#c9d1d9",
|
|
128
118
|
selection: "#003d73",
|
|
129
119
|
selectionMatch: "#003d73",
|
|
130
120
|
lineHighlight: "#36334280"
|
|
131
|
-
},
|
|
121
|
+
}, d = [
|
|
132
122
|
{
|
|
133
123
|
tag: [e.standard(e.tagName), e.tagName],
|
|
134
124
|
color: "#7ee787"
|
|
@@ -206,13 +196,13 @@ var a = (e) => {
|
|
|
206
196
|
tag: e.invalid,
|
|
207
197
|
color: "#f97583"
|
|
208
198
|
}
|
|
209
|
-
],
|
|
210
|
-
var t = e || {}, n = t.theme, r = n === void 0 ? "dark" : n, o = t.settings, s = o === void 0 ? {} : o, c = t.styles,
|
|
199
|
+
], f = (e) => {
|
|
200
|
+
var t = e || {}, n = t.theme, r = n === void 0 ? "dark" : n, o = t.settings, s = o === void 0 ? {} : o, c = t.styles, l = c === void 0 ? [] : c;
|
|
211
201
|
return a({
|
|
212
202
|
theme: r,
|
|
213
|
-
settings: i({},
|
|
214
|
-
styles: [...
|
|
203
|
+
settings: i({}, u, s),
|
|
204
|
+
styles: [...d, ...l]
|
|
215
205
|
});
|
|
216
|
-
}
|
|
206
|
+
}, p = f();
|
|
217
207
|
//#endregion
|
|
218
|
-
export {
|
|
208
|
+
export { u as defaultSettingsGithubDark, o as defaultSettingsGithubLight, p as githubDark, f as githubDarkInit, d as githubDarkStyle, l as githubLight, c as githubLightInit, s as githubLightStyle };
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
import { Dt as e, F as t, Gn as n, Kn as r, O as i, Ot as a, Vn as o, Xn as s, ar as c, br as l, cr as u, k as d, lr as f, nt as p, xn as m } from "./createLucideIcon-COMgwa_u.js";
|
|
2
|
+
import * as h from "react";
|
|
3
|
+
import { useMemo as g } from "react";
|
|
4
|
+
import { jsx as _ } from "react/jsx-runtime";
|
|
5
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/popups/popupStoreUtils.js
|
|
6
|
+
function v(e, t) {
|
|
7
|
+
let n = h.useRef(null), r = h.useRef(null);
|
|
8
|
+
return h.useCallback((i) => {
|
|
9
|
+
if (e !== void 0) {
|
|
10
|
+
if (n.current !== null) {
|
|
11
|
+
let e = n.current, i = r.current, a = t.context.triggerElements.getById(e);
|
|
12
|
+
i && a === i && t.context.triggerElements.delete(e), n.current = null, r.current = null;
|
|
13
|
+
}
|
|
14
|
+
i !== null && (n.current = e, r.current = i, t.context.triggerElements.add(e, i));
|
|
15
|
+
}
|
|
16
|
+
}, [t, e]);
|
|
17
|
+
}
|
|
18
|
+
function y(e, t, n, r) {
|
|
19
|
+
let i = n.useState("isMountedByTrigger", e), a = v(e, n), o = u((t) => {
|
|
20
|
+
if (a(t), !t || !n.select("open")) return;
|
|
21
|
+
let i = n.select("activeTriggerId");
|
|
22
|
+
if (i === e) {
|
|
23
|
+
n.update({
|
|
24
|
+
activeTriggerElement: t,
|
|
25
|
+
...r
|
|
26
|
+
});
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
i ?? n.update({
|
|
30
|
+
activeTriggerId: e,
|
|
31
|
+
activeTriggerElement: t,
|
|
32
|
+
...r
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
return c(() => {
|
|
36
|
+
i && n.update({
|
|
37
|
+
activeTriggerElement: t.current,
|
|
38
|
+
...r
|
|
39
|
+
});
|
|
40
|
+
}, [
|
|
41
|
+
i,
|
|
42
|
+
n,
|
|
43
|
+
t,
|
|
44
|
+
...Object.values(r)
|
|
45
|
+
]), {
|
|
46
|
+
registerTrigger: o,
|
|
47
|
+
isMountedByThisTrigger: i
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function b(e) {
|
|
51
|
+
let t = e.useState("open");
|
|
52
|
+
c(() => {
|
|
53
|
+
if (t && !e.select("activeTriggerId") && e.context.triggerElements.size === 1) {
|
|
54
|
+
let t = e.context.triggerElements.entries().next();
|
|
55
|
+
if (!t.done) {
|
|
56
|
+
let [n, r] = t.value;
|
|
57
|
+
e.update({
|
|
58
|
+
activeTriggerId: n,
|
|
59
|
+
activeTriggerElement: r
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}, [t, e]);
|
|
64
|
+
}
|
|
65
|
+
function x(t, n, r) {
|
|
66
|
+
let { mounted: i, setMounted: o, transitionStatus: s } = e(t);
|
|
67
|
+
n.useSyncedValues({
|
|
68
|
+
mounted: i,
|
|
69
|
+
transitionStatus: s
|
|
70
|
+
});
|
|
71
|
+
let c = u(() => {
|
|
72
|
+
o(!1), n.update({
|
|
73
|
+
activeTriggerId: null,
|
|
74
|
+
activeTriggerElement: null,
|
|
75
|
+
mounted: !1
|
|
76
|
+
}), r?.(), n.context.onOpenChangeComplete?.(!1);
|
|
77
|
+
}), l = n.useState("preventUnmountingOnClose");
|
|
78
|
+
return a({
|
|
79
|
+
enabled: !l,
|
|
80
|
+
open: t,
|
|
81
|
+
ref: n.context.popupRef,
|
|
82
|
+
onComplete() {
|
|
83
|
+
t || c();
|
|
84
|
+
}
|
|
85
|
+
}), {
|
|
86
|
+
forceUnmount: c,
|
|
87
|
+
transitionStatus: s
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/utils/getEmptyRootContext.js
|
|
92
|
+
function S() {
|
|
93
|
+
return new d({
|
|
94
|
+
open: !1,
|
|
95
|
+
transitionStatus: void 0,
|
|
96
|
+
floatingElement: null,
|
|
97
|
+
referenceElement: null,
|
|
98
|
+
triggerElements: new i(),
|
|
99
|
+
floatingId: "",
|
|
100
|
+
syncOnly: !1,
|
|
101
|
+
nested: !1,
|
|
102
|
+
onOpenChange: void 0
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
//#endregion
|
|
106
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/utils/popups/store.js
|
|
107
|
+
function C() {
|
|
108
|
+
return {
|
|
109
|
+
open: !1,
|
|
110
|
+
openProp: void 0,
|
|
111
|
+
mounted: !1,
|
|
112
|
+
transitionStatus: void 0,
|
|
113
|
+
floatingRootContext: S(),
|
|
114
|
+
preventUnmountingOnClose: !1,
|
|
115
|
+
payload: void 0,
|
|
116
|
+
activeTriggerId: null,
|
|
117
|
+
activeTriggerElement: null,
|
|
118
|
+
triggerIdProp: void 0,
|
|
119
|
+
popupElement: null,
|
|
120
|
+
positionerElement: null,
|
|
121
|
+
activeTriggerProps: s,
|
|
122
|
+
inactiveTriggerProps: s,
|
|
123
|
+
popupProps: s
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
var w = p((e) => e.triggerIdProp ?? e.activeTriggerId), T = {
|
|
127
|
+
open: p((e) => e.openProp ?? e.open),
|
|
128
|
+
mounted: p((e) => e.mounted),
|
|
129
|
+
transitionStatus: p((e) => e.transitionStatus),
|
|
130
|
+
floatingRootContext: p((e) => e.floatingRootContext),
|
|
131
|
+
preventUnmountingOnClose: p((e) => e.preventUnmountingOnClose),
|
|
132
|
+
payload: p((e) => e.payload),
|
|
133
|
+
activeTriggerId: w,
|
|
134
|
+
activeTriggerElement: p((e) => e.mounted ? e.activeTriggerElement : null),
|
|
135
|
+
isTriggerActive: p((e, t) => t !== void 0 && w(e) === t),
|
|
136
|
+
isOpenedByTrigger: p((e, t) => t !== void 0 && w(e) === t && e.open),
|
|
137
|
+
isMountedByTrigger: p((e, t) => t !== void 0 && w(e) === t && e.mounted),
|
|
138
|
+
triggerProps: p((e, t) => t ? e.activeTriggerProps : e.inactiveTriggerProps),
|
|
139
|
+
popupProps: p((e) => e.popupProps),
|
|
140
|
+
popupElement: p((e) => e.popupElement),
|
|
141
|
+
positionerElement: p((e) => e.positionerElement)
|
|
142
|
+
};
|
|
143
|
+
//#endregion
|
|
144
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useSyncedFloatingRootContext.js
|
|
145
|
+
function E(e) {
|
|
146
|
+
let { popupStore: n, treatPopupAsFloatingElement: r = !1, onOpenChange: i } = e, a = o(), s = t() != null, u = n.useState("open"), p = n.useState("activeTriggerElement"), m = n.useState(r ? "popupElement" : "positionerElement"), h = n.context.triggerElements, g = f(() => new d({
|
|
147
|
+
open: u,
|
|
148
|
+
transitionStatus: void 0,
|
|
149
|
+
referenceElement: p,
|
|
150
|
+
floatingElement: m,
|
|
151
|
+
triggerElements: h,
|
|
152
|
+
onOpenChange: i,
|
|
153
|
+
floatingId: a,
|
|
154
|
+
syncOnly: !0,
|
|
155
|
+
nested: s
|
|
156
|
+
})).current;
|
|
157
|
+
return c(() => {
|
|
158
|
+
let e = {
|
|
159
|
+
open: u,
|
|
160
|
+
floatingId: a,
|
|
161
|
+
referenceElement: p,
|
|
162
|
+
floatingElement: m
|
|
163
|
+
};
|
|
164
|
+
l(p) && (e.domReferenceElement = p), g.state.positionReference === g.state.referenceElement && (e.positionReference = p), g.update(e);
|
|
165
|
+
}, [
|
|
166
|
+
u,
|
|
167
|
+
a,
|
|
168
|
+
p,
|
|
169
|
+
m,
|
|
170
|
+
g
|
|
171
|
+
]), g.context.onOpenChange = i, g.context.nested = s, g;
|
|
172
|
+
}
|
|
173
|
+
//#endregion
|
|
174
|
+
//#region ../../node_modules/.bun/@base-ui+react@1.4.1+b87d06724be9db7a/node_modules/@base-ui/react/esm/floating-ui-react/hooks/useRole.js
|
|
175
|
+
var D = /* @__PURE__ */ new Map([
|
|
176
|
+
["select", "listbox"],
|
|
177
|
+
["combobox", "listbox"],
|
|
178
|
+
["label", !1]
|
|
179
|
+
]);
|
|
180
|
+
function O(e, n = {}) {
|
|
181
|
+
let r = "rootStore" in e ? e.rootStore : e, i = r.useState("open"), a = r.useState("floatingId"), c = r.useState("domReferenceElement"), l = r.useState("floatingElement"), { role: u = "dialog" } = n, d = o(), f = c?.id || d, p = h.useMemo(() => m(l)?.id || a, [l, a]), g = D.get(u) ?? u, _ = t() != null, v = h.useMemo(() => g === "tooltip" || u === "label" ? s : {
|
|
182
|
+
"aria-haspopup": g === "alertdialog" ? "dialog" : g,
|
|
183
|
+
"aria-expanded": "false",
|
|
184
|
+
...g === "listbox" && { role: "combobox" },
|
|
185
|
+
...g === "menu" && _ && { role: "menuitem" },
|
|
186
|
+
...u === "select" && { "aria-autocomplete": "none" },
|
|
187
|
+
...u === "combobox" && { "aria-autocomplete": "list" }
|
|
188
|
+
}, [
|
|
189
|
+
g,
|
|
190
|
+
_,
|
|
191
|
+
u
|
|
192
|
+
]), y = h.useMemo(() => g === "tooltip" || u === "label" ? { [`aria-${u === "label" ? "labelledby" : "describedby"}`]: i ? p : void 0 } : {
|
|
193
|
+
...v,
|
|
194
|
+
"aria-expanded": i ? "true" : "false",
|
|
195
|
+
"aria-controls": i ? p : void 0,
|
|
196
|
+
...g === "menu" && { id: f }
|
|
197
|
+
}, [
|
|
198
|
+
g,
|
|
199
|
+
p,
|
|
200
|
+
i,
|
|
201
|
+
f,
|
|
202
|
+
u,
|
|
203
|
+
v
|
|
204
|
+
]), b = h.useMemo(() => {
|
|
205
|
+
let e = {
|
|
206
|
+
id: p,
|
|
207
|
+
...g && { role: g }
|
|
208
|
+
};
|
|
209
|
+
return g === "tooltip" || u === "label" ? e : {
|
|
210
|
+
...e,
|
|
211
|
+
...g === "menu" && { "aria-labelledby": f }
|
|
212
|
+
};
|
|
213
|
+
}, [
|
|
214
|
+
g,
|
|
215
|
+
p,
|
|
216
|
+
f,
|
|
217
|
+
u
|
|
218
|
+
]), x = h.useCallback(({ active: e, selected: t }) => {
|
|
219
|
+
let n = {
|
|
220
|
+
role: "option",
|
|
221
|
+
...e && { id: `${p}-fui-option` }
|
|
222
|
+
};
|
|
223
|
+
switch (u) {
|
|
224
|
+
case "select":
|
|
225
|
+
case "combobox": return {
|
|
226
|
+
...n,
|
|
227
|
+
"aria-selected": t
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
return {};
|
|
231
|
+
}, [p, u]);
|
|
232
|
+
return h.useMemo(() => ({
|
|
233
|
+
reference: y,
|
|
234
|
+
floating: b,
|
|
235
|
+
item: x,
|
|
236
|
+
trigger: v
|
|
237
|
+
}), [
|
|
238
|
+
y,
|
|
239
|
+
b,
|
|
240
|
+
v,
|
|
241
|
+
x
|
|
242
|
+
]);
|
|
243
|
+
}
|
|
244
|
+
//#endregion
|
|
245
|
+
//#region src/ui/browser/label.tsx
|
|
246
|
+
function k({ className: e, ...t }) {
|
|
247
|
+
return /* @__PURE__ */ _("label", {
|
|
248
|
+
"data-slot": "label",
|
|
249
|
+
className: n("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
|
|
250
|
+
...t
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
//#endregion
|
|
254
|
+
//#region src/ui/browser/field.tsx
|
|
255
|
+
function A({ className: e, ...t }) {
|
|
256
|
+
return /* @__PURE__ */ _("div", {
|
|
257
|
+
"data-slot": "field-group",
|
|
258
|
+
className: n("group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4", e),
|
|
259
|
+
...t
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
var j = r("group/field flex w-full gap-2 data-[invalid=true]:text-destructive", {
|
|
263
|
+
variants: { orientation: {
|
|
264
|
+
vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
|
|
265
|
+
horizontal: "flex-row items-center has-[>[data-slot=field-content]]:items-start *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
|
|
266
|
+
responsive: "flex-col *:w-full @md/field-group:flex-row @md/field-group:items-center @md/field-group:*:w-auto @md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:*:data-[slot=field-label]:flex-auto [&>.sr-only]:w-auto @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
|
|
267
|
+
} },
|
|
268
|
+
defaultVariants: { orientation: "vertical" }
|
|
269
|
+
});
|
|
270
|
+
function M({ className: e, orientation: t = "vertical", ...r }) {
|
|
271
|
+
return /* @__PURE__ */ _("div", {
|
|
272
|
+
role: "group",
|
|
273
|
+
"data-slot": "field",
|
|
274
|
+
"data-orientation": t,
|
|
275
|
+
className: n(j({ orientation: t }), e),
|
|
276
|
+
...r
|
|
277
|
+
});
|
|
278
|
+
}
|
|
279
|
+
function N({ className: e, ...t }) {
|
|
280
|
+
return /* @__PURE__ */ _(k, {
|
|
281
|
+
"data-slot": "field-label",
|
|
282
|
+
className: n("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50 has-data-checked:border-primary/30 has-data-checked:bg-primary/5 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-[>[data-slot=field]]:not-has-[:disabled,[data-disabled]]:hover:bg-muted/50 has-[>[data-slot=field]]:has-[:focus-visible]:border-ring has-[>[data-slot=field]]:has-[:focus-visible]:ring-3 has-[>[data-slot=field]]:has-[:focus-visible]:ring-ring/50 *:data-[slot=field]:p-2.5 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", e),
|
|
283
|
+
...t
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
function P({ className: e, ...t }) {
|
|
287
|
+
return /* @__PURE__ */ _("p", {
|
|
288
|
+
"data-slot": "field-description",
|
|
289
|
+
className: n("text-left text-sm leading-normal font-normal text-muted-foreground group-has-data-horizontal/field:text-balance [[data-variant=legend]+&]:-mt-1.5", "last:mt-0 nth-last-2:-mt-1", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-primary", e),
|
|
290
|
+
...t
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
function F({ className: e, children: t, errors: r, ...i }) {
|
|
294
|
+
let a = g(() => {
|
|
295
|
+
if (t) return t;
|
|
296
|
+
if (!r?.length) return null;
|
|
297
|
+
let e = [...new Map(r.map((e) => [e?.message, e])).values()];
|
|
298
|
+
return e?.length == 1 ? e[0]?.message : /* @__PURE__ */ _("ul", {
|
|
299
|
+
className: "ml-4 flex list-disc flex-col gap-1",
|
|
300
|
+
children: e.map((e, t) => e?.message && /* @__PURE__ */ _("li", { children: e.message }, t))
|
|
301
|
+
});
|
|
302
|
+
}, [t, r]);
|
|
303
|
+
return a ? /* @__PURE__ */ _("div", {
|
|
304
|
+
role: "alert",
|
|
305
|
+
"data-slot": "field-error",
|
|
306
|
+
className: n("text-sm font-normal text-destructive", e),
|
|
307
|
+
...i,
|
|
308
|
+
children: a
|
|
309
|
+
}) : null;
|
|
310
|
+
}
|
|
311
|
+
//#endregion
|
|
312
|
+
export { N as a, C as c, x as d, y as f, A as i, T as l, P as n, O as o, v as p, F as r, E as s, M as t, b as u };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ChangeOperation, GraphEdge, GraphTarget, RevisionContent } from './flow-change.js';
|
|
2
|
+
export declare function connect(content: RevisionContent, target: GraphTarget, edge: GraphEdge): readonly ChangeOperation[];
|
|
3
|
+
export declare function disconnect(content: RevisionContent, target: GraphTarget, edge: GraphEdge): readonly ChangeOperation[];
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ChangeOperation } from './flow-change.js';
|
|
2
|
+
export declare function imports(source: string): Promise<readonly string[]>;
|
|
3
|
+
export declare function replaceSource(moduleId: string, source: string, moduleImports: readonly string[]): readonly ChangeOperation[];
|
|
4
|
+
export declare function rename(moduleId: string, name: string): readonly ChangeOperation[];
|