@hpcc-js/eclwatch 2.67.0 → 2.71.0
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 +16 -17
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +19 -22
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +29 -28
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
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.
|
|
14
|
-
var BUILD_VERSION = "2.
|
|
13
|
+
var PKG_VERSION = "2.71.0";
|
|
14
|
+
var BUILD_VERSION = "2.101.0";
|
|
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 ||
|
|
76
|
+
return to.concat(ar || 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 ? " ("
|
|
113
|
+
_node.label = node.name + (node["$"] && node["$"].key ? " (" + 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
|
|
220
|
-
styleInject(css_248z
|
|
219
|
+
var css_248z = ".eclwatch_WUGraphLegend .graph_Vertex{cursor:auto}.eclwatch_WUGraphLegend .graph_Vertex .common_Icon{cursor:pointer}";
|
|
220
|
+
styleInject(css_248z);
|
|
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(
|
|
286
|
-
.tooltip(
|
|
285
|
+
.text(d.label + " (" + d.count + ")")
|
|
286
|
+
.tooltip(d.kind + " - " + 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("
|
|
305
|
+
.attr("transform", "translate(" + +bbox.width / 2 + ", " + 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, "
|
|
315
|
+
this._g.attr("transform", "translate(16, " + (this.height() / 2 - bbox.height / 2) + ")");
|
|
316
316
|
};
|
|
317
317
|
// Events ---
|
|
318
318
|
WUGraphLegend.prototype.click = function (kind) {
|
|
@@ -399,7 +399,6 @@ var WUScopeController = /** @class */ (function () {
|
|
|
399
399
|
}
|
|
400
400
|
_this.kindMap[kind].push(item);
|
|
401
401
|
}
|
|
402
|
-
else ;
|
|
403
402
|
});
|
|
404
403
|
};
|
|
405
404
|
WUScopeController.prototype.disabled = function (_) {
|
|
@@ -721,7 +720,7 @@ var WUScopeController = /** @class */ (function () {
|
|
|
721
720
|
}
|
|
722
721
|
};
|
|
723
722
|
WUScopeController.prototype.removeObsoleteSubgraphs = function (graphDB) {
|
|
724
|
-
for (var _i = 0, _a = __spreadArray([], graphDB.subgraphs
|
|
723
|
+
for (var _i = 0, _a = __spreadArray([], graphDB.subgraphs); _i < _a.length; _i++) {
|
|
725
724
|
var subgraph = _a[_i];
|
|
726
725
|
if (subgraph.vertices.length === 0) {
|
|
727
726
|
subgraph.remove(false);
|
|
@@ -840,8 +839,8 @@ var WUScopeController = /** @class */ (function () {
|
|
|
840
839
|
return WUScopeController;
|
|
841
840
|
}());
|
|
842
841
|
|
|
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);
|
|
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);
|
|
845
844
|
|
|
846
845
|
var WUGraph = /** @class */ (function (_super) {
|
|
847
846
|
__extends(WUGraph, _super);
|
|
@@ -914,9 +913,9 @@ var WUGraph = /** @class */ (function (_super) {
|
|
|
914
913
|
_this._partialAll,
|
|
915
914
|
_this._maxAll,
|
|
916
915
|
new Spacer()
|
|
917
|
-
], _this._graph.iconBarButtons()
|
|
916
|
+
], _this._graph.iconBarButtons()), [
|
|
918
917
|
new Spacer()
|
|
919
|
-
]
|
|
918
|
+
]);
|
|
920
919
|
_this.buttons(buttons.concat(_this.buttons()));
|
|
921
920
|
_this._gc.minClick = function (sg) {
|
|
922
921
|
_this.loadGraph();
|
|
@@ -1226,7 +1225,7 @@ var Store = /** @class */ (function () {
|
|
|
1226
1225
|
var _this = this;
|
|
1227
1226
|
if (!this.wuResult)
|
|
1228
1227
|
return Promise.resolve({ totalLength: 0, data: [] });
|
|
1229
|
-
var cacheKey =
|
|
1228
|
+
var cacheKey = start + "->" + end;
|
|
1230
1229
|
if (this._cache[cacheKey])
|
|
1231
1230
|
return this._cache[cacheKey];
|
|
1232
1231
|
var retVal = this.wuResult.fetchRows(start, end - start, false, this._filter).then(function (rows) {
|