@industry-theme/principal-view-panels 0.11.12 → 0.11.13

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.
@@ -1 +1 @@
1
- {"version":3,"file":"TraceExpansion.d.ts","sourceRoot":"","sources":["../../src/components/TraceExpansion.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACnE,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAmBD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA8NxD,CAAC"}
1
+ {"version":3,"file":"TraceExpansion.d.ts","sourceRoot":"","sources":["../../src/components/TraceExpansion.tsx"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,eAAe,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC;IACb,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACnE,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;CAC1B;AAmBD,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAiOxD,CAAC"}
@@ -99651,7 +99651,8 @@ const TraceExpansion = ({
99651
99651
  parentSpanId: span.parentSpanId,
99652
99652
  spanName: span.spanName,
99653
99653
  timestamp: span.timestamp,
99654
- target: match.workflowName || match.workflowId
99654
+ target: match.workflowName || match.workflowId,
99655
+ storyboardId: match.storyboardId
99655
99656
  });
99656
99657
  });
99657
99658
  });
@@ -99700,14 +99701,15 @@ const TraceExpansion = ({
99700
99701
  const isMatched = span.type === "matched";
99701
99702
  const hasTarget = span.target !== void 0;
99702
99703
  const color2 = isMatched ? theme2.colors.success : theme2.colors.warning;
99703
- const isClickable = onSpanClick || isMatched && onWorkflowClick;
99704
+ const isMatchedOrOrphaned = span.type === "matched" || span.type === "orphaned";
99705
+ const isClickable = onSpanClick || isMatchedOrOrphaned && onWorkflowClick;
99704
99706
  return /* @__PURE__ */ jsxs(
99705
99707
  "div",
99706
99708
  {
99707
99709
  onClick: () => {
99708
99710
  onSpanClick == null ? void 0 : onSpanClick();
99709
- if (isMatched && span.storyboardId && span.scenarioId) {
99710
- onWorkflowClick == null ? void 0 : onWorkflowClick(span.storyboardId, span.scenarioId);
99711
+ if (isMatchedOrOrphaned && span.storyboardId && onWorkflowClick) {
99712
+ onWorkflowClick(span.storyboardId, span.scenarioId || "");
99711
99713
  }
99712
99714
  },
99713
99715
  style: {