@hpcc-js/api 2.9.1 → 2.10.1
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 +213 -264
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +213 -264
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -16
- package/dist/index.min.js.map +1 -1
- package/package.json +4 -4
- package/src/I1DChart.ts +0 -2
- package/src/I2DAggrChart.ts +0 -2
- package/src/I2DChart.ts +0 -2
- package/src/IGraph.ts +0 -4
- package/src/IInput.ts +59 -59
- package/src/INDChart.ts +0 -2
- package/src/ITooltip.ts +140 -145
- package/src/ITree.ts +10 -10
- package/src/__package__.ts +2 -2
- package/types/IInput.d.ts +5 -17
- package/types/IInput.d.ts.map +1 -1
- package/types/ITooltip.d.ts +5 -26
- package/types/ITooltip.d.ts.map +1 -1
- package/types/ITree.d.ts +1 -5
- package/types/ITree.d.ts.map +1 -1
- package/types/__package__.d.ts +2 -2
- package/types/__package__.d.ts.map +1 -1
- package/types-3.4/IInput.d.ts +5 -17
- package/types-3.4/ITooltip.d.ts +5 -26
- package/types-3.4/ITree.d.ts +1 -5
- package/types-3.4/__package__.d.ts +2 -2
package/src/ITooltip.ts
CHANGED
|
@@ -2,169 +2,163 @@ import { Widget } from "@hpcc-js/common";
|
|
|
2
2
|
import { format as d3Format } from "d3-format";
|
|
3
3
|
import { tip } from "./Tooltip";
|
|
4
4
|
|
|
5
|
-
// const tip = _tip.tip || _tip.default || _tip;
|
|
6
|
-
|
|
7
5
|
import "../src/ITooltip.css";
|
|
8
6
|
|
|
9
7
|
declare const event: object;
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
layerUpdate;
|
|
15
|
-
layerExit;
|
|
16
|
-
tooltip = tip();
|
|
17
|
-
|
|
18
|
-
constructor() {
|
|
19
|
-
super();
|
|
20
|
-
|
|
21
|
-
this._valueFormatter = d3Format(this.tooltipValueFormat() as string);
|
|
22
|
-
|
|
23
|
-
if (this.layerEnter) {
|
|
24
|
-
const layerEnter = this.layerEnter;
|
|
25
|
-
this.layerEnter = function (_base, svgElement, _domElement) {
|
|
26
|
-
if (!this._parentOverlay) {
|
|
27
|
-
this._parentOverlay = _base._parentOverlay;
|
|
28
|
-
}
|
|
29
|
-
this.tooltipEnter(svgElement);
|
|
30
|
-
layerEnter.apply(this, arguments);
|
|
31
|
-
};
|
|
32
|
-
const layerUpdate = this.layerUpdate;
|
|
33
|
-
this.layerUpdate = function (_base) {
|
|
34
|
-
layerUpdate.apply(this, arguments);
|
|
35
|
-
this.tooltipUpdate();
|
|
36
|
-
};
|
|
37
|
-
const layerExit = this.layerExit;
|
|
38
|
-
this.layerExit = function (_base) {
|
|
39
|
-
this.tooltipExit();
|
|
40
|
-
layerExit.apply(this, arguments);
|
|
41
|
-
};
|
|
42
|
-
} else {
|
|
43
|
-
const enter = this.enter;
|
|
44
|
-
this.enter = function (_domNode, element) {
|
|
45
|
-
this.tooltipEnter(element);
|
|
46
|
-
enter.apply(this, arguments);
|
|
47
|
-
};
|
|
48
|
-
const update = this.update;
|
|
49
|
-
this.update = function (_domNode, _element) {
|
|
50
|
-
update.apply(this, arguments);
|
|
51
|
-
this.tooltipUpdate();
|
|
52
|
-
};
|
|
53
|
-
const exit = this.exit;
|
|
54
|
-
this.exit = function (_domNode, _element) {
|
|
55
|
-
this.tooltipExit();
|
|
56
|
-
exit.apply(this, arguments);
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
abstract target(): any;
|
|
62
|
-
abstract target(_: any): this;
|
|
9
|
+
// Use old school class declaration as this is a mixin ---
|
|
10
|
+
export function ITooltip() {
|
|
11
|
+
this.tooltip = tip();
|
|
63
12
|
|
|
64
|
-
|
|
65
|
-
const overlayElement = this.parentOverlay();
|
|
66
|
-
if (!overlayElement.empty()) {
|
|
67
|
-
this.tooltip.rootElement(overlayElement.node().parentNode);
|
|
68
|
-
}
|
|
69
|
-
element.call(this.tooltip);
|
|
70
|
-
}
|
|
13
|
+
this._valueFormatter = d3Format(this.tooltipValueFormat() as string);
|
|
71
14
|
|
|
72
|
-
|
|
73
|
-
this.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
d3tipElement.style.left = this.tooltipOffset() + ((event as any).clientX) + "px";
|
|
78
|
-
d3tipElement.style.top = (event as any).clientY + "px";
|
|
79
|
-
return [];
|
|
15
|
+
if (this.layerEnter) {
|
|
16
|
+
const layerEnter = this.layerEnter;
|
|
17
|
+
this.layerEnter = function (_base, svgElement, _domElement) {
|
|
18
|
+
if (!this._parentOverlay) {
|
|
19
|
+
this._parentOverlay = _base._parentOverlay;
|
|
80
20
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
21
|
+
this.tooltipEnter(svgElement);
|
|
22
|
+
layerEnter.apply(this, arguments);
|
|
23
|
+
};
|
|
24
|
+
const layerUpdate = this.layerUpdate;
|
|
25
|
+
this.layerUpdate = function (_base) {
|
|
26
|
+
layerUpdate.apply(this, arguments);
|
|
27
|
+
this.tooltipUpdate();
|
|
28
|
+
};
|
|
29
|
+
const layerExit = this.layerExit;
|
|
30
|
+
this.layerExit = function (_base) {
|
|
31
|
+
this.tooltipExit();
|
|
32
|
+
layerExit.apply(this, arguments);
|
|
33
|
+
};
|
|
34
|
+
} else {
|
|
35
|
+
const enter = this.enter;
|
|
36
|
+
this.enter = function (_domNode, element) {
|
|
37
|
+
this.tooltipEnter(element);
|
|
38
|
+
enter.apply(this, arguments);
|
|
39
|
+
};
|
|
40
|
+
const update = this.update;
|
|
41
|
+
this.update = function (_domNode, _element) {
|
|
42
|
+
update.apply(this, arguments);
|
|
43
|
+
this.tooltipUpdate();
|
|
44
|
+
};
|
|
45
|
+
const exit = this.exit;
|
|
46
|
+
this.exit = function (_domNode, _element) {
|
|
47
|
+
this.tooltipExit();
|
|
48
|
+
exit.apply(this, arguments);
|
|
49
|
+
};
|
|
103
50
|
}
|
|
51
|
+
}
|
|
52
|
+
ITooltip.prototype = Object.create(Widget.prototype);
|
|
53
|
+
ITooltip.prototype.constructor = ITooltip;
|
|
104
54
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
this.tooltip.destroy();
|
|
108
|
-
}
|
|
109
|
-
}
|
|
55
|
+
// abstract target(): any;
|
|
56
|
+
// abstract target(_: any): this;
|
|
110
57
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
tooltipHTML(_) {
|
|
116
|
-
return this.tooltip.html(_);
|
|
58
|
+
ITooltip.prototype.tooltipEnter = function (element) {
|
|
59
|
+
const overlayElement = this.parentOverlay();
|
|
60
|
+
if (!overlayElement.empty()) {
|
|
61
|
+
this.tooltip.rootElement(overlayElement.node().parentNode);
|
|
117
62
|
}
|
|
63
|
+
element.call(this.tooltip);
|
|
64
|
+
};
|
|
118
65
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
66
|
+
ITooltip.prototype.tooltipUpdate = function () {
|
|
67
|
+
this.tooltip.offset(() => {
|
|
68
|
+
if (event && this.tooltipFollowMouse()) {
|
|
69
|
+
const d3tipElement: HTMLDivElement = document.querySelector(".d3-tip"); // d3Tip offers no reference to the '.d3-tip' element...?
|
|
70
|
+
d3tipElement.style.display = "block";
|
|
71
|
+
d3tipElement.style.left = this.tooltipOffset() + ((event as any).clientX) + "px";
|
|
72
|
+
d3tipElement.style.top = (event as any).clientY + "px";
|
|
73
|
+
return [];
|
|
126
74
|
}
|
|
127
|
-
switch (this.
|
|
128
|
-
case "
|
|
129
|
-
|
|
130
|
-
case "series-table":
|
|
131
|
-
let html = '<table class="ITooltip-series-table">'
|
|
132
|
-
+ "<thead>"
|
|
133
|
-
+ '<tr><th colspan="2">' + opts.label + "</th></tr>"
|
|
134
|
-
+ "</thead>"
|
|
135
|
-
+ "<tbody>";
|
|
136
|
-
opts.arr.forEach(function (row) {
|
|
137
|
-
html += "<tr>";
|
|
138
|
-
html += "<td>";
|
|
139
|
-
html += '<div class="series-table-row-color" style="background-color:' + row.color + '"></div>';
|
|
140
|
-
html += '<div class="series-table-row-label">' + row.label + "</div>";
|
|
141
|
-
html += "</td>";
|
|
142
|
-
html += '<td><div class="series-table-row-value">' + row.value + "</div></td>";
|
|
143
|
-
html += "</tr>";
|
|
144
|
-
});
|
|
145
|
-
html += "</tbody>";
|
|
146
|
-
html += "</table>";
|
|
147
|
-
return html;
|
|
75
|
+
switch (this.tooltip.direction()()) {
|
|
76
|
+
case "e":
|
|
77
|
+
return [0, this.tooltipOffset()];
|
|
148
78
|
default:
|
|
149
|
-
|
|
150
|
-
return "<span style='color:" + this.tooltipSeriesColor() + "'>" + opts.series + "</span> / <span style='color:" + this.tooltipLabelColor() + "'>" + opts.label + "</span>: <span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
|
|
151
|
-
}
|
|
152
|
-
if (opts.label !== "") {
|
|
153
|
-
return "<span style='color:" + this.tooltipLabelColor() + "'>" + opts.label + "</span>: <span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
|
|
154
|
-
}
|
|
155
|
-
return "<span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
|
|
79
|
+
return [-this.tooltipOffset(), 0];
|
|
156
80
|
}
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
let classed = this.tooltip.attr("class");
|
|
84
|
+
if (classed) {
|
|
85
|
+
classed = classed.split(" notick").join("") + (this.tooltipTick() ? "" : " notick") + (this.tooltipStyle() === "none" ? " hidden" : "");
|
|
86
|
+
classed = classed.split(" ")
|
|
87
|
+
.filter(function (_class) {
|
|
88
|
+
return _class.indexOf("ITooltip-tooltipStyle-") !== 0;
|
|
89
|
+
})
|
|
90
|
+
.join(" ")
|
|
91
|
+
;
|
|
92
|
+
classed += " ITooltip-tooltipStyle-" + this.tooltipStyle();
|
|
93
|
+
this.tooltip
|
|
94
|
+
.attr("class", classed)
|
|
95
|
+
;
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
ITooltip.prototype.tooltipExit = function () {
|
|
100
|
+
if (this.tooltip) {
|
|
101
|
+
this.tooltip.destroy();
|
|
157
102
|
}
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
ITooltip.prototype._tooltipHTML = function (d) {
|
|
106
|
+
return d;
|
|
107
|
+
};
|
|
108
|
+
|
|
109
|
+
ITooltip.prototype.tooltipHTML = function (_) {
|
|
110
|
+
return this.tooltip.html(_);
|
|
111
|
+
};
|
|
158
112
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
113
|
+
ITooltip.prototype.tooltipFormat = function (opts: { label?: string | number, series?: string | number, value?: Date | string | number, arr?: Array<{ color: string, label: string, value: string }> } = {}) {
|
|
114
|
+
opts.label = opts.label === undefined ? "" : opts.label;
|
|
115
|
+
opts.series = opts.series || "";
|
|
116
|
+
if (opts.value instanceof Date) {
|
|
117
|
+
opts.value = opts.value || "";
|
|
118
|
+
} else {
|
|
119
|
+
opts.value = this._valueFormatter(opts.value) || "";
|
|
120
|
+
}
|
|
121
|
+
switch (this.tooltipStyle()) {
|
|
122
|
+
case "none":
|
|
123
|
+
break;
|
|
124
|
+
case "series-table":
|
|
125
|
+
let html = '<table class="ITooltip-series-table">'
|
|
126
|
+
+ "<thead>"
|
|
127
|
+
+ '<tr><th colspan="2">' + opts.label + "</th></tr>"
|
|
128
|
+
+ "</thead>"
|
|
129
|
+
+ "<tbody>";
|
|
130
|
+
opts.arr.forEach(function (row) {
|
|
131
|
+
html += "<tr>";
|
|
132
|
+
html += "<td>";
|
|
133
|
+
html += '<div class="series-table-row-color" style="background-color:' + row.color + '"></div>';
|
|
134
|
+
html += '<div class="series-table-row-label">' + row.label + "</div>";
|
|
135
|
+
html += "</td>";
|
|
136
|
+
html += '<td><div class="series-table-row-value">' + row.value + "</div></td>";
|
|
137
|
+
html += "</tr>";
|
|
138
|
+
});
|
|
139
|
+
html += "</tbody>";
|
|
140
|
+
html += "</table>";
|
|
141
|
+
return html;
|
|
142
|
+
default:
|
|
143
|
+
if (opts.series) {
|
|
144
|
+
return "<span style='color:" + this.tooltipSeriesColor() + "'>" + opts.series + "</span> / <span style='color:" + this.tooltipLabelColor() + "'>" + opts.label + "</span>: <span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
|
|
165
145
|
}
|
|
146
|
+
if (opts.label !== "") {
|
|
147
|
+
return "<span style='color:" + this.tooltipLabelColor() + "'>" + opts.label + "</span>: <span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
|
|
148
|
+
}
|
|
149
|
+
return "<span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
ITooltip.prototype.tooltipKeyValueFormat = function (titleKey: string, obj: object): string {
|
|
154
|
+
let body = "";
|
|
155
|
+
for (const key in obj) {
|
|
156
|
+
if (key !== titleKey) {
|
|
157
|
+
const value = obj && obj[key] ? obj[key] : "";
|
|
158
|
+
body += `<tr><td style="${this.tooltipLabelColor_exists() ? "color:" + this.tooltipLabelColor() : ""}">${key}</td><td style="font-weight:normal">${value}</td></tr>`;
|
|
166
159
|
}
|
|
167
|
-
|
|
160
|
+
}
|
|
161
|
+
return `<table>
|
|
168
162
|
<thead>
|
|
169
163
|
<tr><th colspan="2" style="font-weight:bold;font-size:16px">${obj[titleKey]}</th></tr>
|
|
170
164
|
</thead>
|
|
@@ -172,8 +166,9 @@ export abstract class ITooltip extends Widget {
|
|
|
172
166
|
${body}
|
|
173
167
|
</tbody>
|
|
174
168
|
</table>`;
|
|
175
|
-
|
|
169
|
+
};
|
|
176
170
|
|
|
171
|
+
export interface ITooltip {
|
|
177
172
|
tooltipStyle: { (): "default" | "none" | "series-table"; (_: "default" | "none" | "series-table"): ITooltip; };
|
|
178
173
|
tooltipFollowMouse: { (): boolean; (_: boolean): ITooltip; };
|
|
179
174
|
tooltipValueFormat: (_?) => string | ITooltip;
|
package/src/ITree.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Palette } from "@hpcc-js/common";
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
// Use old school class declaration as this is a mixin ---
|
|
4
|
+
export function ITree() {
|
|
5
|
+
}
|
|
6
|
+
ITree.prototype.constructor = ITree;
|
|
5
7
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
// Events ---
|
|
9
|
+
ITree.prototype.click = function (row, column, selected) {
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
ITree.prototype.dblclick = function (row, column, selected) {
|
|
13
|
+
};
|
|
10
14
|
|
|
11
|
-
dblclick(row, column, selected) {
|
|
12
|
-
console.log("Double click: " + JSON.stringify(row) + ", " + column + ", " + selected);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
15
|
ITree.prototype._palette = Palette.ordinal("default");
|
package/src/__package__.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export const PKG_NAME = "@hpcc-js/api";
|
|
2
|
-
export const PKG_VERSION = "2.
|
|
3
|
-
export const BUILD_VERSION = "2.
|
|
2
|
+
export const PKG_VERSION = "2.10.1";
|
|
3
|
+
export const BUILD_VERSION = "2.103.1";
|
package/types/IInput.d.ts
CHANGED
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
abstract target(_: any): this;
|
|
7
|
-
isValid(): boolean;
|
|
8
|
-
hasValue(): boolean;
|
|
9
|
-
blur(_w: any): void;
|
|
10
|
-
keyup(_w: any): void;
|
|
11
|
-
focus(_w: any): void;
|
|
12
|
-
click(_w: any): void;
|
|
13
|
-
dblclick(_w: any): void;
|
|
14
|
-
change(_w: any, complete: boolean): void;
|
|
15
|
-
resetValue(w: any): void;
|
|
16
|
-
disable(disable: any): void;
|
|
17
|
-
setFocus(): void;
|
|
1
|
+
export declare function IInput(): void;
|
|
2
|
+
export declare namespace IInput {
|
|
3
|
+
var prototype: any;
|
|
4
|
+
}
|
|
5
|
+
export interface IInput {
|
|
18
6
|
name: {
|
|
19
7
|
(): string;
|
|
20
8
|
(_: string): IInput;
|
package/types/IInput.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IInput.d.ts","sourceRoot":"","sources":["../src/IInput.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IInput.d.ts","sourceRoot":"","sources":["../src/IInput.ts"],"names":[],"mappings":"AAGA,wBAAgB,MAAM,SACrB;yBADe,MAAM;;;AAsEtB,MAAM,WAAW,MAAM;IACnB,IAAI,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC1C,WAAW,EAAE,MAAM,OAAO,CAAC;IAC3B,KAAK,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC3C,YAAY,EAAE,MAAM,OAAO,CAAC;IAC5B,KAAK,EAAE;QAAE,IAAI,GAAG,CAAC;QAAC,CAAC,CAAC,EAAE,GAAG,GAAG,MAAM,CAAA;KAAE,CAAC;IACrC,YAAY,EAAE,MAAM,OAAO,CAAC;IAC5B,QAAQ,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAC9C,eAAe,EAAE,MAAM,OAAO,CAAC;CAClC"}
|
package/types/ITooltip.d.ts
CHANGED
|
@@ -1,30 +1,9 @@
|
|
|
1
|
-
import { Widget } from "@hpcc-js/common";
|
|
2
1
|
import "../src/ITooltip.css";
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
tooltip: any;
|
|
9
|
-
constructor();
|
|
10
|
-
abstract target(): any;
|
|
11
|
-
abstract target(_: any): this;
|
|
12
|
-
tooltipEnter(element: any): void;
|
|
13
|
-
tooltipUpdate(): void;
|
|
14
|
-
tooltipExit(): void;
|
|
15
|
-
_tooltipHTML(d: any): any;
|
|
16
|
-
tooltipHTML(_: any): any;
|
|
17
|
-
tooltipFormat(opts?: {
|
|
18
|
-
label?: string | number;
|
|
19
|
-
series?: string | number;
|
|
20
|
-
value?: Date | string | number;
|
|
21
|
-
arr?: Array<{
|
|
22
|
-
color: string;
|
|
23
|
-
label: string;
|
|
24
|
-
value: string;
|
|
25
|
-
}>;
|
|
26
|
-
}): string;
|
|
27
|
-
tooltipKeyValueFormat(titleKey: string, obj: object): string;
|
|
2
|
+
export declare function ITooltip(): void;
|
|
3
|
+
export declare namespace ITooltip {
|
|
4
|
+
var prototype: any;
|
|
5
|
+
}
|
|
6
|
+
export interface ITooltip {
|
|
28
7
|
tooltipStyle: {
|
|
29
8
|
(): "default" | "none" | "series-table";
|
|
30
9
|
(_: "default" | "none" | "series-table"): ITooltip;
|
package/types/ITooltip.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITooltip.d.ts","sourceRoot":"","sources":["../src/ITooltip.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ITooltip.d.ts","sourceRoot":"","sources":["../src/ITooltip.ts"],"names":[],"mappings":"AAIA,OAAO,qBAAqB,CAAC;AAK7B,wBAAgB,QAAQ,SAyCvB;yBAzCe,QAAQ;;;AAiKxB,MAAM,WAAW,QAAQ;IACrB,YAAY,EAAE;QAAE,IAAI,SAAS,GAAG,MAAM,GAAG,cAAc,CAAC;QAAC,CAAC,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,cAAc,GAAG,QAAQ,CAAC;KAAE,CAAC;IAC/G,kBAAkB,EAAE;QAAE,IAAI,OAAO,CAAC;QAAC,CAAC,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;KAAE,CAAC;IAC7D,kBAAkB,EAAE,CAAC,CAAC,CAAC,KAAA,KAAK,MAAM,GAAG,QAAQ,CAAC;IAC9C,kBAAkB,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;KAAE,CAAC;IAC3D,iBAAiB,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;KAAE,CAAC;IAC1D,wBAAwB,EAAE,MAAM,OAAO,CAAC;IACxC,iBAAiB,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;KAAE,CAAC;IAC1D,WAAW,EAAE;QAAE,IAAI,OAAO,CAAC;QAAC,CAAC,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;KAAE,CAAC;IACtD,aAAa,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;KAAE,CAAC;IACtD,qBAAqB,EAAE;QAAE,IAAI,MAAM,CAAC;QAAC,CAAC,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;KAAE,CAAC;CACjE"}
|
package/types/ITree.d.ts
CHANGED
package/types/ITree.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITree.d.ts","sourceRoot":"","sources":["../src/ITree.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ITree.d.ts","sourceRoot":"","sources":["../src/ITree.ts"],"names":[],"mappings":"AAGA,wBAAgB,KAAK,SACpB"}
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/api";
|
|
2
|
-
export declare const PKG_VERSION = "2.
|
|
3
|
-
export declare const BUILD_VERSION = "2.
|
|
2
|
+
export declare const PKG_VERSION = "2.10.1";
|
|
3
|
+
export declare const BUILD_VERSION = "2.103.1";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"__package__.d.ts","sourceRoot":"","sources":["../src/__package__.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,iBAAiB,CAAC;AACvC,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"__package__.d.ts","sourceRoot":"","sources":["../src/__package__.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,iBAAiB,CAAC;AACvC,eAAO,MAAM,WAAW,WAAW,CAAC;AACpC,eAAO,MAAM,aAAa,YAAY,CAAC"}
|
package/types-3.4/IInput.d.ts
CHANGED
|
@@ -1,20 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
export declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
abstract target(_: any): this;
|
|
7
|
-
isValid(): boolean;
|
|
8
|
-
hasValue(): boolean;
|
|
9
|
-
blur(_w: any): void;
|
|
10
|
-
keyup(_w: any): void;
|
|
11
|
-
focus(_w: any): void;
|
|
12
|
-
click(_w: any): void;
|
|
13
|
-
dblclick(_w: any): void;
|
|
14
|
-
change(_w: any, complete: boolean): void;
|
|
15
|
-
resetValue(w: any): void;
|
|
16
|
-
disable(disable: any): void;
|
|
17
|
-
setFocus(): void;
|
|
1
|
+
export declare function IInput(): void;
|
|
2
|
+
export declare namespace IInput {
|
|
3
|
+
var prototype: any;
|
|
4
|
+
}
|
|
5
|
+
export interface IInput {
|
|
18
6
|
name: {
|
|
19
7
|
(): string;
|
|
20
8
|
(_: string): IInput;
|
package/types-3.4/ITooltip.d.ts
CHANGED
|
@@ -1,30 +1,9 @@
|
|
|
1
|
-
import { Widget } from "@hpcc-js/common";
|
|
2
1
|
import "../src/ITooltip.css";
|
|
3
|
-
export declare
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
tooltip: any;
|
|
9
|
-
constructor();
|
|
10
|
-
abstract target(): any;
|
|
11
|
-
abstract target(_: any): this;
|
|
12
|
-
tooltipEnter(element: any): void;
|
|
13
|
-
tooltipUpdate(): void;
|
|
14
|
-
tooltipExit(): void;
|
|
15
|
-
_tooltipHTML(d: any): any;
|
|
16
|
-
tooltipHTML(_: any): any;
|
|
17
|
-
tooltipFormat(opts?: {
|
|
18
|
-
label?: string | number;
|
|
19
|
-
series?: string | number;
|
|
20
|
-
value?: Date | string | number;
|
|
21
|
-
arr?: Array<{
|
|
22
|
-
color: string;
|
|
23
|
-
label: string;
|
|
24
|
-
value: string;
|
|
25
|
-
}>;
|
|
26
|
-
}): string;
|
|
27
|
-
tooltipKeyValueFormat(titleKey: string, obj: object): string;
|
|
2
|
+
export declare function ITooltip(): void;
|
|
3
|
+
export declare namespace ITooltip {
|
|
4
|
+
var prototype: any;
|
|
5
|
+
}
|
|
6
|
+
export interface ITooltip {
|
|
28
7
|
tooltipStyle: {
|
|
29
8
|
(): "default" | "none" | "series-table";
|
|
30
9
|
(_: "default" | "none" | "series-table"): ITooltip;
|
package/types-3.4/ITree.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/api";
|
|
2
|
-
export declare const PKG_VERSION = "2.
|
|
3
|
-
export declare const BUILD_VERSION = "2.
|
|
2
|
+
export declare const PKG_VERSION = "2.10.1";
|
|
3
|
+
export declare const BUILD_VERSION = "2.103.1";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|