@pipelex/mthds-ui 0.14.0 → 0.16.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-GS2KODND.js → chunk-HURB2U53.js} +16 -2
- package/dist/chunk-HURB2U53.js.map +1 -0
- package/dist/chunk-QD5YDMWV.js +1 -0
- package/dist/{chunk-V4FKGLKA.js → chunk-UDA2XA23.js} +7 -4
- package/dist/chunk-UDA2XA23.js.map +1 -0
- package/dist/graph/index.d.ts +3 -2
- package/dist/graph/index.js +7 -3
- package/dist/graph/react/index.d.ts +2 -2
- package/dist/graph/react/index.js +6 -10
- package/dist/graph/react/index.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +7 -3
- package/dist/pipeRefs-BQJO5nh5.d.ts +19 -0
- package/dist/standalone/graph-standalone.html +9 -9
- package/dist/standalone/graph-viewer.js +9 -9
- package/dist/static-graph/index.d.ts +17 -3
- package/dist/static-graph/index.js +81 -34
- package/dist/static-graph/index.js.map +1 -1
- package/dist/{types-CIH1Ae16.d.ts → types-DM_Ws3oW.d.ts} +16 -7
- package/package.json +1 -1
- package/dist/chunk-GS2KODND.js.map +0 -1
- package/dist/chunk-LJQS5ZNA.js +0 -1
- package/dist/chunk-V4FKGLKA.js.map +0 -1
- /package/dist/{chunk-LJQS5ZNA.js.map → chunk-QD5YDMWV.js.map} +0 -0
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
resolveConceptRef,
|
|
16
16
|
resolveIssueTargetNodeId,
|
|
17
17
|
validateGraphSpec
|
|
18
|
-
} from "../../chunk-
|
|
18
|
+
} from "../../chunk-UDA2XA23.js";
|
|
19
19
|
import {
|
|
20
20
|
EDGE_TYPE,
|
|
21
21
|
FOLD_MODE,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
stuffDigestFromId,
|
|
32
32
|
toolbarOrientation,
|
|
33
33
|
toolbarSide
|
|
34
|
-
} from "../../chunk-
|
|
34
|
+
} from "../../chunk-HURB2U53.js";
|
|
35
35
|
import {
|
|
36
36
|
__spreadProps,
|
|
37
37
|
__spreadValues
|
|
@@ -1499,7 +1499,7 @@ function ConceptBody({
|
|
|
1499
1499
|
const panelId = (tab) => `${baseId}-tabpanel-${tab}`;
|
|
1500
1500
|
const structure = concept.json_schema ? /* @__PURE__ */ jsxs15("div", { children: [
|
|
1501
1501
|
/* @__PURE__ */ jsx15("div", { className: "detail-section-label", children: "Structure" }),
|
|
1502
|
-
/* @__PURE__ */ jsx15(SchemaTable, { schema: concept.json_schema
|
|
1502
|
+
/* @__PURE__ */ jsx15(SchemaTable, { schema: concept.json_schema })
|
|
1503
1503
|
] }) : /* @__PURE__ */ jsx15("div", { className: "detail-not-available", children: "Schema not available" });
|
|
1504
1504
|
if (!hasData) return structure;
|
|
1505
1505
|
const onTabKeyDown = (event) => {
|
|
@@ -1554,10 +1554,7 @@ function ConceptBody({
|
|
|
1554
1554
|
) : structure })
|
|
1555
1555
|
] });
|
|
1556
1556
|
}
|
|
1557
|
-
function SchemaTable({
|
|
1558
|
-
schema,
|
|
1559
|
-
isDryRun
|
|
1560
|
-
}) {
|
|
1557
|
+
function SchemaTable({ schema }) {
|
|
1561
1558
|
var _a;
|
|
1562
1559
|
const properties = schema.properties;
|
|
1563
1560
|
const required = new Set((_a = schema.required) != null ? _a : []);
|
|
@@ -1565,7 +1562,6 @@ function SchemaTable({
|
|
|
1565
1562
|
return /* @__PURE__ */ jsx15("div", { className: "detail-not-available", children: "No fields defined" });
|
|
1566
1563
|
}
|
|
1567
1564
|
const fields = Object.entries(properties);
|
|
1568
|
-
const visibleFields = isDryRun ? fields.filter(([name]) => required.has(name)) : fields;
|
|
1569
1565
|
return /* @__PURE__ */ jsxs15("table", { className: "detail-schema-table", children: [
|
|
1570
1566
|
/* @__PURE__ */ jsx15("thead", { children: /* @__PURE__ */ jsxs15("tr", { children: [
|
|
1571
1567
|
/* @__PURE__ */ jsx15("th", { children: "Field" }),
|
|
@@ -1573,7 +1569,7 @@ function SchemaTable({
|
|
|
1573
1569
|
/* @__PURE__ */ jsx15("th", {}),
|
|
1574
1570
|
/* @__PURE__ */ jsx15("th", { children: "Description" })
|
|
1575
1571
|
] }) }),
|
|
1576
|
-
/* @__PURE__ */ jsx15("tbody", { children:
|
|
1572
|
+
/* @__PURE__ */ jsx15("tbody", { children: fields.map(([fieldName, fieldSchema]) => {
|
|
1577
1573
|
var _a2;
|
|
1578
1574
|
return /* @__PURE__ */ jsxs15("tr", { children: [
|
|
1579
1575
|
/* @__PURE__ */ jsx15("td", { className: "detail-schema-field", children: fieldName }),
|
|
@@ -3401,7 +3397,7 @@ function GraphViewer(props) {
|
|
|
3401
3397
|
position: effectiveToolbarPosition,
|
|
3402
3398
|
validationState,
|
|
3403
3399
|
validationIssues,
|
|
3404
|
-
onValidationIssueClick:
|
|
3400
|
+
onValidationIssueClick: handleValidationIssueClick,
|
|
3405
3401
|
validationOpen,
|
|
3406
3402
|
onValidationOpenChange: setValidationOpen
|
|
3407
3403
|
}
|