@hpcc-js/eclwatch 2.71.2 → 2.72.6

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.es6.js CHANGED
@@ -10,8 +10,8 @@ import { Legend, ChartPanel, Carousel } from '@hpcc-js/layout';
10
10
  import { ReactTimelineSeries } from '@hpcc-js/timeline';
11
11
 
12
12
  var PKG_NAME = "@hpcc-js/eclwatch";
13
- var PKG_VERSION = "2.71.2";
14
- var BUILD_VERSION = "2.101.2";
13
+ var PKG_VERSION = "2.72.6";
14
+ var BUILD_VERSION = "2.102.8";
15
15
 
16
16
  /*! *****************************************************************************
17
17
  Copyright (c) Microsoft Corporation.
@@ -73,7 +73,7 @@ function __spreadArray(to, from, pack) {
73
73
  ar[i] = from[i];
74
74
  }
75
75
  }
76
- return to.concat(ar || from);
76
+ return to.concat(ar || Array.prototype.slice.call(from));
77
77
  }
78
78
 
79
79
  var ECLArchiveViewer = /** @class */ (function (_super) {
@@ -110,7 +110,7 @@ var ECLArchiveViewer = /** @class */ (function (_super) {
110
110
  return ret;
111
111
  function transformNode(node) {
112
112
  var _node = {};
113
- _node.label = node.name + (node["$"] && node["$"].key ? " (" + node["$"].key + ")" : "");
113
+ _node.label = node.name + (node["$"] && node["$"].key ? " (".concat(node["$"].key, ")") : "");
114
114
  if (node._children && node._children.length > 0) {
115
115
  _node.children = node._children.map(function (_node) {
116
116
  return transformNode(_node);
@@ -216,8 +216,8 @@ function styleInject(css, ref) {
216
216
  }
217
217
  }
218
218
 
219
- var css_248z = ".eclwatch_WUGraphLegend .graph_Vertex{cursor:auto}.eclwatch_WUGraphLegend .graph_Vertex .common_Icon{cursor:pointer}";
220
- styleInject(css_248z);
219
+ var css_248z$1 = ".eclwatch_WUGraphLegend .graph_Vertex{cursor:auto}.eclwatch_WUGraphLegend .graph_Vertex .common_Icon{cursor:pointer}";
220
+ styleInject(css_248z$1);
221
221
 
222
222
  var LegendVertex = /** @class */ (function (_super) {
223
223
  __extends(LegendVertex, _super);
@@ -282,8 +282,8 @@ var WUGraphLegend = /** @class */ (function (_super) {
282
282
  .textbox_shape_colorFill("none")
283
283
  .iconAnchor("left")
284
284
  .faChar(d.faChar)
285
- .text(d.label + " (" + d.count + ")")
286
- .tooltip(d.kind + " - " + d.label)
285
+ .text("".concat(d.label, " (").concat(d.count, ")"))
286
+ .tooltip("".concat(d.kind, " - ").concat(d.label))
287
287
  .on("click", function (kind) {
288
288
  context.toggle(kind);
289
289
  context.render();
@@ -302,7 +302,7 @@ var WUGraphLegend = /** @class */ (function (_super) {
302
302
  .icon_shape_colorFill(context._disabled2[d.kind] ? "gray" : null)
303
303
  .render().getBBox();
304
304
  select(this)
305
- .attr("transform", "translate(" + +bbox.width / 2 + ", " + i * 30 + ")");
305
+ .attr("transform", "translate(".concat(+bbox.width / 2, ", ").concat(i * 30, ")"));
306
306
  });
307
307
  items.exit()
308
308
  .each(function (d) {
@@ -312,7 +312,7 @@ var WUGraphLegend = /** @class */ (function (_super) {
312
312
  })
313
313
  .remove();
314
314
  var bbox = this.getBBox(true, true);
315
- this._g.attr("transform", "translate(16, " + (this.height() / 2 - bbox.height / 2) + ")");
315
+ this._g.attr("transform", "translate(16, ".concat(this.height() / 2 - bbox.height / 2, ")"));
316
316
  };
317
317
  // Events ---
318
318
  WUGraphLegend.prototype.click = function (kind) {
@@ -399,6 +399,7 @@ var WUScopeController = /** @class */ (function () {
399
399
  }
400
400
  _this.kindMap[kind].push(item);
401
401
  }
402
+ else ;
402
403
  });
403
404
  };
404
405
  WUScopeController.prototype.disabled = function (_) {
@@ -720,7 +721,7 @@ var WUScopeController = /** @class */ (function () {
720
721
  }
721
722
  };
722
723
  WUScopeController.prototype.removeObsoleteSubgraphs = function (graphDB) {
723
- for (var _i = 0, _a = __spreadArray([], graphDB.subgraphs); _i < _a.length; _i++) {
724
+ for (var _i = 0, _a = __spreadArray([], graphDB.subgraphs, true); _i < _a.length; _i++) {
724
725
  var subgraph = _a[_i];
725
726
  if (subgraph.vertices.length === 0) {
726
727
  subgraph.remove(false);
@@ -839,8 +840,8 @@ var WUScopeController = /** @class */ (function () {
839
840
  return WUScopeController;
840
841
  }());
841
842
 
842
- var css_248z$1 = ".eclwatch_WUGraph .graph_Vertex{cursor:auto}.eclwatch_WUGraph .marker{fill:#656565;stroke:none;stroke-width:1px}.eclwatch_WUGraph .zoom{fill:none;pointer-events:all}.eclwatch_WUGraph .selectionBrush{fill:none;stroke:#a9a9a9}.d3-tip .eclwatch_WUGraph_Tooltip h3,.d3-tip .eclwatch_WUGraph_Tooltip h4{margin:0}.d3-tip .eclwatch_WUGraph_Tooltip table{border-collapse:separate;border-spacing:5px}.d3-tip .eclwatch_WUGraph_Tooltip table .key{font-weight:700}.d3-tip .eclwatch_WUGraph_Tooltip table .value{font-weight:400}";
843
- styleInject(css_248z$1);
843
+ var css_248z = ".eclwatch_WUGraph .graph_Vertex{cursor:auto}.eclwatch_WUGraph .marker{fill:#656565;stroke:none;stroke-width:1px}.eclwatch_WUGraph .zoom{fill:none;pointer-events:all}.eclwatch_WUGraph .selectionBrush{fill:none;stroke:#a9a9a9}.d3-tip .eclwatch_WUGraph_Tooltip h3,.d3-tip .eclwatch_WUGraph_Tooltip h4{margin:0}.d3-tip .eclwatch_WUGraph_Tooltip table{border-collapse:separate;border-spacing:5px}.d3-tip .eclwatch_WUGraph_Tooltip table .key{font-weight:700}.d3-tip .eclwatch_WUGraph_Tooltip table .value{font-weight:400}";
844
+ styleInject(css_248z);
844
845
 
845
846
  var WUGraph = /** @class */ (function (_super) {
846
847
  __extends(WUGraph, _super);
@@ -913,9 +914,9 @@ var WUGraph = /** @class */ (function (_super) {
913
914
  _this._partialAll,
914
915
  _this._maxAll,
915
916
  new Spacer()
916
- ], _this._graph.iconBarButtons()), [
917
+ ], _this._graph.iconBarButtons(), true), [
917
918
  new Spacer()
918
- ]);
919
+ ], false);
919
920
  _this.buttons(buttons.concat(_this.buttons()));
920
921
  _this._gc.minClick = function (sg) {
921
922
  _this.loadGraph();
@@ -1225,7 +1226,7 @@ var Store = /** @class */ (function () {
1225
1226
  var _this = this;
1226
1227
  if (!this.wuResult)
1227
1228
  return Promise.resolve({ totalLength: 0, data: [] });
1228
- var cacheKey = start + "->" + end;
1229
+ var cacheKey = "".concat(start, "->").concat(end);
1229
1230
  if (this._cache[cacheKey])
1230
1231
  return this._cache[cacheKey];
1231
1232
  var retVal = this.wuResult.fetchRows(start, end - start, false, this._filter).then(function (rows) {