@hpcc-js/dgrid 2.32.21 → 2.32.22

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
@@ -2,8 +2,8 @@ import { publish, HTMLWidget, Palette, format, select, PropertyExt } from '@hpcc
2
2
  import { hashSum } from '@hpcc-js/util';
3
3
 
4
4
  var PKG_NAME = "@hpcc-js/dgrid";
5
- var PKG_VERSION = "2.32.21";
6
- var BUILD_VERSION = "2.105.12";
5
+ var PKG_VERSION = "2.32.22";
6
+ var BUILD_VERSION = "2.105.13";
7
7
 
8
8
  /******************************************************************************
9
9
  Copyright (c) Microsoft Corporation.
@@ -28508,7 +28508,7 @@ var dist = {exports: {}};
28508
28508
  exports.BUILD_VERSION = exports.PKG_VERSION = exports.PKG_NAME = void 0;
28509
28509
  exports.PKG_NAME = "@hpcc-js/dgrid-shim";
28510
28510
  exports.PKG_VERSION = "2.24.11";
28511
- exports.BUILD_VERSION = "2.105.12";
28511
+ exports.BUILD_VERSION = "2.105.13";
28512
28512
 
28513
28513
 
28514
28514
  /***/ }),
@@ -28706,9 +28706,9 @@ var dist = {exports: {}};
28706
28706
 
28707
28707
  /***/ }),
28708
28708
 
28709
- /***/ 6944:
28709
+ /***/ 7810:
28710
28710
  /*!******************************************************************!*\
28711
- !*** ../../../../../../../tmp/tmp-3792s3lkFjp0pExN/dojo/dojo.js ***!
28711
+ !*** ../../../../../../../tmp/tmp-38634vDEsuBCUqCv/dojo/dojo.js ***!
28712
28712
  \******************************************************************/
28713
28713
  /***/ ((module) => {
28714
28714
 
@@ -29938,7 +29938,7 @@ var dist = {exports: {}};
29938
29938
  /******/ "dojo/_base/query":4203,
29939
29939
  /******/ "dojo/_base/NodeList":6659,
29940
29940
  /******/ "dojo/NodeList-dom":8288
29941
- /******/ // "/tmp/tmp-3792s3lkFjp0pExN/dojo/dojo.js" = 6944
29941
+ /******/ // "/tmp/tmp-38634vDEsuBCUqCv/dojo/dojo.js" = 7810
29942
29942
  /******/ });
29943
29943
  /******/
29944
29944
  /******/ globalObj.require = req;
@@ -29974,7 +29974,7 @@ var dist = {exports: {}};
29974
29974
  /******/ return url;
29975
29975
  /******/ })}));
29976
29976
  /******/ var defaultConfig = ({'hasCache':({'webpack':1,'host-browser':1,'dom':1,'dojo-loader':1,'dojo-has-api':1,'dojo-dom-ready-api':1,'dojo-sniff':1,'dojo-test-sniff':1,'config-deferredInstrumentation':1,'config-tlmSiblingOfDojo':1}),'paths':({'js':'js','theme':'theme','css':'//chuckdumont.github.io/dojo-css-plugin/1.0.0/css'}),'pathsMapProg':[['theme','theme',/^theme(\/|$)/,5],['css','//chuckdumont.github.io/dojo-css-plugin/1.0.0/css',/^css(\/|$)/,3],['js','js',/^js(\/|$)/,2]],'packs':({'dojo':({'main':'main','name':'dojo','location':'./dist/dojo','lib':'.'}),'dijit':({'main':'main','name':'dijit','location':'./dist/dijit','lib':'.'}),'dojox':({'main':'main','name':'dojox','location':'./dist/dojox','lib':'.'}),'dijit-themes':({'main':'main','name':'dijit-themes','location':'./dist/dijit-themes','lib':'.'}),'dgrid':({'main':'main','name':'dgrid','location':'./dist/dgrid','lib':'.'}),'dstore':({'main':'main','name':'dstore','location':'./dist/dojo-dstore','lib':'.'})}),'aliases':[],'mapProgs':[],'cacheBust':undefined,'modules':({}),'cache':({})});
29977
- /******/ var dojoLoader = __webpack_require__(6944);
29977
+ /******/ var dojoLoader = __webpack_require__(7810);
29978
29978
  /******/ dojoLoader.call(loaderScope, userConfig, defaultConfig, loaderScope, loaderScope);
29979
29979
  /******/ loaderScope.require.baseUrl = "./";
29980
29980
  /******/ Object.keys(loaderScope.require.packs).forEach(function(key) {
@@ -30620,6 +30620,7 @@ var ColumnFormat = /** @class */ (function (_super) {
30620
30620
  var max_1 = this.max();
30621
30621
  var valueColIdx_1 = this.valueColumn() ? columns.indexOf(this.valueColumn()) : undefined;
30622
30622
  return function (row, cell, cellElement) {
30623
+ var _a, _b;
30623
30624
  if (defaultRenderCell) {
30624
30625
  defaultRenderCell.call(this, row, cell, cellElement);
30625
30626
  }
@@ -30629,7 +30630,7 @@ var ColumnFormat = /** @class */ (function (_super) {
30629
30630
  select(cellElement)
30630
30631
  .style("background", background)
30631
30632
  .style("color", Palette.textColor(background))
30632
- .text(cellText.html ? cellText.html : cell);
30633
+ .text((_b = (_a = cellText === null || cellText === void 0 ? void 0 : cellText.html) !== null && _a !== void 0 ? _a : cellText) !== null && _b !== void 0 ? _b : cell);
30633
30634
  };
30634
30635
  }
30635
30636
  return defaultRenderCell;
@@ -30737,7 +30738,7 @@ var Table = /** @class */ (function (_super) {
30737
30738
  }
30738
30739
  }
30739
30740
  }
30740
- this._dgrid.set("columns", this._columns);
30741
+ this._dgrid.set("columns", this._columns.filter(function (col) { return !col.hidden; }));
30741
30742
  this._colsRefresh = false;
30742
30743
  }
30743
30744
  if (this._colsRefresh || this._dataRefresh) {