@ag-grid-enterprise/range-selection
Advanced tools
Comparing version 24.1.0 to 25.0.0
@@ -33,3 +33,3 @@ import { CellComp, RowRenderer, DragService, Component, MouseEventService, ColumnController, CellNavigationService, CellRange, RowPosition, CellPosition, ISelectionHandle, RowPositionUtils, SelectionHandleType } from "@ag-grid-community/core"; | ||
protected setRangeEndRow(row: RowPosition): void; | ||
protected getLastCellHovered(): CellPosition | undefined; | ||
protected getLastCellHovered(): CellPosition | null | undefined; | ||
private preventRangeExtension; | ||
@@ -36,0 +36,0 @@ protected onDragStart(e: MouseEvent): void; |
@@ -5,3 +5,2 @@ import { CellComp, SelectionHandleType } from '@ag-grid-community/core'; | ||
private valueService; | ||
private gridOptionsWrapper; | ||
static TEMPLATE: string; | ||
@@ -8,0 +7,0 @@ private initialPosition; |
@@ -208,3 +208,3 @@ "use strict"; | ||
}; | ||
var fillValues = function (values, col, rowNode, updateInitialSet) { | ||
var fillValues = function (currentValues, col, rowNode, updateInitialSet) { | ||
var currentValue; | ||
@@ -217,3 +217,3 @@ if (withinInitialRange) { | ||
else { | ||
currentValue = _this.processValues(e, values, initialValues, col, rowNode, idx++); | ||
currentValue = _this.processValues(e, currentValues, initialValues, col, rowNode, idx++); | ||
if (col.isCellEditable(rowNode)) { | ||
@@ -223,3 +223,3 @@ rowNode.setDataValue(col, currentValue); | ||
} | ||
values.push(currentValue); | ||
currentValues.push(currentValue); | ||
}; | ||
@@ -403,5 +403,7 @@ if (isVertical) { | ||
} | ||
} while (row = isMovingUp ? | ||
this.cellNavigationService.getRowAbove(row) : | ||
this.cellNavigationService.getRowBelow(row)); | ||
} while ( | ||
// tslint:disable-next-line | ||
row = isMovingUp | ||
? this.cellNavigationService.getRowAbove(row) | ||
: this.cellNavigationService.getRowBelow(row)); | ||
}; | ||
@@ -427,2 +429,3 @@ FillHandle.prototype.reduceVertical = function (initialPosition, endPosition) { | ||
} | ||
// tslint:disable-next-line | ||
} while (row = this.cellNavigationService.getRowAbove(row)); | ||
@@ -506,5 +509,2 @@ }; | ||
], FillHandle.prototype, "valueService", void 0); | ||
__decorate([ | ||
core_1.Autowired('gridOptionsWrapper') | ||
], FillHandle.prototype, "gridOptionsWrapper", void 0); | ||
return FillHandle; | ||
@@ -511,0 +511,0 @@ }(abstractSelectionHandle_1.AbstractSelectionHandle)); |
@@ -7,3 +7,2 @@ import { CellPosition, CellPositionUtils, Column, GridOptionsWrapper, GridPanel, IRangeController, CellRangeParams, CellRange, RowPosition, RowPositionUtils, BeanStub } from "@ag-grid-community/core"; | ||
private mouseEventService; | ||
private gridOptionsWrapper; | ||
private columnApi; | ||
@@ -10,0 +9,0 @@ private gridApi; |
@@ -45,5 +45,6 @@ "use strict"; | ||
this.logger = this.loggerFactory.create('RangeController'); | ||
this.addManagedListener(this.eventService, core_1.Events.EVENT_COLUMN_EVERYTHING_CHANGED, this.removeAllCellRanges.bind(this)); | ||
this.addManagedListener(this.eventService, core_1.Events.EVENT_NEW_COLUMNS_LOADED, this.removeAllCellRanges.bind(this)); | ||
this.addManagedListener(this.eventService, core_1.Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.removeAllCellRanges.bind(this)); | ||
this.addManagedListener(this.eventService, core_1.Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.removeAllCellRanges.bind(this)); | ||
this.addManagedListener(this.eventService, core_1.Events.EVENT_COLUMN_PIVOT_CHANGED, this.removeAllCellRanges.bind(this)); | ||
this.addManagedListener(this.eventService, core_1.Events.EVENT_COLUMN_GROUP_OPENED, this.refreshLastRangeStart.bind(this)); | ||
@@ -517,3 +518,3 @@ this.addManagedListener(this.eventService, core_1.Events.EVENT_COLUMN_MOVED, this.refreshLastRangeStart.bind(this)); | ||
console.warn("ag-Grid: column " + columnFrom.getId() + " is not visible"); | ||
return undefined; | ||
return; | ||
} | ||
@@ -523,3 +524,3 @@ var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo); | ||
console.warn("ag-Grid: column " + columnTo.getId() + " is not visible"); | ||
return undefined; | ||
return; | ||
} | ||
@@ -550,5 +551,2 @@ if (isSameColumn) { | ||
__decorate([ | ||
core_1.Autowired('gridOptionsWrapper') | ||
], RangeController.prototype, "gridOptionsWrapper", void 0); | ||
__decorate([ | ||
core_1.Autowired('columnApi') | ||
@@ -555,0 +553,0 @@ ], RangeController.prototype, "columnApi", void 0); |
@@ -33,3 +33,3 @@ import { CellComp, RowRenderer, DragService, Component, MouseEventService, ColumnController, CellNavigationService, CellRange, RowPosition, CellPosition, ISelectionHandle, RowPositionUtils, SelectionHandleType } from "@ag-grid-community/core"; | ||
protected setRangeEndRow(row: RowPosition): void; | ||
protected getLastCellHovered(): CellPosition | undefined; | ||
protected getLastCellHovered(): CellPosition | null | undefined; | ||
private preventRangeExtension; | ||
@@ -36,0 +36,0 @@ protected onDragStart(e: MouseEvent): void; |
@@ -5,3 +5,2 @@ import { CellComp, SelectionHandleType } from '@ag-grid-community/core'; | ||
private valueService; | ||
private gridOptionsWrapper; | ||
static TEMPLATE: string; | ||
@@ -8,0 +7,0 @@ private initialPosition; |
@@ -206,3 +206,3 @@ var __extends = (this && this.__extends) || (function () { | ||
}; | ||
var fillValues = function (values, col, rowNode, updateInitialSet) { | ||
var fillValues = function (currentValues, col, rowNode, updateInitialSet) { | ||
var currentValue; | ||
@@ -215,3 +215,3 @@ if (withinInitialRange) { | ||
else { | ||
currentValue = _this.processValues(e, values, initialValues, col, rowNode, idx++); | ||
currentValue = _this.processValues(e, currentValues, initialValues, col, rowNode, idx++); | ||
if (col.isCellEditable(rowNode)) { | ||
@@ -221,3 +221,3 @@ rowNode.setDataValue(col, currentValue); | ||
} | ||
values.push(currentValue); | ||
currentValues.push(currentValue); | ||
}; | ||
@@ -401,5 +401,7 @@ if (isVertical) { | ||
} | ||
} while (row = isMovingUp ? | ||
this.cellNavigationService.getRowAbove(row) : | ||
this.cellNavigationService.getRowBelow(row)); | ||
} while ( | ||
// tslint:disable-next-line | ||
row = isMovingUp | ||
? this.cellNavigationService.getRowAbove(row) | ||
: this.cellNavigationService.getRowBelow(row)); | ||
}; | ||
@@ -425,2 +427,3 @@ FillHandle.prototype.reduceVertical = function (initialPosition, endPosition) { | ||
} | ||
// tslint:disable-next-line | ||
} while (row = this.cellNavigationService.getRowAbove(row)); | ||
@@ -504,7 +507,4 @@ }; | ||
], FillHandle.prototype, "valueService", void 0); | ||
__decorate([ | ||
Autowired('gridOptionsWrapper') | ||
], FillHandle.prototype, "gridOptionsWrapper", void 0); | ||
return FillHandle; | ||
}(AbstractSelectionHandle)); | ||
export { FillHandle }; |
@@ -7,3 +7,2 @@ import { CellPosition, CellPositionUtils, Column, GridOptionsWrapper, GridPanel, IRangeController, CellRangeParams, CellRange, RowPosition, RowPositionUtils, BeanStub } from "@ag-grid-community/core"; | ||
private mouseEventService; | ||
private gridOptionsWrapper; | ||
private columnApi; | ||
@@ -10,0 +9,0 @@ private gridApi; |
@@ -43,5 +43,6 @@ var __extends = (this && this.__extends) || (function () { | ||
this.logger = this.loggerFactory.create('RangeController'); | ||
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_EVERYTHING_CHANGED, this.removeAllCellRanges.bind(this)); | ||
this.addManagedListener(this.eventService, Events.EVENT_NEW_COLUMNS_LOADED, this.removeAllCellRanges.bind(this)); | ||
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PIVOT_MODE_CHANGED, this.removeAllCellRanges.bind(this)); | ||
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_ROW_GROUP_CHANGED, this.removeAllCellRanges.bind(this)); | ||
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_PIVOT_CHANGED, this.removeAllCellRanges.bind(this)); | ||
this.addManagedListener(this.eventService, Events.EVENT_COLUMN_GROUP_OPENED, this.refreshLastRangeStart.bind(this)); | ||
@@ -515,3 +516,3 @@ this.addManagedListener(this.eventService, Events.EVENT_COLUMN_MOVED, this.refreshLastRangeStart.bind(this)); | ||
console.warn("ag-Grid: column " + columnFrom.getId() + " is not visible"); | ||
return undefined; | ||
return; | ||
} | ||
@@ -521,3 +522,3 @@ var toIndex = isSameColumn ? fromIndex : allColumns.indexOf(columnTo); | ||
console.warn("ag-Grid: column " + columnTo.getId() + " is not visible"); | ||
return undefined; | ||
return; | ||
} | ||
@@ -548,5 +549,2 @@ if (isSameColumn) { | ||
__decorate([ | ||
Autowired('gridOptionsWrapper') | ||
], RangeController.prototype, "gridOptionsWrapper", void 0); | ||
__decorate([ | ||
Autowired('columnApi') | ||
@@ -553,0 +551,0 @@ ], RangeController.prototype, "columnApi", void 0); |
{ | ||
"name": "@ag-grid-enterprise/range-selection", | ||
"version": "24.1.0", | ||
"version": "25.0.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": "~24.1.0", | ||
"@ag-grid-enterprise/core": "~24.1.0" | ||
"@ag-grid-community/core": "~25.0.0", | ||
"@ag-grid-enterprise/core": "~25.0.0" | ||
}, | ||
@@ -49,0 +49,0 @@ "devDependencies": { |
@@ -13,3 +13,3 @@ | ||
[Angular 1](https://www.ag-grid.com/angular-grid/) | [Angular 2](https://www.ag-grid.com/angular-grid/) | [Javascript](https://www.ag-grid.com/javascript-grid/) | [Polymer](https://www.ag-grid.com/best-polymer-data-grid/) | [React](https://www.ag-grid.com/react-grid/) | [TypeScript](https://www.ag-grid.com/ag-grid-building-typescript/) | [VueJS](https://www.ag-grid.com/vuejs-grid/) | [Web Components](https://www.ag-grid.com/best-web-component-data-grid/) | [Aurelia](https://www.ag-grid.com/best-aurelia-data-grid/) | ||
[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/) | ||
@@ -16,0 +16,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 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
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6043506
95582
+ Added@ag-grid-community/core@25.0.1(transitive)
+ Added@ag-grid-enterprise/core@25.0.1(transitive)
- Removed@ag-grid-community/core@24.1.0(transitive)
- Removed@ag-grid-enterprise/core@24.1.0(transitive)