@industry-theme/principal-view-panels 0.1.53 → 0.1.54

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":"ExecutionViewerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/ExecutionViewerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAuB/E,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,WAAW,CAAC;AA4B3C;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsmC9D,CAAC"}
1
+ {"version":3,"file":"ExecutionViewerPanel.d.ts","sourceRoot":"","sources":["../../src/panels/ExecutionViewerPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAuB/E,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,WAAW,CAAC;AA4B3C;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAumC9D,CAAC"}
@@ -51317,17 +51317,17 @@ const TestEventPanel = ({
51317
51317
  };
51318
51318
  const EXECUTION_FILE_PATTERNS = [
51319
51319
  // Packages monorepo pattern: packages/core/__executions__/api-tests.spans.json
51320
- /^packages\/([^/]+)\/__executions__\/(.+)\.(?:spans|execution|events)\.json$/,
51320
+ /^packages\/([^/]+)\/__executions__\/(.+)\.(?:spans|execution|events|otel)\.json$/,
51321
51321
  // Inside .principal-views: .principal-views/__executions__/graph-converter.spans.json
51322
- /^\.principal-views\/__executions__\/(.+)\.(?:spans|execution|events)\.json$/,
51322
+ /^\.principal-views\/__executions__\/(.+)\.(?:spans|execution|events|otel)\.json$/,
51323
51323
  // Direct __executions__ folder: __executions__/test-run.spans.json
51324
- /^__executions__\/(.+)\.(?:spans|execution|events)\.json$/
51324
+ /^__executions__\/(.+)\.(?:spans|execution|events|otel)\.json$/
51325
51325
  ];
51326
51326
  function getExecutionNameFromFilename(filename) {
51327
- return filename.replace(/\.(?:spans|execution|events)\.json$/, "").split("-").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
51327
+ return filename.replace(/\.(?:spans|execution|events|otel)\.json$/, "").split("-").map((word) => word.charAt(0).toUpperCase() + word.slice(1)).join(" ");
51328
51328
  }
51329
51329
  function getCanvasBasename(filename) {
51330
- return filename.replace(/\.(?:spans|execution|events)\.json$/, "");
51330
+ return filename.replace(/\.(?:spans|execution|events|otel)\.json$/, "");
51331
51331
  }
51332
51332
  class ExecutionLoader {
51333
51333
  /**
@@ -53026,10 +53026,10 @@ const ExecutionViewerPanel = ({
53026
53026
  /* @__PURE__ */ jsx("h2", { style: { margin: "0 0 10px 0", fontSize: "18px", fontWeight: 600 }, children: "No Canvas Files Found" }),
53027
53027
  /* @__PURE__ */ jsxs("p", { style: { margin: "0 0 20px 0", color: theme.colors.textSecondary, lineHeight: 1.5 }, children: [
53028
53028
  "Execution artifacts should be saved to ",
53029
- /* @__PURE__ */ jsx("code", { children: "__executions__/*.spans.json" }),
53030
- " or",
53029
+ /* @__PURE__ */ jsx("code", { children: "__executions__/*.otel.json" }),
53030
+ " (or *.spans.json, *.execution.json, *.events.json) or",
53031
53031
  " ",
53032
- /* @__PURE__ */ jsx("code", { children: "packages/*/__executions__/*.spans.json" })
53032
+ /* @__PURE__ */ jsx("code", { children: "packages/*/__executions__/" })
53033
53033
  ] }),
53034
53034
  /* @__PURE__ */ jsxs(
53035
53035
  "div",
@@ -53049,7 +53049,7 @@ const ExecutionViewerPanel = ({
53049
53049
  "exportExecutionArtifact(canvas, spans, ",
53050
53050
  "{"
53051
53051
  ] }),
53052
- /* @__PURE__ */ jsx("div", { children: "  outputPath: '__executions__/my-test.spans.json'" }),
53052
+ /* @__PURE__ */ jsx("div", { children: "  outputPath: '__executions__/my-test.otel.json'" }),
53053
53053
  /* @__PURE__ */ jsxs("div", { children: [
53054
53054
  "}",
53055
53055
  ");"
@@ -53634,8 +53634,9 @@ const ExecutionViewerPanel = ({
53634
53634
  },
53635
53635
  children: [
53636
53636
  /* @__PURE__ */ jsx("div", { children: "# Save execution artifacts to:" }),
53637
- /* @__PURE__ */ jsx("div", { style: { marginTop: "4px" }, children: "__executions__/*.spans.json" }),
53638
- /* @__PURE__ */ jsx("div", { children: "packages/*/__executions__/*.spans.json" })
53637
+ /* @__PURE__ */ jsx("div", { style: { marginTop: "4px" }, children: "__executions__/*.otel.json" }),
53638
+ /* @__PURE__ */ jsx("div", { children: "packages/*/__executions__/*.otel.json" }),
53639
+ /* @__PURE__ */ jsx("div", { style: { color: "#888", fontSize: "10px", marginTop: "4px" }, children: "# Also supports: *.spans.json, *.execution.json, *.events.json" })
53639
53640
  ]
53640
53641
  }
53641
53642
  ),