@lace-cloud/canvas 0.19.0 → 0.21.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/README.md +3 -3
- package/dist/{AccordionSection-QHNIBNJT.css → AccordionSection-J3ALHB5M.css} +22 -12
- package/dist/{App-D7WF3TWZ.css → App-IFIOMNV7.css} +47 -33
- package/dist/Banner-4TSIKYLF.css +48 -0
- package/dist/{Canvas-J6F7YHEK.css → Canvas-JRY2HAY6.css} +0 -56
- package/dist/CanvasControls-L6Q2LX2P.css +47 -0
- package/dist/ContextMenu-C7SLX23S.css +74 -0
- package/dist/DiagnosticsPanel-T6VDHH4A.css +64 -0
- package/dist/Drawer-34ZYTEWE.css +62 -0
- package/dist/EdgeInspectorPanel-JD6CVUAT.css +45 -0
- package/dist/EmptyCanvas-QA2OV3T3.css +21 -0
- package/dist/GroupNode-QWSLBFCH.css +197 -0
- package/dist/Identifier-V6MZ37EG.css +4 -0
- package/dist/{ModuleConfigPanel-LZRL4F3Q.css → ModuleConfigPanel-LTPLEG2L.css} +29 -10
- package/dist/{ModuleNode-OJXMNOL3.css → ModuleNode-RRZ37SFM.css} +97 -27
- package/dist/PaperGrid-WFRL3N4P.css +25 -0
- package/dist/ToolbarAction-PQNWHJSU.css +36 -0
- package/dist/UpdateButton-TJKSFVBA.css +16 -0
- package/dist/{chunk-S2FFLFOT.mjs → chunk-W6U3TVQK.mjs} +106 -110
- package/dist/chunk-W6U3TVQK.mjs.map +1 -0
- package/dist/engine/index.cjs +83 -104
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +3 -5
- package/dist/engine/index.d.ts +3 -5
- package/dist/engine/index.mjs +1 -3
- package/dist/icons-SBZCWI5T.css +14 -0
- package/dist/index.cjs +10710 -10373
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +35 -25
- package/dist/index.d.ts +35 -25
- package/dist/index.mjs +3026 -2641
- package/dist/index.mjs.map +1 -1
- package/dist/{mapping-BzX6r87C.d.mts → mapping-CopjG8Ae.d.mts} +59 -47
- package/dist/{mapping-BzX6r87C.d.ts → mapping-CopjG8Ae.d.ts} +59 -47
- package/dist/{panels-shared-OFOUQSUT.css → panels-shared-5JFNYXQ7.css} +47 -66
- package/package.json +3 -3
- package/dist/ConflictBanner-4V5K2QNU.css +0 -44
- package/dist/ContextMenu-EAQFLI5L.css +0 -46
- package/dist/DiagnosticsPanel-HB3JQYSY.css +0 -39
- package/dist/EdgeInspectorPanel-D536U5MZ.css +0 -54
- package/dist/GroupNode-XSB4OKGK.css +0 -150
- package/dist/Markers-XLREDZNM.css +0 -16
- package/dist/SourceRefusedBanner-5PXHEDHT.css +0 -23
- package/dist/chunk-S2FFLFOT.mjs.map +0 -1
package/dist/engine/index.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { A as ActionContribution, S as SourcePort } from '../mapping-
|
|
2
|
-
export {
|
|
1
|
+
import { A as ActionContribution, S as SourcePort } from '../mapping-CopjG8Ae.mjs';
|
|
2
|
+
export { aP as Action, l as ActionRunner, n as ActionRunnerOptions, f as ActionTarget, o as ApplyResult, p as ApplyUnobservedError, q as ArgsOf, r as BindingRuntime, d as BoundPath, s as BridgeEngineCaller, t as COMMANDS, b as CanvasPorts, h as CanvasSource, v as CommandBinding, w as CommandDetachedError, x as CommandExitError, y as CommandFailure, z as CommandPath, g as CommandResult, F as CommandRun, G as CommandsPort, H as ConfirmSpec, I as ConnectCallerOptions, K as ConnectError, Q as ContextPort, T as CreatedRef, U as DirectEngineCaller, V as EMPTY_REPORT_FOLD, Z as EditorPort, _ as EngineCaller, $ as EngineMethodResponse, a0 as EngineSession, a1 as EngineSessionOptions, a2 as EngineTarget, a3 as ErasedCommand, a4 as FollowSlot, a5 as GenerateEvent, a6 as GraphError, a7 as HostBinding, aQ as InputMode, a8 as Invocation, J as JsonOf, aR as LaceReason, aS as LiveSlots, aT as OnScreen, c as PendingForm, ab as PortName, ac as PresenterPort, ad as PreviewSlot, ae as Reason, af as ReportEntry, ag as ReportFold, ah as ReportPath, ai as ReportSlot, aj as ResultKind, ak as ResultSlots, R as ResultStore, j as RunCtx, al as RunOutcome, aU as RunPhase, aV as RunPhaseStatus, am as RunSlot, an as RunnerPorts, ao as SCHEMAS, ap as Sink, aq as SinkInput, ar as SlotContext, as as SlotKind, at as SourceConflict, i as SourceEnd, au as StackRef, av as ViewStatePort, aw as WiringCandidate, ax as WiringQuery, ay as bridgeCaller, az as carriesFailure, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, aW as diagnosticsOfDocument, aG as foldReport, aH as isBoundPath, aX as liveSlots, aI as openEngineCommands, aJ as openEngineSession, aK as parseBound, aL as parseCommandFailure, aY as reasonWire, aZ as reduceFollow, a_ as reducePreview, a$ as reduceReport, b0 as reduceRun, aM as reportDiagnostics, b1 as settleRun, aN as toArgv, aO as uniqueDiagnostics } from '../mapping-CopjG8Ae.mjs';
|
|
3
3
|
import '@lace-cloud/proto';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@bufbuild/protobuf/wire';
|
|
6
6
|
|
|
7
7
|
declare const CORE_COMMAND_ACTIONS: readonly ActionContribution[];
|
|
8
8
|
|
|
9
|
-
declare function deepEqual(a: unknown, b: unknown): boolean;
|
|
10
|
-
|
|
11
9
|
type AutosavePolicy = {
|
|
12
10
|
kind: 'afterDelay';
|
|
13
11
|
delayMs: number;
|
|
@@ -23,4 +21,4 @@ declare class AutosaveEndedError extends Error {
|
|
|
23
21
|
}
|
|
24
22
|
declare function autosave(source: SourcePort, save: () => Promise<void>, policy: AutosavePolicy, report: (error: unknown) => void): Autosave;
|
|
25
23
|
|
|
26
|
-
export { ActionContribution, type Autosave, AutosaveEndedError, type AutosavePolicy, CORE_COMMAND_ACTIONS, SourcePort, autosave
|
|
24
|
+
export { ActionContribution, type Autosave, AutosaveEndedError, type AutosavePolicy, CORE_COMMAND_ACTIONS, SourcePort, autosave };
|
package/dist/engine/index.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { A as ActionContribution, S as SourcePort } from '../mapping-
|
|
2
|
-
export {
|
|
1
|
+
import { A as ActionContribution, S as SourcePort } from '../mapping-CopjG8Ae.js';
|
|
2
|
+
export { aP as Action, l as ActionRunner, n as ActionRunnerOptions, f as ActionTarget, o as ApplyResult, p as ApplyUnobservedError, q as ArgsOf, r as BindingRuntime, d as BoundPath, s as BridgeEngineCaller, t as COMMANDS, b as CanvasPorts, h as CanvasSource, v as CommandBinding, w as CommandDetachedError, x as CommandExitError, y as CommandFailure, z as CommandPath, g as CommandResult, F as CommandRun, G as CommandsPort, H as ConfirmSpec, I as ConnectCallerOptions, K as ConnectError, Q as ContextPort, T as CreatedRef, U as DirectEngineCaller, V as EMPTY_REPORT_FOLD, Z as EditorPort, _ as EngineCaller, $ as EngineMethodResponse, a0 as EngineSession, a1 as EngineSessionOptions, a2 as EngineTarget, a3 as ErasedCommand, a4 as FollowSlot, a5 as GenerateEvent, a6 as GraphError, a7 as HostBinding, aQ as InputMode, a8 as Invocation, J as JsonOf, aR as LaceReason, aS as LiveSlots, aT as OnScreen, c as PendingForm, ab as PortName, ac as PresenterPort, ad as PreviewSlot, ae as Reason, af as ReportEntry, ag as ReportFold, ah as ReportPath, ai as ReportSlot, aj as ResultKind, ak as ResultSlots, R as ResultStore, j as RunCtx, al as RunOutcome, aU as RunPhase, aV as RunPhaseStatus, am as RunSlot, an as RunnerPorts, ao as SCHEMAS, ap as Sink, aq as SinkInput, ar as SlotContext, as as SlotKind, at as SourceConflict, i as SourceEnd, au as StackRef, av as ViewStatePort, aw as WiringCandidate, ax as WiringQuery, ay as bridgeCaller, az as carriesFailure, aA as connectCaller, aB as createActionRunner, aC as createResultStore, aD as currentReport, aE as defineCommand, aF as diagnosticsOf, aW as diagnosticsOfDocument, aG as foldReport, aH as isBoundPath, aX as liveSlots, aI as openEngineCommands, aJ as openEngineSession, aK as parseBound, aL as parseCommandFailure, aY as reasonWire, aZ as reduceFollow, a_ as reducePreview, a$ as reduceReport, b0 as reduceRun, aM as reportDiagnostics, b1 as settleRun, aN as toArgv, aO as uniqueDiagnostics } from '../mapping-CopjG8Ae.js';
|
|
3
3
|
import '@lace-cloud/proto';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '@bufbuild/protobuf/wire';
|
|
6
6
|
|
|
7
7
|
declare const CORE_COMMAND_ACTIONS: readonly ActionContribution[];
|
|
8
8
|
|
|
9
|
-
declare function deepEqual(a: unknown, b: unknown): boolean;
|
|
10
|
-
|
|
11
9
|
type AutosavePolicy = {
|
|
12
10
|
kind: 'afterDelay';
|
|
13
11
|
delayMs: number;
|
|
@@ -23,4 +21,4 @@ declare class AutosaveEndedError extends Error {
|
|
|
23
21
|
}
|
|
24
22
|
declare function autosave(source: SourcePort, save: () => Promise<void>, policy: AutosavePolicy, report: (error: unknown) => void): Autosave;
|
|
25
23
|
|
|
26
|
-
export { ActionContribution, type Autosave, AutosaveEndedError, type AutosavePolicy, CORE_COMMAND_ACTIONS, SourcePort, autosave
|
|
24
|
+
export { ActionContribution, type Autosave, AutosaveEndedError, type AutosavePolicy, CORE_COMMAND_ACTIONS, SourcePort, autosave };
|
package/dist/engine/index.mjs
CHANGED
|
@@ -17,7 +17,6 @@ import {
|
|
|
17
17
|
createActionRunner,
|
|
18
18
|
createResultStore,
|
|
19
19
|
currentReport,
|
|
20
|
-
deepEqual,
|
|
21
20
|
defineCommand,
|
|
22
21
|
diagnosticsOf,
|
|
23
22
|
diagnosticsOfDocument,
|
|
@@ -37,7 +36,7 @@ import {
|
|
|
37
36
|
settleRun,
|
|
38
37
|
toArgv,
|
|
39
38
|
uniqueDiagnostics
|
|
40
|
-
} from "../chunk-
|
|
39
|
+
} from "../chunk-W6U3TVQK.mjs";
|
|
41
40
|
export {
|
|
42
41
|
ApplyUnobservedError,
|
|
43
42
|
AutosaveEndedError,
|
|
@@ -57,7 +56,6 @@ export {
|
|
|
57
56
|
createActionRunner,
|
|
58
57
|
createResultStore,
|
|
59
58
|
currentReport,
|
|
60
|
-
deepEqual,
|
|
61
59
|
defineCommand,
|
|
62
60
|
diagnosticsOf,
|
|
63
61
|
diagnosticsOfDocument,
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* A canvas glyph: the size of the text it sits in, stroked in the colour of
|
|
2
|
+
* the control that draws it. A glyph drawn smaller than a toolbar's (a node
|
|
3
|
+
* header's chevron) thickens its stroke where it is drawn, to stay one
|
|
4
|
+
* device pixel. */
|
|
5
|
+
.lace-canvas-icon {
|
|
6
|
+
width: 1em;
|
|
7
|
+
height: 1em;
|
|
8
|
+
flex-shrink: 0;
|
|
9
|
+
fill: none;
|
|
10
|
+
stroke: currentColor;
|
|
11
|
+
stroke-width: 1.5;
|
|
12
|
+
stroke-linecap: round;
|
|
13
|
+
stroke-linejoin: round;
|
|
14
|
+
}
|