@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 +17 -16
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +22 -19
- 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 +15 -31
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@hpcc-js/codemirror'), require('@hpcc-js/comms'), require('@hpcc-js/phosphor'), require('@hpcc-js/tree'), require('@hpcc-js/util'), require('@hpcc-js/common'), require('@hpcc-js/dgrid'), require('@hpcc-js/graph'), require('@hpcc-js/layout'), require('@hpcc-js/timeline')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define(['exports', '@hpcc-js/codemirror', '@hpcc-js/comms', '@hpcc-js/phosphor', '@hpcc-js/tree', '@hpcc-js/util', '@hpcc-js/common', '@hpcc-js/dgrid', '@hpcc-js/graph', '@hpcc-js/layout', '@hpcc-js/timeline'], factory) :
|
|
4
|
-
(global = global || self, factory(global[
|
|
5
|
-
}(this, (function (exports, codemirror, comms, phosphor, tree, util, common, dgrid, graph, layout, timeline) {
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@hpcc-js/eclwatch"] = {}, global["@hpcc-js/codemirror"], global["@hpcc-js/comms"], global["@hpcc-js/phosphor"], global["@hpcc-js/tree"], global["@hpcc-js/util"], global["@hpcc-js/common"], global["@hpcc-js/dgrid"], global["@hpcc-js/graph"], global["@hpcc-js/layout"], global["@hpcc-js/timeline"]));
|
|
5
|
+
})(this, (function (exports, codemirror, comms, phosphor, tree, util, common, dgrid, graph, layout, timeline) {
|
|
6
6
|
var PKG_NAME = "@hpcc-js/eclwatch";
|
|
7
|
-
var PKG_VERSION = "2.
|
|
8
|
-
var BUILD_VERSION = "2.
|
|
7
|
+
var PKG_VERSION = "2.72.6";
|
|
8
|
+
var BUILD_VERSION = "2.102.8";
|
|
9
9
|
|
|
10
10
|
/*! *****************************************************************************
|
|
11
11
|
Copyright (c) Microsoft Corporation.
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
ar[i] = from[i];
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
return to.concat(ar || from);
|
|
70
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
var ECLArchiveViewer = /** @class */ (function (_super) {
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
return ret;
|
|
105
105
|
function transformNode(node) {
|
|
106
106
|
var _node = {};
|
|
107
|
-
_node.label = node.name + (node["$"] && node["$"].key ? " ("
|
|
107
|
+
_node.label = node.name + (node["$"] && node["$"].key ? " (".concat(node["$"].key, ")") : "");
|
|
108
108
|
if (node._children && node._children.length > 0) {
|
|
109
109
|
_node.children = node._children.map(function (_node) {
|
|
110
110
|
return transformNode(_node);
|
|
@@ -210,8 +210,8 @@
|
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
var css_248z = ".eclwatch_WUGraphLegend .graph_Vertex{cursor:auto}.eclwatch_WUGraphLegend .graph_Vertex .common_Icon{cursor:pointer}";
|
|
214
|
-
styleInject(css_248z);
|
|
213
|
+
var css_248z$1 = ".eclwatch_WUGraphLegend .graph_Vertex{cursor:auto}.eclwatch_WUGraphLegend .graph_Vertex .common_Icon{cursor:pointer}";
|
|
214
|
+
styleInject(css_248z$1);
|
|
215
215
|
|
|
216
216
|
var LegendVertex = /** @class */ (function (_super) {
|
|
217
217
|
__extends(LegendVertex, _super);
|
|
@@ -276,8 +276,8 @@
|
|
|
276
276
|
.textbox_shape_colorFill("none")
|
|
277
277
|
.iconAnchor("left")
|
|
278
278
|
.faChar(d.faChar)
|
|
279
|
-
.text(d.label
|
|
280
|
-
.tooltip(d.kind
|
|
279
|
+
.text("".concat(d.label, " (").concat(d.count, ")"))
|
|
280
|
+
.tooltip("".concat(d.kind, " - ").concat(d.label))
|
|
281
281
|
.on("click", function (kind) {
|
|
282
282
|
context.toggle(kind);
|
|
283
283
|
context.render();
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
.icon_shape_colorFill(context._disabled2[d.kind] ? "gray" : null)
|
|
297
297
|
.render().getBBox();
|
|
298
298
|
common.select(this)
|
|
299
|
-
.attr("transform", "translate("
|
|
299
|
+
.attr("transform", "translate(".concat(+bbox.width / 2, ", ").concat(i * 30, ")"));
|
|
300
300
|
});
|
|
301
301
|
items.exit()
|
|
302
302
|
.each(function (d) {
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
})
|
|
307
307
|
.remove();
|
|
308
308
|
var bbox = this.getBBox(true, true);
|
|
309
|
-
this._g.attr("transform", "translate(16, "
|
|
309
|
+
this._g.attr("transform", "translate(16, ".concat(this.height() / 2 - bbox.height / 2, ")"));
|
|
310
310
|
};
|
|
311
311
|
// Events ---
|
|
312
312
|
WUGraphLegend.prototype.click = function (kind) {
|
|
@@ -393,6 +393,7 @@
|
|
|
393
393
|
}
|
|
394
394
|
_this.kindMap[kind].push(item);
|
|
395
395
|
}
|
|
396
|
+
else ;
|
|
396
397
|
});
|
|
397
398
|
};
|
|
398
399
|
WUScopeController.prototype.disabled = function (_) {
|
|
@@ -714,7 +715,7 @@
|
|
|
714
715
|
}
|
|
715
716
|
};
|
|
716
717
|
WUScopeController.prototype.removeObsoleteSubgraphs = function (graphDB) {
|
|
717
|
-
for (var _i = 0, _a = __spreadArray([], graphDB.subgraphs); _i < _a.length; _i++) {
|
|
718
|
+
for (var _i = 0, _a = __spreadArray([], graphDB.subgraphs, true); _i < _a.length; _i++) {
|
|
718
719
|
var subgraph = _a[_i];
|
|
719
720
|
if (subgraph.vertices.length === 0) {
|
|
720
721
|
subgraph.remove(false);
|
|
@@ -833,8 +834,8 @@
|
|
|
833
834
|
return WUScopeController;
|
|
834
835
|
}());
|
|
835
836
|
|
|
836
|
-
var css_248z
|
|
837
|
-
styleInject(css_248z
|
|
837
|
+
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}";
|
|
838
|
+
styleInject(css_248z);
|
|
838
839
|
|
|
839
840
|
var WUGraph = /** @class */ (function (_super) {
|
|
840
841
|
__extends(WUGraph, _super);
|
|
@@ -907,9 +908,9 @@
|
|
|
907
908
|
_this._partialAll,
|
|
908
909
|
_this._maxAll,
|
|
909
910
|
new common.Spacer()
|
|
910
|
-
], _this._graph.iconBarButtons()), [
|
|
911
|
+
], _this._graph.iconBarButtons(), true), [
|
|
911
912
|
new common.Spacer()
|
|
912
|
-
]);
|
|
913
|
+
], false);
|
|
913
914
|
_this.buttons(buttons.concat(_this.buttons()));
|
|
914
915
|
_this._gc.minClick = function (sg) {
|
|
915
916
|
_this.loadGraph();
|
|
@@ -1219,7 +1220,7 @@
|
|
|
1219
1220
|
var _this = this;
|
|
1220
1221
|
if (!this.wuResult)
|
|
1221
1222
|
return Promise.resolve({ totalLength: 0, data: [] });
|
|
1222
|
-
var cacheKey = start
|
|
1223
|
+
var cacheKey = "".concat(start, "->").concat(end);
|
|
1223
1224
|
if (this._cache[cacheKey])
|
|
1224
1225
|
return this._cache[cacheKey];
|
|
1225
1226
|
var retVal = this.wuResult.fetchRows(start, end - start, false, this._filter).then(function (rows) {
|
|
@@ -1351,12 +1352,14 @@
|
|
|
1351
1352
|
}(dgrid.Common));
|
|
1352
1353
|
WUResult.prototype._class += " eclwatch_WUResult";
|
|
1353
1354
|
|
|
1355
|
+
exports.STATUS = void 0;
|
|
1354
1356
|
(function (STATUS) {
|
|
1355
1357
|
STATUS["CREATE"] = "Created";
|
|
1356
1358
|
STATUS["COMPILE"] = "Compiled";
|
|
1357
1359
|
STATUS["EXECUTE"] = "Executed";
|
|
1358
1360
|
STATUS["COMPLETE"] = "Completed";
|
|
1359
1361
|
})(exports.STATUS || (exports.STATUS = {}));
|
|
1362
|
+
exports.STATUS_ACTIVE = void 0;
|
|
1360
1363
|
(function (STATUS_ACTIVE) {
|
|
1361
1364
|
STATUS_ACTIVE["CREATE"] = "Creating";
|
|
1362
1365
|
STATUS_ACTIVE["COMPILE"] = "Compiling";
|
|
@@ -1639,5 +1642,5 @@
|
|
|
1639
1642
|
|
|
1640
1643
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1641
1644
|
|
|
1642
|
-
}))
|
|
1645
|
+
}));
|
|
1643
1646
|
//# sourceMappingURL=index.js.map
|