@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/dist/index.js CHANGED
@@ -5,8 +5,8 @@
5
5
  })(this, (function (exports, common) { 'use strict';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/api";
8
- var PKG_VERSION = "2.9.2";
9
- var BUILD_VERSION = "2.102.11";
8
+ var PKG_VERSION = "2.11.0";
9
+ var BUILD_VERSION = "2.103.2";
10
10
 
11
11
  function I1DChart() {
12
12
  }
@@ -76,100 +76,69 @@
76
76
  return typeof w.highlightColumn === "function";
77
77
  }
78
78
 
79
- /*! *****************************************************************************
80
- Copyright (c) Microsoft Corporation.
81
-
82
- Permission to use, copy, modify, and/or distribute this software for any
83
- purpose with or without fee is hereby granted.
84
-
85
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
86
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
87
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
88
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
89
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
90
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
91
- PERFORMANCE OF THIS SOFTWARE.
92
- ***************************************************************************** */
93
- /* global Reflect, Promise */
94
-
95
- var extendStatics = function(d, b) {
96
- extendStatics = Object.setPrototypeOf ||
97
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
98
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
99
- return extendStatics(d, b);
100
- };
101
-
102
- function __extends(d, b) {
103
- if (typeof b !== "function" && b !== null)
104
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
105
- extendStatics(d, b);
106
- function __() { this.constructor = d; }
107
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
79
+ // Use old school class declaration as this is a mixin ---
80
+ function IInput() {
108
81
  }
109
-
110
- var IInput = /** @class */ (function (_super) {
111
- __extends(IInput, _super);
112
- function IInput() {
113
- return _super.call(this) || this;
114
- }
115
- // Implementation ---
116
- IInput.prototype.isValid = function () {
117
- if (this.validate()) {
118
- var re = new RegExp(this.validate());
119
- if (!re.test(this.value())) {
120
- return false;
121
- }
122
- }
123
- return true;
124
- };
125
- IInput.prototype.hasValue = function () {
126
- if (typeof this.type === "function") {
127
- switch (this.type()) {
128
- case "radio":
129
- /* falls through */
130
- case "checkbox":
131
- if (this.value() && this.value() !== "false") {
132
- return true;
133
- }
134
- break;
135
- default:
136
- if (this.value()) {
137
- return true;
138
- }
139
- break;
140
- }
82
+ IInput.prototype = Object.create(common.Widget.prototype);
83
+ IInput.prototype.constructor = IInput;
84
+ // abstract target(): any;
85
+ // abstract target(_: any): this;
86
+ // Implementation ---
87
+ IInput.prototype.isValid = function () {
88
+ if (this.validate()) {
89
+ var re = new RegExp(this.validate());
90
+ if (!re.test(this.value())) {
141
91
  return false;
142
92
  }
143
- return this.value() !== "";
144
- };
145
- // Events ---
146
- IInput.prototype.blur = function (_w) {
147
- };
148
- IInput.prototype.keyup = function (_w) {
149
- };
150
- IInput.prototype.focus = function (_w) {
151
- };
152
- IInput.prototype.click = function (_w) {
153
- };
154
- IInput.prototype.dblclick = function (_w) {
155
- };
156
- IInput.prototype.change = function (_w, complete) {
157
- };
158
- IInput.prototype.resetValue = function (w) {
159
- w.value(w._inputElement[0].node().value);
160
- };
161
- IInput.prototype.disable = function (disable) {
162
- this._inputElement.forEach(function (e, idx) {
163
- e.attr("disabled", disable ? "disabled" : null);
164
- });
165
- };
166
- IInput.prototype.setFocus = function () {
167
- if (this._inputElement.length) {
168
- this._inputElement[0].node().focus();
93
+ }
94
+ return true;
95
+ };
96
+ IInput.prototype.hasValue = function () {
97
+ if (typeof this.type === "function") {
98
+ switch (this.type()) {
99
+ case "radio":
100
+ /* falls through */
101
+ case "checkbox":
102
+ if (this.value() && this.value() !== "false") {
103
+ return true;
104
+ }
105
+ break;
106
+ default:
107
+ if (this.value()) {
108
+ return true;
109
+ }
110
+ break;
169
111
  }
170
- };
171
- return IInput;
172
- }(common.Widget));
112
+ return false;
113
+ }
114
+ return this.value() !== "";
115
+ };
116
+ // Events ---
117
+ IInput.prototype.blur = function (_w) {
118
+ };
119
+ IInput.prototype.keyup = function (_w) {
120
+ };
121
+ IInput.prototype.focus = function (_w) {
122
+ };
123
+ IInput.prototype.click = function (_w) {
124
+ };
125
+ IInput.prototype.dblclick = function (_w) {
126
+ };
127
+ IInput.prototype.change = function (_w, complete) {
128
+ };
129
+ IInput.prototype.resetValue = function (w) {
130
+ w.value(w._inputElement[0].node().value);
131
+ };
132
+ IInput.prototype.disable = function (disable) {
133
+ this._inputElement.forEach(function (e, idx) {
134
+ e.attr("disabled", disable ? "disabled" : null);
135
+ });
136
+ };
137
+ IInput.prototype.setFocus = function () {
138
+ if (this._inputElement.length) {
139
+ this._inputElement[0].node().focus();
140
+ }
141
+ };
173
142
  IInput.prototype.publish("name", "", "string", "HTML name for the input");
174
143
  IInput.prototype.publish("label", "", "string", "Descriptive label");
175
144
  IInput.prototype.publish("value", "", "string", "Input Current Value");
@@ -580,160 +549,182 @@
580
549
  var css_248z = ".d3-tip{background:rgba(0,0,0,.66);border-radius:2px;color:#fff;font-weight:700;line-height:1;padding:12px;pointer-events:none!important;z-index:10}.d3-tip.hidden{visibility:hidden}.d3-tip:after{border:4px solid rgba(0,0,0,.66);box-sizing:border-box;content:\" \";display:inline-block;height:8px;margin:0;pointer-events:none!important;position:absolute;width:8px}.d3-tip.n:after{border-right-color:transparent;border-top-width:8px;left:calc(50% - 4px);top:100%}.d3-tip.e:after,.d3-tip.n:after{border-bottom-color:transparent;border-left-color:transparent}.d3-tip.e:after{border-right-width:8px;border-top-color:transparent;left:-12px;top:calc(50% - 4px)}.d3-tip.s{margin-top:8px}.d3-tip.s:after{border-bottom-width:8px;border-left-color:transparent;left:calc(50% - 4px);top:-12px}.d3-tip.s:after,.d3-tip.w:after{border-right-color:transparent;border-top-color:transparent}.d3-tip.w:after{border-bottom-color:transparent;border-left-width:8px;left:100%;top:calc(50% - 4px)}.d3-tip.notick:after{border-color:transparent!important}.common_Widget .over{stroke:rgba(0,0,0,.66);opacity:.66}.d3-tip.ITooltip-tooltipStyle-series-table{padding:0}.d3-tip .ITooltip-series-table td,.d3-tip .ITooltip-series-table th{border:1px solid #d1d1d1;padding:6px;text-align:left}.d3-tip .ITooltip-series-table .series-table-row-color{display:inline-block;height:10px;margin-right:10px;width:10px}.d3-tip .ITooltip-series-table .series-table-row-label{display:inline-block}.d3-tip .ITooltip-series-table th{background-color:#b3b3b3}.d3-tip .ITooltip-series-table td{background-color:#fff;color:#555;font-weight:400}.d3-tip .ITooltip-series-table td:first-child{border-right:0}table.ITooltip-series-table td:last-child{border-left:1px dotted #a3a3a3}";
581
550
  styleInject(css_248z);
582
551
 
583
- var ITooltip = /** @class */ (function (_super) {
584
- __extends(ITooltip, _super);
585
- function ITooltip() {
586
- var _this = _super.call(this) || this;
587
- _this.tooltip = tip();
588
- _this._valueFormatter = common.format(_this.tooltipValueFormat());
589
- if (_this.layerEnter) {
590
- var layerEnter_1 = _this.layerEnter;
591
- _this.layerEnter = function (_base, svgElement, _domElement) {
592
- if (!this._parentOverlay) {
593
- this._parentOverlay = _base._parentOverlay;
594
- }
595
- this.tooltipEnter(svgElement);
596
- layerEnter_1.apply(this, arguments);
597
- };
598
- var layerUpdate_1 = _this.layerUpdate;
599
- _this.layerUpdate = function (_base) {
600
- layerUpdate_1.apply(this, arguments);
601
- this.tooltipUpdate();
602
- };
603
- var layerExit_1 = _this.layerExit;
604
- _this.layerExit = function (_base) {
605
- this.tooltipExit();
606
- layerExit_1.apply(this, arguments);
607
- };
608
- }
609
- else {
610
- var enter_1 = _this.enter;
611
- _this.enter = function (_domNode, element) {
612
- this.tooltipEnter(element);
613
- enter_1.apply(this, arguments);
614
- };
615
- var update_1 = _this.update;
616
- _this.update = function (_domNode, _element) {
617
- update_1.apply(this, arguments);
618
- this.tooltipUpdate();
619
- };
620
- var exit_1 = _this.exit;
621
- _this.exit = function (_domNode, _element) {
622
- this.tooltipExit();
623
- exit_1.apply(this, arguments);
624
- };
625
- }
626
- return _this;
552
+ // Use old school class declaration as this is a mixin ---
553
+ function ITooltip() {
554
+ this.tooltip = tip();
555
+ if (this.tooltipLabelFormat_exists()) {
556
+ this._labelFormatter = common.format(this.tooltipLabelFormat());
627
557
  }
628
- ITooltip.prototype.tooltipEnter = function (element) {
629
- var overlayElement = this.parentOverlay();
630
- if (!overlayElement.empty()) {
631
- this.tooltip.rootElement(overlayElement.node().parentNode);
632
- }
633
- element.call(this.tooltip);
634
- };
635
- ITooltip.prototype.tooltipUpdate = function () {
636
- var _this = this;
637
- this.tooltip.offset(function () {
638
- if (event && _this.tooltipFollowMouse()) {
639
- var d3tipElement = document.querySelector(".d3-tip"); // d3Tip offers no reference to the '.d3-tip' element...?
640
- d3tipElement.style.display = "block";
641
- d3tipElement.style.left = _this.tooltipOffset() + (event.clientX) + "px";
642
- d3tipElement.style.top = event.clientY + "px";
643
- return [];
644
- }
645
- switch (_this.tooltip.direction()()) {
646
- case "e":
647
- return [0, _this.tooltipOffset()];
648
- default:
649
- return [-_this.tooltipOffset(), 0];
558
+ if (this.tooltipValueFormat_exists()) {
559
+ this._valueFormatter = common.format(this.tooltipValueFormat());
560
+ }
561
+ if (this.layerEnter) {
562
+ var layerEnter_1 = this.layerEnter;
563
+ this.layerEnter = function (_base, svgElement, _domElement) {
564
+ if (!this._parentOverlay) {
565
+ this._parentOverlay = _base._parentOverlay;
650
566
  }
651
- });
652
- var classed = this.tooltip.attr("class");
653
- if (classed) {
654
- classed = classed.split(" notick").join("") + (this.tooltipTick() ? "" : " notick") + (this.tooltipStyle() === "none" ? " hidden" : "");
655
- classed = classed.split(" ")
656
- .filter(function (_class) {
657
- return _class.indexOf("ITooltip-tooltipStyle-") !== 0;
658
- })
659
- .join(" ");
660
- classed += " ITooltip-tooltipStyle-" + this.tooltipStyle();
661
- this.tooltip
662
- .attr("class", classed);
663
- }
664
- };
665
- ITooltip.prototype.tooltipExit = function () {
666
- if (this.tooltip) {
667
- this.tooltip.destroy();
668
- }
669
- };
670
- ITooltip.prototype._tooltipHTML = function (d) {
671
- return d;
672
- };
673
- ITooltip.prototype.tooltipHTML = function (_) {
674
- return this.tooltip.html(_);
675
- };
676
- ITooltip.prototype.tooltipFormat = function (opts) {
677
- if (opts === void 0) { opts = {}; }
678
- opts.label = opts.label === undefined ? "" : opts.label;
679
- opts.series = opts.series || "";
680
- if (opts.value instanceof Date) {
681
- opts.value = opts.value || "";
682
- }
683
- else {
684
- opts.value = this._valueFormatter(opts.value) || "";
567
+ this.tooltipEnter(svgElement);
568
+ layerEnter_1.apply(this, arguments);
569
+ };
570
+ var layerUpdate_1 = this.layerUpdate;
571
+ this.layerUpdate = function (_base) {
572
+ layerUpdate_1.apply(this, arguments);
573
+ this.tooltipUpdate();
574
+ };
575
+ var layerExit_1 = this.layerExit;
576
+ this.layerExit = function (_base) {
577
+ this.tooltipExit();
578
+ layerExit_1.apply(this, arguments);
579
+ };
580
+ }
581
+ else {
582
+ var enter_1 = this.enter;
583
+ this.enter = function (_domNode, element) {
584
+ this.tooltipEnter(element);
585
+ enter_1.apply(this, arguments);
586
+ };
587
+ var update_1 = this.update;
588
+ this.update = function (_domNode, _element) {
589
+ update_1.apply(this, arguments);
590
+ this.tooltipUpdate();
591
+ };
592
+ var exit_1 = this.exit;
593
+ this.exit = function (_domNode, _element) {
594
+ this.tooltipExit();
595
+ exit_1.apply(this, arguments);
596
+ };
597
+ }
598
+ }
599
+ ITooltip.prototype = Object.create(common.Widget.prototype);
600
+ ITooltip.prototype.constructor = ITooltip;
601
+ // abstract target(): any;
602
+ // abstract target(_: any): this;
603
+ ITooltip.prototype.tooltipEnter = function (element) {
604
+ var overlayElement = this.parentOverlay();
605
+ if (!overlayElement.empty()) {
606
+ this.tooltip.rootElement(overlayElement.node().parentNode);
607
+ }
608
+ element.call(this.tooltip);
609
+ };
610
+ ITooltip.prototype.tooltipUpdate = function () {
611
+ var _this = this;
612
+ this.tooltip.offset(function () {
613
+ if (event && _this.tooltipFollowMouse()) {
614
+ var d3tipElement = document.querySelector(".d3-tip"); // d3Tip offers no reference to the '.d3-tip' element...?
615
+ d3tipElement.style.display = "block";
616
+ d3tipElement.style.left = _this.tooltipOffset() + (event.clientX) + "px";
617
+ d3tipElement.style.top = event.clientY + "px";
618
+ return [];
685
619
  }
686
- switch (this.tooltipStyle()) {
687
- case "none":
688
- break;
689
- case "series-table":
690
- var html_1 = '<table class="ITooltip-series-table">'
691
- + "<thead>"
692
- + '<tr><th colspan="2">' + opts.label + "</th></tr>"
693
- + "</thead>"
694
- + "<tbody>";
695
- opts.arr.forEach(function (row) {
696
- html_1 += "<tr>";
697
- html_1 += "<td>";
698
- html_1 += '<div class="series-table-row-color" style="background-color:' + row.color + '"></div>';
699
- html_1 += '<div class="series-table-row-label">' + row.label + "</div>";
700
- html_1 += "</td>";
701
- html_1 += '<td><div class="series-table-row-value">' + row.value + "</div></td>";
702
- html_1 += "</tr>";
703
- });
704
- html_1 += "</tbody>";
705
- html_1 += "</table>";
706
- return html_1;
620
+ switch (_this.tooltip.direction()()) {
621
+ case "e":
622
+ return [0, _this.tooltipOffset()];
707
623
  default:
708
- if (opts.series) {
709
- 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>";
710
- }
711
- if (opts.label !== "") {
712
- return "<span style='color:" + this.tooltipLabelColor() + "'>" + opts.label + "</span>: <span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
713
- }
714
- return "<span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
624
+ return [-_this.tooltipOffset(), 0];
715
625
  }
716
- };
717
- ITooltip.prototype.tooltipKeyValueFormat = function (titleKey, obj) {
718
- var body = "";
719
- for (var key in obj) {
720
- if (key !== titleKey) {
721
- var value = obj && obj[key] ? obj[key] : "";
722
- body += "<tr><td style=\"".concat(this.tooltipLabelColor_exists() ? "color:" + this.tooltipLabelColor() : "", "\">").concat(key, "</td><td style=\"font-weight:normal\">").concat(value, "</td></tr>");
626
+ });
627
+ var classed = this.tooltip.attr("class");
628
+ if (classed) {
629
+ classed = classed.split(" notick").join("") + (this.tooltipTick() ? "" : " notick") + (this.tooltipStyle() === "none" ? " hidden" : "");
630
+ classed = classed.split(" ")
631
+ .filter(function (_class) {
632
+ return _class.indexOf("ITooltip-tooltipStyle-") !== 0;
633
+ })
634
+ .join(" ");
635
+ classed += " ITooltip-tooltipStyle-" + this.tooltipStyle();
636
+ this.tooltip
637
+ .attr("class", classed);
638
+ }
639
+ };
640
+ ITooltip.prototype.tooltipExit = function () {
641
+ if (this.tooltip) {
642
+ this.tooltip.destroy();
643
+ }
644
+ };
645
+ ITooltip.prototype._tooltipHTML = function (d) {
646
+ return d;
647
+ };
648
+ ITooltip.prototype.tooltipHTML = function (_) {
649
+ return this.tooltip.html(_);
650
+ };
651
+ ITooltip.prototype.tooltipFormat = function (opts) {
652
+ if (opts === void 0) { opts = {}; }
653
+ opts.label = opts.label === undefined ? "" : opts.label;
654
+ if (this._labelFormatter) {
655
+ opts.label = this._labelFormatter(opts.label) || "";
656
+ }
657
+ else if (this.formatData && this.parseData) {
658
+ opts.label = this.formatData(this.parseData(opts.label));
659
+ }
660
+ opts.series = opts.series || "";
661
+ if (opts.value instanceof Date) {
662
+ opts.value = opts.value || "";
663
+ }
664
+ else if (this._valueFormatter) {
665
+ opts.value = this._valueFormatter(opts.value) || "";
666
+ }
667
+ else if (this.formatValue && this.parseValue) {
668
+ opts.value = this.formatValue(this.parseValue(opts.value));
669
+ }
670
+ switch (this.tooltipStyle()) {
671
+ case "none":
672
+ break;
673
+ case "series-table":
674
+ var html_1 = '<table class="ITooltip-series-table">'
675
+ + "<thead>"
676
+ + '<tr><th colspan="2">' + opts.label + "</th></tr>"
677
+ + "</thead>"
678
+ + "<tbody>";
679
+ opts.arr.forEach(function (row) {
680
+ html_1 += "<tr>";
681
+ html_1 += "<td>";
682
+ html_1 += '<div class="series-table-row-color" style="background-color:' + row.color + '"></div>';
683
+ html_1 += '<div class="series-table-row-label">' + row.label + "</div>";
684
+ html_1 += "</td>";
685
+ html_1 += '<td><div class="series-table-row-value">' + row.value + "</div></td>";
686
+ html_1 += "</tr>";
687
+ });
688
+ html_1 += "</tbody>";
689
+ html_1 += "</table>";
690
+ return html_1;
691
+ default:
692
+ if (opts.series) {
693
+ 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>";
694
+ }
695
+ if (opts.label !== "") {
696
+ return "<span style='color:" + this.tooltipLabelColor() + "'>" + opts.label + "</span>: <span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
723
697
  }
698
+ return "<span style='color:" + this.tooltipValueColor() + "'>" + opts.value + "</span>";
699
+ }
700
+ };
701
+ ITooltip.prototype.tooltipKeyValueFormat = function (titleKey, obj) {
702
+ var body = "";
703
+ for (var key in obj) {
704
+ if (key !== titleKey) {
705
+ var value = obj && obj[key] ? obj[key] : "";
706
+ body += "<tr><td style=\"".concat(this.tooltipLabelColor_exists() ? "color:" + this.tooltipLabelColor() : "", "\">").concat(key, "</td><td style=\"font-weight:normal\">").concat(value, "</td></tr>");
724
707
  }
725
- return "<table>\n <thead>\n <tr><th colspan=\"2\" style=\"font-weight:bold;font-size:16px\">".concat(obj[titleKey], "</th></tr>\n </thead>\n <tbody>\n ").concat(body, "\n </tbody>\n </table>");
726
- };
727
- return ITooltip;
728
- }(common.Widget));
708
+ }
709
+ return "<table>\n <thead>\n <tr><th colspan=\"2\" style=\"font-weight:bold;font-size:16px\">".concat(obj[titleKey], "</th></tr>\n </thead>\n <tbody>\n ").concat(body, "\n </tbody>\n </table>");
710
+ };
729
711
  ITooltip.prototype.publish("tooltipStyle", "default", "set", "Style mode", ["default", "none", "series-table"], {});
730
712
  ITooltip.prototype.publish("tooltipFollowMouse", false, "boolean", "If true, the tooltip will follow mouse movement", null, {});
731
- ITooltip.prototype.publish("tooltipValueFormat", ",.2f", "string", "Number format of tooltip value(s)", null, {});
713
+ ITooltip.prototype.publish("tooltipLabelFormat", undefined, "string", "Format of tooltip label(s) (the domain axis)", null, {});
714
+ ITooltip.prototype.publish("tooltipValueFormat", undefined, "string", "Number format of tooltip value(s)", null, {});
732
715
  ITooltip.prototype.publish("tooltipSeriesColor", "#EAFFFF", "html-color", "Color of tooltip series text", null, {});
733
- ITooltip.prototype.publish("tooltipLabelColor", "#CCFFFF", "html-color", "Color of tooltip label text", null, {});
716
+ ITooltip.prototype.publish("tooltipLabelColor", "#CCFFFF", "html-color", "Color of tooltip label text (the domain axis)", null, {});
734
717
  ITooltip.prototype.publish("tooltipValueColor", "white", "html-color", "Color of tooltip value(s)", null, {});
735
718
  ITooltip.prototype.publish("tooltipTick", true, "boolean", "Show tooltip tick", null, {});
736
719
  ITooltip.prototype.publish("tooltipOffset", 8, "number", "Offset from the cursor", null, {});
720
+ var tooltipLabelFormat = ITooltip.prototype.tooltipLabelFormat;
721
+ ITooltip.prototype.tooltipLabelFormat = function (_) {
722
+ var retVal = tooltipLabelFormat.apply(this, arguments);
723
+ if (arguments.length) {
724
+ this._labelFormatter = common.format(_);
725
+ }
726
+ return retVal;
727
+ };
737
728
  var tooltipValueFormat = ITooltip.prototype.tooltipValueFormat;
738
729
  ITooltip.prototype.tooltipValueFormat = function (_) {
739
730
  var retVal = tooltipValueFormat.apply(this, arguments);
@@ -743,16 +734,15 @@
743
734
  return retVal;
744
735
  };
745
736
 
746
- var ITree = /** @class */ (function () {
747
- function ITree() {
748
- }
749
- // Events ---
750
- ITree.prototype.click = function (row, column, selected) {
751
- };
752
- ITree.prototype.dblclick = function (row, column, selected) {
753
- };
754
- return ITree;
755
- }());
737
+ // Use old school class declaration as this is a mixin ---
738
+ function ITree() {
739
+ }
740
+ ITree.prototype.constructor = ITree;
741
+ // Events ---
742
+ ITree.prototype.click = function (row, column, selected) {
743
+ };
744
+ ITree.prototype.dblclick = function (row, column, selected) {
745
+ };
756
746
  ITree.prototype._palette = common.Palette.ordinal("default");
757
747
 
758
748
  exports.BUILD_VERSION = BUILD_VERSION;