@lace-cloud/canvas 0.36.0 → 0.37.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/{Canvas-VQQEZSPA.css → Canvas-UTKLP6WI.css} +32 -1
- package/dist/{CardActions-QLTNQUVW.css → CardActions-ORDC2L5Y.css} +4 -0
- package/dist/{ContextMenu-S3JIZMET.css → ContextMenu-P457V6QE.css} +1 -1
- package/dist/{GroupNode-NJOGOGQM.css → GroupNode-2IGAUA6V.css} +14 -5
- package/dist/{ModuleNode-LPPBJZCD.css → ModuleNode-3GTXKKVQ.css} +20 -20
- package/dist/NodeDropTarget-H5L3NZS6.css +15 -0
- package/dist/{chunk-XPHDFIKV.mjs → chunk-45ZS7XCZ.mjs} +190 -24
- package/dist/chunk-45ZS7XCZ.mjs.map +1 -0
- package/dist/engine/index.cjs +164 -23
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +21 -5
- package/dist/engine/index.d.ts +21 -5
- package/dist/engine/index.mjs +7 -3
- package/dist/index.cjs +1422 -891
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +51 -19
- package/dist/index.d.ts +51 -19
- package/dist/index.mjs +864 -490
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-Bflzqecd.d.mts → registry-4-XX1MRe.d.mts} +63 -6
- package/dist/{registry-Bflzqecd.d.ts → registry-4-XX1MRe.d.ts} +63 -6
- package/package.json +5 -5
- package/dist/chunk-XPHDFIKV.mjs.map +0 -1
package/dist/engine/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import '@lace-cloud/proto';
|
|
1
|
+
import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-4-XX1MRe.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-4-XX1MRe.mjs';
|
|
3
|
+
import { RenderEdge } from '@lace-cloud/proto';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@bufbuild/protobuf/wire';
|
|
6
6
|
|
|
@@ -25,6 +25,22 @@ declare const stackSlugRule: {
|
|
|
25
25
|
*/
|
|
26
26
|
declare function proposeStackSlug(folder: string): string;
|
|
27
27
|
|
|
28
|
+
type WireEnd = {
|
|
29
|
+
readonly kind: 'group-pin';
|
|
30
|
+
readonly node: string;
|
|
31
|
+
readonly pin: string;
|
|
32
|
+
} | {
|
|
33
|
+
readonly kind: 'call';
|
|
34
|
+
readonly node: string;
|
|
35
|
+
} | {
|
|
36
|
+
readonly kind: 'pin';
|
|
37
|
+
readonly node: string;
|
|
38
|
+
readonly pin: string;
|
|
39
|
+
};
|
|
40
|
+
type WireEnds = Pick<RenderEdge, 'source' | 'target' | 'source_output' | 'target_input'> & Pick<Partial<RenderEdge>, 'source_pin' | 'target_pin'>;
|
|
41
|
+
declare function wireEnd(wire: WireEnds, end: 'source' | 'target'): WireEnd;
|
|
42
|
+
declare function wireEndText(wire: WireEnds, end: 'source' | 'target', pinText: (node: string, pin: string, end: 'source' | 'target') => string): string;
|
|
43
|
+
|
|
28
44
|
type AutosavePolicy = {
|
|
29
45
|
kind: 'afterDelay';
|
|
30
46
|
delayMs: number;
|
|
@@ -40,5 +56,5 @@ declare class AutosaveEndedError extends Error {
|
|
|
40
56
|
}
|
|
41
57
|
declare function autosave(source: SourcePort, save: () => Promise<void>, policy: AutosavePolicy, report: (error: unknown) => void): Autosave;
|
|
42
58
|
|
|
43
|
-
export { ActionContribution, AutosaveEndedError, CORE_COMMAND_ACTIONS, DID_NOT_LOCK, JsonOf, LOCK_LABEL, SourcePort, autosave, lockFailed, lockNotice, lockedIn, lockfileOf, proposeStackSlug, stackSlugRule };
|
|
44
|
-
export type { Autosave, AutosavePolicy };
|
|
59
|
+
export { ActionContribution, AutosaveEndedError, CORE_COMMAND_ACTIONS, DID_NOT_LOCK, JsonOf, LOCK_LABEL, SourcePort, autosave, lockFailed, lockNotice, lockedIn, lockfileOf, proposeStackSlug, stackSlugRule, wireEnd, wireEndText };
|
|
60
|
+
export type { Autosave, AutosavePolicy, WireEnd };
|
package/dist/engine/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import '@lace-cloud/proto';
|
|
1
|
+
import { A as ActionContribution, J as JsonOf, S as SourcePort } from '../registry-4-XX1MRe.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-4-XX1MRe.js';
|
|
3
|
+
import { RenderEdge } from '@lace-cloud/proto';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@bufbuild/protobuf/wire';
|
|
6
6
|
|
|
@@ -25,6 +25,22 @@ declare const stackSlugRule: {
|
|
|
25
25
|
*/
|
|
26
26
|
declare function proposeStackSlug(folder: string): string;
|
|
27
27
|
|
|
28
|
+
type WireEnd = {
|
|
29
|
+
readonly kind: 'group-pin';
|
|
30
|
+
readonly node: string;
|
|
31
|
+
readonly pin: string;
|
|
32
|
+
} | {
|
|
33
|
+
readonly kind: 'call';
|
|
34
|
+
readonly node: string;
|
|
35
|
+
} | {
|
|
36
|
+
readonly kind: 'pin';
|
|
37
|
+
readonly node: string;
|
|
38
|
+
readonly pin: string;
|
|
39
|
+
};
|
|
40
|
+
type WireEnds = Pick<RenderEdge, 'source' | 'target' | 'source_output' | 'target_input'> & Pick<Partial<RenderEdge>, 'source_pin' | 'target_pin'>;
|
|
41
|
+
declare function wireEnd(wire: WireEnds, end: 'source' | 'target'): WireEnd;
|
|
42
|
+
declare function wireEndText(wire: WireEnds, end: 'source' | 'target', pinText: (node: string, pin: string, end: 'source' | 'target') => string): string;
|
|
43
|
+
|
|
28
44
|
type AutosavePolicy = {
|
|
29
45
|
kind: 'afterDelay';
|
|
30
46
|
delayMs: number;
|
|
@@ -40,5 +56,5 @@ declare class AutosaveEndedError extends Error {
|
|
|
40
56
|
}
|
|
41
57
|
declare function autosave(source: SourcePort, save: () => Promise<void>, policy: AutosavePolicy, report: (error: unknown) => void): Autosave;
|
|
42
58
|
|
|
43
|
-
export { ActionContribution, AutosaveEndedError, CORE_COMMAND_ACTIONS, DID_NOT_LOCK, JsonOf, LOCK_LABEL, SourcePort, autosave, lockFailed, lockNotice, lockedIn, lockfileOf, proposeStackSlug, stackSlugRule };
|
|
44
|
-
export type { Autosave, AutosavePolicy };
|
|
59
|
+
export { ActionContribution, AutosaveEndedError, CORE_COMMAND_ACTIONS, DID_NOT_LOCK, JsonOf, LOCK_LABEL, SourcePort, autosave, lockFailed, lockNotice, lockedIn, lockfileOf, proposeStackSlug, stackSlugRule, wireEnd, wireEndText };
|
|
60
|
+
export type { Autosave, AutosavePolicy, WireEnd };
|
package/dist/engine/index.mjs
CHANGED
|
@@ -50,8 +50,10 @@ import {
|
|
|
50
50
|
settleRun,
|
|
51
51
|
stackSlugRule,
|
|
52
52
|
toArgv,
|
|
53
|
-
uniqueDiagnostics
|
|
54
|
-
|
|
53
|
+
uniqueDiagnostics,
|
|
54
|
+
wireEnd,
|
|
55
|
+
wireEndText
|
|
56
|
+
} from "../chunk-45ZS7XCZ.mjs";
|
|
55
57
|
export {
|
|
56
58
|
ApplyUnobservedError,
|
|
57
59
|
AutosaveEndedError,
|
|
@@ -104,6 +106,8 @@ export {
|
|
|
104
106
|
settleRun,
|
|
105
107
|
stackSlugRule,
|
|
106
108
|
toArgv,
|
|
107
|
-
uniqueDiagnostics
|
|
109
|
+
uniqueDiagnostics,
|
|
110
|
+
wireEnd,
|
|
111
|
+
wireEndText
|
|
108
112
|
};
|
|
109
113
|
//# sourceMappingURL=index.mjs.map
|