@hpcc-js/api 2.9.2 → 2.11.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/src/ITooltip.ts CHANGED
@@ -2,169 +2,176 @@ 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
- export abstract class ITooltip extends Widget {
12
- protected _valueFormatter;
13
- layerEnter;
14
- layerUpdate;
15
- layerExit;
16
- tooltip = tip();
9
+ // Use old school class declaration as this is a mixin ---
10
+ export function ITooltip() {
11
+ this.tooltip = tip();
17
12
 
18
- constructor() {
19
- super();
13
+ if (this.tooltipLabelFormat_exists()) {
14
+ this._labelFormatter = d3Format(this.tooltipLabelFormat() as string);
15
+ }
20
16
 
17
+ if (this.tooltipValueFormat_exists()) {
21
18
  this._valueFormatter = d3Format(this.tooltipValueFormat() as string);
19
+ }
22
20
 
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
- }
21
+ if (this.layerEnter) {
22
+ const layerEnter = this.layerEnter;
23
+ this.layerEnter = function (_base, svgElement, _domElement) {
24
+ if (!this._parentOverlay) {
25
+ this._parentOverlay = _base._parentOverlay;
26
+ }
27
+ this.tooltipEnter(svgElement);
28
+ layerEnter.apply(this, arguments);
29
+ };
30
+ const layerUpdate = this.layerUpdate;
31
+ this.layerUpdate = function (_base) {
32
+ layerUpdate.apply(this, arguments);
33
+ this.tooltipUpdate();
34
+ };
35
+ const layerExit = this.layerExit;
36
+ this.layerExit = function (_base) {
37
+ this.tooltipExit();
38
+ layerExit.apply(this, arguments);
39
+ };
40
+ } else {
41
+ const enter = this.enter;
42
+ this.enter = function (_domNode, element) {
43
+ this.tooltipEnter(element);
44
+ enter.apply(this, arguments);
45
+ };
46
+ const update = this.update;
47
+ this.update = function (_domNode, _element) {
48
+ update.apply(this, arguments);
49
+ this.tooltipUpdate();
50
+ };
51
+ const exit = this.exit;
52
+ this.exit = function (_domNode, _element) {
53
+ this.tooltipExit();
54
+ exit.apply(this, arguments);
55
+ };
59
56
  }
57
+ }
58
+ ITooltip.prototype = Object.create(Widget.prototype);
59
+ ITooltip.prototype.constructor = ITooltip;
60
60
 
61
- abstract target(): any;
62
- abstract target(_: any): this;
61
+ // abstract target(): any;
62
+ // abstract target(_: any): this;
63
63
 
64
- tooltipEnter(element) {
65
- const overlayElement = this.parentOverlay();
66
- if (!overlayElement.empty()) {
67
- this.tooltip.rootElement(overlayElement.node().parentNode);
68
- }
69
- element.call(this.tooltip);
64
+ ITooltip.prototype.tooltipEnter = function (element) {
65
+ const overlayElement = this.parentOverlay();
66
+ if (!overlayElement.empty()) {
67
+ this.tooltip.rootElement(overlayElement.node().parentNode);
70
68
  }
69
+ element.call(this.tooltip);
70
+ };
71
71
 
72
- tooltipUpdate() {
73
- this.tooltip.offset(() => {
74
- if (event && this.tooltipFollowMouse()) {
75
- const d3tipElement: HTMLDivElement = document.querySelector(".d3-tip"); // d3Tip offers no reference to the '.d3-tip' element...?
76
- d3tipElement.style.display = "block";
77
- d3tipElement.style.left = this.tooltipOffset() + ((event as any).clientX) + "px";
78
- d3tipElement.style.top = (event as any).clientY + "px";
79
- return [];
80
- }
81
- switch (this.tooltip.direction()()) {
82
- case "e":
83
- return [0, this.tooltipOffset()];
84
- default:
85
- return [-this.tooltipOffset(), 0];
86
- }
87
- });
88
-
89
- let classed = this.tooltip.attr("class");
90
- if (classed) {
91
- classed = classed.split(" notick").join("") + (this.tooltipTick() ? "" : " notick") + (this.tooltipStyle() === "none" ? " hidden" : "");
92
- classed = classed.split(" ")
93
- .filter(function (_class) {
94
- return _class.indexOf("ITooltip-tooltipStyle-") !== 0;
95
- })
96
- .join(" ")
97
- ;
98
- classed += " ITooltip-tooltipStyle-" + this.tooltipStyle();
99
- this.tooltip
100
- .attr("class", classed)
101
- ;
72
+ ITooltip.prototype.tooltipUpdate = function () {
73
+ this.tooltip.offset(() => {
74
+ if (event && this.tooltipFollowMouse()) {
75
+ const d3tipElement: HTMLDivElement = document.querySelector(".d3-tip"); // d3Tip offers no reference to the '.d3-tip' element...?
76
+ d3tipElement.style.display = "block";
77
+ d3tipElement.style.left = this.tooltipOffset() + ((event as any).clientX) + "px";
78
+ d3tipElement.style.top = (event as any).clientY + "px";
79
+ return [];
102
80
  }
103
- }
104
-
105
- tooltipExit() {
106
- if (this.tooltip) {
107
- this.tooltip.destroy();
81
+ switch (this.tooltip.direction()()) {
82
+ case "e":
83
+ return [0, this.tooltipOffset()];
84
+ default:
85
+ return [-this.tooltipOffset(), 0];
108
86
  }
87
+ });
88
+
89
+ let classed = this.tooltip.attr("class");
90
+ if (classed) {
91
+ classed = classed.split(" notick").join("") + (this.tooltipTick() ? "" : " notick") + (this.tooltipStyle() === "none" ? " hidden" : "");
92
+ classed = classed.split(" ")
93
+ .filter(function (_class) {
94
+ return _class.indexOf("ITooltip-tooltipStyle-") !== 0;
95
+ })
96
+ .join(" ")
97
+ ;
98
+ classed += " ITooltip-tooltipStyle-" + this.tooltipStyle();
99
+ this.tooltip
100
+ .attr("class", classed)
101
+ ;
109
102
  }
103
+ };
110
104
 
111
- _tooltipHTML(d) {
112
- return d;
105
+ ITooltip.prototype.tooltipExit = function () {
106
+ if (this.tooltip) {
107
+ this.tooltip.destroy();
113
108
  }
109
+ };
114
110
 
115
- tooltipHTML(_) {
116
- return this.tooltip.html(_);
117
- }
111
+ ITooltip.prototype._tooltipHTML = function (d) {
112
+ return d;
113
+ };
118
114
 
119
- tooltipFormat(opts: { label?: string | number, series?: string | number, value?: Date | string | number, arr?: Array<{ color: string, label: string, value: string }> } = {}) {
120
- opts.label = opts.label === undefined ? "" : opts.label;
121
- opts.series = opts.series || "";
122
- if (opts.value instanceof Date) {
123
- opts.value = opts.value || "";
124
- } else {
125
- opts.value = this._valueFormatter(opts.value) || "";
126
- }
127
- switch (this.tooltipStyle()) {
128
- case "none":
129
- break;
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;
148
- default:
149
- if (opts.series) {
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>";
156
- }
157
- }
115
+ ITooltip.prototype.tooltipHTML = function (_) {
116
+ return this.tooltip.html(_);
117
+ };
158
118
 
159
- tooltipKeyValueFormat(titleKey: string, obj: object): string {
160
- let body = "";
161
- for (const key in obj) {
162
- if (key !== titleKey) {
163
- const value = obj && obj[key] ? obj[key] : "";
164
- body += `<tr><td style="${this.tooltipLabelColor_exists() ? "color:" + this.tooltipLabelColor() : ""}">${key}</td><td style="font-weight:normal">${value}</td></tr>`;
119
+ ITooltip.prototype.tooltipFormat = function (opts: { label?: string | number, series?: string | number, value?: Date | string | number, arr?: Array<{ color: string, label: string, value: string }> } = {}) {
120
+ opts.label = opts.label === undefined ? "" : opts.label;
121
+ if (this._labelFormatter) {
122
+ opts.label = this._labelFormatter(opts.label) || "";
123
+ } else if (this.formatData && this.parseData) {
124
+ opts.label = this.formatData(this.parseData(opts.label));
125
+ }
126
+ opts.series = opts.series || "";
127
+ if (opts.value instanceof Date) {
128
+ opts.value = opts.value || "";
129
+ } else if (this._valueFormatter) {
130
+ opts.value = this._valueFormatter(opts.value) || "";
131
+ } else if (this.formatValue && this.parseValue) {
132
+ opts.value = this.formatValue(this.parseValue(opts.value));
133
+ }
134
+ switch (this.tooltipStyle()) {
135
+ case "none":
136
+ break;
137
+ case "series-table":
138
+ let html = '<table class="ITooltip-series-table">'
139
+ + "<thead>"
140
+ + '<tr><th colspan="2">' + opts.label + "</th></tr>"
141
+ + "</thead>"
142
+ + "<tbody>";
143
+ opts.arr.forEach(function (row) {
144
+ html += "<tr>";
145
+ html += "<td>";
146
+ html += '<div class="series-table-row-color" style="background-color:' + row.color + '"></div>';
147
+ html += '<div class="series-table-row-label">' + row.label + "</div>";
148
+ html += "</td>";
149
+ html += '<td><div class="series-table-row-value">' + row.value + "</div></td>";
150
+ html += "</tr>";
151
+ });
152
+ html += "</tbody>";
153
+ html += "</table>";
154
+ return html;
155
+ default:
156
+ if (opts.series) {
157
+ 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>";
158
+ }
159
+ if (opts.label !== "") {
160
+ return "<span style='color:" + this.tooltipLabelColor() + "'>" + opts.label + "</span>: <span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
165
161
  }
162
+ return "<span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
163
+ }
164
+ };
165
+
166
+ ITooltip.prototype.tooltipKeyValueFormat = function (titleKey: string, obj: object): string {
167
+ let body = "";
168
+ for (const key in obj) {
169
+ if (key !== titleKey) {
170
+ const value = obj && obj[key] ? obj[key] : "";
171
+ body += `<tr><td style="${this.tooltipLabelColor_exists() ? "color:" + this.tooltipLabelColor() : ""}">${key}</td><td style="font-weight:normal">${value}</td></tr>`;
166
172
  }
167
- return `<table>
173
+ }
174
+ return `<table>
168
175
  <thead>
169
176
  <tr><th colspan="2" style="font-weight:bold;font-size:16px">${obj[titleKey]}</th></tr>
170
177
  </thead>
@@ -172,11 +179,15 @@ export abstract class ITooltip extends Widget {
172
179
  ${body}
173
180
  </tbody>
174
181
  </table>`;
175
- }
182
+ };
176
183
 
184
+ export interface ITooltip {
177
185
  tooltipStyle: { (): "default" | "none" | "series-table"; (_: "default" | "none" | "series-table"): ITooltip; };
178
186
  tooltipFollowMouse: { (): boolean; (_: boolean): ITooltip; };
187
+ tooltipLabelFormat: (_?) => string | ITooltip;
188
+ tooltipLabelFormat_exists: () => boolean;
179
189
  tooltipValueFormat: (_?) => string | ITooltip;
190
+ tooltipValueFormat_exists: () => boolean;
180
191
  tooltipSeriesColor: { (): string; (_: string): ITooltip; };
181
192
  tooltipLabelColor: { (): string; (_: string): ITooltip; };
182
193
  tooltipLabelColor_exists: () => boolean;
@@ -187,13 +198,23 @@ export abstract class ITooltip extends Widget {
187
198
  }
188
199
  ITooltip.prototype.publish("tooltipStyle", "default", "set", "Style mode", ["default", "none", "series-table"], {});
189
200
  ITooltip.prototype.publish("tooltipFollowMouse", false, "boolean", "If true, the tooltip will follow mouse movement", null, {});
190
- ITooltip.prototype.publish("tooltipValueFormat", ",.2f", "string", "Number format of tooltip value(s)", null, {});
201
+ ITooltip.prototype.publish("tooltipLabelFormat", undefined, "string", "Format of tooltip label(s) (the domain axis)", null, {});
202
+ ITooltip.prototype.publish("tooltipValueFormat", undefined, "string", "Number format of tooltip value(s)", null, {});
191
203
  ITooltip.prototype.publish("tooltipSeriesColor", "#EAFFFF", "html-color", "Color of tooltip series text", null, {});
192
- ITooltip.prototype.publish("tooltipLabelColor", "#CCFFFF", "html-color", "Color of tooltip label text", null, {});
204
+ ITooltip.prototype.publish("tooltipLabelColor", "#CCFFFF", "html-color", "Color of tooltip label text (the domain axis)", null, {});
193
205
  ITooltip.prototype.publish("tooltipValueColor", "white", "html-color", "Color of tooltip value(s)", null, {});
194
206
  ITooltip.prototype.publish("tooltipTick", true, "boolean", "Show tooltip tick", null, {});
195
207
  ITooltip.prototype.publish("tooltipOffset", 8, "number", "Offset from the cursor", null, {});
196
208
 
209
+ const tooltipLabelFormat = ITooltip.prototype.tooltipLabelFormat;
210
+ ITooltip.prototype.tooltipLabelFormat = function (_?): string | ITooltip {
211
+ const retVal = tooltipLabelFormat.apply(this, arguments);
212
+ if (arguments.length) {
213
+ this._labelFormatter = d3Format(_);
214
+ }
215
+ return retVal;
216
+ };
217
+
197
218
  const tooltipValueFormat = ITooltip.prototype.tooltipValueFormat;
198
219
  ITooltip.prototype.tooltipValueFormat = function (_?): string | ITooltip {
199
220
  const retVal = tooltipValueFormat.apply(this, arguments);
package/src/ITree.ts CHANGED
@@ -1,13 +1,15 @@
1
1
  import { Palette } from "@hpcc-js/common";
2
2
 
3
- export class ITree {
4
- _palette;
3
+ // Use old school class declaration as this is a mixin ---
4
+ export function ITree() {
5
+ }
6
+ ITree.prototype.constructor = ITree;
5
7
 
6
- // Events ---
7
- click(row, column, selected) {
8
- }
8
+ // Events ---
9
+ ITree.prototype.click = function (row, column, selected) {
10
+ };
11
+
12
+ ITree.prototype.dblclick = function (row, column, selected) {
13
+ };
9
14
 
10
- dblclick(row, column, selected) {
11
- }
12
- }
13
15
  ITree.prototype._palette = Palette.ordinal("default");
@@ -1,3 +1,3 @@
1
1
  export const PKG_NAME = "@hpcc-js/api";
2
- export const PKG_VERSION = "2.9.2";
3
- export const BUILD_VERSION = "2.102.11";
2
+ export const PKG_VERSION = "2.11.0";
3
+ export const BUILD_VERSION = "2.103.2";
package/types/IInput.d.ts CHANGED
@@ -1,20 +1,8 @@
1
- import { Widget } from "@hpcc-js/common";
2
- export declare abstract class IInput extends Widget {
3
- _inputElement: any;
4
- constructor();
5
- abstract target(): any;
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;
@@ -1 +1 @@
1
- {"version":3,"file":"IInput.d.ts","sourceRoot":"","sources":["../src/IInput.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAEzC,8BAAsB,MAAO,SAAQ,MAAM;IACvC,aAAa,MAAC;;IAMd,QAAQ,CAAC,MAAM,IAAI,GAAG;IACtB,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE,GAAG,GAAG,IAAI;IAG7B,OAAO;IAUP,QAAQ;IAsBR,IAAI,CAAC,EAAE,KAAA;IAEP,KAAK,CAAC,EAAE,KAAA;IAER,KAAK,CAAC,EAAE,KAAA;IAER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AC,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"}
@@ -1,30 +1,9 @@
1
- import { Widget } from "@hpcc-js/common";
2
1
  import "../src/ITooltip.css";
3
- export declare abstract class ITooltip extends Widget {
4
- protected _valueFormatter: any;
5
- layerEnter: any;
6
- layerUpdate: any;
7
- layerExit: any;
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;
@@ -33,7 +12,10 @@ export declare abstract class ITooltip extends Widget {
33
12
  (): boolean;
34
13
  (_: boolean): ITooltip;
35
14
  };
15
+ tooltipLabelFormat: (_?: any) => string | ITooltip;
16
+ tooltipLabelFormat_exists: () => boolean;
36
17
  tooltipValueFormat: (_?: any) => string | ITooltip;
18
+ tooltipValueFormat_exists: () => boolean;
37
19
  tooltipSeriesColor: {
38
20
  (): string;
39
21
  (_: string): ITooltip;
@@ -1 +1 @@
1
- {"version":3,"file":"ITooltip.d.ts","sourceRoot":"","sources":["../src/ITooltip.ts"],"names":[],"mappings":"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AA,KAAK,MAAM,GAAG,QAAQ,CAAC;IAC9C,yBAAyB,EAAE,MAAM,OAAO,CAAC;IACzC,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
@@ -1,6 +1,2 @@
1
- export declare class ITree {
2
- _palette: any;
3
- click(row: any, column: any, selected: any): void;
4
- dblclick(row: any, column: any, selected: any): void;
5
- }
1
+ export declare function ITree(): void;
6
2
  //# sourceMappingURL=ITree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ITree.d.ts","sourceRoot":"","sources":["../src/ITree.ts"],"names":[],"mappings":"AAEA,qBAAa,KAAK;IACd,QAAQ,MAAC;IAGT,KAAK,CAAC,GAAG,KAAA,EAAE,MAAM,KAAA,EAAE,QAAQ,KAAA;IAG3B,QAAQ,CAAC,GAAG,KAAA,EAAE,MAAM,KAAA,EAAE,QAAQ,KAAA;CAEjC"}
1
+ {"version":3,"file":"ITree.d.ts","sourceRoot":"","sources":["../src/ITree.ts"],"names":[],"mappings":"AAGA,wBAAgB,KAAK,SACpB"}
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/api";
2
- export declare const PKG_VERSION = "2.9.2";
3
- export declare const BUILD_VERSION = "2.102.11";
2
+ export declare const PKG_VERSION = "2.11.0";
3
+ export declare const BUILD_VERSION = "2.103.2";
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,UAAU,CAAC;AACnC,eAAO,MAAM,aAAa,aAAa,CAAC"}
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"}
@@ -1,20 +1,8 @@
1
- import { Widget } from "@hpcc-js/common";
2
- export declare abstract class IInput extends Widget {
3
- _inputElement: any;
4
- constructor();
5
- abstract target(): any;
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;
@@ -1,30 +1,9 @@
1
- import { Widget } from "@hpcc-js/common";
2
1
  import "../src/ITooltip.css";
3
- export declare abstract class ITooltip extends Widget {
4
- protected _valueFormatter: any;
5
- layerEnter: any;
6
- layerUpdate: any;
7
- layerExit: any;
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;
@@ -33,7 +12,10 @@ export declare abstract class ITooltip extends Widget {
33
12
  (): boolean;
34
13
  (_: boolean): ITooltip;
35
14
  };
15
+ tooltipLabelFormat: (_?: any) => string | ITooltip;
16
+ tooltipLabelFormat_exists: () => boolean;
36
17
  tooltipValueFormat: (_?: any) => string | ITooltip;
18
+ tooltipValueFormat_exists: () => boolean;
37
19
  tooltipSeriesColor: {
38
20
  (): string;
39
21
  (_: string): ITooltip;
@@ -1,6 +1,2 @@
1
- export declare class ITree {
2
- _palette: any;
3
- click(row: any, column: any, selected: any): void;
4
- dblclick(row: any, column: any, selected: any): void;
5
- }
1
+ export declare function ITree(): void;
6
2
  //# sourceMappingURL=ITree.d.ts.map
@@ -1,4 +1,4 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/api";
2
- export declare const PKG_VERSION = "2.9.2";
3
- export declare const BUILD_VERSION = "2.102.11";
2
+ export declare const PKG_VERSION = "2.11.0";
3
+ export declare const BUILD_VERSION = "2.103.2";
4
4
  //# sourceMappingURL=__package__.d.ts.map