@vaadin/grid 24.2.0-dev.538d07bdf → 24.2.0-dev.f254716fe

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/grid",
3
- "version": "24.2.0-dev.538d07bdf",
3
+ "version": "24.2.0-dev.f254716fe",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -46,14 +46,14 @@
46
46
  "dependencies": {
47
47
  "@open-wc/dedupe-mixin": "^1.3.0",
48
48
  "@polymer/polymer": "^3.0.0",
49
- "@vaadin/a11y-base": "24.2.0-dev.538d07bdf",
50
- "@vaadin/checkbox": "24.2.0-dev.538d07bdf",
51
- "@vaadin/component-base": "24.2.0-dev.538d07bdf",
52
- "@vaadin/lit-renderer": "24.2.0-dev.538d07bdf",
53
- "@vaadin/text-field": "24.2.0-dev.538d07bdf",
54
- "@vaadin/vaadin-lumo-styles": "24.2.0-dev.538d07bdf",
55
- "@vaadin/vaadin-material-styles": "24.2.0-dev.538d07bdf",
56
- "@vaadin/vaadin-themable-mixin": "24.2.0-dev.538d07bdf"
49
+ "@vaadin/a11y-base": "24.2.0-dev.f254716fe",
50
+ "@vaadin/checkbox": "24.2.0-dev.f254716fe",
51
+ "@vaadin/component-base": "24.2.0-dev.f254716fe",
52
+ "@vaadin/lit-renderer": "24.2.0-dev.f254716fe",
53
+ "@vaadin/text-field": "24.2.0-dev.f254716fe",
54
+ "@vaadin/vaadin-lumo-styles": "24.2.0-dev.f254716fe",
55
+ "@vaadin/vaadin-material-styles": "24.2.0-dev.f254716fe",
56
+ "@vaadin/vaadin-themable-mixin": "24.2.0-dev.f254716fe"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@esm-bundle/chai": "^4.3.4",
@@ -65,5 +65,5 @@
65
65
  "web-types.json",
66
66
  "web-types.lit.json"
67
67
  ],
68
- "gitHead": "86c2fd5f37cf1240af98f7c7d752518c8d701db2"
68
+ "gitHead": "da54950b9f8c14c6451ede0d426e16a489c7fb9b"
69
69
  }
@@ -305,7 +305,7 @@ export const DataProviderMixin = (superClass) =>
305
305
  });
306
306
 
307
307
  // If the grid is not loading anything, flush the debouncer immediately
308
- if (!this._dataProviderController.isLoading) {
308
+ if (!this._dataProviderController.isLoading()) {
309
309
  this._debouncerApplyCachedData.flush();
310
310
  }
311
311
  }
@@ -322,8 +322,8 @@ export const DataProviderMixin = (superClass) =>
322
322
 
323
323
  /** @private */
324
324
  _pageSizeChanged(pageSize, oldPageSize) {
325
+ this._dataProviderController.setPageSize(pageSize);
325
326
  if (oldPageSize !== undefined && pageSize !== oldPageSize) {
326
- this._dataProviderController.setPageSize(pageSize);
327
327
  this._hasData = false;
328
328
  this.__updateVisibleRows();
329
329
  this._ensureFirstPageLoaded();
@@ -419,7 +419,7 @@ export const DataProviderMixin = (superClass) =>
419
419
  this._scrollToFlatIndex(targetIndex);
420
420
  }
421
421
 
422
- if (this._dataProviderController.isLoading || !this.clientHeight) {
422
+ if (this._dataProviderController.isLoading() || !this.clientHeight) {
423
423
  this.__pendingScrollToIndexes = indexes;
424
424
  }
425
425
  }
@@ -738,7 +738,7 @@ class Grid extends ElementMixin(
738
738
  if (!this._columnTree) {
739
739
  return; // No columns
740
740
  }
741
- if (isElementHidden(this) || this._dataProviderController.isLoading) {
741
+ if (isElementHidden(this) || this._dataProviderController.isLoading()) {
742
742
  this.__pendingRecalculateColumnWidths = true;
743
743
  return;
744
744
  }
@@ -751,7 +751,7 @@ class Grid extends ElementMixin(
751
751
  if (
752
752
  this.__pendingRecalculateColumnWidths &&
753
753
  !isElementHidden(this) &&
754
- !this._dataProviderController.isLoading &&
754
+ !this._dataProviderController.isLoading() &&
755
755
  this.__hasRowsWithClientHeight()
756
756
  ) {
757
757
  this.__pendingRecalculateColumnWidths = false;