@ag-grid-enterprise/server-side-row-model
Advanced tools
Comparing version 25.1.0 to 25.2.0
@@ -5,7 +5,3 @@ import { LoadSuccessParams, NumberSequence, RowBounds, RowNode, RowNodeBlock, ServerSideStoreParams } from "@ag-grid-community/core"; | ||
export declare class PartialStoreBlock extends RowNodeBlock { | ||
private rowRenderer; | ||
private columnController; | ||
private valueService; | ||
private columnApi; | ||
private gridApi; | ||
private cacheUtils; | ||
@@ -24,5 +20,3 @@ private blockUtils; | ||
private readonly parentRowNode; | ||
private defaultRowHeight; | ||
private usingTreeData; | ||
private usingMasterDetail; | ||
private lastAccessed; | ||
@@ -29,0 +23,0 @@ private allNodesMap; |
@@ -44,4 +44,2 @@ "use strict"; | ||
this.usingTreeData = this.gridOptionsWrapper.isTreeData(); | ||
this.usingMasterDetail = this.gridOptionsWrapper.isMasterDetail(); | ||
this.defaultRowHeight = this.gridOptionsWrapper.getRowHeightAsNumber(); | ||
if (!this.usingTreeData && this.groupLevel) { | ||
@@ -168,2 +166,3 @@ var groupColVo = this.ssrmParams.rowGroupCols[this.level]; | ||
this.allNodesMap[rowNode.id] = rowNode; | ||
this.blockUtils.checkOpenByDefault(rowNode); | ||
} | ||
@@ -260,17 +259,5 @@ this.rowNodes.push(rowNode); | ||
__decorate([ | ||
core_1.Autowired('rowRenderer') | ||
], PartialStoreBlock.prototype, "rowRenderer", void 0); | ||
__decorate([ | ||
core_1.Autowired('columnController') | ||
], PartialStoreBlock.prototype, "columnController", void 0); | ||
__decorate([ | ||
core_1.Autowired('valueService') | ||
], PartialStoreBlock.prototype, "valueService", void 0); | ||
__decorate([ | ||
core_1.Autowired('columnApi') | ||
], PartialStoreBlock.prototype, "columnApi", void 0); | ||
__decorate([ | ||
core_1.Autowired('gridApi') | ||
], PartialStoreBlock.prototype, "gridApi", void 0); | ||
__decorate([ | ||
core_1.Autowired('ssrmCacheUtils') | ||
@@ -277,0 +264,0 @@ ], PartialStoreBlock.prototype, "cacheUtils", void 0); |
@@ -7,3 +7,2 @@ import { IServerSideStore, LoadSuccessParams, NumberSequence, RowBounds, RowNode, RowNodeBlock, ServerSideStoreParams, ServerSideStoreState, ServerSideTransaction, ServerSideTransactionResult, StoreRefreshAfterParams } from "@ag-grid-community/core"; | ||
private columnController; | ||
private rowRenderer; | ||
private rowNodeBlockLoader; | ||
@@ -19,7 +18,5 @@ private rowNodeSorter; | ||
private readonly ssrmParams; | ||
private readonly storeParams; | ||
private readonly parentRowNode; | ||
private nodeIdSequence; | ||
private usingTreeData; | ||
private usingMasterDetail; | ||
private allRowNodes; | ||
@@ -26,0 +23,0 @@ private nodesAfterFilter; |
@@ -32,3 +32,2 @@ "use strict"; | ||
_this.ssrmParams = ssrmParams; | ||
_this.storeParams = storeParams; | ||
_this.parentRowNode = parentRowNode; | ||
@@ -43,3 +42,2 @@ _this.level = parentRowNode.level + 1; | ||
this.usingTreeData = this.gridOptionsWrapper.isTreeData(); | ||
this.usingMasterDetail = this.gridOptionsWrapper.isMasterDetail(); | ||
this.nodeIdPrefix = this.blockUtils.createNodeIdPrefix(this.parentRowNode); | ||
@@ -268,2 +266,7 @@ if (!this.usingTreeData && this.groupLevel) { | ||
FullStore.prototype.getRowUsingDisplayIndex = function (displayRowIndex) { | ||
// this can happen if asking for a row that doesn't exist in the model, | ||
// eg if a cell range is selected, and the user filters so rows no longer exists | ||
if (!this.isDisplayIndexInStore(displayRowIndex)) { | ||
return null; | ||
} | ||
var res = this.blockUtils.binarySearchForDisplayIndex(displayRowIndex, this.nodesAfterSort); | ||
@@ -563,5 +566,2 @@ return res; | ||
__decorate([ | ||
core_1.Autowired('rowRenderer') | ||
], FullStore.prototype, "rowRenderer", void 0); | ||
__decorate([ | ||
core_1.Autowired('rowNodeBlockLoader') | ||
@@ -568,0 +568,0 @@ ], FullStore.prototype, "rowNodeBlockLoader", void 0); |
@@ -11,3 +11,2 @@ import { BeanStub, IServerSideStore, LoadSuccessParams, NumberSequence, RowBounds, RowNode, RowRenderer, ServerSideStoreParams, ServerSideStoreState, ServerSideTransaction, ServerSideTransactionResult, StoreRefreshAfterParams } from "@ag-grid-community/core"; | ||
private storeUtils; | ||
private columnController; | ||
private focusController; | ||
@@ -21,3 +20,2 @@ private readonly ssrmParams; | ||
private logger; | ||
private blockCount; | ||
private rowCount; | ||
@@ -24,0 +22,0 @@ private lastRowIndexKnown; |
@@ -39,3 +39,2 @@ "use strict"; | ||
_this.blockHeights = {}; | ||
_this.blockCount = 0; | ||
_this.lastRowIndexKnown = false; | ||
@@ -192,3 +191,2 @@ // this will always be zero for the top level cache only, | ||
this.destroyBean(block); | ||
this.blockCount--; | ||
this.rowNodeBlockLoader.removeBlock(block); | ||
@@ -541,3 +539,2 @@ }; | ||
this.blocks[block.getId()] = block; | ||
this.blockCount++; | ||
this.purgeBlocksIfNeeded(block); | ||
@@ -621,5 +618,2 @@ this.rowNodeBlockLoader.addBlock(block); | ||
__decorate([ | ||
core_1.Autowired('columnController') | ||
], PartialStore.prototype, "columnController", void 0); | ||
__decorate([ | ||
core_1.Autowired("focusController") | ||
@@ -626,0 +620,0 @@ ], PartialStore.prototype, "focusController", void 0); |
@@ -5,7 +5,3 @@ import { LoadSuccessParams, NumberSequence, RowBounds, RowNode, RowNodeBlock, ServerSideStoreParams } from "@ag-grid-community/core"; | ||
export declare class PartialStoreBlock extends RowNodeBlock { | ||
private rowRenderer; | ||
private columnController; | ||
private valueService; | ||
private columnApi; | ||
private gridApi; | ||
private cacheUtils; | ||
@@ -24,5 +20,3 @@ private blockUtils; | ||
private readonly parentRowNode; | ||
private defaultRowHeight; | ||
private usingTreeData; | ||
private usingMasterDetail; | ||
private lastAccessed; | ||
@@ -29,0 +23,0 @@ private allNodesMap; |
@@ -42,4 +42,2 @@ var __extends = (this && this.__extends) || (function () { | ||
this.usingTreeData = this.gridOptionsWrapper.isTreeData(); | ||
this.usingMasterDetail = this.gridOptionsWrapper.isMasterDetail(); | ||
this.defaultRowHeight = this.gridOptionsWrapper.getRowHeightAsNumber(); | ||
if (!this.usingTreeData && this.groupLevel) { | ||
@@ -166,2 +164,3 @@ var groupColVo = this.ssrmParams.rowGroupCols[this.level]; | ||
this.allNodesMap[rowNode.id] = rowNode; | ||
this.blockUtils.checkOpenByDefault(rowNode); | ||
} | ||
@@ -258,17 +257,5 @@ this.rowNodes.push(rowNode); | ||
__decorate([ | ||
Autowired('rowRenderer') | ||
], PartialStoreBlock.prototype, "rowRenderer", void 0); | ||
__decorate([ | ||
Autowired('columnController') | ||
], PartialStoreBlock.prototype, "columnController", void 0); | ||
__decorate([ | ||
Autowired('valueService') | ||
], PartialStoreBlock.prototype, "valueService", void 0); | ||
__decorate([ | ||
Autowired('columnApi') | ||
], PartialStoreBlock.prototype, "columnApi", void 0); | ||
__decorate([ | ||
Autowired('gridApi') | ||
], PartialStoreBlock.prototype, "gridApi", void 0); | ||
__decorate([ | ||
Autowired('ssrmCacheUtils') | ||
@@ -275,0 +262,0 @@ ], PartialStoreBlock.prototype, "cacheUtils", void 0); |
@@ -7,3 +7,2 @@ import { IServerSideStore, LoadSuccessParams, NumberSequence, RowBounds, RowNode, RowNodeBlock, ServerSideStoreParams, ServerSideStoreState, ServerSideTransaction, ServerSideTransactionResult, StoreRefreshAfterParams } from "@ag-grid-community/core"; | ||
private columnController; | ||
private rowRenderer; | ||
private rowNodeBlockLoader; | ||
@@ -19,7 +18,5 @@ private rowNodeSorter; | ||
private readonly ssrmParams; | ||
private readonly storeParams; | ||
private readonly parentRowNode; | ||
private nodeIdSequence; | ||
private usingTreeData; | ||
private usingMasterDetail; | ||
private allRowNodes; | ||
@@ -26,0 +23,0 @@ private nodesAfterFilter; |
@@ -30,3 +30,2 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.ssrmParams = ssrmParams; | ||
_this.storeParams = storeParams; | ||
_this.parentRowNode = parentRowNode; | ||
@@ -41,3 +40,2 @@ _this.level = parentRowNode.level + 1; | ||
this.usingTreeData = this.gridOptionsWrapper.isTreeData(); | ||
this.usingMasterDetail = this.gridOptionsWrapper.isMasterDetail(); | ||
this.nodeIdPrefix = this.blockUtils.createNodeIdPrefix(this.parentRowNode); | ||
@@ -266,2 +264,7 @@ if (!this.usingTreeData && this.groupLevel) { | ||
FullStore.prototype.getRowUsingDisplayIndex = function (displayRowIndex) { | ||
// this can happen if asking for a row that doesn't exist in the model, | ||
// eg if a cell range is selected, and the user filters so rows no longer exists | ||
if (!this.isDisplayIndexInStore(displayRowIndex)) { | ||
return null; | ||
} | ||
var res = this.blockUtils.binarySearchForDisplayIndex(displayRowIndex, this.nodesAfterSort); | ||
@@ -561,5 +564,2 @@ return res; | ||
__decorate([ | ||
Autowired('rowRenderer') | ||
], FullStore.prototype, "rowRenderer", void 0); | ||
__decorate([ | ||
Autowired('rowNodeBlockLoader') | ||
@@ -566,0 +566,0 @@ ], FullStore.prototype, "rowNodeBlockLoader", void 0); |
@@ -11,3 +11,2 @@ import { BeanStub, IServerSideStore, LoadSuccessParams, NumberSequence, RowBounds, RowNode, RowRenderer, ServerSideStoreParams, ServerSideStoreState, ServerSideTransaction, ServerSideTransactionResult, StoreRefreshAfterParams } from "@ag-grid-community/core"; | ||
private storeUtils; | ||
private columnController; | ||
private focusController; | ||
@@ -21,3 +20,2 @@ private readonly ssrmParams; | ||
private logger; | ||
private blockCount; | ||
private rowCount; | ||
@@ -24,0 +22,0 @@ private lastRowIndexKnown; |
@@ -37,3 +37,2 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.blockHeights = {}; | ||
_this.blockCount = 0; | ||
_this.lastRowIndexKnown = false; | ||
@@ -190,3 +189,2 @@ // this will always be zero for the top level cache only, | ||
this.destroyBean(block); | ||
this.blockCount--; | ||
this.rowNodeBlockLoader.removeBlock(block); | ||
@@ -539,3 +537,2 @@ }; | ||
this.blocks[block.getId()] = block; | ||
this.blockCount++; | ||
this.purgeBlocksIfNeeded(block); | ||
@@ -619,5 +616,2 @@ this.rowNodeBlockLoader.addBlock(block); | ||
__decorate([ | ||
Autowired('columnController') | ||
], PartialStore.prototype, "columnController", void 0); | ||
__decorate([ | ||
Autowired("focusController") | ||
@@ -624,0 +618,0 @@ ], PartialStore.prototype, "focusController", void 0); |
{ | ||
"name": "@ag-grid-enterprise/server-side-row-model", | ||
"version": "25.1.0", | ||
"version": "25.2.0", | ||
"description": "Advanced Data Grid / Data Table supporting Javascript / React / AngularJS / Web Components", | ||
@@ -45,4 +45,4 @@ "main": "./dist/cjs/main.js", | ||
"dependencies": { | ||
"@ag-grid-community/core": "~25.1.0", | ||
"@ag-grid-enterprise/core": "~25.1.0" | ||
"@ag-grid-community/core": "~25.2.0", | ||
"@ag-grid-enterprise/core": "~25.2.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "devDependencies": { |
@@ -12,3 +12,3 @@ AG Grid Enterprise | ||
[Angular 1](https://www.ag-grid.com/documentation/angular/angularjs/) | [Angular 2](https://www.ag-grid.com/documentation/angular/getting-started/) | [Javascript](https://www.ag-grid.com/documentation/javascript/getting-started/) | [Polymer](https://www.ag-grid.com/documentation/javascript/polymer-getting-started/) | [React](https://www.ag-grid.com/documentation/react/getting-started/) | [TypeScript](https://www.ag-grid.com/documentation/javascript/building-typescript/) | [VueJS](https://www.ag-grid.com/documentation/vue/getting-started/) | ||
[Angular 1](https://www.ag-grid.com/angular-grid/angularjs/) | [Angular 2](https://www.ag-grid.com/angular-grid/getting-started/) | [Javascript](https://www.ag-grid.com/javascript-grid/getting-started/) | [Polymer](https://www.ag-grid.com/javascript-grid/polymer-getting-started/) | [React](https://www.ag-grid.com/react-grid/getting-started/) | [TypeScript](https://www.ag-grid.com/javascript-grid/building-typescript/) | [VueJS](https://www.ag-grid.com/vue-grid/getting-started/) | ||
@@ -15,0 +15,0 @@ This is not free software, this software is covered by copyright and to use you need a commercial license. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
6761013
106764
+ Added@ag-grid-community/core@25.2.0(transitive)
+ Added@ag-grid-enterprise/core@25.2.0(transitive)
- Removed@ag-grid-community/core@25.1.0(transitive)
- Removed@ag-grid-enterprise/core@25.1.0(transitive)