@pipelex/mthds-ui 0.13.0 → 0.15.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/{chunk-XCZLRCEJ.js → chunk-O62372BD.js} +64 -2
- package/dist/chunk-O62372BD.js.map +1 -0
- package/dist/chunk-QD5YDMWV.js +1 -0
- package/dist/{chunk-IMQ7MVYL.js → chunk-YC7TW3BW.js} +16 -2
- package/dist/chunk-YC7TW3BW.js.map +1 -0
- package/dist/graph/index.d.ts +38 -3
- package/dist/graph/index.js +13 -3
- package/dist/graph/react/graph-core.css +71 -2
- package/dist/graph/react/index.d.ts +8 -2
- package/dist/graph/react/index.js +282 -143
- package/dist/graph/react/index.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.js +13 -3
- package/dist/pipeRefs-BQJO5nh5.d.ts +19 -0
- package/dist/standalone/graph-standalone.html +82 -12
- package/dist/standalone/graph-viewer.css +71 -2
- package/dist/standalone/graph-viewer.js +11 -10
- package/dist/static-graph/index.d.ts +18 -1
- package/dist/static-graph/index.js +39 -12
- package/dist/static-graph/index.js.map +1 -1
- package/dist/{types-Cm4147S5.d.ts → types-DFIZ_rx6.d.ts} +42 -4
- package/package.json +1 -1
- package/dist/chunk-IMQ7MVYL.js.map +0 -1
- package/dist/chunk-L24K3TZU.js +0 -1
- package/dist/chunk-XCZLRCEJ.js.map +0 -1
- /package/dist/{chunk-L24K3TZU.js.map → chunk-QD5YDMWV.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export { A as ARROW_CLOSED_MARKER, u as CONTROLLER_PADDING_BOTTOM, v as CONTROLLER_PADDING_TOP, w as CONTROLLER_PADDING_X, C as ConceptInfo, D as DataflowAnalysis, E as EDGE_TYPE, x as EdgeType, y as FOLD_MODE, z as FieldResolution, F as FoldMode, k as FoldToggleOptions, B as GRAPH_DIRECTION, H as GRAPH_SPEC_MODE, I as GRAPH_THEME, J as GRAPH_THEME_MODE, d as GraphConfig, r as GraphData, e as GraphDirection, b as GraphEdge, c as GraphNode, a as GraphNodeData, G as GraphSpec, K as GraphSpecEdge, M as GraphSpecEdgeKind,
|
|
2
|
-
export { ControllerRect, DARK_PALETTE_COLORS, DEFAULT_GRAPH_CONFIG, ElkPositionResult, GraphSpecValidationError, LIGHT_PALETTE_COLORS, LayoutResult, MAX_VISIBLE_CONTROLLER_CHILDREN, applyControllers, applyFolds, asPipeCallNode, buildChildToControllerMap, buildContainmentChain, buildControllerNodes, buildDataflowAnalysis, buildDataflowGraph, buildElkGraph, buildGraph, buildPipeCardPayload, estimateNodeDimensions, extractAbsolutePositions, findCousinControllers, getConceptInfo, getLayoutedElements, getPaletteColors, getPaletteForTheme, getPipeBlueprint, inputPortId, outermostFoldedAncestor, outputPortId, resolveConceptRef, validateGraphSpec } from './graph/index.js';
|
|
1
|
+
export { A as ARROW_CLOSED_MARKER, u as CONTROLLER_PADDING_BOTTOM, v as CONTROLLER_PADDING_TOP, w as CONTROLLER_PADDING_X, C as ConceptInfo, D as DataflowAnalysis, E as EDGE_TYPE, x as EdgeType, y as FOLD_MODE, z as FieldResolution, F as FoldMode, k as FoldToggleOptions, B as GRAPH_DIRECTION, H as GRAPH_SPEC_MODE, I as GRAPH_THEME, J as GRAPH_THEME_MODE, d as GraphConfig, r as GraphData, e as GraphDirection, b as GraphEdge, c as GraphNode, a as GraphNodeData, G as GraphSpec, K as GraphSpecEdge, M as GraphSpecEdgeKind, O as GraphSpecMeta, m as GraphSpecMode, n as GraphSpecNode, Q as GraphSpecNodeError, R as GraphSpecNodeIo, o as GraphSpecNodeIoItem, S as GraphSpecNodeTiming, g as GraphTheme, f as GraphThemeMode, U as KNOWN_PIPE_TYPES, L as LabelDescriptor, t as LayoutConfig, W as NODE_TYPE_CONTROLLER, X as NODE_TYPE_PIPE_CARD, Y as NODE_TYPE_STUFF, Z as NodeKind, N as NodeValidationSummary, _ as PipeBatchBlueprint, $ as PipeBlueprintBase, P as PipeBlueprintUnion, q as PipeCallNode, s as PipeCardPayload, a0 as PipeComposeBlueprint, a1 as PipeComposeConstructBlueprint, a2 as PipeComposeConstructField, a3 as PipeConditionBlueprint, j as PipeControllerType, a4 as PipeExtractBlueprint, a5 as PipeFuncBlueprint, a6 as PipeImgGenBlueprint, a7 as PipeLLMBlueprint, p as PipeOperatorType, a8 as PipeParallelBlueprint, a9 as PipeSearchBlueprint, aa as PipeSequenceBlueprint, ab as PipeSignatureBlueprint, h as PipeStatus, ac as PipeStructureBlueprint, l as PipeType, ad as STUFF_ID_PREFIX, ae as StuffRole, af as StuffSpecInfo, ag as SubPipeSpec, ah as TOOLBAR_POSITION, ai as TemplateBlueprint, aj as ToolbarOrientation, T as ToolbarPosition, ak as ToolbarSide, al as VALIDATION_STATE, V as ValidationIssue, i as ValidationState, am as graphSpecMode, an as isDryGraphSpec, ao as isStaticGraphSpec, ap as isStuffNodeId, aq as nodeHeight, ar as nodeWidth, as as stuffDigestFromId, at as stuffNodeId, au as toolbarOrientation, av as toolbarSide } from './types-DFIZ_rx6.js';
|
|
2
|
+
export { ControllerRect, DARK_PALETTE_COLORS, DEFAULT_GRAPH_CONFIG, ElkPositionResult, GraphSpecValidationError, LIGHT_PALETTE_COLORS, LayoutResult, MAX_VISIBLE_CONTROLLER_CHILDREN, applyControllers, applyFolds, applyValidationDecorations, asPipeCallNode, buildChildToControllerMap, buildContainmentChain, buildControllerNodes, buildDataflowAnalysis, buildDataflowGraph, buildElkGraph, buildGraph, buildPipeCardPayload, buildValidationDecorations, estimateNodeDimensions, extractAbsolutePositions, findCousinControllers, getConceptInfo, getLayoutedElements, getPaletteColors, getPaletteForTheme, getPipeBlueprint, inputPortId, outermostFoldedAncestor, outputPortId, resolveConceptRef, resolveIssueTargetNodeId, validateGraphSpec } from './graph/index.js';
|
|
3
|
+
export { P as ParsedPipeRef, m as makePipeRef, p as parsePipeRef } from './pipeRefs-BQJO5nh5.js';
|
|
3
4
|
import 'elkjs/lib/elk-api';
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-QD5YDMWV.js";
|
|
2
2
|
import {
|
|
3
3
|
DARK_PALETTE_COLORS,
|
|
4
4
|
DEFAULT_GRAPH_CONFIG,
|
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
MAX_VISIBLE_CONTROLLER_CHILDREN,
|
|
8
8
|
applyControllers,
|
|
9
9
|
applyFolds,
|
|
10
|
+
applyValidationDecorations,
|
|
10
11
|
asPipeCallNode,
|
|
11
12
|
buildChildToControllerMap,
|
|
12
13
|
buildContainmentChain,
|
|
@@ -16,6 +17,7 @@ import {
|
|
|
16
17
|
buildElkGraph,
|
|
17
18
|
buildGraph,
|
|
18
19
|
buildPipeCardPayload,
|
|
20
|
+
buildValidationDecorations,
|
|
19
21
|
estimateNodeDimensions,
|
|
20
22
|
extractAbsolutePositions,
|
|
21
23
|
findCousinControllers,
|
|
@@ -28,8 +30,9 @@ import {
|
|
|
28
30
|
outermostFoldedAncestor,
|
|
29
31
|
outputPortId,
|
|
30
32
|
resolveConceptRef,
|
|
33
|
+
resolveIssueTargetNodeId,
|
|
31
34
|
validateGraphSpec
|
|
32
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-O62372BD.js";
|
|
33
36
|
import {
|
|
34
37
|
ARROW_CLOSED_MARKER,
|
|
35
38
|
CONTROLLER_PADDING_BOTTOM,
|
|
@@ -52,13 +55,15 @@ import {
|
|
|
52
55
|
isDryGraphSpec,
|
|
53
56
|
isStaticGraphSpec,
|
|
54
57
|
isStuffNodeId,
|
|
58
|
+
makePipeRef,
|
|
55
59
|
nodeHeight,
|
|
56
60
|
nodeWidth,
|
|
61
|
+
parsePipeRef,
|
|
57
62
|
stuffDigestFromId,
|
|
58
63
|
stuffNodeId,
|
|
59
64
|
toolbarOrientation,
|
|
60
65
|
toolbarSide
|
|
61
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-YC7TW3BW.js";
|
|
62
67
|
import "./chunk-2NMEKWO5.js";
|
|
63
68
|
export {
|
|
64
69
|
ARROW_CLOSED_MARKER,
|
|
@@ -85,6 +90,7 @@ export {
|
|
|
85
90
|
VALIDATION_STATE,
|
|
86
91
|
applyControllers,
|
|
87
92
|
applyFolds,
|
|
93
|
+
applyValidationDecorations,
|
|
88
94
|
asPipeCallNode,
|
|
89
95
|
buildChildToControllerMap,
|
|
90
96
|
buildContainmentChain,
|
|
@@ -94,6 +100,7 @@ export {
|
|
|
94
100
|
buildElkGraph,
|
|
95
101
|
buildGraph,
|
|
96
102
|
buildPipeCardPayload,
|
|
103
|
+
buildValidationDecorations,
|
|
97
104
|
estimateNodeDimensions,
|
|
98
105
|
extractAbsolutePositions,
|
|
99
106
|
findCousinControllers,
|
|
@@ -107,11 +114,14 @@ export {
|
|
|
107
114
|
isDryGraphSpec,
|
|
108
115
|
isStaticGraphSpec,
|
|
109
116
|
isStuffNodeId,
|
|
117
|
+
makePipeRef,
|
|
110
118
|
nodeHeight,
|
|
111
119
|
nodeWidth,
|
|
112
120
|
outermostFoldedAncestor,
|
|
113
121
|
outputPortId,
|
|
122
|
+
parsePipeRef,
|
|
114
123
|
resolveConceptRef,
|
|
124
|
+
resolveIssueTargetNodeId,
|
|
115
125
|
stuffDigestFromId,
|
|
116
126
|
stuffNodeId,
|
|
117
127
|
toolbarOrientation,
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/** A parsed pipe ref: the (possibly multi-segment) domain path and the bare code. */
|
|
2
|
+
interface ParsedPipeRef {
|
|
3
|
+
/** Dotted domain path (`scoring`, `legal.contracts`), or null for a bare ref. */
|
|
4
|
+
domainPath: string | null;
|
|
5
|
+
/** The bare pipe code (`compute_score`). */
|
|
6
|
+
pipeCode: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Parse a pipe ref with `QualifiedRef.parse` semantics: split on the last dot,
|
|
10
|
+
* reject malformed forms (empty, leading/trailing dot, consecutive dots) by
|
|
11
|
+
* returning `null` instead of throwing. Cross-package refs (`alias->…`) are
|
|
12
|
+
* opaque in the presentation chain for now and also return `null` — an issue
|
|
13
|
+
* about one stays untargetable rather than mis-resolved.
|
|
14
|
+
*/
|
|
15
|
+
declare function parsePipeRef(raw: string): ParsedPipeRef | null;
|
|
16
|
+
/** Render a fully-qualified pipe ref (`QualifiedRef.full_ref`): `domain_code.pipe_code`. */
|
|
17
|
+
declare function makePipeRef(domainCode: string, pipeCode: string): string;
|
|
18
|
+
|
|
19
|
+
export { type ParsedPipeRef as P, makePipeRef as m, parsePipeRef as p };
|