@hpcc-js/composite 2.6.3 → 2.6.4

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 CHANGED
@@ -5,8 +5,8 @@ import { OnOff, Button, Input, Select } from '@hpcc-js/form';
5
5
  import { PropertyEditor, Html, Legend, Persist as Persist$1 } from '@hpcc-js/other';
6
6
 
7
7
  var PKG_NAME = "@hpcc-js/composite";
8
- var PKG_VERSION = "2.6.3";
9
- var BUILD_VERSION = "2.102.8";
8
+ var PKG_VERSION = "2.6.4";
9
+ var BUILD_VERSION = "2.102.11";
10
10
 
11
11
  /*! *****************************************************************************
12
12
  Copyright (c) Microsoft Corporation.
@@ -163,7 +163,7 @@ var MultiChart = /** @class */ (function (_super) {
163
163
  return;
164
164
  }
165
165
  else if (this._switchingTo) {
166
- console.log("Attempting switch to: " + this.chartType() + ", before previous switch is complete (" + this._switchingTo + ")");
166
+ console.warn("Attempting switch to: " + this.chartType() + ", before previous switch is complete (" + this._switchingTo + ")");
167
167
  }
168
168
  this._switchingTo = this.chartType();
169
169
  var oldContent = this.chart();
@@ -204,11 +204,11 @@ var MultiChart = /** @class */ (function (_super) {
204
204
  currChart[key + "_default"](this._chartTypeDefaults[key]);
205
205
  }
206
206
  catch (e) {
207
- console.log("Exception Setting Default: " + key);
207
+ console.warn("Exception Setting Default: " + key);
208
208
  }
209
209
  }
210
210
  else {
211
- console.log("Unknown Default: " + key);
211
+ console.warn("Unknown Default: " + key);
212
212
  }
213
213
  }
214
214
  this._chartTypeDefaults = {};
@@ -218,11 +218,11 @@ var MultiChart = /** @class */ (function (_super) {
218
218
  currChart[propKey](this._chartTypeProperties[propKey]);
219
219
  }
220
220
  catch (e) {
221
- console.log("Exception Setting Property: " + propKey);
221
+ console.warn("Exception Setting Property: " + propKey);
222
222
  }
223
223
  }
224
224
  else {
225
- console.log("Unknown Property: " + propKey);
225
+ console.warn("Unknown Property: " + propKey);
226
226
  }
227
227
  }
228
228
  this._chartTypeProperties = {};
@@ -332,7 +332,7 @@ MultiChart.prototype.chart = function (_) {
332
332
  this.chartType(this._allChartTypesByClass[_.classID()].id);
333
333
  }
334
334
  else {
335
- console.log("Unknown Class ID: " + _.classID());
335
+ console.warn("Unknown Class ID: " + _.classID());
336
336
  }
337
337
  _.click = function (_row, _column, _selected) {
338
338
  context_2.click.apply(context_2, arguments);
@@ -857,30 +857,20 @@ var MegaChart = /** @class */ (function (_super) {
857
857
  };
858
858
  // Events ---
859
859
  MegaChart.prototype.click = function (row, column, selected) {
860
- console.log("Click: " + JSON.stringify(row) + ", " + column + ", " + selected);
861
860
  };
862
861
  MegaChart.prototype.dblclick = function (row, column, selected) {
863
- console.log("Double click: " + JSON.stringify(row) + ", " + column + ", " + selected);
864
862
  };
865
863
  MegaChart.prototype.vertex_click = function (row, col, sel, more) {
866
- if (more && more.vertex) {
867
- console.log("Vertex click: " + more.vertex.id());
868
- }
864
+ if (more && more.vertex) ;
869
865
  };
870
866
  MegaChart.prototype.vertex_dblclick = function (row, col, sel, more) {
871
- if (more && more.vertex) {
872
- console.log("Vertex double click: " + more.vertex.id());
873
- }
867
+ if (more && more.vertex) ;
874
868
  };
875
869
  MegaChart.prototype.edge_click = function (row, col, sel, more) {
876
- if (more && more.edge) {
877
- console.log("Edge click: " + more.edge.id());
878
- }
870
+ if (more && more.edge) ;
879
871
  };
880
872
  MegaChart.prototype.edge_dblclick = function (row, col, sel, more) {
881
- if (more && more.edge) {
882
- console.log("Edge double click: " + more.edge.id());
883
- }
873
+ if (more && more.edge) ;
884
874
  };
885
875
  return MegaChart;
886
876
  }(Border));
@@ -923,7 +913,7 @@ function retrofit_114_serialization(state, replacement_version) {
923
913
  var state_version_obj = Utility$1.parseVersionString(state.__version);
924
914
  var target_version_obj = Utility$1.parseVersionString(replacement_version);
925
915
  if (state_version_obj.major === 1 && state_version_obj.minor === 14) {
926
- console.log("Upgrading old persist from " + state.__version + " to " + replacement_version);
916
+ console.info("Upgrading old persist from " + state.__version + " to " + replacement_version);
927
917
  var _json_str = JSON.stringify(state);
928
918
  _json_str = _json_str.split('"' + state.__version).join('"' + replacement_version);
929
919
  var ret_obj = JSON.parse(_json_str);
@@ -996,7 +986,7 @@ function deserializeFromObject(widget, state) {
996
986
  widget.data(state.__data[key]);
997
987
  break;
998
988
  default:
999
- console.log("Unexpected __data item: " + key);
989
+ console.warn("Unexpected __data item: " + key);
1000
990
  widget[key](state.__data[key]);
1001
991
  break;
1002
992
  }
@@ -1019,7 +1009,7 @@ function deserialize(widget, state) {
1019
1009
  state = JSON.parse(state);
1020
1010
  }
1021
1011
  if (state.__id && state.__id.indexOf(widget._idSeed) !== 0 && widget._id !== state.__id) {
1022
- console.log("Deserialize: IDs do not match - " + widget._id);
1012
+ console.warn("Deserialize: IDs do not match - " + widget._id);
1023
1013
  }
1024
1014
  deserializeFromObject(widget, state);
1025
1015
  }
@@ -1035,8 +1025,8 @@ function create(state) {
1035
1025
  }
1036
1026
  return deserializeFromObject(widget, state);
1037
1027
  }).catch(function (e) {
1038
- console.log("Persist.create: ***exception***");
1039
- console.log(e);
1028
+ console.error("Persist.create: ***exception***");
1029
+ console.error(e);
1040
1030
  });
1041
1031
  }
1042
1032
  function clone(widget) {