@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.js CHANGED
@@ -4,8 +4,8 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@hpcc-js/dgrid"] = {}, global["@hpcc-js/common"], global["@hpcc-js/util"]));
5
5
  })(this, (function (exports, common, util) {
6
6
  var PKG_NAME = "@hpcc-js/dgrid";
7
- var PKG_VERSION = "2.32.21";
8
- var BUILD_VERSION = "2.105.12";
7
+ var PKG_VERSION = "2.32.22";
8
+ var BUILD_VERSION = "2.105.13";
9
9
 
10
10
  /******************************************************************************
11
11
  Copyright (c) Microsoft Corporation.
@@ -28510,7 +28510,7 @@
28510
28510
  exports.BUILD_VERSION = exports.PKG_VERSION = exports.PKG_NAME = void 0;
28511
28511
  exports.PKG_NAME = "@hpcc-js/dgrid-shim";
28512
28512
  exports.PKG_VERSION = "2.24.11";
28513
- exports.BUILD_VERSION = "2.105.12";
28513
+ exports.BUILD_VERSION = "2.105.13";
28514
28514
 
28515
28515
 
28516
28516
  /***/ }),
@@ -28708,9 +28708,9 @@
28708
28708
 
28709
28709
  /***/ }),
28710
28710
 
28711
- /***/ 6944:
28711
+ /***/ 7810:
28712
28712
  /*!******************************************************************!*\
28713
- !*** ../../../../../../../tmp/tmp-3792s3lkFjp0pExN/dojo/dojo.js ***!
28713
+ !*** ../../../../../../../tmp/tmp-38634vDEsuBCUqCv/dojo/dojo.js ***!
28714
28714
  \******************************************************************/
28715
28715
  /***/ ((module) => {
28716
28716
 
@@ -29940,7 +29940,7 @@
29940
29940
  /******/ "dojo/_base/query":4203,
29941
29941
  /******/ "dojo/_base/NodeList":6659,
29942
29942
  /******/ "dojo/NodeList-dom":8288
29943
- /******/ // "/tmp/tmp-3792s3lkFjp0pExN/dojo/dojo.js" = 6944
29943
+ /******/ // "/tmp/tmp-38634vDEsuBCUqCv/dojo/dojo.js" = 7810
29944
29944
  /******/ });
29945
29945
  /******/
29946
29946
  /******/ globalObj.require = req;
@@ -29976,7 +29976,7 @@
29976
29976
  /******/ return url;
29977
29977
  /******/ })}));
29978
29978
  /******/ 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':({})});
29979
- /******/ var dojoLoader = __webpack_require__(6944);
29979
+ /******/ var dojoLoader = __webpack_require__(7810);
29980
29980
  /******/ dojoLoader.call(loaderScope, userConfig, defaultConfig, loaderScope, loaderScope);
29981
29981
  /******/ loaderScope.require.baseUrl = "./";
29982
29982
  /******/ Object.keys(loaderScope.require.packs).forEach(function(key) {
@@ -30622,6 +30622,7 @@
30622
30622
  var max_1 = this.max();
30623
30623
  var valueColIdx_1 = this.valueColumn() ? columns.indexOf(this.valueColumn()) : undefined;
30624
30624
  return function (row, cell, cellElement) {
30625
+ var _a, _b;
30625
30626
  if (defaultRenderCell) {
30626
30627
  defaultRenderCell.call(this, row, cell, cellElement);
30627
30628
  }
@@ -30631,7 +30632,7 @@
30631
30632
  common.select(cellElement)
30632
30633
  .style("background", background)
30633
30634
  .style("color", common.Palette.textColor(background))
30634
- .text(cellText.html ? cellText.html : cell);
30635
+ .text((_b = (_a = cellText === null || cellText === void 0 ? void 0 : cellText.html) !== null && _a !== void 0 ? _a : cellText) !== null && _b !== void 0 ? _b : cell);
30635
30636
  };
30636
30637
  }
30637
30638
  return defaultRenderCell;
@@ -30739,7 +30740,7 @@
30739
30740
  }
30740
30741
  }
30741
30742
  }
30742
- this._dgrid.set("columns", this._columns);
30743
+ this._dgrid.set("columns", this._columns.filter(function (col) { return !col.hidden; }));
30743
30744
  this._colsRefresh = false;
30744
30745
  }
30745
30746
  if (this._colsRefresh || this._dataRefresh) {