@lace-cloud/canvas 0.34.0 → 0.35.0
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/{UpdateButton-TJKSFVBA.css → UpdateButton-VSIHLAZC.css} +1 -1
- package/dist/{chunk-5X3CA44U.mjs → chunk-O3I4KLND.mjs} +3 -3
- package/dist/chunk-O3I4KLND.mjs.map +1 -0
- package/dist/engine/index.cjs +2 -2
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +2 -2
- package/dist/engine/index.d.ts +2 -2
- package/dist/engine/index.mjs +1 -1
- package/dist/index.cjs +18 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.mjs +17 -11
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-BwXo1iVe.d.ts → registry-ynSG1hCz.d.mts} +8 -8
- package/dist/{registry-BwXo1iVe.d.mts → registry-ynSG1hCz.d.ts} +8 -8
- package/package.json +4 -4
- package/dist/chunk-5X3CA44U.mjs.map +0 -1
package/dist/engine/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-
|
|
2
|
-
export { a as Action, b as ActionRunner, c as ActionRunnerOptions, d as ActionTarget, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, h as BoundPath, i as BridgeEngineCaller, j as Busy, C as COMMANDS, k as CanvasPorts, l as CanvasSource, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, r as CommandResult, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, W as InputMode, X as Invocation, Y as LaceReason, Z as LiveSlots, _ as OnScreen, $ as PendingForm, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ab as ResultStore, ac as RunCtx, ad as RunOutcome, ae as RunSlot, af as RunStage, ag as RunStageStatus, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, ap as SourceEnd, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, aG as diagnosticsOfDocument, aH as failureSays, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aL as liveSlots, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aQ as reasonWire, aR as reduceFollow, aS as reducePreview, aT as reduceReport, aU as reduceRun, aV as reportDiagnostics, aW as settleRun, aX as toArgv, aY as uniqueDiagnostics } from '../registry-
|
|
1
|
+
import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-ynSG1hCz.mjs';
|
|
2
|
+
export { a as Action, b as ActionRunner, c as ActionRunnerOptions, d as ActionTarget, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, h as BoundPath, i as BridgeEngineCaller, j as Busy, C as COMMANDS, k as CanvasPorts, l as CanvasSource, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, r as CommandResult, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, W as InputMode, X as Invocation, Y as LaceReason, Z as LiveSlots, _ as OnScreen, $ as PendingForm, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ab as ResultStore, ac as RunCtx, ad as RunOutcome, ae as RunSlot, af as RunStage, ag as RunStageStatus, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, ap as SourceEnd, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, aG as diagnosticsOfDocument, aH as failureSays, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aL as liveSlots, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aQ as reasonWire, aR as reduceFollow, aS as reducePreview, aT as reduceReport, aU as reduceRun, aV as reportDiagnostics, aW as settleRun, aX as toArgv, aY as uniqueDiagnostics } from '../registry-ynSG1hCz.mjs';
|
|
3
3
|
import '@lace-cloud/proto';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@bufbuild/protobuf/wire';
|
package/dist/engine/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-
|
|
2
|
-
export { a as Action, b as ActionRunner, c as ActionRunnerOptions, d as ActionTarget, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, h as BoundPath, i as BridgeEngineCaller, j as Busy, C as COMMANDS, k as CanvasPorts, l as CanvasSource, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, r as CommandResult, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, W as InputMode, X as Invocation, Y as LaceReason, Z as LiveSlots, _ as OnScreen, $ as PendingForm, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ab as ResultStore, ac as RunCtx, ad as RunOutcome, ae as RunSlot, af as RunStage, ag as RunStageStatus, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, ap as SourceEnd, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, aG as diagnosticsOfDocument, aH as failureSays, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aL as liveSlots, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aQ as reasonWire, aR as reduceFollow, aS as reducePreview, aT as reduceReport, aU as reduceRun, aV as reportDiagnostics, aW as settleRun, aX as toArgv, aY as uniqueDiagnostics } from '../registry-
|
|
1
|
+
import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-ynSG1hCz.js';
|
|
2
|
+
export { a as Action, b as ActionRunner, c as ActionRunnerOptions, d as ActionTarget, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, h as BoundPath, i as BridgeEngineCaller, j as Busy, C as COMMANDS, k as CanvasPorts, l as CanvasSource, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, r as CommandResult, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, F as EditorPort, G as EngineCaller, H as EngineMethodResponse, I as EngineSession, K as EngineSessionOptions, L as EngineTarget, M as ErasedCommand, N as FollowSlot, O as GENERATE_STAGES, P as GateChangeRequest, Q as GenerateEvent, R as GenerateStage, T as GeneratedTree, U as GraphError, V as HostBinding, W as InputMode, X as Invocation, Y as LaceReason, Z as LiveSlots, _ as OnScreen, $ as PendingForm, a0 as PortName, a1 as PresenterPort, a2 as PreviewOutcome, a3 as PreviewSlot, a4 as Reason, a5 as ReportEntry, a6 as ReportFold, a7 as ReportPath, a8 as ReportSlot, a9 as ResultKind, aa as ResultSlots, ab as ResultStore, ac as RunCtx, ad as RunOutcome, ae as RunSlot, af as RunStage, ag as RunStageStatus, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, ap as SourceEnd, aq as StackRef, ar as Started, as as ViewStatePort, at as WiringCandidate, au as WiringQuery, av as answering, aw as bridgeCaller, ax as carriesFailure, ay as commandPathOf, az as commandUnderWay, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, aG as diagnosticsOfDocument, aH as failureSays, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aL as liveSlots, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aQ as reasonWire, aR as reduceFollow, aS as reducePreview, aT as reduceReport, aU as reduceRun, aV as reportDiagnostics, aW as settleRun, aX as toArgv, aY as uniqueDiagnostics } from '../registry-ynSG1hCz.js';
|
|
3
3
|
import '@lace-cloud/proto';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@bufbuild/protobuf/wire';
|
package/dist/engine/index.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -13692,6 +13692,16 @@ function CompositeEditor({
|
|
|
13692
13692
|
style: { stroke: "var(--lace-canvas-edge-stroke)", strokeWidth: 1.5 },
|
|
13693
13693
|
animated: false
|
|
13694
13694
|
};
|
|
13695
|
+
const onNodeContextMenu = (e, node) => {
|
|
13696
|
+
e.preventDefault();
|
|
13697
|
+
if (!editable) return;
|
|
13698
|
+
onContextMenu({
|
|
13699
|
+
instanceId: node.type === "groupNode" ? null : node.id,
|
|
13700
|
+
groupId: node.type === "groupNode" ? node.id : null,
|
|
13701
|
+
x: e.clientX,
|
|
13702
|
+
y: e.clientY
|
|
13703
|
+
});
|
|
13704
|
+
};
|
|
13695
13705
|
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
13696
13706
|
import_react23.ReactFlow,
|
|
13697
13707
|
{
|
|
@@ -13705,15 +13715,11 @@ function CompositeEditor({
|
|
|
13705
13715
|
onConnect,
|
|
13706
13716
|
isValidConnection,
|
|
13707
13717
|
onNodeDragStop,
|
|
13708
|
-
onNodeContextMenu
|
|
13718
|
+
onNodeContextMenu,
|
|
13719
|
+
onSelectionContextMenu: (e, nodes) => {
|
|
13709
13720
|
e.preventDefault();
|
|
13710
|
-
|
|
13711
|
-
|
|
13712
|
-
instanceId: node.type === "groupNode" ? null : node.id,
|
|
13713
|
-
groupId: node.type === "groupNode" ? node.id : null,
|
|
13714
|
-
x: e.clientX,
|
|
13715
|
-
y: e.clientY
|
|
13716
|
-
});
|
|
13721
|
+
const node = nodes[0];
|
|
13722
|
+
if (node) onNodeContextMenu(e, node);
|
|
13717
13723
|
},
|
|
13718
13724
|
onPaneContextMenu: (e) => {
|
|
13719
13725
|
e.preventDefault();
|
|
@@ -13931,7 +13937,7 @@ function Canvas({ height }) {
|
|
|
13931
13937
|
decorations
|
|
13932
13938
|
}
|
|
13933
13939
|
),
|
|
13934
|
-
view.nodes.length === 0 && view.groups.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(EmptyCanvas, { editable }) : null
|
|
13940
|
+
!ctx.sourceRefused && view.nodes.length === 0 && view.groups.length === 0 ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(EmptyCanvas, { editable }) : null
|
|
13935
13941
|
] })
|
|
13936
13942
|
]
|
|
13937
13943
|
}
|
|
@@ -15747,7 +15753,7 @@ var registryManifestSchema = import_zod.z.object({
|
|
|
15747
15753
|
readme: import_zod.z.string().nullable(),
|
|
15748
15754
|
vendor: registryVendorSchema,
|
|
15749
15755
|
status: import_zod.z.string(),
|
|
15750
|
-
installCount: import_zod.z.number(),
|
|
15756
|
+
installCount: import_zod.z.number().optional(),
|
|
15751
15757
|
publishedAt: import_zod.z.string().nullable(),
|
|
15752
15758
|
publishedBy: import_zod.z.string().nullable(),
|
|
15753
15759
|
createdAt: import_zod.z.string(),
|
|
@@ -15931,7 +15937,7 @@ var runSchema = reads()(
|
|
|
15931
15937
|
planHumanLocation: import_zod.z.string().nullable(),
|
|
15932
15938
|
applyLogLocation: import_zod.z.string().nullable(),
|
|
15933
15939
|
policyResultsLocation: import_zod.z.string().nullable(),
|
|
15934
|
-
|
|
15940
|
+
policyEvaluatedWithoutBlock: import_zod.z.boolean().nullable(),
|
|
15935
15941
|
policyResolution: import_zod.z.unknown().nullable(),
|
|
15936
15942
|
changeRequestId: import_zod.z.string().nullable(),
|
|
15937
15943
|
cancelReason: import_zod.z.string().nullable(),
|
|
@@ -17664,7 +17670,7 @@ var import_panels_shared8 = require("./panels-shared-3HUQC7TC.css");
|
|
|
17664
17670
|
|
|
17665
17671
|
// src/components/UpdateButton.tsx
|
|
17666
17672
|
var import_ui11 = require("@lace-cloud/ui");
|
|
17667
|
-
var import_UpdateButton = require("./UpdateButton-
|
|
17673
|
+
var import_UpdateButton = require("./UpdateButton-VSIHLAZC.css");
|
|
17668
17674
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
17669
17675
|
var variantByStatus = {
|
|
17670
17676
|
updating: "primary",
|