@oomol-lab/open-flow 0.1.0-beta.42 → 0.1.0-beta.43
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.
|
@@ -39335,139 +39335,139 @@ function IH(e, t, n) {
|
|
|
39335
39335
|
}
|
|
39336
39336
|
//#endregion
|
|
39337
39337
|
//#region src/workbench/browser/runtime/editor/revisionCanvas.tsx
|
|
39338
|
-
function LH({ draft: e, presentation: t, theme: n, interactiveMode$: r, label: i, striped: a = !0 }) {
|
|
39339
|
-
let
|
|
39338
|
+
function LH({ draft: e, presentation: t, theme: n, interactiveMode$: r, label: i, striped: a = !0, showHeader: o = !0 }) {
|
|
39339
|
+
let s = Y(null), c = U(), l = it(), u = zi(() => we(e), [e]), [d, f] = X({ kind: "flow" }), p = d.kind === "flow" ? "flow" : `subflow:${d.id}`, [m, h] = X({}), [g, _] = X([]), [v, y] = X(!1), [b, x] = X(), S = zi(() => w(e, d, t?.value, [], {}, {}, c), [
|
|
39340
39340
|
e,
|
|
39341
|
-
|
|
39341
|
+
d,
|
|
39342
39342
|
t,
|
|
39343
|
-
|
|
39344
|
-
]),
|
|
39345
|
-
...
|
|
39346
|
-
viewport:
|
|
39347
|
-
nodes:
|
|
39343
|
+
c
|
|
39344
|
+
]), C = m[p], T = zi(() => ({
|
|
39345
|
+
...S,
|
|
39346
|
+
viewport: C?.viewport ?? S.viewport,
|
|
39347
|
+
nodes: S.nodes.map((e) => ({
|
|
39348
39348
|
...e,
|
|
39349
|
-
position:
|
|
39349
|
+
position: C?.positions?.[e.id] ?? e.position
|
|
39350
39350
|
}))
|
|
39351
|
-
}), [
|
|
39352
|
-
let t =
|
|
39351
|
+
}), [S, C]), E = S.nodes.some((e) => {
|
|
39352
|
+
let t = C?.positions?.[e.id];
|
|
39353
39353
|
return t != null && (t.x !== e.position.x || t.y !== e.position.y);
|
|
39354
|
-
}),
|
|
39355
|
-
|
|
39356
|
-
},
|
|
39357
|
-
|
|
39358
|
-
}
|
|
39354
|
+
}), D = (e) => {
|
|
39355
|
+
f(e), _([]), x(void 0);
|
|
39356
|
+
}, O = g.length === 1 ? u.node(d, g[0]) : void 0, k = g.length === 1 ? T.nodes.find((e) => e.id === g[0] && e.kind === "comment") : void 0, A = (e) => {
|
|
39357
|
+
_(e), y(!0);
|
|
39358
|
+
}, j = d.kind === "subflow" || t == null || E ? /* @__PURE__ */ $(Z, { children: [
|
|
39359
|
+
d.kind === "subflow" && /* @__PURE__ */ Q(W, {
|
|
39360
|
+
size: "xs",
|
|
39361
|
+
variant: "ghost",
|
|
39362
|
+
onClick: () => D({ kind: "flow" }),
|
|
39363
|
+
children: c("snapshot.root")
|
|
39364
|
+
}),
|
|
39365
|
+
d.kind === "subflow" && /* @__PURE__ */ Q("span", {
|
|
39366
|
+
className: "truncate",
|
|
39367
|
+
children: u.subflow(d.id)?.name ?? d.id
|
|
39368
|
+
}),
|
|
39369
|
+
t == null && /* @__PURE__ */ Q("span", {
|
|
39370
|
+
className: "revision-viewer-hint",
|
|
39371
|
+
children: c("snapshot.missingLayout")
|
|
39372
|
+
}),
|
|
39373
|
+
E && /* @__PURE__ */ $(W, {
|
|
39374
|
+
className: "ml-auto",
|
|
39375
|
+
size: "xs",
|
|
39376
|
+
variant: "outline",
|
|
39377
|
+
onClick: () => h((e) => IH(e, p, { kind: "restore" })),
|
|
39378
|
+
children: [/* @__PURE__ */ Q("i", {
|
|
39379
|
+
"aria-hidden": "true",
|
|
39380
|
+
className: "i-lucide-light:rotate-ccw"
|
|
39381
|
+
}), c("snapshot.restore")]
|
|
39382
|
+
})
|
|
39383
|
+
] }) : void 0;
|
|
39359
39384
|
return /* @__PURE__ */ $("section", {
|
|
39360
|
-
ref:
|
|
39361
|
-
className: `revision-viewer${
|
|
39362
|
-
"aria-label": i ??
|
|
39363
|
-
children: [/* @__PURE__ */ $("header", {
|
|
39385
|
+
ref: s,
|
|
39386
|
+
className: `revision-viewer${v ? " inspector-open" : ""}`,
|
|
39387
|
+
"aria-label": i ?? c("snapshot.title"),
|
|
39388
|
+
children: [o && /* @__PURE__ */ $("header", {
|
|
39364
39389
|
className: "revision-viewer-toolbar",
|
|
39365
|
-
children: [
|
|
39366
|
-
|
|
39367
|
-
|
|
39368
|
-
|
|
39369
|
-
|
|
39370
|
-
|
|
39371
|
-
|
|
39372
|
-
}),
|
|
39373
|
-
u.kind === "subflow" && /* @__PURE__ */ Q(W, {
|
|
39374
|
-
size: "xs",
|
|
39375
|
-
variant: "ghost",
|
|
39376
|
-
onClick: () => E({ kind: "flow" }),
|
|
39377
|
-
children: s("snapshot.root")
|
|
39378
|
-
}),
|
|
39379
|
-
u.kind === "subflow" && /* @__PURE__ */ Q("span", {
|
|
39380
|
-
className: "truncate",
|
|
39381
|
-
children: l.subflow(u.id)?.name ?? u.id
|
|
39382
|
-
}),
|
|
39383
|
-
t == null && /* @__PURE__ */ Q("span", {
|
|
39384
|
-
className: "revision-viewer-hint",
|
|
39385
|
-
children: s("snapshot.missingLayout")
|
|
39386
|
-
}),
|
|
39387
|
-
T && /* @__PURE__ */ $(W, {
|
|
39388
|
-
className: "ml-auto",
|
|
39389
|
-
size: "xs",
|
|
39390
|
-
variant: "outline",
|
|
39391
|
-
onClick: () => m((e) => IH(e, f, { kind: "restore" })),
|
|
39392
|
-
children: [/* @__PURE__ */ Q("i", {
|
|
39393
|
-
"aria-hidden": "true",
|
|
39394
|
-
className: "i-lucide-light:rotate-ccw"
|
|
39395
|
-
}), s("snapshot.restore")]
|
|
39396
|
-
})
|
|
39397
|
-
]
|
|
39390
|
+
children: [/* @__PURE__ */ $("span", {
|
|
39391
|
+
className: "inline-flex items-center gap-1.5 font-medium",
|
|
39392
|
+
children: [/* @__PURE__ */ Q("i", {
|
|
39393
|
+
"aria-hidden": "true",
|
|
39394
|
+
className: "i-lucide-light:lock-keyhole"
|
|
39395
|
+
}), i ?? c("snapshot.title")]
|
|
39396
|
+
}), j]
|
|
39398
39397
|
}), /* @__PURE__ */ $("div", {
|
|
39399
39398
|
className: "revision-viewer-body",
|
|
39400
39399
|
children: [/* @__PURE__ */ $("div", {
|
|
39401
39400
|
className: "revision-viewer-canvas",
|
|
39402
39401
|
children: [/* @__PURE__ */ Q(_H, {
|
|
39403
|
-
identity:
|
|
39404
|
-
model:
|
|
39402
|
+
identity: p,
|
|
39403
|
+
model: T,
|
|
39405
39404
|
editable: !1,
|
|
39406
39405
|
nodesDraggable: !0,
|
|
39407
|
-
fitView:
|
|
39406
|
+
fitView: C?.viewport == null,
|
|
39408
39407
|
className: a ? "open-flow-canvas-locked" : void 0,
|
|
39409
39408
|
dark: n === "dark",
|
|
39410
|
-
language:
|
|
39409
|
+
language: l,
|
|
39411
39410
|
interactiveMode$: r,
|
|
39412
|
-
selectedNodeIds:
|
|
39411
|
+
selectedNodeIds: g,
|
|
39413
39412
|
ignoredNodeIds: [],
|
|
39414
|
-
focusNodeRequest:
|
|
39415
|
-
onMoveNodes: (e) =>
|
|
39413
|
+
focusNodeRequest: b,
|
|
39414
|
+
onMoveNodes: (e) => h((t) => IH(t, p, {
|
|
39416
39415
|
kind: "move",
|
|
39417
39416
|
positions: e
|
|
39418
39417
|
})),
|
|
39419
|
-
onMoveViewport: (e) =>
|
|
39418
|
+
onMoveViewport: (e) => h((t) => IH(t, p, {
|
|
39420
39419
|
kind: "viewport",
|
|
39421
39420
|
viewport: e
|
|
39422
39421
|
})),
|
|
39423
|
-
onSelectionChange:
|
|
39424
|
-
onActivateSelection:
|
|
39425
|
-
onInspectSelection: () =>
|
|
39426
|
-
inspectorOpen:
|
|
39422
|
+
onSelectionChange: _,
|
|
39423
|
+
onActivateSelection: A,
|
|
39424
|
+
onInspectSelection: () => y(!0),
|
|
39425
|
+
inspectorOpen: v,
|
|
39426
|
+
toolbar: o ? void 0 : j,
|
|
39427
39427
|
cornerTools: /* @__PURE__ */ Q(bH, {
|
|
39428
|
-
label:
|
|
39429
|
-
open:
|
|
39428
|
+
label: c("designer.toggleInspector"),
|
|
39429
|
+
open: v,
|
|
39430
39430
|
disabled: !1,
|
|
39431
|
-
onToggle: () =>
|
|
39431
|
+
onToggle: () => y((e) => !e)
|
|
39432
39432
|
})
|
|
39433
|
-
},
|
|
39433
|
+
}, p), T.nodes.length === 0 && /* @__PURE__ */ Q("p", {
|
|
39434
39434
|
className: "revision-viewer-empty",
|
|
39435
|
-
children:
|
|
39435
|
+
children: c("inspector.emptyOutline")
|
|
39436
39436
|
})]
|
|
39437
|
-
}),
|
|
39438
|
-
layoutRoot:
|
|
39437
|
+
}), v && /* @__PURE__ */ Q(mc, {
|
|
39438
|
+
layoutRoot: s,
|
|
39439
39439
|
className: "open-flow-property-panel",
|
|
39440
39440
|
theme: n,
|
|
39441
|
-
title:
|
|
39442
|
-
icon: Cx(
|
|
39441
|
+
title: O?.node.name ?? k?.title ?? c("inspector.title"),
|
|
39442
|
+
icon: Cx(O, d),
|
|
39443
39443
|
focusOnOpen: !0,
|
|
39444
|
-
onClose: () =>
|
|
39445
|
-
children:
|
|
39444
|
+
onClose: () => y(!1),
|
|
39445
|
+
children: O == null ? k?.kind === "comment" ? /* @__PURE__ */ Q("div", {
|
|
39446
39446
|
className: "inspector-content",
|
|
39447
39447
|
children: /* @__PURE__ */ Q(Iv, { data: {
|
|
39448
|
-
title:
|
|
39449
|
-
content:
|
|
39448
|
+
title: k.title,
|
|
39449
|
+
content: k.content
|
|
39450
39450
|
} })
|
|
39451
39451
|
}) : /* @__PURE__ */ Q(Vl, {
|
|
39452
|
-
nodes:
|
|
39453
|
-
onSelect: (e) =>
|
|
39452
|
+
nodes: g.length > 1 ? T.nodes.filter((e) => g.includes(e.id)) : T.nodes,
|
|
39453
|
+
onSelect: (e) => A([e]),
|
|
39454
39454
|
onFocusNode: (e) => {
|
|
39455
|
-
|
|
39455
|
+
_([e]), x({
|
|
39456
39456
|
nodeId: e,
|
|
39457
|
-
requestId: (
|
|
39457
|
+
requestId: (b?.requestId ?? 0) + 1
|
|
39458
39458
|
});
|
|
39459
39459
|
}
|
|
39460
39460
|
}) : /* @__PURE__ */ Q(Tx, {
|
|
39461
39461
|
readOnly: !0,
|
|
39462
|
-
revision:
|
|
39463
|
-
selection:
|
|
39464
|
-
target:
|
|
39462
|
+
revision: u,
|
|
39463
|
+
selection: O,
|
|
39464
|
+
target: d,
|
|
39465
39465
|
theme: n,
|
|
39466
|
-
onOpenSubflow: (e) =>
|
|
39466
|
+
onOpenSubflow: (e) => D({
|
|
39467
39467
|
kind: "subflow",
|
|
39468
39468
|
id: e
|
|
39469
39469
|
})
|
|
39470
|
-
}, `${
|
|
39470
|
+
}, `${p}:${O.id}`)
|
|
39471
39471
|
})]
|
|
39472
39472
|
})]
|
|
39473
39473
|
});
|
package/dist/browser/preview.js
CHANGED
|
@@ -87869,139 +87869,139 @@ function lde({ label: e, open: t, disabled: n = !1, onToggle: r }) {
|
|
|
87869
87869
|
}
|
|
87870
87870
|
//#endregion
|
|
87871
87871
|
//#region src/workbench/browser/runtime/editor/revisionCanvas.tsx
|
|
87872
|
-
function ude({ draft: e, presentation: t, theme: n, interactiveMode$: r, label: i, striped: a = !0 }) {
|
|
87873
|
-
let
|
|
87872
|
+
function ude({ draft: e, presentation: t, theme: n, interactiveMode$: r, label: i, striped: a = !0, showHeader: o = !0 }) {
|
|
87873
|
+
let c = V(null), l = p(), u = s(), d = z(() => BQ(e), [e]), [f, m] = H({ kind: "flow" }), h = f.kind === "flow" ? "flow" : `subflow:${f.id}`, [g, _] = H({}), [v, y] = H([]), [b, x] = H(!1), [S, C] = H(), w = z(() => D$(e, f, t?.value, [], {}, {}, l), [
|
|
87874
87874
|
e,
|
|
87875
|
-
|
|
87875
|
+
f,
|
|
87876
87876
|
t,
|
|
87877
|
-
|
|
87878
|
-
]),
|
|
87879
|
-
...
|
|
87880
|
-
viewport:
|
|
87881
|
-
nodes:
|
|
87877
|
+
l
|
|
87878
|
+
]), T = g[h], E = z(() => ({
|
|
87879
|
+
...w,
|
|
87880
|
+
viewport: T?.viewport ?? w.viewport,
|
|
87881
|
+
nodes: w.nodes.map((e) => ({
|
|
87882
87882
|
...e,
|
|
87883
|
-
position:
|
|
87883
|
+
position: T?.positions?.[e.id] ?? e.position
|
|
87884
87884
|
}))
|
|
87885
|
-
}), [
|
|
87886
|
-
let t =
|
|
87885
|
+
}), [w, T]), D = w.nodes.some((e) => {
|
|
87886
|
+
let t = T?.positions?.[e.id];
|
|
87887
87887
|
return t != null && (t.x !== e.position.x || t.y !== e.position.y);
|
|
87888
|
-
}),
|
|
87889
|
-
|
|
87890
|
-
},
|
|
87891
|
-
|
|
87892
|
-
}
|
|
87888
|
+
}), O = (e) => {
|
|
87889
|
+
m(e), y([]), C(void 0);
|
|
87890
|
+
}, k = v.length === 1 ? d.node(f, v[0]) : void 0, A = v.length === 1 ? E.nodes.find((e) => e.id === v[0] && e.kind === "comment") : void 0, j = (e) => {
|
|
87891
|
+
y(e), x(!0);
|
|
87892
|
+
}, M = f.kind === "subflow" || t == null || D ? /* @__PURE__ */ K(W, { children: [
|
|
87893
|
+
f.kind === "subflow" && /* @__PURE__ */ G(Y, {
|
|
87894
|
+
size: "xs",
|
|
87895
|
+
variant: "ghost",
|
|
87896
|
+
onClick: () => O({ kind: "flow" }),
|
|
87897
|
+
children: l("snapshot.root")
|
|
87898
|
+
}),
|
|
87899
|
+
f.kind === "subflow" && /* @__PURE__ */ G("span", {
|
|
87900
|
+
className: "truncate",
|
|
87901
|
+
children: d.subflow(f.id)?.name ?? f.id
|
|
87902
|
+
}),
|
|
87903
|
+
t == null && /* @__PURE__ */ G("span", {
|
|
87904
|
+
className: "revision-viewer-hint",
|
|
87905
|
+
children: l("snapshot.missingLayout")
|
|
87906
|
+
}),
|
|
87907
|
+
D && /* @__PURE__ */ K(Y, {
|
|
87908
|
+
className: "ml-auto",
|
|
87909
|
+
size: "xs",
|
|
87910
|
+
variant: "outline",
|
|
87911
|
+
onClick: () => _((e) => $9(e, h, { kind: "restore" })),
|
|
87912
|
+
children: [/* @__PURE__ */ G("i", {
|
|
87913
|
+
"aria-hidden": "true",
|
|
87914
|
+
className: "i-lucide-light:rotate-ccw"
|
|
87915
|
+
}), l("snapshot.restore")]
|
|
87916
|
+
})
|
|
87917
|
+
] }) : void 0;
|
|
87893
87918
|
return /* @__PURE__ */ K("section", {
|
|
87894
|
-
ref:
|
|
87895
|
-
className: `revision-viewer${
|
|
87896
|
-
"aria-label": i ??
|
|
87897
|
-
children: [/* @__PURE__ */ K("header", {
|
|
87919
|
+
ref: c,
|
|
87920
|
+
className: `revision-viewer${b ? " inspector-open" : ""}`,
|
|
87921
|
+
"aria-label": i ?? l("snapshot.title"),
|
|
87922
|
+
children: [o && /* @__PURE__ */ K("header", {
|
|
87898
87923
|
className: "revision-viewer-toolbar",
|
|
87899
|
-
children: [
|
|
87900
|
-
|
|
87901
|
-
|
|
87902
|
-
|
|
87903
|
-
|
|
87904
|
-
|
|
87905
|
-
|
|
87906
|
-
}),
|
|
87907
|
-
d.kind === "subflow" && /* @__PURE__ */ G(Y, {
|
|
87908
|
-
size: "xs",
|
|
87909
|
-
variant: "ghost",
|
|
87910
|
-
onClick: () => D({ kind: "flow" }),
|
|
87911
|
-
children: c("snapshot.root")
|
|
87912
|
-
}),
|
|
87913
|
-
d.kind === "subflow" && /* @__PURE__ */ G("span", {
|
|
87914
|
-
className: "truncate",
|
|
87915
|
-
children: u.subflow(d.id)?.name ?? d.id
|
|
87916
|
-
}),
|
|
87917
|
-
t == null && /* @__PURE__ */ G("span", {
|
|
87918
|
-
className: "revision-viewer-hint",
|
|
87919
|
-
children: c("snapshot.missingLayout")
|
|
87920
|
-
}),
|
|
87921
|
-
E && /* @__PURE__ */ K(Y, {
|
|
87922
|
-
className: "ml-auto",
|
|
87923
|
-
size: "xs",
|
|
87924
|
-
variant: "outline",
|
|
87925
|
-
onClick: () => g((e) => $9(e, m, { kind: "restore" })),
|
|
87926
|
-
children: [/* @__PURE__ */ G("i", {
|
|
87927
|
-
"aria-hidden": "true",
|
|
87928
|
-
className: "i-lucide-light:rotate-ccw"
|
|
87929
|
-
}), c("snapshot.restore")]
|
|
87930
|
-
})
|
|
87931
|
-
]
|
|
87924
|
+
children: [/* @__PURE__ */ K("span", {
|
|
87925
|
+
className: "inline-flex items-center gap-1.5 font-medium",
|
|
87926
|
+
children: [/* @__PURE__ */ G("i", {
|
|
87927
|
+
"aria-hidden": "true",
|
|
87928
|
+
className: "i-lucide-light:lock-keyhole"
|
|
87929
|
+
}), i ?? l("snapshot.title")]
|
|
87930
|
+
}), M]
|
|
87932
87931
|
}), /* @__PURE__ */ K("div", {
|
|
87933
87932
|
className: "revision-viewer-body",
|
|
87934
87933
|
children: [/* @__PURE__ */ K("div", {
|
|
87935
87934
|
className: "revision-viewer-canvas",
|
|
87936
87935
|
children: [/* @__PURE__ */ G(sL, {
|
|
87937
|
-
identity:
|
|
87938
|
-
model:
|
|
87936
|
+
identity: h,
|
|
87937
|
+
model: E,
|
|
87939
87938
|
editable: !1,
|
|
87940
87939
|
nodesDraggable: !0,
|
|
87941
|
-
fitView:
|
|
87940
|
+
fitView: T?.viewport == null,
|
|
87942
87941
|
className: a ? "open-flow-canvas-locked" : void 0,
|
|
87943
87942
|
dark: n === "dark",
|
|
87944
|
-
language:
|
|
87943
|
+
language: u,
|
|
87945
87944
|
interactiveMode$: r,
|
|
87946
|
-
selectedNodeIds:
|
|
87945
|
+
selectedNodeIds: v,
|
|
87947
87946
|
ignoredNodeIds: [],
|
|
87948
|
-
focusNodeRequest:
|
|
87949
|
-
onMoveNodes: (e) =>
|
|
87947
|
+
focusNodeRequest: S,
|
|
87948
|
+
onMoveNodes: (e) => _((t) => $9(t, h, {
|
|
87950
87949
|
kind: "move",
|
|
87951
87950
|
positions: e
|
|
87952
87951
|
})),
|
|
87953
|
-
onMoveViewport: (e) =>
|
|
87952
|
+
onMoveViewport: (e) => _((t) => $9(t, h, {
|
|
87954
87953
|
kind: "viewport",
|
|
87955
87954
|
viewport: e
|
|
87956
87955
|
})),
|
|
87957
|
-
onSelectionChange:
|
|
87958
|
-
onActivateSelection:
|
|
87959
|
-
onInspectSelection: () =>
|
|
87960
|
-
inspectorOpen:
|
|
87956
|
+
onSelectionChange: y,
|
|
87957
|
+
onActivateSelection: j,
|
|
87958
|
+
onInspectSelection: () => x(!0),
|
|
87959
|
+
inspectorOpen: b,
|
|
87960
|
+
toolbar: o ? void 0 : M,
|
|
87961
87961
|
cornerTools: /* @__PURE__ */ G(lde, {
|
|
87962
|
-
label:
|
|
87963
|
-
open:
|
|
87962
|
+
label: l("designer.toggleInspector"),
|
|
87963
|
+
open: b,
|
|
87964
87964
|
disabled: !1,
|
|
87965
|
-
onToggle: () =>
|
|
87965
|
+
onToggle: () => x((e) => !e)
|
|
87966
87966
|
})
|
|
87967
|
-
},
|
|
87967
|
+
}, h), E.nodes.length === 0 && /* @__PURE__ */ G("p", {
|
|
87968
87968
|
className: "revision-viewer-empty",
|
|
87969
|
-
children:
|
|
87969
|
+
children: l("inspector.emptyOutline")
|
|
87970
87970
|
})]
|
|
87971
|
-
}),
|
|
87972
|
-
layoutRoot:
|
|
87971
|
+
}), b && /* @__PURE__ */ G(P$, {
|
|
87972
|
+
layoutRoot: c,
|
|
87973
87973
|
className: "open-flow-property-panel",
|
|
87974
87974
|
theme: n,
|
|
87975
|
-
title:
|
|
87976
|
-
icon: sde(
|
|
87975
|
+
title: k?.node.name ?? A?.title ?? l("inspector.title"),
|
|
87976
|
+
icon: sde(k, f),
|
|
87977
87977
|
focusOnOpen: !0,
|
|
87978
|
-
onClose: () =>
|
|
87979
|
-
children:
|
|
87978
|
+
onClose: () => x(!1),
|
|
87979
|
+
children: k == null ? A?.kind === "comment" ? /* @__PURE__ */ G("div", {
|
|
87980
87980
|
className: "inspector-content",
|
|
87981
87981
|
children: /* @__PURE__ */ G(mO, { data: {
|
|
87982
|
-
title:
|
|
87983
|
-
content:
|
|
87982
|
+
title: A.title,
|
|
87983
|
+
content: A.content
|
|
87984
87984
|
} })
|
|
87985
87985
|
}) : /* @__PURE__ */ G(R$, {
|
|
87986
|
-
nodes:
|
|
87987
|
-
onSelect: (e) =>
|
|
87986
|
+
nodes: v.length > 1 ? E.nodes.filter((e) => v.includes(e.id)) : E.nodes,
|
|
87987
|
+
onSelect: (e) => j([e]),
|
|
87988
87988
|
onFocusNode: (e) => {
|
|
87989
|
-
|
|
87989
|
+
y([e]), C({
|
|
87990
87990
|
nodeId: e,
|
|
87991
|
-
requestId: (
|
|
87991
|
+
requestId: (S?.requestId ?? 0) + 1
|
|
87992
87992
|
});
|
|
87993
87993
|
}
|
|
87994
87994
|
}) : /* @__PURE__ */ G(cde, {
|
|
87995
87995
|
readOnly: !0,
|
|
87996
|
-
revision:
|
|
87997
|
-
selection:
|
|
87998
|
-
target:
|
|
87996
|
+
revision: d,
|
|
87997
|
+
selection: k,
|
|
87998
|
+
target: f,
|
|
87999
87999
|
theme: n,
|
|
88000
|
-
onOpenSubflow: (e) =>
|
|
88000
|
+
onOpenSubflow: (e) => O({
|
|
88001
88001
|
kind: "subflow",
|
|
88002
88002
|
id: e
|
|
88003
88003
|
})
|
|
88004
|
-
}, `${
|
|
88004
|
+
}, `${h}:${k.id}`)
|
|
88005
88005
|
})]
|
|
88006
88006
|
})]
|
|
88007
88007
|
});
|
|
@@ -88024,7 +88024,8 @@ function dde({ draft: e, presentation: t, language: n, theme: r, label: i, class
|
|
|
88024
88024
|
presentation: t,
|
|
88025
88025
|
theme: r,
|
|
88026
88026
|
label: i,
|
|
88027
|
-
striped: !1
|
|
88027
|
+
striped: !1,
|
|
88028
|
+
showHeader: !1
|
|
88028
88029
|
})
|
|
88029
88030
|
})
|
|
88030
88031
|
}) })
|
|
@@ -4956,7 +4956,7 @@ var Jr = { openExternalPage: async () => !1 }, Yr = class {
|
|
|
4956
4956
|
return;
|
|
4957
4957
|
}
|
|
4958
4958
|
}
|
|
4959
|
-
}, Xr = Mt(() => import("./flowWorkspace-
|
|
4959
|
+
}, Xr = Mt(() => import("./flowWorkspace-DFPIGl5u.js"));
|
|
4960
4960
|
function Zr({ action: e, description: t, error: n, onSubmit: r, onTokenChange: i, pending: a = !1, title: o, token: s, tokenLabel: c }) {
|
|
4961
4961
|
let l = s != null && c != null && i != null, u = s ?? "", d = /* @__PURE__ */ Y(Nt, { children: [
|
|
4962
4962
|
/* @__PURE__ */ J("div", {
|