@lace-cloud/canvas 0.41.0 → 0.43.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/{chunk-ELOBZOVE.mjs → chunk-GRF4IH3L.mjs} +18 -2
- package/dist/{chunk-ELOBZOVE.mjs.map → chunk-GRF4IH3L.mjs.map} +1 -1
- package/dist/engine/index.cjs +17 -1
- 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 -3
- 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 +8 -4
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-DyBS0aH8.d.mts → registry-CDbiiO4i.d.mts} +30 -0
- package/dist/{registry-DyBS0aH8.d.ts → registry-CDbiiO4i.d.ts} +30 -0
- package/package.json +3 -3
package/dist/engine/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RenderEdge } from '@lace-cloud/proto';
|
|
2
2
|
export { Reason } from '@lace-cloud/proto';
|
|
3
|
-
import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-
|
|
4
|
-
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 ReportEntry, a5 as ReportFold, a6 as ReportPath, a7 as ReportSlot, a8 as ResultKind, a9 as ResultSlots, aa as ResultStore, ab as RunCtx, ac as RunOutcome, ad as RunSlot, ae as RunStage, af as RunStageStatus, ag as RunnerPorts, ah as RunningMark, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ao as SourceEnd, ap as StackRef, aq as Started, ar as ViewStatePort, as as WiringCandidate, at as WiringQuery, au as answering, av as bridgeCaller, aw as commandPathOf, ax as commandUnderWay, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, aE as diagnosticsOfDocument, aF as failureSays, aG as foldReport, aH as generatedTree, aI as liveSlots, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aN as reasonWire, aO as reduceFollow, aP as reducePreview, aQ as reduceReport, aR as reduceRun, aS as reportDiagnostics, aT as settleRun } from '../registry-
|
|
3
|
+
import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-CDbiiO4i.mjs';
|
|
4
|
+
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 ReportEntry, a5 as ReportFold, a6 as ReportPath, a7 as ReportSlot, a8 as ResultKind, a9 as ResultSlots, aa as ResultStore, ab as RunCtx, ac as RunOutcome, ad as RunSlot, ae as RunStage, af as RunStageStatus, ag as RunnerPorts, ah as RunningMark, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ao as SourceEnd, ap as StackRef, aq as Started, ar as ViewStatePort, as as WiringCandidate, at as WiringQuery, au as answering, av as bridgeCaller, aw as commandPathOf, ax as commandUnderWay, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, aE as diagnosticsOfDocument, aF as failureSays, aG as foldReport, aH as generatedTree, aI as liveSlots, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aN as reasonWire, aO as reduceFollow, aP as reducePreview, aQ as reduceReport, aR as reduceRun, aS as reportDiagnostics, aT as settleRun } from '../registry-CDbiiO4i.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@bufbuild/protobuf/wire';
|
|
7
7
|
|
package/dist/engine/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RenderEdge } from '@lace-cloud/proto';
|
|
2
2
|
export { Reason } from '@lace-cloud/proto';
|
|
3
|
-
import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-
|
|
4
|
-
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 ReportEntry, a5 as ReportFold, a6 as ReportPath, a7 as ReportSlot, a8 as ResultKind, a9 as ResultSlots, aa as ResultStore, ab as RunCtx, ac as RunOutcome, ad as RunSlot, ae as RunStage, af as RunStageStatus, ag as RunnerPorts, ah as RunningMark, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ao as SourceEnd, ap as StackRef, aq as Started, ar as ViewStatePort, as as WiringCandidate, at as WiringQuery, au as answering, av as bridgeCaller, aw as commandPathOf, ax as commandUnderWay, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, aE as diagnosticsOfDocument, aF as failureSays, aG as foldReport, aH as generatedTree, aI as liveSlots, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aN as reasonWire, aO as reduceFollow, aP as reducePreview, aQ as reduceReport, aR as reduceRun, aS as reportDiagnostics, aT as settleRun } from '../registry-
|
|
3
|
+
import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-CDbiiO4i.js';
|
|
4
|
+
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 ReportEntry, a5 as ReportFold, a6 as ReportPath, a7 as ReportSlot, a8 as ResultKind, a9 as ResultSlots, aa as ResultStore, ab as RunCtx, ac as RunOutcome, ad as RunSlot, ae as RunStage, af as RunStageStatus, ag as RunnerPorts, ah as RunningMark, ai as SelectionPort, aj as Sink, ak as SinkInput, al as SlotContext, am as SlotKind, an as SourceConflict, ao as SourceEnd, ap as StackRef, aq as Started, ar as ViewStatePort, as as WiringCandidate, at as WiringQuery, au as answering, av as bridgeCaller, aw as commandPathOf, ax as commandUnderWay, ay as connectCaller, az as createActionRunner, aA as createResultStore, aB as currentReport, aC as defineCommand, aD as diagnosticsOf, aE as diagnosticsOfDocument, aF as failureSays, aG as foldReport, aH as generatedTree, aI as liveSlots, aJ as openEngineCommands, aK as openEngineSession, aL as parseBound, aM as parseCommandFailure, aN as reasonWire, aO as reduceFollow, aP as reducePreview, aQ as reduceReport, aR as reduceRun, aS as reportDiagnostics, aT as settleRun } from '../registry-CDbiiO4i.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '@bufbuild/protobuf/wire';
|
|
7
7
|
|
package/dist/engine/index.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -599,8 +599,7 @@ var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
|
599
599
|
var atPoint = (x, y) => ({ left: x, right: x, top: y, bottom: y });
|
|
600
600
|
function naturalSize(menu) {
|
|
601
601
|
const box = menu.getBoundingClientRect();
|
|
602
|
-
|
|
603
|
-
return { width: box.width, height: Math.max(box.height, menu.scrollHeight + borders) };
|
|
602
|
+
return { width: box.width, height: Math.max(box.height, (0, import_ui3.naturalHeight)(menu)) };
|
|
604
603
|
}
|
|
605
604
|
function samePlacement(a, b) {
|
|
606
605
|
return a === b || a !== null && b !== null && Object.is(a.left, b.left) && Object.is(a.top, b.top) && Object.is(a.maxHeight, b.maxHeight);
|
|
@@ -13462,6 +13461,21 @@ var stackListSchema = import_zod.z.object({
|
|
|
13462
13461
|
nextCursor: import_zod.z.string().nullable(),
|
|
13463
13462
|
hasMore: import_zod.z.boolean()
|
|
13464
13463
|
});
|
|
13464
|
+
var driftChangeSchema = import_zod.z.object({
|
|
13465
|
+
named: import_zod.z.boolean(),
|
|
13466
|
+
sentence: import_zod.z.string(),
|
|
13467
|
+
at: import_zod.z.string().nullable(),
|
|
13468
|
+
call: import_zod.z.string().nullable(),
|
|
13469
|
+
viaConsole: import_zod.z.boolean().nullable(),
|
|
13470
|
+
reason: import_zod.z.string().nullable(),
|
|
13471
|
+
by: import_zod.z.object({
|
|
13472
|
+
kind: import_zod.z.string(),
|
|
13473
|
+
name: import_zod.z.string(),
|
|
13474
|
+
runId: import_zod.z.string().nullable(),
|
|
13475
|
+
stackId: import_zod.z.string().nullable(),
|
|
13476
|
+
userId: import_zod.z.string().nullable()
|
|
13477
|
+
}).nullable()
|
|
13478
|
+
});
|
|
13465
13479
|
var driftedResourceSchema = import_zod.z.object({
|
|
13466
13480
|
address: import_zod.z.string(),
|
|
13467
13481
|
type: import_zod.z.string(),
|
|
@@ -13476,7 +13490,8 @@ var driftedResourceSchema = import_zod.z.object({
|
|
|
13476
13490
|
detected: import_zod.z.unknown().nonoptional()
|
|
13477
13491
|
})
|
|
13478
13492
|
),
|
|
13479
|
-
findingId: import_zod.z.string().nullable()
|
|
13493
|
+
findingId: import_zod.z.string().nullable(),
|
|
13494
|
+
change: driftChangeSchema.nullable()
|
|
13480
13495
|
});
|
|
13481
13496
|
var driftSchema = reads()(
|
|
13482
13497
|
import_zod.z.object({
|