@hpcc-js/eclwatch 3.8.2 → 3.8.4

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/index.js CHANGED
@@ -9,7 +9,7 @@ import { Edge as xe, Graph as Se, Subgraph as Ce, Vertex as we } from "@hpcc-js/
9
9
  import { Carousel as Te, ChartPanel as Ee, Legend as De } from "@hpcc-js/layout";
10
10
  import { ReactTimelineSeries as Oe } from "@hpcc-js/timeline";
11
11
  //#region \0rolldown/runtime.js
12
- var ke = "@hpcc-js/eclwatch", Ae = "3.8.2", je = "3.27.2", ECLArchiveViewer = class extends a {
12
+ var ke = "@hpcc-js/eclwatch", Ae = "3.8.4", je = "3.29.1", ECLArchiveViewer = class extends a {
13
13
  _prevHash;
14
14
  _contentStr;
15
15
  _directoryPane = new o();
@@ -821,18 +821,18 @@ var Me = /* @__PURE__ */ function(e) {
821
821
  }
822
822
  updateVertexStatus(e, t = !1) {
823
823
  let n = this._wu.isFailed() ? "darkred" : "darkgreen";
824
- switch (this._create.text("Created"), this._compile.text("Compiled"), this._execute.text("Executed"), this._complete.text("Completed"), e) {
824
+ switch (this._create.text(Me.CREATE), this._compile.text(Me.COMPILE), this._execute.text(Me.EXECUTE), this._complete.text(Me.COMPLETE), e) {
825
825
  case 0:
826
826
  this.updateVertex(this._create, "darkgray"), this.updateVertex(this._compile, "darkgray"), this.updateVertex(this._execute, "darkgray"), this.updateVertex(this._complete, "darkgray");
827
827
  break;
828
828
  case 1:
829
- this._create.text("Creating"), this.updateVertex(this._create, t ? "orange" : n), this.updateVertex(this._compile, "darkgray"), this.updateVertex(this._execute, "darkgray"), this.updateVertex(this._complete, "darkgray");
829
+ this._create.text(Ne.CREATE), this.updateVertex(this._create, t ? "orange" : n), this.updateVertex(this._compile, "darkgray"), this.updateVertex(this._execute, "darkgray"), this.updateVertex(this._complete, "darkgray");
830
830
  break;
831
831
  case 2:
832
- this._compile.text("Compiling"), this.updateVertex(this._create, n), this.updateVertex(this._compile, t ? "orange" : n), this.updateVertex(this._execute, n), this.updateVertex(this._complete, "darkgray");
832
+ this._compile.text(Ne.COMPILE), this.updateVertex(this._create, n), this.updateVertex(this._compile, t ? "orange" : n), this.updateVertex(this._execute, n), this.updateVertex(this._complete, "darkgray");
833
833
  break;
834
834
  case 3:
835
- this._execute.text("Executing"), this.updateVertex(this._create, n), this.updateVertex(this._compile, n), this.updateVertex(this._execute, t ? "orange" : n), this.updateVertex(this._complete, "darkgray");
835
+ this._execute.text(Ne.EXECUTE), this.updateVertex(this._create, n), this.updateVertex(this._compile, n), this.updateVertex(this._execute, t ? "orange" : n), this.updateVertex(this._complete, "darkgray");
836
836
  break;
837
837
  case 4:
838
838
  this.updateVertex(this._create, n), this.updateVertex(this._compile, n), this.updateVertex(this._execute, n), this.updateVertex(this._complete, n);
@@ -2653,7 +2653,7 @@ var Scatter = class extends XYAxis {
2653
2653
  let o = this.pointSizeColumn_exists(), s, c, l;
2654
2654
  o && (s = this.columns().indexOf(this.pointSizeColumn()), c = L(this.data(), (e) => e[s]), l = this.getScale().domain(c));
2655
2655
  let u = this.layerColumns(e), d = this.layerData(e), f = this.flattenData(u, d).map(function(e) {
2656
- return e.shape = mapShape(a.pointShape()), e.column = u[e.colIdx], e.row = d[e.rowIdx], e.origRow = d[e.rowIdx].__hpcc_origRow, c ? (e.size = l(e.row[s]) * (a.maxPointSize() - a.minPointSize()) + a.minPointSize(), e.column === a.pointSizeColumn() ? !1 : e) : (e.size = a.pointSize(), e);
2656
+ return e.shape = mapShape(a.pointShape()), e.column = u[e.colIdx], e.row = d[e.rowIdx], e.origRow = d[e.rowIdx].__hpcc_origRow, c ? (e.size = l(e.row[s]) * (a.maxPointSize() - a.minPointSize()) + a.minPointSize(), e.column !== a.pointSizeColumn() && e) : (e.size = a.pointSize(), e);
2657
2657
  }).filter((e) => e), p = t.selectAll(".area").data(u.filter(function(e, t) {
2658
2658
  return a.interpolate() && a.interpolateFill() && t > 0;
2659
2659
  })), m = p.enter().append("path"), h = area_default$1().curve(this.curve());
@@ -7384,7 +7384,10 @@ var SummaryC = class extends h {
7384
7384
  if (e === void 0) return;
7385
7385
  S.textBaseline = n.iconBaseline(), S.font = `${t}px FontAwesome`, S.fillStyle = h;
7386
7386
  let a = S.measureText(e);
7387
- a.width > r.width - b * 2 && (S.font = `${t * ((r.width - b * 2) / a.width)}px FontAwesome`, a = S.measureText(e));
7387
+ if (a.width > r.width - b * 2) {
7388
+ let n = (r.width - b * 2) / a.width;
7389
+ S.font = `${t * n}px FontAwesome`, a = S.measureText(e);
7390
+ }
7388
7391
  let o = getTextOffsetX(a.width, i), s = getTextOffsetY(n.iconBaseline());
7389
7392
  S.fillText(e, o, s);
7390
7393
  }