@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.
@@ -15,7 +15,7 @@ import {
15
15
  resolveConceptRef,
16
16
  resolveIssueTargetNodeId,
17
17
  validateGraphSpec
18
- } from "../../chunk-V4FKGLKA.js";
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-GS2KODND.js";
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, isDryRun })
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: visibleFields.map(([fieldName, fieldSchema]) => {
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: onValidationIssueClick ? handleValidationIssueClick : void 0,
3400
+ onValidationIssueClick: handleValidationIssueClick,
3405
3401
  validationOpen,
3406
3402
  onValidationOpenChange: setValidationOpen
3407
3403
  }