@hpcc-js/eclwatch 2.67.0 → 2.69.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-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 =
|
|
5
|
-
}
|
|
4
|
+
(global = 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.69.0";
|
|
8
|
+
var BUILD_VERSION = "2.99.0";
|
|
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 ||
|
|
70
|
+
return to.concat(ar || 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 ? " (" + 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
|
|
214
|
-
styleInject(css_248z
|
|
213
|
+
var css_248z = ".eclwatch_WUGraphLegend .graph_Vertex{cursor:auto}.eclwatch_WUGraphLegend .graph_Vertex .common_Icon{cursor:pointer}";
|
|
214
|
+
styleInject(css_248z);
|
|
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(
|
|
280
|
-
.tooltip(
|
|
279
|
+
.text(d.label + " (" + d.count + ")")
|
|
280
|
+
.tooltip(d.kind + " - " + 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(" + +bbox.width / 2 + ", " + 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, " + (this.height() / 2 - bbox.height / 2) + ")");
|
|
310
310
|
};
|
|
311
311
|
// Events ---
|
|
312
312
|
WUGraphLegend.prototype.click = function (kind) {
|
|
@@ -393,7 +393,6 @@
|
|
|
393
393
|
}
|
|
394
394
|
_this.kindMap[kind].push(item);
|
|
395
395
|
}
|
|
396
|
-
else ;
|
|
397
396
|
});
|
|
398
397
|
};
|
|
399
398
|
WUScopeController.prototype.disabled = function (_) {
|
|
@@ -715,7 +714,7 @@
|
|
|
715
714
|
}
|
|
716
715
|
};
|
|
717
716
|
WUScopeController.prototype.removeObsoleteSubgraphs = function (graphDB) {
|
|
718
|
-
for (var _i = 0, _a = __spreadArray([], graphDB.subgraphs
|
|
717
|
+
for (var _i = 0, _a = __spreadArray([], graphDB.subgraphs); _i < _a.length; _i++) {
|
|
719
718
|
var subgraph = _a[_i];
|
|
720
719
|
if (subgraph.vertices.length === 0) {
|
|
721
720
|
subgraph.remove(false);
|
|
@@ -834,8 +833,8 @@
|
|
|
834
833
|
return WUScopeController;
|
|
835
834
|
}());
|
|
836
835
|
|
|
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);
|
|
836
|
+
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}";
|
|
837
|
+
styleInject(css_248z$1);
|
|
839
838
|
|
|
840
839
|
var WUGraph = /** @class */ (function (_super) {
|
|
841
840
|
__extends(WUGraph, _super);
|
|
@@ -908,9 +907,9 @@
|
|
|
908
907
|
_this._partialAll,
|
|
909
908
|
_this._maxAll,
|
|
910
909
|
new common.Spacer()
|
|
911
|
-
], _this._graph.iconBarButtons()
|
|
910
|
+
], _this._graph.iconBarButtons()), [
|
|
912
911
|
new common.Spacer()
|
|
913
|
-
]
|
|
912
|
+
]);
|
|
914
913
|
_this.buttons(buttons.concat(_this.buttons()));
|
|
915
914
|
_this._gc.minClick = function (sg) {
|
|
916
915
|
_this.loadGraph();
|
|
@@ -1220,7 +1219,7 @@
|
|
|
1220
1219
|
var _this = this;
|
|
1221
1220
|
if (!this.wuResult)
|
|
1222
1221
|
return Promise.resolve({ totalLength: 0, data: [] });
|
|
1223
|
-
var cacheKey =
|
|
1222
|
+
var cacheKey = start + "->" + end;
|
|
1224
1223
|
if (this._cache[cacheKey])
|
|
1225
1224
|
return this._cache[cacheKey];
|
|
1226
1225
|
var retVal = this.wuResult.fetchRows(start, end - start, false, this._filter).then(function (rows) {
|
|
@@ -1352,14 +1351,12 @@
|
|
|
1352
1351
|
}(dgrid.Common));
|
|
1353
1352
|
WUResult.prototype._class += " eclwatch_WUResult";
|
|
1354
1353
|
|
|
1355
|
-
exports.STATUS = void 0;
|
|
1356
1354
|
(function (STATUS) {
|
|
1357
1355
|
STATUS["CREATE"] = "Created";
|
|
1358
1356
|
STATUS["COMPILE"] = "Compiled";
|
|
1359
1357
|
STATUS["EXECUTE"] = "Executed";
|
|
1360
1358
|
STATUS["COMPLETE"] = "Completed";
|
|
1361
1359
|
})(exports.STATUS || (exports.STATUS = {}));
|
|
1362
|
-
exports.STATUS_ACTIVE = void 0;
|
|
1363
1360
|
(function (STATUS_ACTIVE) {
|
|
1364
1361
|
STATUS_ACTIVE["CREATE"] = "Creating";
|
|
1365
1362
|
STATUS_ACTIVE["COMPILE"] = "Compiling";
|
|
@@ -1642,5 +1639,5 @@
|
|
|
1642
1639
|
|
|
1643
1640
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
1644
1641
|
|
|
1645
|
-
}));
|
|
1642
|
+
})));
|
|
1646
1643
|
//# sourceMappingURL=index.js.map
|