@lace-cloud/canvas 0.32.0 → 0.33.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 +2 -2
- package/dist/{chunk-PABP6EXP.mjs → chunk-45HRNFCU.mjs} +467 -431
- package/dist/chunk-45HRNFCU.mjs.map +1 -0
- package/dist/engine/index.cjs +465 -429
- package/dist/engine/index.cjs.map +1 -1
- package/dist/engine/index.d.mts +4 -3
- package/dist/engine/index.d.ts +4 -3
- package/dist/engine/index.mjs +1 -1
- package/dist/index.cjs +467 -436
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.mjs +10 -7
- package/dist/index.mjs.map +1 -1
- package/dist/{registry-B08XJNsq.d.mts → registry-C-aNjCYV.d.mts} +2073 -2059
- package/dist/{registry-B08XJNsq.d.ts → registry-C-aNjCYV.d.ts} +2073 -2059
- package/package.json +18 -9
- package/dist/chunk-PABP6EXP.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -4,8 +4,8 @@ export { Toast } from '@lace-cloud/ui/feedback';
|
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { FC, ReactNode } from 'react';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
7
|
+
import { aZ as ContributionSet, a_ as PanelSpec, a$ as CanvasCtx, k as CanvasPorts, ab as ResultStore, S as SourcePort, A as ActionContribution, b0 as Badge, b1 as NodeDecoration, b2 as Decorations, $ as PendingForm, h as BoundPath, b3 as CommandRead, J as JsonOf, b4 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ap as SourceEnd, b as ActionRunner, b5 as Bundle, b6 as CanvasSelection, b7 as LayoutHandle } from './registry-C-aNjCYV.mjs';
|
|
8
|
+
export { b8 as ActionIcon, c as ActionRunnerOptions, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, i as BridgeEngineCaller, j as Busy, C as COMMANDS, b9 as ClipboardStore, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, ba as ContextKey, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, bb as EditorBinding, bc as EditorEnv, bd as EditorEnvExtras, 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, X as Invocation, be as KeySpec, bf as Placement, 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, ac as RunCtx, ad as RunOutcome, ae as RunSlot, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, 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, bg as disabledReason, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aV as reportDiagnostics, bh as resolveContributions, bi as rowActions, aX as toArgv, aY as uniqueDiagnostics } from './registry-C-aNjCYV.mjs';
|
|
9
9
|
import { NodeProps, Node } from '@xyflow/react';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import '@bufbuild/protobuf/wire';
|
|
@@ -102,7 +102,7 @@ declare class ErrorBoundary extends React__default.Component<{
|
|
|
102
102
|
static getDerivedStateFromError(error: Error): {
|
|
103
103
|
error: Error;
|
|
104
104
|
};
|
|
105
|
-
render(): string | number | boolean | Iterable<React__default.ReactNode> |
|
|
105
|
+
render(): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<React__default.ReactNode> | null | undefined;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
type InterfacePin = NodePin & {
|
|
@@ -333,4 +333,5 @@ type CanvasContextValue = {
|
|
|
333
333
|
declare const CanvasContext: React.Context<CanvasContextValue | null>;
|
|
334
334
|
declare function useCanvas(): CanvasContextValue;
|
|
335
335
|
|
|
336
|
-
export { AccordionSection, ActionContribution, ActionRunner, ActionTarget, App,
|
|
336
|
+
export { AccordionSection, ActionContribution, ActionRunner, ActionTarget, App, Badge, BoundPath, CanvasContext, CanvasCtx, CanvasPorts, CanvasSelection, CanvasSource, CommandArgsForm, CommandRead, CommandResult, ConflictBanner, ContextMenu, ContributionSet, Decorations, EdgeInspectorPanel, ErrorBoundary, ErrorState, GroupNode, JsonOf, LocalsContent, LocalsPanel, ModuleConfigPanel, ModuleInterfaceContent, ModuleInterfacePanel, ModuleNode, NodeConfigBusProvider, NodeDecoration, OverlayContribution, PanelScope, PanelSpec, PendingForm, ProvidersContent, ProvidersPanel, ResultStore, SnapshotFetchError, SourceEnd, SourcePort, SourceRefusedBanner, TerraformConfigContent, TerraformConfigPanel, UngeneratedMarker, UnifiedSettingsPanel, UnsavedMarker, conflictPanel, decorate, decorateDescribe, defineOverlay, describeOverlay, snapshotSource, sourceRefusedPanel, ungeneratedMarker, unsavedMarker, useCanvas, useCanvasSource, useCommandRead, useEditing, usePanelScope };
|
|
337
|
+
export type { AppProps, CanvasContextValue, CommandArgsFormProps, CommandReadState, Contributions, GroupNodeData, InterfacePin, ModuleNodeData, Panel, PanelProps, PanelScopeValue, SnapshotSourceInput };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ export { Toast } from '@lace-cloud/ui/feedback';
|
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { FC, ReactNode } from 'react';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
7
|
+
import { aZ as ContributionSet, a_ as PanelSpec, a$ as CanvasCtx, k as CanvasPorts, ab as ResultStore, S as SourcePort, A as ActionContribution, b0 as Badge, b1 as NodeDecoration, b2 as Decorations, $ as PendingForm, h as BoundPath, b3 as CommandRead, J as JsonOf, b4 as OverlayContribution, d as ActionTarget, r as CommandResult, l as CanvasSource, ap as SourceEnd, b as ActionRunner, b5 as Bundle, b6 as CanvasSelection, b7 as LayoutHandle } from './registry-C-aNjCYV.js';
|
|
8
|
+
export { b8 as ActionIcon, c as ActionRunnerOptions, e as ApplyResult, f as ApplyUnobservedError, g as ArgsOf, B as BindingRuntime, i as BridgeEngineCaller, j as Busy, C as COMMANDS, b9 as ClipboardStore, m as CommandBinding, n as CommandDetachedError, o as CommandExitError, p as CommandFailure, q as CommandPath, s as CommandRun, t as CommandUnobservedError, u as CommandsPort, v as ConfirmSpec, w as ConnectCallerOptions, x as ConnectError, ba as ContextKey, y as ContextPort, z as CreatedRef, D as DirectEngineCaller, E as EMPTY_REPORT_FOLD, bb as EditorBinding, bc as EditorEnv, bd as EditorEnvExtras, 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, X as Invocation, be as KeySpec, bf as Placement, 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, ac as RunCtx, ad as RunOutcome, ae as RunSlot, ah as RunnerPorts, ai as RunningMark, aj as SCHEMAS, ak as Sink, al as SinkInput, am as SlotContext, an as SlotKind, ao as SourceConflict, 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, bg as disabledReason, aI as foldReport, aJ as generatedTree, aK as isBoundPath, aM as openEngineCommands, aN as openEngineSession, aO as parseBound, aP as parseCommandFailure, aV as reportDiagnostics, bh as resolveContributions, bi as rowActions, aX as toArgv, aY as uniqueDiagnostics } from './registry-C-aNjCYV.js';
|
|
9
9
|
import { NodeProps, Node } from '@xyflow/react';
|
|
10
10
|
import 'zod';
|
|
11
11
|
import '@bufbuild/protobuf/wire';
|
|
@@ -102,7 +102,7 @@ declare class ErrorBoundary extends React__default.Component<{
|
|
|
102
102
|
static getDerivedStateFromError(error: Error): {
|
|
103
103
|
error: Error;
|
|
104
104
|
};
|
|
105
|
-
render(): string | number | boolean | Iterable<React__default.ReactNode> |
|
|
105
|
+
render(): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<React__default.ReactNode> | null | undefined;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
type InterfacePin = NodePin & {
|
|
@@ -333,4 +333,5 @@ type CanvasContextValue = {
|
|
|
333
333
|
declare const CanvasContext: React.Context<CanvasContextValue | null>;
|
|
334
334
|
declare function useCanvas(): CanvasContextValue;
|
|
335
335
|
|
|
336
|
-
export { AccordionSection, ActionContribution, ActionRunner, ActionTarget, App,
|
|
336
|
+
export { AccordionSection, ActionContribution, ActionRunner, ActionTarget, App, Badge, BoundPath, CanvasContext, CanvasCtx, CanvasPorts, CanvasSelection, CanvasSource, CommandArgsForm, CommandRead, CommandResult, ConflictBanner, ContextMenu, ContributionSet, Decorations, EdgeInspectorPanel, ErrorBoundary, ErrorState, GroupNode, JsonOf, LocalsContent, LocalsPanel, ModuleConfigPanel, ModuleInterfaceContent, ModuleInterfacePanel, ModuleNode, NodeConfigBusProvider, NodeDecoration, OverlayContribution, PanelScope, PanelSpec, PendingForm, ProvidersContent, ProvidersPanel, ResultStore, SnapshotFetchError, SourceEnd, SourcePort, SourceRefusedBanner, TerraformConfigContent, TerraformConfigPanel, UngeneratedMarker, UnifiedSettingsPanel, UnsavedMarker, conflictPanel, decorate, decorateDescribe, defineOverlay, describeOverlay, snapshotSource, sourceRefusedPanel, ungeneratedMarker, unsavedMarker, useCanvas, useCanvasSource, useCommandRead, useEditing, usePanelScope };
|
|
337
|
+
export type { AppProps, CanvasContextValue, CommandArgsFormProps, CommandReadState, Contributions, GroupNodeData, InterfacePin, ModuleNodeData, Panel, PanelProps, PanelScopeValue, SnapshotSourceInput };
|
package/dist/index.mjs
CHANGED
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
rowActions,
|
|
47
47
|
toArgv,
|
|
48
48
|
uniqueDiagnostics
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-45HRNFCU.mjs";
|
|
50
50
|
|
|
51
51
|
// src/index.ts
|
|
52
52
|
import { projectCanvasView as projectCanvasView2 } from "@lace-cloud/proto";
|
|
@@ -3702,14 +3702,17 @@ import { createElement as createElement2 } from "react";
|
|
|
3702
3702
|
|
|
3703
3703
|
// src/components/panels/ModuleConfigPanel.tsx
|
|
3704
3704
|
import { deriveNodeConfig, instanceAddress as instanceAddress6 } from "@lace-cloud/proto";
|
|
3705
|
-
import {
|
|
3705
|
+
import {
|
|
3706
|
+
assertNever,
|
|
3707
|
+
Button as Button12,
|
|
3708
|
+
IconButton as IconButton9,
|
|
3709
|
+
Input as Input8,
|
|
3710
|
+
ModeToggle,
|
|
3711
|
+
Panel as Panel6,
|
|
3712
|
+
Textarea as Textarea3
|
|
3713
|
+
} from "@lace-cloud/ui";
|
|
3706
3714
|
import { useMemo as useMemo11 } from "react";
|
|
3707
3715
|
|
|
3708
|
-
// src/exhaustive.ts
|
|
3709
|
-
function assertNever(value) {
|
|
3710
|
-
throw new Error(`Unhandled closed-enum branch: ${JSON.stringify(value)}`);
|
|
3711
|
-
}
|
|
3712
|
-
|
|
3713
3716
|
// src/hooks/useDraft.ts
|
|
3714
3717
|
import { useState as useState13 } from "react";
|
|
3715
3718
|
|