@pipelex/mthds-ui 0.14.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/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, 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-CIH1Ae16.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
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-LJQS5ZNA.js";
1
+ import "./chunk-QD5YDMWV.js";
2
2
  import {
3
3
  DARK_PALETTE_COLORS,
4
4
  DEFAULT_GRAPH_CONFIG,
@@ -32,7 +32,7 @@ import {
32
32
  resolveConceptRef,
33
33
  resolveIssueTargetNodeId,
34
34
  validateGraphSpec
35
- } from "./chunk-V4FKGLKA.js";
35
+ } from "./chunk-O62372BD.js";
36
36
  import {
37
37
  ARROW_CLOSED_MARKER,
38
38
  CONTROLLER_PADDING_BOTTOM,
@@ -55,13 +55,15 @@ import {
55
55
  isDryGraphSpec,
56
56
  isStaticGraphSpec,
57
57
  isStuffNodeId,
58
+ makePipeRef,
58
59
  nodeHeight,
59
60
  nodeWidth,
61
+ parsePipeRef,
60
62
  stuffDigestFromId,
61
63
  stuffNodeId,
62
64
  toolbarOrientation,
63
65
  toolbarSide
64
- } from "./chunk-GS2KODND.js";
66
+ } from "./chunk-YC7TW3BW.js";
65
67
  import "./chunk-2NMEKWO5.js";
66
68
  export {
67
69
  ARROW_CLOSED_MARKER,
@@ -112,10 +114,12 @@ export {
112
114
  isDryGraphSpec,
113
115
  isStaticGraphSpec,
114
116
  isStuffNodeId,
117
+ makePipeRef,
115
118
  nodeHeight,
116
119
  nodeWidth,
117
120
  outermostFoldedAncestor,
118
121
  outputPortId,
122
+ parsePipeRef,
119
123
  resolveConceptRef,
120
124
  resolveIssueTargetNodeId,
121
125
  stuffDigestFromId,
@@ -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 };