ag-grid-community 31.0.2 → 31.0.3

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.
@@ -1,10 +1,10 @@
1
1
  /**
2
2
  * @ag-grid-community/all-modules - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
3
- * @version v31.0.2
3
+ * @version v31.0.3
4
4
  * @link https://www.ag-grid.com/
5
5
  * @license MIT
6
6
  */
7
- // @ag-grid-community/all-modules v31.0.2
7
+ // @ag-grid-community/all-modules v31.0.3
8
8
  define("agGrid", [], function() { return /******/ (function(modules) { // webpackBootstrap
9
9
  /******/ // The module cache
10
10
  /******/ var installedModules = {};
@@ -738,7 +738,7 @@ __webpack_require__.r(__webpack_exports__);
738
738
  /* harmony import */ var _events_mjs__WEBPACK_IMPORTED_MODULE_167__ = __webpack_require__(22);
739
739
  /* empty/unused harmony star reexport *//**
740
740
  * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue
741
- * @version v31.0.2
741
+ * @version v31.0.3
742
742
  * @link https://www.ag-grid.com/
743
743
  * @license MIT
744
744
  */
@@ -4760,7 +4760,9 @@ let ColumnModel = class ColumnModel extends _context_beanStub_mjs__WEBPACK_IMPOR
4760
4760
  }
4761
4761
  isColumnInRowViewport(col) {
4762
4762
  // we never filter out autoHeight columns, as we need them in the DOM for calculating Auto Height
4763
- if (col.isAutoHeight()) {
4763
+ // When running within jsdom the viewportRight is always 0, so we need to return true to allow
4764
+ // tests to validate all the columns.
4765
+ if (col.isAutoHeight() || this.viewportRight === 0) {
4764
4766
  return true;
4765
4767
  }
4766
4768
  const columnLeft = col.getLeft() || 0;
@@ -20830,7 +20832,7 @@ class LoadingOverlayComponent extends _widgets_component_mjs__WEBPACK_IMPORTED_M
20830
20832
  // setTimeout is used because some screen readers only announce `aria-live` text when
20831
20833
  // there is a "text change", so we force a change from empty.
20832
20834
  setTimeout(() => {
20833
- this.getGui().innerText = localeTextFunc('loadingOoo', 'Loading...');
20835
+ this.getGui().textContent = localeTextFunc('loadingOoo', 'Loading...');
20834
20836
  });
20835
20837
  }
20836
20838
  }
@@ -20864,7 +20866,7 @@ class NoRowsOverlayComponent extends _widgets_component_mjs__WEBPACK_IMPORTED_MO
20864
20866
  // setTimeout is used because some screen readers only announce `aria-live` text when
20865
20867
  // there is a "text change", so we force a change from empty.
20866
20868
  setTimeout(() => {
20867
- this.getGui().innerText = localeTextFunc('noRowsToShow', 'No Rows To Show');
20869
+ this.getGui().textContent = localeTextFunc('noRowsToShow', 'No Rows To Show');
20868
20870
  });
20869
20871
  }
20870
20872
  }
@@ -23135,7 +23137,8 @@ let FilterManager = class FilterManager extends _context_beanStub_mjs__WEBPACK_I
23135
23137
  // Otherwise - do nothing ( filter will not be destroyed - we assume new params are compatible with old ones )
23136
23138
  filterWrapper.filterPromise.then(filter => {
23137
23139
  const shouldRefreshFilter = (filter === null || filter === void 0 ? void 0 : filter.refresh) ? filter.refresh(Object.assign(Object.assign(Object.assign({}, this.createFilterParams(column, column.getColDef())), { filterModifiedCallback: this.filterModifiedCallbackFactory(filter, column), filterChangedCallback: this.filterChangedCallbackFactory(filter, column), doesRowPassOtherFilter: node => this.doesRowPassOtherFilters(filter, node) }), newFilterParams)) : true;
23138
- if (!shouldRefreshFilter) {
23140
+ // framework wrapper always implements optional methods, but returns null if no underlying method
23141
+ if (shouldRefreshFilter === false) {
23139
23142
  this.destroyFilter(column, 'columnChanged');
23140
23143
  }
23141
23144
  });
@@ -39084,7 +39087,7 @@ let ResizeObserverService = class ResizeObserverService extends _context_beanStu
39084
39087
  if (resizeObserverExists && !suppressResize) {
39085
39088
  return useBrowserResizeObserver();
39086
39089
  }
39087
- return usePolyfill();
39090
+ return this.getFrameworkOverrides().wrapIncoming(() => usePolyfill(), 'resize-observer');
39088
39091
  }
39089
39092
  doNextPolyfillTurn(func) {
39090
39093
  this.polyfillFunctions.push(func);
@@ -57533,7 +57536,7 @@ ImmutableService = __decorate([
57533
57536
  __webpack_require__.r(__webpack_exports__);
57534
57537
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VERSION", function() { return VERSION; });
57535
57538
  // DO NOT UPDATE MANUALLY: Generated from script during build time
57536
- const VERSION = '31.0.2';
57539
+ const VERSION = '31.0.3';
57537
57540
 
57538
57541
 
57539
57542
  /***/ }),
@@ -58372,7 +58375,7 @@ GridSerializer = __decorate([
58372
58375
  __webpack_require__.r(__webpack_exports__);
58373
58376
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VERSION", function() { return VERSION; });
58374
58377
  // DO NOT UPDATE MANUALLY: Generated from script during build time
58375
- const VERSION = '31.0.2';
58378
+ const VERSION = '31.0.3';
58376
58379
 
58377
58380
 
58378
58381
  /***/ }),
@@ -59424,7 +59427,7 @@ __decorate([
59424
59427
  __webpack_require__.r(__webpack_exports__);
59425
59428
  /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VERSION", function() { return VERSION; });
59426
59429
  // DO NOT UPDATE MANUALLY: Generated from script during build time
59427
- const VERSION = '31.0.2';
59430
+ const VERSION = '31.0.3';
59428
59431
 
59429
59432
 
59430
59433
  /***/ }),