@lace-cloud/canvas 0.32.1 → 0.34.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-JRY2HAY6.css → Canvas-VQQEZSPA.css} +9 -11
- package/dist/{chunk-J5BZ7EOQ.mjs → chunk-5X3CA44U.mjs} +247 -188
- package/dist/chunk-5X3CA44U.mjs.map +1 -0
- package/dist/engine/index.cjs +248 -187
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +15 -3
- package/dist/engine/index.d.ts +15 -3
- package/dist/engine/index.mjs +5 -1
- package/dist/index.cjs +1162 -989
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.mjs +744 -620
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-BLwYarIE.d.ts → registry-BwXo1iVe.d.mts} +30 -19
- package/dist/{registry-BLwYarIE.d.mts → registry-BwXo1iVe.d.ts} +30 -19
- package/package.json +10 -5
- package/dist/chunk-J5BZ7EOQ.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-BwXo1iVe.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-BwXo1iVe.mjs';
|
|
3
3
|
import '@lace-cloud/proto';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@bufbuild/protobuf/wire';
|
|
@@ -13,6 +13,18 @@ declare function lockNotice(lock: LockResult): string;
|
|
|
13
13
|
declare const LOCK_LABEL = "Lock providers";
|
|
14
14
|
declare const CORE_COMMAND_ACTIONS: readonly ActionContribution[];
|
|
15
15
|
|
|
16
|
+
declare const stackSlugRule: {
|
|
17
|
+
readonly pattern: RegExp;
|
|
18
|
+
readonly description: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* The slug proposed for a folder: lowercased, every run of characters other
|
|
22
|
+
* than a lowercase letter or digit made one `-`, any leading non-letter
|
|
23
|
+
* dropped, then the longest prefix the rule accepts (so it is cut to the
|
|
24
|
+
* rule's length and ends as the rule says). '' when nothing is left.
|
|
25
|
+
*/
|
|
26
|
+
declare function proposeStackSlug(folder: string): string;
|
|
27
|
+
|
|
16
28
|
type AutosavePolicy = {
|
|
17
29
|
kind: 'afterDelay';
|
|
18
30
|
delayMs: number;
|
|
@@ -28,5 +40,5 @@ declare class AutosaveEndedError extends Error {
|
|
|
28
40
|
}
|
|
29
41
|
declare function autosave(source: SourcePort, save: () => Promise<void>, policy: AutosavePolicy, report: (error: unknown) => void): Autosave;
|
|
30
42
|
|
|
31
|
-
export { ActionContribution, AutosaveEndedError, CORE_COMMAND_ACTIONS, DID_NOT_LOCK, JsonOf, LOCK_LABEL, SourcePort, autosave, lockFailed, lockNotice, lockedIn, lockfileOf };
|
|
43
|
+
export { ActionContribution, AutosaveEndedError, CORE_COMMAND_ACTIONS, DID_NOT_LOCK, JsonOf, LOCK_LABEL, SourcePort, autosave, lockFailed, lockNotice, lockedIn, lockfileOf, proposeStackSlug, stackSlugRule };
|
|
32
44
|
export type { Autosave, AutosavePolicy };
|
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-BwXo1iVe.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-BwXo1iVe.js';
|
|
3
3
|
import '@lace-cloud/proto';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@bufbuild/protobuf/wire';
|
|
@@ -13,6 +13,18 @@ declare function lockNotice(lock: LockResult): string;
|
|
|
13
13
|
declare const LOCK_LABEL = "Lock providers";
|
|
14
14
|
declare const CORE_COMMAND_ACTIONS: readonly ActionContribution[];
|
|
15
15
|
|
|
16
|
+
declare const stackSlugRule: {
|
|
17
|
+
readonly pattern: RegExp;
|
|
18
|
+
readonly description: string;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* The slug proposed for a folder: lowercased, every run of characters other
|
|
22
|
+
* than a lowercase letter or digit made one `-`, any leading non-letter
|
|
23
|
+
* dropped, then the longest prefix the rule accepts (so it is cut to the
|
|
24
|
+
* rule's length and ends as the rule says). '' when nothing is left.
|
|
25
|
+
*/
|
|
26
|
+
declare function proposeStackSlug(folder: string): string;
|
|
27
|
+
|
|
16
28
|
type AutosavePolicy = {
|
|
17
29
|
kind: 'afterDelay';
|
|
18
30
|
delayMs: number;
|
|
@@ -28,5 +40,5 @@ declare class AutosaveEndedError extends Error {
|
|
|
28
40
|
}
|
|
29
41
|
declare function autosave(source: SourcePort, save: () => Promise<void>, policy: AutosavePolicy, report: (error: unknown) => void): Autosave;
|
|
30
42
|
|
|
31
|
-
export { ActionContribution, AutosaveEndedError, CORE_COMMAND_ACTIONS, DID_NOT_LOCK, JsonOf, LOCK_LABEL, SourcePort, autosave, lockFailed, lockNotice, lockedIn, lockfileOf };
|
|
43
|
+
export { ActionContribution, AutosaveEndedError, CORE_COMMAND_ACTIONS, DID_NOT_LOCK, JsonOf, LOCK_LABEL, SourcePort, autosave, lockFailed, lockNotice, lockedIn, lockfileOf, proposeStackSlug, stackSlugRule };
|
|
32
44
|
export type { Autosave, AutosavePolicy };
|
package/dist/engine/index.mjs
CHANGED
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
openEngineSession,
|
|
41
41
|
parseBound,
|
|
42
42
|
parseCommandFailure,
|
|
43
|
+
proposeStackSlug,
|
|
43
44
|
reasonWire,
|
|
44
45
|
reduceFollow,
|
|
45
46
|
reducePreview,
|
|
@@ -47,9 +48,10 @@ import {
|
|
|
47
48
|
reduceRun,
|
|
48
49
|
reportDiagnostics,
|
|
49
50
|
settleRun,
|
|
51
|
+
stackSlugRule,
|
|
50
52
|
toArgv,
|
|
51
53
|
uniqueDiagnostics
|
|
52
|
-
} from "../chunk-
|
|
54
|
+
} from "../chunk-5X3CA44U.mjs";
|
|
53
55
|
export {
|
|
54
56
|
ApplyUnobservedError,
|
|
55
57
|
AutosaveEndedError,
|
|
@@ -92,6 +94,7 @@ export {
|
|
|
92
94
|
openEngineSession,
|
|
93
95
|
parseBound,
|
|
94
96
|
parseCommandFailure,
|
|
97
|
+
proposeStackSlug,
|
|
95
98
|
reasonWire,
|
|
96
99
|
reduceFollow,
|
|
97
100
|
reducePreview,
|
|
@@ -99,6 +102,7 @@ export {
|
|
|
99
102
|
reduceRun,
|
|
100
103
|
reportDiagnostics,
|
|
101
104
|
settleRun,
|
|
105
|
+
stackSlugRule,
|
|
102
106
|
toArgv,
|
|
103
107
|
uniqueDiagnostics
|
|
104
108
|
};
|