@reeve-iot/workflow-mui 1.0.0 → 1.1.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 +17 -3
- package/dist/canvas/BlockNode.d.ts +0 -1
- package/dist/canvas/BlockNode.js +0 -1
- package/dist/canvas/Connection.d.ts +0 -1
- package/dist/canvas/Connection.js +0 -1
- package/dist/canvas/WorkflowCanvas.d.ts +0 -1
- package/dist/canvas/WorkflowCanvas.js +0 -1
- package/dist/canvas/analysedPortTerm.d.ts +0 -1
- package/dist/canvas/analysedPortTerm.js +0 -1
- package/dist/canvas/geometry.d.ts +0 -1
- package/dist/canvas/geometry.js +0 -1
- package/dist/canvas/graphTopology.d.ts +0 -1
- package/dist/canvas/graphTopology.js +0 -1
- package/dist/canvas/highlights.d.ts +0 -1
- package/dist/canvas/highlights.js +0 -1
- package/dist/canvas/nodePorts.d.ts +0 -1
- package/dist/canvas/nodePorts.js +0 -1
- package/dist/canvas/portCustomization.d.ts +0 -1
- package/dist/canvas/portCustomization.js +0 -1
- package/dist/canvas/portGeometry.d.ts +0 -1
- package/dist/canvas/portGeometry.js +0 -1
- package/dist/canvas/portLabelLayout.d.ts +0 -1
- package/dist/canvas/portLabelLayout.js +0 -1
- package/dist/canvas/unavailableBlock.d.ts +0 -1
- package/dist/canvas/unavailableBlock.js +0 -1
- package/dist/config/ErrorHandlingSection.d.ts +0 -1
- package/dist/config/ErrorHandlingSection.js +0 -1
- package/dist/config/NodeConfigPanel.d.ts +0 -1
- package/dist/config/NodeConfigPanel.js +0 -1
- package/dist/config/PassthroughSection.d.ts +0 -1
- package/dist/config/PassthroughSection.js +0 -1
- package/dist/config/ResiliencySection.d.ts +0 -1
- package/dist/config/ResiliencySection.js +0 -1
- package/dist/config/TypeArgumentPicker.d.ts +0 -1
- package/dist/config/TypeArgumentPicker.js +0 -1
- package/dist/config/nodeConfigCustomization.d.ts +0 -1
- package/dist/config/nodeConfigCustomization.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/mapping/MappingDialog.d.ts +0 -1
- package/dist/mapping/MappingDialog.js +0 -1
- package/dist/mapping/mappingCustomization.d.ts +0 -1
- package/dist/mapping/mappingCustomization.js +0 -1
- package/dist/mapping/wireSourceOutputs.d.ts +0 -1
- package/dist/mapping/wireSourceOutputs.js +0 -1
- package/dist/nameDraft.d.ts +0 -1
- package/dist/nameDraft.js +0 -1
- package/dist/navigation/SubCanvasBreadcrumb.d.ts +0 -1
- package/dist/navigation/SubCanvasBreadcrumb.js +0 -1
- package/dist/palette/BlockPalette.d.ts +0 -1
- package/dist/palette/BlockPalette.js +0 -1
- package/dist/ports/KeyValueRowsField.d.ts +0 -1
- package/dist/ports/KeyValueRowsField.js +0 -1
- package/dist/ports/PortDeclarationTable.d.ts +0 -1
- package/dist/ports/PortDeclarationTable.js +0 -1
- package/dist/ports/PortValueEditor.d.ts +0 -1
- package/dist/ports/PortValueEditor.js +0 -1
- package/dist/ports/collectionComposer.d.ts +0 -1
- package/dist/ports/collectionComposer.js +0 -1
- package/dist/ports/refusedLiteral.d.ts +0 -1
- package/dist/ports/refusedLiteral.js +0 -1
- package/dist/ports/writeTerm.d.ts +0 -1
- package/dist/ports/writeTerm.js +0 -1
- package/dist/settings/ConcurrencySection.d.ts +0 -1
- package/dist/settings/ConcurrencySection.js +0 -1
- package/dist/settings/ParameterDeclarationDialog.d.ts +0 -1
- package/dist/settings/ParameterDeclarationDialog.js +0 -1
- package/dist/settings/WorkflowExecutionSection.d.ts +0 -1
- package/dist/settings/WorkflowExecutionSection.js +0 -1
- package/dist/theme/editorColors.d.ts +0 -1
- package/dist/theme/editorColors.js +0 -1
- package/dist/validation/ValidationFindings.d.ts +0 -1
- package/dist/validation/ValidationFindings.js +0 -1
- package/package.json +6 -2
- package/dist/canvas/BlockNode.d.ts.map +0 -1
- package/dist/canvas/BlockNode.js.map +0 -1
- package/dist/canvas/Connection.d.ts.map +0 -1
- package/dist/canvas/Connection.js.map +0 -1
- package/dist/canvas/WorkflowCanvas.d.ts.map +0 -1
- package/dist/canvas/WorkflowCanvas.js.map +0 -1
- package/dist/canvas/analysedPortTerm.d.ts.map +0 -1
- package/dist/canvas/analysedPortTerm.js.map +0 -1
- package/dist/canvas/geometry.d.ts.map +0 -1
- package/dist/canvas/geometry.js.map +0 -1
- package/dist/canvas/graphTopology.d.ts.map +0 -1
- package/dist/canvas/graphTopology.js.map +0 -1
- package/dist/canvas/highlights.d.ts.map +0 -1
- package/dist/canvas/highlights.js.map +0 -1
- package/dist/canvas/nodePorts.d.ts.map +0 -1
- package/dist/canvas/nodePorts.js.map +0 -1
- package/dist/canvas/portCustomization.d.ts.map +0 -1
- package/dist/canvas/portCustomization.js.map +0 -1
- package/dist/canvas/portGeometry.d.ts.map +0 -1
- package/dist/canvas/portGeometry.js.map +0 -1
- package/dist/canvas/portLabelLayout.d.ts.map +0 -1
- package/dist/canvas/portLabelLayout.js.map +0 -1
- package/dist/canvas/unavailableBlock.d.ts.map +0 -1
- package/dist/canvas/unavailableBlock.js.map +0 -1
- package/dist/config/ErrorHandlingSection.d.ts.map +0 -1
- package/dist/config/ErrorHandlingSection.js.map +0 -1
- package/dist/config/NodeConfigPanel.d.ts.map +0 -1
- package/dist/config/NodeConfigPanel.js.map +0 -1
- package/dist/config/PassthroughSection.d.ts.map +0 -1
- package/dist/config/PassthroughSection.js.map +0 -1
- package/dist/config/ResiliencySection.d.ts.map +0 -1
- package/dist/config/ResiliencySection.js.map +0 -1
- package/dist/config/TypeArgumentPicker.d.ts.map +0 -1
- package/dist/config/TypeArgumentPicker.js.map +0 -1
- package/dist/config/nodeConfigCustomization.d.ts.map +0 -1
- package/dist/config/nodeConfigCustomization.js.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/mapping/MappingDialog.d.ts.map +0 -1
- package/dist/mapping/MappingDialog.js.map +0 -1
- package/dist/mapping/mappingCustomization.d.ts.map +0 -1
- package/dist/mapping/mappingCustomization.js.map +0 -1
- package/dist/mapping/wireSourceOutputs.d.ts.map +0 -1
- package/dist/mapping/wireSourceOutputs.js.map +0 -1
- package/dist/nameDraft.d.ts.map +0 -1
- package/dist/nameDraft.js.map +0 -1
- package/dist/navigation/SubCanvasBreadcrumb.d.ts.map +0 -1
- package/dist/navigation/SubCanvasBreadcrumb.js.map +0 -1
- package/dist/palette/BlockPalette.d.ts.map +0 -1
- package/dist/palette/BlockPalette.js.map +0 -1
- package/dist/ports/KeyValueRowsField.d.ts.map +0 -1
- package/dist/ports/KeyValueRowsField.js.map +0 -1
- package/dist/ports/PortDeclarationTable.d.ts.map +0 -1
- package/dist/ports/PortDeclarationTable.js.map +0 -1
- package/dist/ports/PortValueEditor.d.ts.map +0 -1
- package/dist/ports/PortValueEditor.js.map +0 -1
- package/dist/ports/collectionComposer.d.ts.map +0 -1
- package/dist/ports/collectionComposer.js.map +0 -1
- package/dist/ports/refusedLiteral.d.ts.map +0 -1
- package/dist/ports/refusedLiteral.js.map +0 -1
- package/dist/ports/writeTerm.d.ts.map +0 -1
- package/dist/ports/writeTerm.js.map +0 -1
- package/dist/settings/ConcurrencySection.d.ts.map +0 -1
- package/dist/settings/ConcurrencySection.js.map +0 -1
- package/dist/settings/ParameterDeclarationDialog.d.ts.map +0 -1
- package/dist/settings/ParameterDeclarationDialog.js.map +0 -1
- package/dist/settings/WorkflowExecutionSection.d.ts.map +0 -1
- package/dist/settings/WorkflowExecutionSection.js.map +0 -1
- package/dist/theme/editorColors.d.ts.map +0 -1
- package/dist/theme/editorColors.js.map +0 -1
- package/dist/validation/ValidationFindings.d.ts.map +0 -1
- package/dist/validation/ValidationFindings.js.map +0 -1
package/README.md
CHANGED
|
@@ -17,9 +17,11 @@ on `@reeve-iot/workflow-core` directly and MUI never enters your bundle.
|
|
|
17
17
|
|
|
18
18
|
## What it contains
|
|
19
19
|
|
|
20
|
-
The workflow canvas, block nodes, the block palette, the node configuration panel with
|
|
21
|
-
|
|
22
|
-
|
|
20
|
+
The workflow canvas, block nodes, the block palette, the node configuration panel (with Resiliency, Error Handling,
|
|
21
|
+
Passthrough and Type Arguments sections), `WorkflowExecutionSection` for a workflow's deadline, retry and checkpoint
|
|
22
|
+
policy, `ConcurrencySection` for its concurrency mode and queue, the mapping dialog, port value editors, navigation
|
|
23
|
+
and validation display. Every component reads and writes through the editor store of `core`; none fetches. To load and
|
|
24
|
+
save over HTTP, add
|
|
23
25
|
[`@reeve-iot/workflow-client`](https://github.com/reeve-iot/reeve-workflow/tree/main/packages/client) and
|
|
24
26
|
[`@reeve-iot/workflow-adapters`](https://github.com/reeve-iot/reeve-workflow/tree/main/packages/adapters).
|
|
25
27
|
|
|
@@ -39,6 +41,18 @@ export function Editor({ portTypes }: { portTypes: PortTypeRegistry }) {
|
|
|
39
41
|
}
|
|
40
42
|
```
|
|
41
43
|
|
|
44
|
+
### Customising
|
|
45
|
+
|
|
46
|
+
A host reaches into the editor through React contexts. Without a provider each one is empty and the editor draws only
|
|
47
|
+
what the block catalogue declares.
|
|
48
|
+
|
|
49
|
+
| Context | What the host supplies |
|
|
50
|
+
|---|---|
|
|
51
|
+
| `NodeConfigCustomizationContext` | Renderers for configuration fields, extra sections in the configuration panel, a type-argument picker and a control for `Json` expressions. |
|
|
52
|
+
| `NodePortCustomizationContext` | Ports to hide, input types that depend on the node's configuration, and ports discovered at runtime. |
|
|
53
|
+
| `MappingCustomizationContext` | The projection control in the mapping dialog. |
|
|
54
|
+
| `EditorColorsContext` | Literal colours for the canvas. By default `deriveEditorColors(theme)` builds them from the active MUI theme; a theme in MUI's CSS-variables mode needs literal colours here, because the canvas paints with SVG attributes that do not resolve `var(--…)`. |
|
|
55
|
+
|
|
42
56
|
### Validation findings
|
|
43
57
|
|
|
44
58
|
The `ValidationFindings` component displays editor findings and warnings, or the diagnostics a publish attempt
|
|
@@ -28,4 +28,3 @@ export interface BlockNodeProps {
|
|
|
28
28
|
describeUnavailableBlock?: DescribeUnavailableBlock;
|
|
29
29
|
}
|
|
30
30
|
export declare const BlockNode: import("react").MemoExoticComponent<({ node, isSelected, isConnecting, onDragStart, onConnectionStart, onConnectionEnd, onSelect, highlight, diffHighlight, readOnly, isBreakpoint, isPausedHere, isFlashing, flashKey, entryNodeLabel, exitNodeLabel, describeUnavailableBlock, }: BlockNodeProps) => import("react").JSX.Element>;
|
|
31
|
-
//# sourceMappingURL=BlockNode.d.ts.map
|
package/dist/canvas/BlockNode.js
CHANGED
|
@@ -8,4 +8,3 @@ export interface ConnectionProps {
|
|
|
8
8
|
}
|
|
9
9
|
/** One wire between two nodes, drawn as a horizontal cubic so it leaves and enters sideways. */
|
|
10
10
|
export declare function Connection({ edge, nodes, isSelected, onClick }: ConnectionProps): import("react").JSX.Element;
|
|
11
|
-
//# sourceMappingURL=Connection.d.ts.map
|
|
@@ -20,4 +20,3 @@ export function Connection({ edge, nodes, isSelected, onClick }) {
|
|
|
20
20
|
}, [source, target]);
|
|
21
21
|
return (_jsxs("g", { onClick: onClick, "data-testid": `workflow-edge-${edge.sourceNodeId}-${edge.targetNodeId}`, style: { cursor: 'pointer' }, children: [_jsx("path", { d: path, fill: "none", stroke: isSelected ? colors.selected : colors.edge, strokeWidth: isSelected ? 4 : 2, pointerEvents: "visibleStroke" }), _jsx("path", { "data-testid": `workflow-edge-hit-${edge.sourceNodeId}-${edge.targetNodeId}`, d: path, fill: "none", stroke: "transparent", strokeWidth: WIRE_HIT_WIDTH_PX, vectorEffect: "non-scaling-stroke", pointerEvents: "stroke" })] }));
|
|
22
22
|
}
|
|
23
|
-
//# sourceMappingURL=Connection.js.map
|
|
@@ -14,4 +14,3 @@ export interface WorkflowCanvasProps {
|
|
|
14
14
|
describeUnavailableBlock?: DescribeUnavailableBlock;
|
|
15
15
|
}
|
|
16
16
|
export declare function WorkflowCanvas({ onCanvasClick, highlights, diffHighlights, readOnly, breakpointNodeIds, pausedNodeId, describeUnavailableBlock, }: WorkflowCanvasProps): import("react").JSX.Element;
|
|
17
|
-
//# sourceMappingURL=WorkflowCanvas.d.ts.map
|
|
@@ -256,4 +256,3 @@ export function WorkflowCanvas({ onCanvasClick, highlights, diffHighlights, read
|
|
|
256
256
|
return (_jsx(BlockNode, { node: node, isSelected: selectedNodeId === node.id, isConnecting: !!pendingConnection, highlight: highlight, diffHighlight: diffHighlights?.[node.id], readOnly: readOnly, isBreakpoint: breakpointNodeIds?.includes(node.id), isPausedHere: pausedNodeId === node.id, isFlashing: flashNodeId === node.id, flashKey: flashSeq, onDragStart: onNodeDragStart, onConnectionStart: onConnectionStart, onConnectionEnd: onConnectionEnd, onSelect: setSelectedNode, describeUnavailableBlock: describeUnavailableBlock }, node.id));
|
|
257
257
|
})] })] }) })] }));
|
|
258
258
|
}
|
|
259
|
-
//# sourceMappingURL=WorkflowCanvas.js.map
|
|
@@ -4,4 +4,3 @@ import type { PortTermDisplay } from '@reeve-iot/workflow-core';
|
|
|
4
4
|
export declare function useAnalysedPortTerm(): (nodeId: string, side: 'inputs' | 'outputs', name: string) => PortTermDisplay | undefined;
|
|
5
5
|
/** A term as text for a place that cannot style it: an answer older than the draft says so. */
|
|
6
6
|
export declare const termText: (display: PortTermDisplay) => string;
|
|
7
|
-
//# sourceMappingURL=analysedPortTerm.d.ts.map
|
|
@@ -15,4 +15,3 @@ export function useAnalysedPortTerm() {
|
|
|
15
15
|
}
|
|
16
16
|
/** A term as text for a place that cannot style it: an answer older than the draft says so. */
|
|
17
17
|
export const termText = (display) => display.stale ? `${display.text} (stale)` : display.text;
|
|
18
|
-
//# sourceMappingURL=analysedPortTerm.js.map
|
|
@@ -12,4 +12,3 @@ export declare const NODE_CONFIG_PANEL_WIDTH = 300;
|
|
|
12
12
|
export declare const MIN_CENTRING_WIDTH = 320;
|
|
13
13
|
/** Vertical centre of a node's first port row, in canvas coordinates. */
|
|
14
14
|
export declare function portAnchorY(nodeY: number): number;
|
|
15
|
-
//# sourceMappingURL=geometry.d.ts.map
|
package/dist/canvas/geometry.js
CHANGED
|
@@ -10,4 +10,3 @@ export declare const GraphTopologyContext: import("react").Context<GraphTopology
|
|
|
10
10
|
/** What a node needs of the graph without re-rendering on every drag frame. Inside a WorkflowCanvas the
|
|
11
11
|
* canvas derives it once and provides it; anywhere else the hook derives it from the store itself. */
|
|
12
12
|
export declare function useGraphTopology(): GraphTopology;
|
|
13
|
-
//# sourceMappingURL=graphTopology.d.ts.map
|
|
@@ -17,4 +17,3 @@ export interface NodePorts {
|
|
|
17
17
|
* Calls both seams unconditionally — they are hooks, and each decides per node whether it has anything to
|
|
18
18
|
* say. `node` may be null for a caller that has no node yet but must keep its hook order stable. */
|
|
19
19
|
export declare function useNodePorts(node: WorkflowNode | null, blockType: BlockTypeDescriptor | undefined): NodePorts;
|
|
20
|
-
//# sourceMappingURL=nodePorts.d.ts.map
|
package/dist/canvas/nodePorts.js
CHANGED
|
@@ -19,4 +19,3 @@ export interface NodePortCustomization {
|
|
|
19
19
|
}
|
|
20
20
|
export declare const NodePortCustomizationContext: import("react").Context<NodePortCustomization>;
|
|
21
21
|
export declare function useNodePortCustomization(): NodePortCustomization;
|
|
22
|
-
//# sourceMappingURL=portCustomization.d.ts.map
|
|
@@ -13,4 +13,3 @@ export type DescribeUnavailableBlock = (node: WorkflowNode) => Partial<Unavailab
|
|
|
13
13
|
/** The title and reason shown for `node`, whose block type is not in the catalogue: the host's wording where
|
|
14
14
|
* `describe` gives one, the generic wording otherwise. */
|
|
15
15
|
export declare function unavailableBlockText(node: WorkflowNode, describe?: DescribeUnavailableBlock): UnavailableBlockText;
|
|
16
|
-
//# sourceMappingURL=unavailableBlock.d.ts.map
|
|
@@ -10,4 +10,3 @@ export interface ErrorHandlingSectionProps {
|
|
|
10
10
|
}
|
|
11
11
|
/** What happens when the block throws. Collapsed by default — most nodes never change it. */
|
|
12
12
|
export declare function ErrorHandlingSection({ errorPolicy, onChange, onReset }: ErrorHandlingSectionProps): import("react").JSX.Element;
|
|
13
|
-
//# sourceMappingURL=ErrorHandlingSection.d.ts.map
|
|
@@ -17,4 +17,3 @@ export interface NodeConfigPanelProps {
|
|
|
17
17
|
* and passthrough. Everything domain-specific arrives through NodeConfigCustomization — the panel itself
|
|
18
18
|
* knows nothing beyond what a descriptor declares. */
|
|
19
19
|
export declare function NodeConfigPanel({ portValueEditor, rootCanvasLabel, describeUnavailableBlock, showWireLiterals, }: NodeConfigPanelProps): import("react").JSX.Element | null;
|
|
20
|
-
//# sourceMappingURL=NodeConfigPanel.d.ts.map
|
|
@@ -244,4 +244,3 @@ export function NodeConfigPanel({ portValueEditor, rootCanvasLabel = 'Main Workf
|
|
|
244
244
|
? (_jsx(PortValueEditor, { fieldName: name, label: name, rawValue: node.configuration[name] ?? '', fieldType: incoming.find((v) => v.name === name)?.type, literalForm: literalFormOf(incoming.find((v) => v.name === name)?.type), onClear: () => { clearFields([name]); }, hasConnection: isFedByAnEdge(name), onChange: (value) => { setField(name, value); }, onObjectChange: (value) => { setField(name, value); }, ...portValueEditor }, `${node.id}:passthrough:${name}`))
|
|
245
245
|
: null) }, `${node.id}-passthrough`)] })] }));
|
|
246
246
|
}
|
|
247
|
-
//# sourceMappingURL=NodeConfigPanel.js.map
|
|
@@ -16,4 +16,3 @@ export interface PassthroughSectionProps {
|
|
|
16
16
|
/** Which incoming variables this node forwards to its own outputs, plus names typed by hand for a value
|
|
17
17
|
* the editor cannot see yet — a plugin output the catalogue has not caught up with. */
|
|
18
18
|
export declare function PassthroughSection({ incoming, passthrough, onToggle, subCanvasNames, renderValueEditor, termOf, }: PassthroughSectionProps): import("react").JSX.Element;
|
|
19
|
-
//# sourceMappingURL=PassthroughSection.d.ts.map
|
|
@@ -35,4 +35,3 @@ export function PassthroughSection({ incoming, passthrough, onToggle, subCanvasN
|
|
|
35
35
|
}, onChange: (e) => { setDraft({ scope: context, text: e.target.value, touched: true }); }, onKeyDown: (e) => { if (e.key === 'Enter')
|
|
36
36
|
addCustom(); } }) })] }));
|
|
37
37
|
}
|
|
38
|
-
//# sourceMappingURL=PassthroughSection.js.map
|
|
@@ -15,4 +15,3 @@ export interface ResiliencySectionProps {
|
|
|
15
15
|
/** Per-node timeout and retry. What the engine does with an unset retry is not a fixed answer — it is the
|
|
16
16
|
* block's own IsIdempotent — so the box offers that as a state rather than guessing one of the two. */
|
|
17
17
|
export declare function ResiliencySection({ configuration, onChange, isContainer, onClear }: ResiliencySectionProps): import("react").JSX.Element;
|
|
18
|
-
//# sourceMappingURL=ResiliencySection.d.ts.map
|
|
@@ -154,4 +154,3 @@ export function ResiliencySection({ configuration, onChange, isContainer = false
|
|
|
154
154
|
onClear?.(RETRY_KEYS);
|
|
155
155
|
}, helperText: RETRY_HELP[retryChoice], children: [_jsx("option", { value: "default", disabled: onClear === undefined, children: "Default \u2014 the block decides" }), _jsx("option", { value: "on", children: "On" }), _jsx("option", { value: "off", children: "Off" }), retryChoice === 'unreadable' && (_jsx("option", { value: "unreadable", disabled: true, children: "Unreadable \u2014 the engine refuses this node" }))] }), (retryChoice === 'on' || isSet(configuration['retryCount'])) && (_jsx(CommittedNumberField, { label: "Retry Count", display: displayStored(configuration['retryCount'], String(DEFAULT_RETRY_COUNT)), stored: storedVerdict(configuration['retryCount'], COUNT_BOUNDS), bounds: COUNT_BOUNDS, onCommit: (value) => { onChange('retryCount', value); }, onCommitEmpty: () => { onChange('retryCount', DEFAULT_RETRY_COUNT); }, helperText: "Retry attempts after the first, where 0 means none. Max time is roughly count x timeout." })), (retryChoice === 'on' || isSet(configuration['retryBackoffSeconds'])) && (_jsx(CommittedNumberField, { label: "Backoff (seconds)", display: displayStored(configuration['retryBackoffSeconds'], String(DEFAULT_RETRY_BACKOFF_SECONDS)), stored: storedVerdict(configuration['retryBackoffSeconds'], backoff), bounds: backoff, onCommit: (value) => { onChange('retryBackoffSeconds', value); }, onCommitEmpty: () => { onChange('retryBackoffSeconds', DEFAULT_RETRY_BACKOFF_SECONDS); }, helperText: "Initial delay for exponential backoff" }))] })] }));
|
|
156
156
|
}
|
|
157
|
-
//# sourceMappingURL=ResiliencySection.js.map
|
|
@@ -29,4 +29,3 @@ function ParameterRow({ parameter, context }) {
|
|
|
29
29
|
export function TypeArgumentPicker({ context }) {
|
|
30
30
|
return (_jsxs(Box, { sx: { mt: 2, mb: 2 }, children: [_jsx(Typography, { variant: "subtitle2", sx: { mb: 1 }, children: "Type Arguments" }), context.typeParameters.map((parameter) => _jsx(ParameterRow, { parameter: parameter, context: context }, parameter.name))] }));
|
|
31
31
|
}
|
|
32
|
-
//# sourceMappingURL=TypeArgumentPicker.js.map
|
|
@@ -98,4 +98,3 @@ export interface NodeConfigCustomization {
|
|
|
98
98
|
}
|
|
99
99
|
export declare const NodeConfigCustomizationContext: import("react").Context<NodeConfigCustomization>;
|
|
100
100
|
export declare function useNodeConfigCustomization(): NodeConfigCustomization;
|
|
101
|
-
//# sourceMappingURL=nodeConfigCustomization.d.ts.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -8,4 +8,3 @@ export interface MappingDialogProps {
|
|
|
8
8
|
* The port lists come from the same customization seam the canvas uses, so the dialog cannot drift from
|
|
9
9
|
* what the node draws. */
|
|
10
10
|
export declare function MappingDialog({ edgeId, onClose, entryNodeLabel, exitNodeLabel }: MappingDialogProps): import("react").JSX.Element | null;
|
|
11
|
-
//# sourceMappingURL=MappingDialog.d.ts.map
|
|
@@ -280,4 +280,3 @@ export function MappingDialog({ edgeId, onClose, entryNodeLabel = 'Workflow Inpu
|
|
|
280
280
|
})] })) : storedRefusalOf(input) !== undefined ? (_jsx(RefusedLiteral, { testId: `literal-refused-${input.name}`, value: valueStored(input), expected: storedRefusalOf(input) ?? '', onReplace: () => { replaceStored(input); } })) : kind === 'number' ? (_jsx(TextField, { fullWidth: true, size: "small", type: "text", placeholder: "Literal value", value: valueTextOf(input), error: numberInvalid(input), helperText: numberInvalid(input) ? (_jsxs("span", { "data-testid": `literal-error-${input.name}`, "data-rule-id": "literal-port-value-invalid", children: ["This value cannot be read as ", formOf(input)?.gradedAs ?? input.type, "."] })) : undefined, slotProps: { htmlInput: { inputMode: 'decimal', 'aria-label': `${input.displayName} literal` } }, onChange: (e) => { changeNumber(input.name, formOf(input)?.gradedAs ?? input.type, e.target.value); } })) : kind === 'text' ? (_jsx(TextField, { fullWidth: true, size: "small", multiline: true, rows: 4, placeholder: "Literal value", value: String(valueStored(input) ?? ''), slotProps: { htmlInput: { 'aria-label': `${input.displayName} literal` } }, onChange: (e) => { change(input.name, 'literalValue', e.target.value); } })) : kind === 'none' ? (_jsx(Typography, { variant: "caption", color: "textSecondary", "data-testid": `literal-none-${input.name}`, children: "This type takes no literal value. Connect a wire or write an expression." })) : kind === 'boolean' ? (_jsx(Switch, { size: "small", checked: valueStored(input) === true, slotProps: { input: { 'aria-label': `${input.displayName} literal` } }, onChange: (e) => { changeLiteral(input.name, e.target.checked); } })) : (_jsx(TextField, { fullWidth: true, size: "small", multiline: true, rows: 4, placeholder: "[1, 2, 3]", value: jsonTextOf(input), error: refusalOf(input) !== '', helperText: refusalOf(input) || undefined, slotProps: { htmlInput: { 'aria-label': `${input.displayName} literal`, style: { fontFamily: 'monospace', fontSize: 11 } } }, onChange: (e) => { changeJson(input, e.target.value); } }))] }))] })] }, input.name));
|
|
281
281
|
}) })] }) }))] }), _jsxs(DialogActions, { sx: { justifyContent: 'space-between', px: 3 }, children: [_jsx(Button, { color: "error", startIcon: _jsx(DeleteIcon, {}), onClick: () => { removeEdge(edgeId); onClose(); }, children: "Remove Connection" }), _jsxs(Box, { children: [_jsx(Button, { onClick: onClose, sx: { mr: 1 }, children: "Cancel" }), _jsx(Button, { variant: "contained", color: "primary", disabled: refused, onClick: save, children: "Save Mappings" })] })] })] }));
|
|
282
282
|
}
|
|
283
|
-
//# sourceMappingURL=MappingDialog.js.map
|
|
@@ -48,4 +48,3 @@ export declare const MappingCustomizationContext: import("react").Context<Mappin
|
|
|
48
48
|
/** The `MappingCustomization` in effect; an empty one where no provider is mounted. */
|
|
49
49
|
export declare function useMappingCustomization(): MappingCustomization;
|
|
50
50
|
export {};
|
|
51
|
-
//# sourceMappingURL=mappingCustomization.d.ts.map
|
package/dist/nameDraft.d.ts
CHANGED
package/dist/nameDraft.js
CHANGED
|
@@ -5,4 +5,3 @@ export interface SubCanvasBreadcrumbProps {
|
|
|
5
5
|
/** Where in the sub-canvas stack the editor currently is, plus one-click travel back out and sideways
|
|
6
6
|
* into a sibling branch of the same block. */
|
|
7
7
|
export declare function SubCanvasBreadcrumb({ rootLabel }: SubCanvasBreadcrumbProps): import("react").JSX.Element;
|
|
8
|
-
//# sourceMappingURL=SubCanvasBreadcrumb.d.ts.map
|
|
@@ -28,4 +28,3 @@ export function SubCanvasBreadcrumb({ rootLabel = 'Main Workflow' }) {
|
|
|
28
28
|
return (_jsxs(Fragment, { children: [_jsx(ChevronRightIcon, { sx: { fontSize: 16, color: 'text.disabled' } }), _jsx(Chip, { label: isLast ? nodeLabel : `${nodeLabel} › ${frame.subCanvasName}`, size: "small", variant: isLast ? 'filled' : 'outlined', color: isLast ? 'primary' : 'default', clickable: !isLast, onClick: isLast ? undefined : () => exitToLevel(index + 1) })] }, `${frame.parentNodeId}:${frame.subCanvasName}:${index}`));
|
|
29
29
|
}), canvasStack.length > 0 && (_jsx(Typography, { variant: "caption", color: "text.secondary", sx: { ml: 1 }, children: "(editing sub-canvas)" }))] }), lastFrame && siblings.length > 1 && (_jsx(Box, { sx: { px: 2, borderTop: '1px solid', borderColor: 'divider' }, children: _jsx(Tabs, { value: lastFrame.subCanvasName, onChange: switchBranch, variant: "scrollable", scrollButtons: "auto", sx: { minHeight: 40, '& .MuiTab-root': { minHeight: 40, py: 0.5, fontSize: '0.875rem' } }, children: siblings.map((name) => (_jsx(Tab, { label: name, value: name }, name))) }) }))] }));
|
|
30
30
|
}
|
|
31
|
-
//# sourceMappingURL=SubCanvasBreadcrumb.js.map
|
|
@@ -53,4 +53,3 @@ export function BlockPalette({ isBlockLocked, uncategorisedLabel = 'Other', titl
|
|
|
53
53
|
}, children: _jsx(ListItemText, { primary: _jsxs(Box, { sx: { display: 'flex', alignItems: 'center', gap: 0.5 }, children: [bt.displayName, lock && _jsx(LockIcon, { sx: { fontSize: 12, color: 'text.disabled' } })] }), secondary: bt.description, slotProps: { primary: { variant: 'body2', sx: { fontWeight: 'bold' } }, secondary: { variant: 'caption' } } }) }) }) }, bt.blockTypeId));
|
|
54
54
|
}) }) })] }, category))) })] }));
|
|
55
55
|
}
|
|
56
|
-
//# sourceMappingURL=BlockPalette.js.map
|
|
@@ -32,4 +32,3 @@ export interface KeyValueRowsFieldProps {
|
|
|
32
32
|
/** The rows a `Map<String,String>` literal is edited in. Rows that cannot be written (no key, a repeated key, a key that is no field name) are marked
|
|
33
33
|
* where they stand and written nowhere, so the document keeps the last map that was whole. */
|
|
34
34
|
export declare function KeyValueRowsField({ fieldName, label, rawValue, description, onObjectChange, onClear, secretValues, canProtect }: KeyValueRowsFieldProps): import("react").JSX.Element;
|
|
35
|
-
//# sourceMappingURL=KeyValueRowsField.d.ts.map
|
|
@@ -16,4 +16,3 @@ export interface DeclaredOutputPortTableProps {
|
|
|
16
16
|
}
|
|
17
17
|
/** Editor for a node's declared outputs, including which port of each branch feeds them. */
|
|
18
18
|
export declare function DeclaredOutputPortTable({ label, subCanvasNames, value, onChange }: DeclaredOutputPortTableProps): import("react").JSX.Element;
|
|
19
|
-
//# sourceMappingURL=PortDeclarationTable.d.ts.map
|
|
@@ -109,4 +109,3 @@ export function DeclaredOutputPortTable({ label, subCanvasNames, value, onChange
|
|
|
109
109
|
return (_jsxs(Box, { sx: { border: '1px solid', borderColor: 'divider', borderRadius: 1, p: 1, mb: 1 }, children: [_jsxs(Box, { sx: { display: 'flex', gap: 1, alignItems: 'center' }, children: [_jsx(TextField, { size: "small", label: "Name", variant: "standard", value: name, error: nameFaultText !== null, helperText: nameFaultText ?? undefined, onChange: (e) => { changeName(index, e.target.value); } }), _jsx(TextField, { size: "small", label: "Label", variant: "standard", value: port.displayName ?? '', onChange: (e) => setField(index, 'displayName', e.target.value) }), _jsx(Select, { size: "small", variant: "standard", value: port.type, sx: { minWidth: 120 }, inputProps: { 'aria-label': `Output ${index + 1} type` }, onChange: (e) => setField(index, 'type', e.target.value), children: typesWithCurrent(typeNames, port.type).map((t) => _jsx(MenuItem, { value: t, children: t }, t)) }), _jsx(CollectionComposer, { type: port.type, portTypes: portTypes, ariaLabel: `Output ${index + 1} type wrapped in a collection`, onWrap: (wrapped) => setField(index, 'type', wrapped) }), _jsx(IconButton, { size: "small", color: "error", "aria-label": `Remove output ${index + 1}`, onClick: () => { onChange(ports.filter((_, i) => i !== index)); }, children: _jsx(DeleteIcon, { fontSize: "small" }) })] }), _jsx(Box, { sx: { pl: 1, mt: 0.5 }, children: subCanvasNames.map((branch) => (_jsx(TextField, { size: "small", variant: "standard", sx: { mr: 1, width: 140 }, label: `${branch} →`, placeholder: port.name, value: port.sources?.[branch] ?? '', onChange: (e) => setSource(index, branch, e.target.value) }, branch))) })] }, index));
|
|
110
110
|
}), _jsx(Button, { startIcon: _jsx(AddIcon, {}), size: "small", variant: "outlined", fullWidth: true, onClick: () => { onChange([...ports, newDeclaredOutput(ports, subCanvasNames)]); }, children: "Add Output Port" })] }));
|
|
111
111
|
}
|
|
112
|
-
//# sourceMappingURL=PortDeclarationTable.js.map
|
|
@@ -67,4 +67,3 @@ export interface PortValueEditorProps extends Omit<PortValueEditorContext, 'requ
|
|
|
67
67
|
* chosen here — leaving it means removing the wire on the canvas. */
|
|
68
68
|
export declare function PortValueEditor({ fieldName, label, rawValue, fieldType, literalForm, description, required, placeholder, onChange, allowedValues, onClear, hasConnection, renderTypeEditor, renderExpressionEditor, onObjectChange, expressionPrefix, secretValues, canProtectSecrets, storedValueRefusal, valueTerm, }: PortValueEditorProps): import("react").JSX.Element;
|
|
69
69
|
export {};
|
|
70
|
-
//# sourceMappingURL=PortValueEditor.d.ts.map
|
|
@@ -166,4 +166,3 @@ export function PortValueEditor({ fieldName, label, rawValue, fieldType, literal
|
|
|
166
166
|
write(number);
|
|
167
167
|
} })) : kind === null ? (_jsx(Typography, { variant: "caption", color: "text.secondary", "data-testid": `port-value-none-${fieldName}`, children: "This type takes no literal value. Connect a wire or write an expression." })) : (_jsx(TextField, { fullWidth: true, size: "small", value: textValue, type: "text", placeholder: placeholder, helperText: description ?? undefined, slotProps: { htmlInput: { 'data-testid': `port-value-input-${fieldName}` } }, onChange: (event) => write(event.target.value) }))] }));
|
|
168
168
|
}
|
|
169
|
-
//# sourceMappingURL=PortValueEditor.js.map
|
|
@@ -24,4 +24,3 @@ export interface CollectionComposerProps {
|
|
|
24
24
|
/** One more collection level around a picker's current type, beside the type Select. Rendered even when it
|
|
25
25
|
* refuses, so the control is discoverable; a disabled control offers nothing. */
|
|
26
26
|
export declare function CollectionComposer({ type, portTypes, ariaLabel, onWrap }: CollectionComposerProps): import("react").JSX.Element;
|
|
27
|
-
//# sourceMappingURL=collectionComposer.d.ts.map
|
|
@@ -35,4 +35,3 @@ export function CollectionComposer({ type, portTypes, ariaLabel, onWrap }) {
|
|
|
35
35
|
return (_jsx(Button, { size: "small", variant: "outlined", disabled: wrapped === null, "aria-label": ariaLabel, onClick: () => { if (wrapped !== null)
|
|
36
36
|
onWrap(wrapped); }, children: "Collection" }));
|
|
37
37
|
}
|
|
38
|
-
//# sourceMappingURL=collectionComposer.js.map
|
|
@@ -8,4 +8,3 @@ export function describeStoredLiteral(value) {
|
|
|
8
8
|
export function RefusedLiteral({ testId, value, expected, onReplace }) {
|
|
9
9
|
return (_jsxs(Alert, { severity: "error", "data-testid": testId, "data-rule-id": "literal-port-value-invalid", action: _jsx(Button, { color: "inherit", size: "small", onClick: onReplace, children: "Replace" }), children: ["The stored value ", describeStoredLiteral(value), " cannot be read as ", expected, "."] }));
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=refusedLiteral.js.map
|
|
@@ -3,4 +3,3 @@ import type { CanvasPathSegment, DraftAnalysisIndex, WorkflowNode } from '@reeve
|
|
|
3
3
|
* arguments first, so a control follows an argument the moment it is set; then those arguments with the last analysis
|
|
4
4
|
* answer filling the parameters they leave open; then the analysis port. */
|
|
5
5
|
export declare function inputWriteTerm(declared: string, node: WorkflowNode, inputName: string, analysis: DraftAnalysisIndex, canvasPath: readonly CanvasPathSegment[]): string | undefined;
|
|
6
|
-
//# sourceMappingURL=writeTerm.d.ts.map
|
package/dist/ports/writeTerm.js
CHANGED
|
@@ -8,4 +8,3 @@ export function inputWriteTerm(declared, node, inputName, analysis, canvasPath)
|
|
|
8
8
|
?? literalWriteTerm(declared, undefined, { ...analysis.node(canvasPath, node.id)?.typeArguments, ...own })
|
|
9
9
|
?? literalWriteTerm(declared, analysis.port(canvasPath, node.id, 'inputs', inputName), undefined);
|
|
10
10
|
}
|
|
11
|
-
//# sourceMappingURL=writeTerm.js.map
|
|
@@ -6,4 +6,3 @@ export interface ConcurrencySectionProps {
|
|
|
6
6
|
/** Concurrency settings. The fields that cannot apply to the chosen mode are hidden rather than disabled,
|
|
7
7
|
* so the form never shows a number the engine would ignore. */
|
|
8
8
|
export declare function ConcurrencySection({ value, onChange }: ConcurrencySectionProps): import("react").JSX.Element;
|
|
9
|
-
//# sourceMappingURL=ConcurrencySection.d.ts.map
|
|
@@ -29,4 +29,3 @@ export function ConcurrencySection({ value, onChange }) {
|
|
|
29
29
|
const showOverflow = value.mode === 'Queued' || value.mode === 'Parallel';
|
|
30
30
|
return (_jsxs(Box, { "data-testid": "concurrency-section", sx: { mt: 2 }, children: [_jsx(Typography, { variant: "subtitle1", sx: { fontWeight: 600 }, children: "Concurrency" }), _jsx(Typography, { variant: "caption", color: "text.secondary", sx: { display: 'block', mb: 2 }, children: "Controls how multiple trigger fires for this workflow are coordinated." }), _jsxs(Stack, { spacing: 2, children: [_jsxs(FormControl, { fullWidth: true, "data-testid": "concurrency-mode-select", children: [_jsx(InputLabel, { children: "Mode" }), _jsx(Select, { label: "Mode", value: value.mode, onChange: changeMode, slotProps: { input: { 'aria-label': 'Concurrency mode' } }, children: MODE_OPTIONS.map((option) => _jsx(MenuItem, { value: option.value, children: option.label }, option.value)) }), _jsx(FormHelperText, { children: MODE_OPTIONS.find((m) => m.value === value.mode)?.description ?? '' })] }), showMaxConcurrent && (_jsx(TextField, { type: "number", label: "Max concurrent runs", fullWidth: true, value: value.maxConcurrentRuns, onChange: changeNumber('maxConcurrentRuns', 1), slotProps: { htmlInput: { min: 1, 'data-testid': 'concurrency-max-concurrent-input' } }, helperText: "Number of runs allowed to execute at the same time. Must be >= 1." })), showMaxQueued && (_jsx(TextField, { type: "number", label: "Max queued runs", fullWidth: true, value: value.maxQueuedRuns, onChange: changeNumber('maxQueuedRuns', 0), slotProps: { htmlInput: { min: 0, 'data-testid': 'concurrency-max-queued-input' } }, helperText: "Capacity of the wait queue. Triggers beyond this apply the overflow behaviour. Must be >= 0." })), showOverflow && (_jsxs(FormControl, { fullWidth: true, "data-testid": "concurrency-overflow-select", children: [_jsx(InputLabel, { id: "concurrency-overflow-label", children: "Overflow behavior" }), _jsx(Select, { labelId: "concurrency-overflow-label", label: "Overflow behavior", value: value.overflowBehavior, onChange: (event) => onChange({ ...value, overflowBehavior: event.target.value }), slotProps: { input: { 'aria-label': 'Overflow behavior' } }, children: OVERFLOW_OPTIONS.map((option) => _jsx(MenuItem, { value: option.value, children: option.label }, option.value)) }), _jsx(FormHelperText, { children: OVERFLOW_OPTIONS.find((o) => o.value === value.overflowBehavior)?.description ?? '' })] }))] })] }));
|
|
31
31
|
}
|
|
32
|
-
//# sourceMappingURL=ConcurrencySection.js.map
|
|
@@ -33,4 +33,3 @@ export interface ParameterDeclarationDialogProps {
|
|
|
33
33
|
title?: string;
|
|
34
34
|
}
|
|
35
35
|
export declare function ParameterDeclarationDialog({ open, onClose, inputParameters, onInputParametersChange, outputParameters, onOutputParametersChange, name, onNameChange, description, onDescriptionChange, concurrency, onConcurrencyChange, executionTimeoutSeconds, onExecutionTimeoutSecondsChange, retryPolicyJson, onRetryPolicyJsonChange, checkpointPolicyJson, onCheckpointPolicyJsonChange, parameterTypes, generalSlot, title, }: ParameterDeclarationDialogProps): import("react").JSX.Element;
|
|
36
|
-
//# sourceMappingURL=ParameterDeclarationDialog.d.ts.map
|
|
@@ -79,4 +79,3 @@ export function ParameterDeclarationDialog({ open, onClose, inputParameters, onI
|
|
|
79
79
|
};
|
|
80
80
|
return (_jsxs(Dialog, { open: open, onClose: onClose, maxWidth: "md", fullWidth: true, children: [_jsx(DialogTitle, { children: title }), _jsxs(DialogContent, { dividers: true, children: [_jsx(Tabs, { value: activeTab, onChange: (_, val) => { setActiveTab(val); }, children: tabs.map((label) => _jsx(Tab, { label: label }, label)) }), current === 'General' && (_jsxs(Stack, { spacing: 3, sx: { mt: 2 }, children: [_jsx(TextField, { label: "Workflow Name", fullWidth: true, value: name, slotProps: { htmlInput: { 'aria-label': 'Workflow Name' } }, onChange: (e) => { onNameChange(e.target.value); } }), _jsx(TextField, { label: "Description", fullWidth: true, multiline: true, rows: 3, value: description ?? '', slotProps: { htmlInput: { 'aria-label': 'Description' } }, onChange: (e) => { onDescriptionChange(e.target.value || null); } }), generalSlot] })), current === 'Inputs' && renderTable('input'), current === 'Outputs' && renderTable('output'), current === rowTab && showConcurrency && concurrency !== undefined && onConcurrencyChange !== undefined && (_jsx(ConcurrencySection, { value: concurrency, onChange: onConcurrencyChange })), current === rowTab && showExecution && (_jsx(WorkflowExecutionSection, { executionTimeoutSeconds: executionTimeoutSeconds, onExecutionTimeoutSecondsChange: onExecutionTimeoutSecondsChange, retryPolicyJson: retryPolicyJson, onRetryPolicyJsonChange: onRetryPolicyJsonChange, checkpointPolicyJson: checkpointPolicyJson, onCheckpointPolicyJsonChange: onCheckpointPolicyJsonChange }))] }), _jsx(DialogActions, { children: _jsx(Button, { variant: "contained", color: "primary", onClick: onClose, children: "Done" }) })] }));
|
|
81
81
|
}
|
|
82
|
-
//# sourceMappingURL=ParameterDeclarationDialog.js.map
|
|
@@ -12,4 +12,3 @@ export interface WorkflowExecutionSectionProps {
|
|
|
12
12
|
/** The workflow row's own three engine settings: the deadline a whole run gets, and the retry and checkpoint
|
|
13
13
|
* policies it names. Each control is rendered only where the host supplies that control's own callback. */
|
|
14
14
|
export declare function WorkflowExecutionSection({ executionTimeoutSeconds, onExecutionTimeoutSecondsChange, retryPolicyJson, onRetryPolicyJsonChange, checkpointPolicyJson, onCheckpointPolicyJsonChange, }: WorkflowExecutionSectionProps): import("react").JSX.Element | null;
|
|
15
|
-
//# sourceMappingURL=WorkflowExecutionSection.d.ts.map
|
|
@@ -220,4 +220,3 @@ export function WorkflowExecutionSection({ executionTimeoutSeconds, onExecutionT
|
|
|
220
220
|
return null;
|
|
221
221
|
return (_jsxs(Box, { "data-testid": "workflow-execution-section", sx: { mt: 3 }, children: [_jsx(Typography, { variant: "subtitle1", sx: { fontWeight: 600 }, children: "Workflow execution" }), _jsx(Typography, { variant: "caption", color: "text.secondary", sx: { display: 'block', mb: 2 }, children: "What the row itself names: the deadline a run gets, and the retry and checkpoint policies it obeys." }), _jsxs(Stack, { spacing: 2, children: [onExecutionTimeoutSecondsChange !== undefined && (_jsx(ExecutionTimeoutField, { value: executionTimeoutSeconds, onChange: onExecutionTimeoutSecondsChange })), onRetryPolicyJsonChange !== undefined && (_jsx(RetryPolicyField, { value: retryPolicyJson, onChange: onRetryPolicyJsonChange })), onCheckpointPolicyJsonChange !== undefined && (_jsx(CheckpointPolicyField, { value: checkpointPolicyJson, onChange: onCheckpointPolicyJsonChange }))] })] }));
|
|
222
222
|
}
|
|
223
|
-
//# sourceMappingURL=WorkflowExecutionSection.js.map
|
|
@@ -27,4 +27,3 @@ export declare function deriveEditorColors(theme: Theme): EditorColors;
|
|
|
27
27
|
export declare const EditorColorsContext: import("react").Context<EditorColors | null>;
|
|
28
28
|
/** Colours for the canvas: whatever the host provided, else derived from the active MUI theme. */
|
|
29
29
|
export declare function useEditorColors(): EditorColors;
|
|
30
|
-
//# sourceMappingURL=editorColors.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reeve-iot/workflow-mui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Material UI presentation layer for @reeve-iot/workflow-core: canvas, block nodes, palette and config panels.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
"url": "git+https://github.com/reeve-iot/reeve-workflow.git",
|
|
25
25
|
"directory": "packages/mui"
|
|
26
26
|
},
|
|
27
|
+
"homepage": "https://github.com/reeve-iot/reeve-workflow/tree/main/packages/mui#readme",
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/reeve-iot/reeve-workflow/issues"
|
|
30
|
+
},
|
|
27
31
|
"keywords": [
|
|
28
32
|
"workflow",
|
|
29
33
|
"graph",
|
|
@@ -37,7 +41,7 @@
|
|
|
37
41
|
"typecheck": "tsc -b"
|
|
38
42
|
},
|
|
39
43
|
"dependencies": {
|
|
40
|
-
"@reeve-iot/workflow-core": "1.
|
|
44
|
+
"@reeve-iot/workflow-core": "1.1.0"
|
|
41
45
|
},
|
|
42
46
|
"peerDependencies": {
|
|
43
47
|
"@emotion/react": "^11.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"BlockNode.d.ts","sourceRoot":"","sources":["../../src/canvas/BlockNode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,IAAI,eAAe,EAAE,MAAM,OAAO,CAAA;AAE1D,OAAO,KAAK,EAA2C,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAoBrG,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAGlE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAA;AAgBrE,4FAA4F;AAC5F,eAAO,MAAM,eAAe,WAAoB,CAAA;AAEhD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,YAAY,CAAA;IAClB,UAAU,EAAE,OAAO,CAAA;IACnB,YAAY,EAAE,OAAO,CAAA;IACrB,kGAAkG;IAClG,WAAW,EAAE,CAAC,KAAK,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7D,iBAAiB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACjE,eAAe,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,SAAS,CAAC,EAAE,aAAa,CAAA;IACzB,aAAa,CAAC,EAAE,YAAY,CAAA;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,qFAAqF;IACrF,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,mHAAmH;IACnH,wBAAwB,CAAC,EAAE,wBAAwB,CAAA;CACpD;AAED,eAAO,MAAM,SAAS,sRAkBnB,cAAc,iCAyWf,CAAA"}
|