@industry-theme/principal-view-panels 0.10.15 → 0.10.16
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":"TraceListPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TraceListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAY/E;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,
|
|
1
|
+
{"version":3,"file":"TraceListPanel.d.ts","sourceRoot":"","sources":["../../src/panels/TraceListPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAY/E;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CA2zBxD,CAAC"}
|
package/dist/panels.bundle.js
CHANGED
|
@@ -100827,40 +100827,50 @@ const TraceListPanel = ({
|
|
|
100827
100827
|
/* @__PURE__ */ jsx("div", { style: { fontSize: "15px", fontWeight: 600, marginBottom: "4px" }, children: (_a = schematic.repositoryUrl) == null ? void 0 : _a.replace("https://github.com/", "") }),
|
|
100828
100828
|
/* @__PURE__ */ jsx("div", { style: { fontSize: "12px", color: theme2.colors.textMuted, fontFamily: theme2.fonts.monospace }, children: schematic.commitSha })
|
|
100829
100829
|
] }),
|
|
100830
|
-
|
|
100831
|
-
|
|
100832
|
-
|
|
100833
|
-
|
|
100834
|
-
|
|
100835
|
-
|
|
100836
|
-
|
|
100837
|
-
|
|
100838
|
-
|
|
100839
|
-
|
|
100840
|
-
|
|
100841
|
-
|
|
100842
|
-
|
|
100843
|
-
|
|
100844
|
-
|
|
100845
|
-
|
|
100846
|
-
|
|
100847
|
-
|
|
100848
|
-
|
|
100849
|
-
|
|
100850
|
-
/* @__PURE__ */
|
|
100851
|
-
|
|
100852
|
-
|
|
100853
|
-
"
|
|
100854
|
-
scenario.condition.requires.join(", ")
|
|
100830
|
+
(() => {
|
|
100831
|
+
var _a2;
|
|
100832
|
+
const allWorkflows = ((_a2 = schematic.storyboards) == null ? void 0 : _a2.flatMap(
|
|
100833
|
+
(storyboard) => storyboard.workflows || []
|
|
100834
|
+
)) || [];
|
|
100835
|
+
return allWorkflows.length > 0 ? /* @__PURE__ */ jsx("div", { style: { display: "flex", flexDirection: "column", gap: "12px" }, children: allWorkflows.map((workflow, wIndex) => {
|
|
100836
|
+
var _a3;
|
|
100837
|
+
const scenarios = workflow.scenarios || ((_a3 = workflow.content) == null ? void 0 : _a3.scenarios) || [];
|
|
100838
|
+
return /* @__PURE__ */ jsxs(
|
|
100839
|
+
"div",
|
|
100840
|
+
{
|
|
100841
|
+
style: {
|
|
100842
|
+
padding: "12px",
|
|
100843
|
+
backgroundColor: theme2.colors.background,
|
|
100844
|
+
border: `1px solid ${theme2.colors.border}`,
|
|
100845
|
+
borderRadius: "3px"
|
|
100846
|
+
},
|
|
100847
|
+
children: [
|
|
100848
|
+
/* @__PURE__ */ jsx("div", { style: { fontSize: "14px", fontWeight: 500, marginBottom: "8px" }, children: workflow.name || "Unnamed Workflow" }),
|
|
100849
|
+
scenarios.length > 0 && /* @__PURE__ */ jsxs("div", { style: { fontSize: "12px", color: theme2.colors.textSecondary }, children: [
|
|
100850
|
+
/* @__PURE__ */ jsxs("div", { style: { fontWeight: 500, marginBottom: "4px" }, children: [
|
|
100851
|
+
"Scenarios (",
|
|
100852
|
+
scenarios.length,
|
|
100853
|
+
"):"
|
|
100855
100854
|
] }),
|
|
100856
|
-
|
|
100857
|
-
|
|
100858
|
-
|
|
100859
|
-
|
|
100860
|
-
|
|
100861
|
-
|
|
100862
|
-
|
|
100863
|
-
|
|
100855
|
+
/* @__PURE__ */ jsx("ul", { style: { margin: 0, paddingLeft: "20px" }, children: scenarios.map((scenario, sIndex) => {
|
|
100856
|
+
var _a4, _b;
|
|
100857
|
+
return /* @__PURE__ */ jsxs("li", { style: { marginBottom: "4px" }, children: [
|
|
100858
|
+
/* @__PURE__ */ jsx("span", { style: { fontWeight: 500 }, children: scenario.id }),
|
|
100859
|
+
((_a4 = scenario.condition) == null ? void 0 : _a4.requires) && scenario.condition.requires.length > 0 && /* @__PURE__ */ jsxs("span", { style: { color: theme2.colors.textMuted }, children: [
|
|
100860
|
+
" ",
|
|
100861
|
+
"- requires: ",
|
|
100862
|
+
scenario.condition.requires.join(", ")
|
|
100863
|
+
] }),
|
|
100864
|
+
((_b = scenario.condition) == null ? void 0 : _b.default) && /* @__PURE__ */ jsx("span", { style: { color: theme2.colors.textMuted }, children: " - default fallback" })
|
|
100865
|
+
] }, sIndex);
|
|
100866
|
+
}) })
|
|
100867
|
+
] })
|
|
100868
|
+
]
|
|
100869
|
+
},
|
|
100870
|
+
wIndex
|
|
100871
|
+
);
|
|
100872
|
+
}) }) : /* @__PURE__ */ jsx("div", { style: { fontSize: "12px", color: theme2.colors.textMuted }, children: "No workflows found" });
|
|
100873
|
+
})()
|
|
100864
100874
|
]
|
|
100865
100875
|
},
|
|
100866
100876
|
index2
|