@hpcc-js/eclwatch 2.76.1 → 3.1.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.js +51 -1650
- package/dist/index.js.map +7 -1
- package/package.json +38 -42
- package/src/WUGraph.ts +2 -2
- package/src/WUResult.ts +32 -21
- package/src/WUResultStore.ts +1 -1
- package/src/WUScopeController.ts +1 -1
- package/src/__package__.ts +2 -2
- package/src/index.ts +7 -7
- package/types/ECLArchiveViewer.d.ts +0 -1
- package/types/WUGraph.d.ts +1 -2
- package/types/WUGraphLegend.d.ts +0 -1
- package/types/WUResult.d.ts +21 -38
- package/types/WUResultStore.d.ts +0 -1
- package/types/WUScopeController.d.ts +1 -2
- package/types/WUStatus.d.ts +0 -1
- package/types/WUTimeline.d.ts +0 -1
- package/types/__package__.d.ts +2 -3
- package/types/index.d.ts +7 -8
- package/dist/index.es6.js +0 -1647
- package/dist/index.es6.js.map +0 -1
- package/dist/index.min.js +0 -2
- package/dist/index.min.js.map +0 -1
- package/types/ECLArchiveViewer.d.ts.map +0 -1
- package/types/WUGraph.d.ts.map +0 -1
- package/types/WUGraphLegend.d.ts.map +0 -1
- package/types/WUResult.d.ts.map +0 -1
- package/types/WUResultStore.d.ts.map +0 -1
- package/types/WUScopeController.d.ts.map +0 -1
- package/types/WUStatus.d.ts.map +0 -1
- package/types/WUTimeline.d.ts.map +0 -1
- package/types/__package__.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types-3.4/ECLArchiveViewer.d.ts +0 -48
- package/types-3.4/WUGraph.d.ts +0 -44
- package/types-3.4/WUGraphLegend.d.ts +0 -22
- package/types-3.4/WUResult.d.ts +0 -53
- package/types-3.4/WUResultStore.d.ts +0 -27
- package/types-3.4/WUScopeController.d.ts +0 -65
- package/types-3.4/WUStatus.d.ts +0 -40
- package/types-3.4/WUTimeline.d.ts +0 -24
- package/types-3.4/__package__.d.ts +0 -4
- package/types-3.4/index.d.ts +0 -8
package/package.json
CHANGED
|
@@ -1,58 +1,54 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/eclwatch",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "hpcc-js - ECL Watch",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
"*": [
|
|
13
|
-
"types-3.4/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./types/index.d.ts",
|
|
9
|
+
"default": "./dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"./dist/*": "./dist/*"
|
|
16
12
|
},
|
|
13
|
+
"module": "./dist/index.js",
|
|
14
|
+
"browser": "./dist/index.js",
|
|
15
|
+
"types": "./types/index.d.ts",
|
|
17
16
|
"files": [
|
|
18
17
|
"dist/*",
|
|
19
|
-
"
|
|
20
|
-
"types
|
|
21
|
-
"src/*"
|
|
18
|
+
"src/*",
|
|
19
|
+
"types/*"
|
|
22
20
|
],
|
|
23
21
|
"scripts": {
|
|
24
|
-
"clean": "rimraf --glob lib* types dist *.tsbuildinfo",
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"bundle-watch": "npm run bundle -- -w",
|
|
31
|
-
"minimize": "terser dist/index.js -c -m --source-map \"content='dist/index.js.map',url='index.min.js.map'\" -o dist/index.min.js",
|
|
32
|
-
"gen-legacy-types": "downlevel-dts ./types ./types-3.4",
|
|
33
|
-
"build": "npm run compile-es6 && npm run bundle",
|
|
34
|
-
"watch": "npm-run-all compile-es6 -p compile-es6-watch bundle-watch",
|
|
35
|
-
"stamp": "node ../../node_modules/@hpcc-js/bundle/src/stamp.js",
|
|
22
|
+
"clean": "rimraf --glob lib* types dist *.tsbuildinfo .turbo",
|
|
23
|
+
"bundle": "node esbuild.js",
|
|
24
|
+
"bundle-watch": "npm run bundle -- --development --watch",
|
|
25
|
+
"gen-types": "tsc --project tsconfig.json",
|
|
26
|
+
"gen-types-watch": "npm run gen-types -- --watch",
|
|
27
|
+
"build": "run-p gen-types bundle",
|
|
36
28
|
"lint": "eslint ./src",
|
|
29
|
+
"lint-fix": "eslint --fix src/**/*.ts",
|
|
37
30
|
"docs": "typedoc --options tdoptions.json .",
|
|
38
|
-
"
|
|
31
|
+
"test-browser": "vitest run --project browser",
|
|
32
|
+
"test": "vitest run",
|
|
33
|
+
"coverage": "vitest run --coverage",
|
|
34
|
+
"update": "npx --yes npm-check-updates -u -t minor",
|
|
35
|
+
"update-major": "npx --yes npm-check-updates -u"
|
|
39
36
|
},
|
|
40
37
|
"dependencies": {
|
|
41
|
-
"@hpcc-js/codemirror": "^
|
|
42
|
-
"@hpcc-js/common": "^2.
|
|
43
|
-
"@hpcc-js/comms": "^2.
|
|
44
|
-
"@hpcc-js/dgrid": "^
|
|
45
|
-
"@hpcc-js/graph": "^
|
|
46
|
-
"@hpcc-js/layout": "^
|
|
47
|
-
"@hpcc-js/phosphor": "^
|
|
48
|
-
"@hpcc-js/timeline": "^
|
|
49
|
-
"@hpcc-js/tree": "^
|
|
50
|
-
"@hpcc-js/util": "^2.
|
|
38
|
+
"@hpcc-js/codemirror": "^3.1.0",
|
|
39
|
+
"@hpcc-js/common": "^3.2.0",
|
|
40
|
+
"@hpcc-js/comms": "^3.2.0",
|
|
41
|
+
"@hpcc-js/dgrid": "^3.1.0",
|
|
42
|
+
"@hpcc-js/graph": "^3.1.0",
|
|
43
|
+
"@hpcc-js/layout": "^3.1.0",
|
|
44
|
+
"@hpcc-js/phosphor": "^3.1.0",
|
|
45
|
+
"@hpcc-js/timeline": "^3.0.0",
|
|
46
|
+
"@hpcc-js/tree": "^3.0.0",
|
|
47
|
+
"@hpcc-js/util": "^3.2.0"
|
|
51
48
|
},
|
|
52
49
|
"devDependencies": {
|
|
53
|
-
"@hpcc-js/
|
|
54
|
-
"d3-selection": "^1"
|
|
55
|
-
"tslib": "2.7.0"
|
|
50
|
+
"@hpcc-js/esbuild-plugins": "^1.3.0",
|
|
51
|
+
"d3-selection": "^1"
|
|
56
52
|
},
|
|
57
53
|
"repository": {
|
|
58
54
|
"type": "git",
|
|
@@ -65,5 +61,5 @@
|
|
|
65
61
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
66
62
|
},
|
|
67
63
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
68
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "658c50fd965a7744ba8db675ba6878607c44d5e2"
|
|
69
65
|
}
|
package/src/WUGraph.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { Table } from "@hpcc-js/dgrid";
|
|
|
4
4
|
import { Graph as GraphWidget, Subgraph, Vertex } from "@hpcc-js/graph";
|
|
5
5
|
import { Carousel, ChartPanel } from "@hpcc-js/layout";
|
|
6
6
|
import { hashSum } from "@hpcc-js/util";
|
|
7
|
-
import { WUGraphLegend } from "./WUGraphLegend";
|
|
8
|
-
import { WUScopeController } from "./WUScopeController";
|
|
7
|
+
import { WUGraphLegend } from "./WUGraphLegend.ts";
|
|
8
|
+
import { WUScopeController } from "./WUScopeController.ts";
|
|
9
9
|
|
|
10
10
|
import "../src/WUGraph.css";
|
|
11
11
|
|
package/src/WUResult.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { publish } from "@hpcc-js/common";
|
|
2
1
|
import { ResultFilter, IOptions, Result } from "@hpcc-js/comms";
|
|
3
2
|
import { Common } from "@hpcc-js/dgrid";
|
|
4
3
|
import { hashSum } from "@hpcc-js/util";
|
|
5
|
-
import { Store } from "./WUResultStore";
|
|
4
|
+
import { Store } from "./WUResultStore.ts";
|
|
6
5
|
|
|
7
6
|
export class WUResult extends Common {
|
|
8
7
|
|
|
@@ -14,25 +13,6 @@ export class WUResult extends Common {
|
|
|
14
13
|
this.renderHtml(false);
|
|
15
14
|
}
|
|
16
15
|
|
|
17
|
-
@publish("", "string", "URL to WsWorkunits")
|
|
18
|
-
baseUrl: { (): string, (_: string): WUResult };
|
|
19
|
-
@publish(undefined, "string", "Workunit ID")
|
|
20
|
-
user: { (): string, (_: string): WUResult };
|
|
21
|
-
@publish(undefined, "string", "User ID")
|
|
22
|
-
password: { (): string, (_: string): WUResult };
|
|
23
|
-
@publish(undefined, "string", "Password")
|
|
24
|
-
wuid: { (): string, (_: string): WUResult };
|
|
25
|
-
@publish(undefined, "string", "Result Name")
|
|
26
|
-
resultName: { (): string, (_: string): WUResult };
|
|
27
|
-
@publish(undefined, "number", "Sequence Number")
|
|
28
|
-
sequence: { (): number, (_: number): WUResult };
|
|
29
|
-
@publish("", "string", "NodeGroup")
|
|
30
|
-
nodeGroup: { (): string, (_: string): WUResult };
|
|
31
|
-
@publish("", "string", "Logical File Name")
|
|
32
|
-
logicalFile: { (): string, (_: string): WUResult };
|
|
33
|
-
@publish({}, "object", "Filter")
|
|
34
|
-
filter: { (): ResultFilter, (_: ResultFilter): WUResult };
|
|
35
|
-
|
|
36
16
|
hashSum(opts: any = {}) {
|
|
37
17
|
return hashSum({
|
|
38
18
|
baseUrl: this.baseUrl(),
|
|
@@ -104,3 +84,34 @@ export class WUResult extends Common {
|
|
|
104
84
|
}
|
|
105
85
|
}
|
|
106
86
|
WUResult.prototype._class += " eclwatch_WUResult";
|
|
87
|
+
|
|
88
|
+
export interface WUResult {
|
|
89
|
+
baseUrl(): string;
|
|
90
|
+
baseUrl(_: string): this;
|
|
91
|
+
user(): string;
|
|
92
|
+
user(_: string): this;
|
|
93
|
+
password(): string;
|
|
94
|
+
password(_: string): this;
|
|
95
|
+
wuid(): string;
|
|
96
|
+
wuid(_: string): this;
|
|
97
|
+
resultName(): string;
|
|
98
|
+
resultName(_: string): this;
|
|
99
|
+
sequence(): number;
|
|
100
|
+
sequence(_: number): this;
|
|
101
|
+
nodeGroup(): string;
|
|
102
|
+
nodeGroup(_: string): this;
|
|
103
|
+
logicalFile(): string;
|
|
104
|
+
logicalFile(_: string): this;
|
|
105
|
+
filter(): ResultFilter;
|
|
106
|
+
filter(_: ResultFilter): this;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
WUResult.prototype.publish("baseUrl", "", "string", "URL to WsWorkunits");
|
|
110
|
+
WUResult.prototype.publish("user", "", "string", "User ID");
|
|
111
|
+
WUResult.prototype.publish("password", "", "string", "Password");
|
|
112
|
+
WUResult.prototype.publish("wuid", "", "string", "Workunit ID");
|
|
113
|
+
WUResult.prototype.publish("resultName", "", "string", "Result Name");
|
|
114
|
+
WUResult.prototype.publish("sequence", undefined, "number", "Sequence Number");
|
|
115
|
+
WUResult.prototype.publish("nodeGroup", "", "string", "NodeGroup");
|
|
116
|
+
WUResult.prototype.publish("logicalFile", "", "string", "Logical File Name");
|
|
117
|
+
WUResult.prototype.publish("filter", {}, "object", "Filter");
|
package/src/WUResultStore.ts
CHANGED
|
@@ -14,7 +14,7 @@ function safeEncode(item) {
|
|
|
14
14
|
case "[object String]":
|
|
15
15
|
return entitiesEncode(item);
|
|
16
16
|
default:
|
|
17
|
-
console.warn("Unknown cell type: " + Object.prototype.toString.call(item));
|
|
17
|
+
console.warn("Unknown cell type: " + Object.prototype.toString.call(item));
|
|
18
18
|
}
|
|
19
19
|
return item;
|
|
20
20
|
}
|
package/src/WUScopeController.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Icon } from "@hpcc-js/common";
|
|
|
2
2
|
import { BaseScope, ScopeEdge, ScopeGraph, ScopeSubgraph, ScopeVertex } from "@hpcc-js/comms";
|
|
3
3
|
import { Edge, IGraphData, Lineage, Subgraph, Vertex } from "@hpcc-js/graph";
|
|
4
4
|
import { Edge as UtilEdge, Subgraph as UtilSubgraph, Vertex as UtilVertex } from "@hpcc-js/util";
|
|
5
|
-
import { WUGraphLegendData } from "./WUGraphLegend";
|
|
5
|
+
import { WUGraphLegendData } from "./WUGraphLegend.ts";
|
|
6
6
|
|
|
7
7
|
export type VertexType = Vertex | Icon;
|
|
8
8
|
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/eclwatch";
|
|
2
|
-
export const PKG_VERSION = "
|
|
3
|
-
export const BUILD_VERSION = "2.
|
|
2
|
+
export const PKG_VERSION = "3.1.0";
|
|
3
|
+
export const BUILD_VERSION = "3.2.0";
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./__package__";
|
|
2
|
-
export * from "./ECLArchiveViewer";
|
|
3
|
-
export * from "./WUGraph";
|
|
4
|
-
export * from "./WUResult";
|
|
5
|
-
export * from "./WUScopeController";
|
|
6
|
-
export * from "./WUStatus";
|
|
7
|
-
export * from "./WUTimeline";
|
|
1
|
+
export * from "./__package__.ts";
|
|
2
|
+
export * from "./ECLArchiveViewer.ts";
|
|
3
|
+
export * from "./WUGraph.ts";
|
|
4
|
+
export * from "./WUResult.ts";
|
|
5
|
+
export * from "./WUScopeController.ts";
|
|
6
|
+
export * from "./WUStatus.ts";
|
|
7
|
+
export * from "./WUTimeline.ts";
|
package/types/WUGraph.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Button, ToggleButton, Widget } from "@hpcc-js/common";
|
|
|
2
2
|
import { ScopeGraph } from "@hpcc-js/comms";
|
|
3
3
|
import { Graph as GraphWidget } from "@hpcc-js/graph";
|
|
4
4
|
import { Carousel, ChartPanel } from "@hpcc-js/layout";
|
|
5
|
-
import { WUScopeController } from "./WUScopeController";
|
|
5
|
+
import { WUScopeController } from "./WUScopeController.ts";
|
|
6
6
|
import "../src/WUGraph.css";
|
|
7
7
|
export declare class WUGraph extends ChartPanel {
|
|
8
8
|
private _partialAll;
|
|
@@ -41,4 +41,3 @@ export interface WUGraph {
|
|
|
41
41
|
subgraphID(): string;
|
|
42
42
|
subgraphID(_: string): this;
|
|
43
43
|
}
|
|
44
|
-
//# sourceMappingURL=WUGraph.d.ts.map
|
package/types/WUGraphLegend.d.ts
CHANGED
package/types/WUResult.d.ts
CHANGED
|
@@ -1,46 +1,10 @@
|
|
|
1
1
|
import { ResultFilter, Result } from "@hpcc-js/comms";
|
|
2
2
|
import { Common } from "@hpcc-js/dgrid";
|
|
3
|
-
import { Store } from "./WUResultStore";
|
|
3
|
+
import { Store } from "./WUResultStore.ts";
|
|
4
4
|
export declare class WUResult extends Common {
|
|
5
5
|
protected _result: Result;
|
|
6
6
|
protected _localStore: Store;
|
|
7
7
|
constructor();
|
|
8
|
-
baseUrl: {
|
|
9
|
-
(): string;
|
|
10
|
-
(_: string): WUResult;
|
|
11
|
-
};
|
|
12
|
-
user: {
|
|
13
|
-
(): string;
|
|
14
|
-
(_: string): WUResult;
|
|
15
|
-
};
|
|
16
|
-
password: {
|
|
17
|
-
(): string;
|
|
18
|
-
(_: string): WUResult;
|
|
19
|
-
};
|
|
20
|
-
wuid: {
|
|
21
|
-
(): string;
|
|
22
|
-
(_: string): WUResult;
|
|
23
|
-
};
|
|
24
|
-
resultName: {
|
|
25
|
-
(): string;
|
|
26
|
-
(_: string): WUResult;
|
|
27
|
-
};
|
|
28
|
-
sequence: {
|
|
29
|
-
(): number;
|
|
30
|
-
(_: number): WUResult;
|
|
31
|
-
};
|
|
32
|
-
nodeGroup: {
|
|
33
|
-
(): string;
|
|
34
|
-
(_: string): WUResult;
|
|
35
|
-
};
|
|
36
|
-
logicalFile: {
|
|
37
|
-
(): string;
|
|
38
|
-
(_: string): WUResult;
|
|
39
|
-
};
|
|
40
|
-
filter: {
|
|
41
|
-
(): ResultFilter;
|
|
42
|
-
(_: ResultFilter): WUResult;
|
|
43
|
-
};
|
|
44
8
|
hashSum(opts?: any): string;
|
|
45
9
|
protected _prevResultHash: string;
|
|
46
10
|
calcResult(): Result | null;
|
|
@@ -50,4 +14,23 @@ export declare class WUResult extends Common {
|
|
|
50
14
|
update(domNode: any, element: any): void;
|
|
51
15
|
click(row: any, col: any, sel: any): void;
|
|
52
16
|
}
|
|
53
|
-
|
|
17
|
+
export interface WUResult {
|
|
18
|
+
baseUrl(): string;
|
|
19
|
+
baseUrl(_: string): this;
|
|
20
|
+
user(): string;
|
|
21
|
+
user(_: string): this;
|
|
22
|
+
password(): string;
|
|
23
|
+
password(_: string): this;
|
|
24
|
+
wuid(): string;
|
|
25
|
+
wuid(_: string): this;
|
|
26
|
+
resultName(): string;
|
|
27
|
+
resultName(_: string): this;
|
|
28
|
+
sequence(): number;
|
|
29
|
+
sequence(_: number): this;
|
|
30
|
+
nodeGroup(): string;
|
|
31
|
+
nodeGroup(_: string): this;
|
|
32
|
+
logicalFile(): string;
|
|
33
|
+
logicalFile(_: string): this;
|
|
34
|
+
filter(): ResultFilter;
|
|
35
|
+
filter(_: ResultFilter): this;
|
|
36
|
+
}
|
package/types/WUResultStore.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Icon } from "@hpcc-js/common";
|
|
2
2
|
import { ScopeEdge, ScopeGraph, ScopeSubgraph, ScopeVertex } from "@hpcc-js/comms";
|
|
3
3
|
import { Edge, IGraphData, Lineage, Subgraph, Vertex } from "@hpcc-js/graph";
|
|
4
|
-
import { WUGraphLegendData } from "./WUGraphLegend";
|
|
4
|
+
import { WUGraphLegendData } from "./WUGraphLegend.ts";
|
|
5
5
|
export type VertexType = Vertex | Icon;
|
|
6
6
|
export interface MyGraphData {
|
|
7
7
|
subgraphs: Subgraph[];
|
|
@@ -62,4 +62,3 @@ export declare class WUScopeController {
|
|
|
62
62
|
edge(id: string): Edge;
|
|
63
63
|
minClick(sg: Subgraph): void;
|
|
64
64
|
}
|
|
65
|
-
//# sourceMappingURL=WUScopeController.d.ts.map
|
package/types/WUStatus.d.ts
CHANGED
package/types/WUTimeline.d.ts
CHANGED
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/eclwatch";
|
|
2
|
-
export declare const PKG_VERSION = "
|
|
3
|
-
export declare const BUILD_VERSION = "2.
|
|
4
|
-
//# sourceMappingURL=__package__.d.ts.map
|
|
2
|
+
export declare const PKG_VERSION = "3.1.0";
|
|
3
|
+
export declare const BUILD_VERSION = "3.2.0";
|
package/types/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
export * from "./__package__";
|
|
2
|
-
export * from "./ECLArchiveViewer";
|
|
3
|
-
export * from "./WUGraph";
|
|
4
|
-
export * from "./WUResult";
|
|
5
|
-
export * from "./WUScopeController";
|
|
6
|
-
export * from "./WUStatus";
|
|
7
|
-
export * from "./WUTimeline";
|
|
8
|
-
//# sourceMappingURL=index.d.ts.map
|
|
1
|
+
export * from "./__package__.ts";
|
|
2
|
+
export * from "./ECLArchiveViewer.ts";
|
|
3
|
+
export * from "./WUGraph.ts";
|
|
4
|
+
export * from "./WUResult.ts";
|
|
5
|
+
export * from "./WUScopeController.ts";
|
|
6
|
+
export * from "./WUStatus.ts";
|
|
7
|
+
export * from "./WUTimeline.ts";
|