@syncfusion/ej2-grids
Advanced tools
Comparing version 26.1.40 to 26.1.41
/*! | ||
* filename: index.d.ts | ||
* version : 26.1.40 | ||
* version : 26.1.41 | ||
* Copyright Syncfusion Inc. 2001 - 2023. All rights reserved. | ||
@@ -5,0 +5,0 @@ * Use of this code is subject to the terms of our license. |
{ | ||
"_from": "@syncfusion/ej2-grids@*", | ||
"_id": "@syncfusion/ej2-grids@26.1.39", | ||
"_id": "@syncfusion/ej2-grids@26.1.40", | ||
"_inBundle": false, | ||
"_integrity": "sha512-+xRQOHcnhIy7yJuhHKG4+97yAPyrZt4Ae23e0J14DKppzgMj8o1P8yNveGu/7ONSiwoXSUhVNNEQnf9dE0xUJw==", | ||
"_integrity": "sha512-zfW6NYi9gIQthb2XKvb//1eLiL9d/IRN2LMDpsFS3FYo4T4fg7Uwc4bKNCh3eLgsLLJHSi4oP3Kzg660g/CctQ==", | ||
"_location": "/@syncfusion/ej2-grids", | ||
@@ -32,4 +32,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-26.1.39.tgz", | ||
"_shasum": "f0d4df21361914b71a0b156981096c4a22e009fd", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-26.1.40.tgz", | ||
"_shasum": "eb23b7d8655fe743adc6b3f13c5f092dd998c800", | ||
"_spec": "@syncfusion/ej2-grids@*", | ||
@@ -44,14 +44,14 @@ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included", | ||
"@syncfusion/ej2-buttons": "~26.1.40", | ||
"@syncfusion/ej2-calendars": "~26.1.40", | ||
"@syncfusion/ej2-calendars": "~26.1.41", | ||
"@syncfusion/ej2-compression": "~26.1.35", | ||
"@syncfusion/ej2-data": "~26.1.40", | ||
"@syncfusion/ej2-dropdowns": "~26.1.40", | ||
"@syncfusion/ej2-data": "~26.1.41", | ||
"@syncfusion/ej2-dropdowns": "~26.1.41", | ||
"@syncfusion/ej2-excel-export": "~26.1.35", | ||
"@syncfusion/ej2-file-utils": "~26.1.35", | ||
"@syncfusion/ej2-inputs": "~26.1.40", | ||
"@syncfusion/ej2-inputs": "~26.1.41", | ||
"@syncfusion/ej2-lists": "~26.1.35", | ||
"@syncfusion/ej2-navigations": "~26.1.40", | ||
"@syncfusion/ej2-navigations": "~26.1.41", | ||
"@syncfusion/ej2-notifications": "~26.1.35", | ||
"@syncfusion/ej2-pdf-export": "~26.1.35", | ||
"@syncfusion/ej2-popups": "~26.1.38", | ||
"@syncfusion/ej2-popups": "~26.1.41", | ||
"@syncfusion/ej2-splitbuttons": "~26.1.35" | ||
@@ -83,5 +83,5 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "26.1.40", | ||
"version": "26.1.41", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -853,6 +853,9 @@ import { closest, addClass, select } from '@syncfusion/ej2-base'; | ||
var rowCell = parentsUntil(e.target, 'e-rowcell'); | ||
if ((rowCell === parentsUntil(focusableEditCells[focusableEditCells.length - 1], 'e-rowcell') | ||
&& e.action === 'tab' && !rowCell.classList.contains('e-unboundcell')) | ||
|| (rowCell === parentsUntil(focusableEditCells[0], 'e-rowcell') && e.action === 'shiftTab' && | ||
!this.parent.editSettings.showAddNewRow) || e.action === 'escape') { | ||
rowCell = rowCell && rowCell.classList.contains('e-unboundcell') ? e.target : rowCell; | ||
var lastCell = parentsUntil(focusableEditCells[focusableEditCells.length - 1], 'e-rowcell'); | ||
lastCell = lastCell && lastCell.classList.contains('e-unboundcell') ? | ||
focusableEditCells[focusableEditCells.length - 1] : lastCell; | ||
if ((rowCell === lastCell && e.action === 'tab') || e.action === 'escape' || | ||
(rowCell === parentsUntil(focusableEditCells[0], 'e-rowcell') && e.action === 'shiftTab' && | ||
!this.parent.editSettings.showAddNewRow)) { | ||
var uid = editedRow.getAttribute('data-uid'); | ||
@@ -872,2 +875,3 @@ var rows = this.parent.getRows(); | ||
this.isShowAddedRowValidate = true; | ||
this.parent.selectionModule.preventFocus = false; | ||
this.endEdit(); | ||
@@ -879,3 +883,14 @@ this.isShowAddedRowValidate = false; | ||
(editedRow.classList.contains('e-addedrow') && isNullOrUndefined(this.parent.element.querySelector('.e-griderror:not([style*="display: none"])')))))) { | ||
this.parent.focusModule.active.matrix.current = [rowIndex, 0]; | ||
var firstCellIndex = 0; | ||
var matrix = this.parent.focusModule.active.matrix; | ||
if (matrix && matrix.matrix.length && matrix.matrix[parseInt(rowIndex.toString(), 10)]) { | ||
var rowMatrix = matrix.matrix[parseInt(rowIndex.toString(), 10)]; | ||
for (var i = 0; i < rowMatrix.length; i++) { | ||
if (matrix[parseInt(i.toString(), 10)] > 0) { | ||
firstCellIndex = i; | ||
break; | ||
} | ||
} | ||
} | ||
this.parent.focusModule.active.matrix.current = [rowIndex, firstCellIndex]; | ||
} | ||
@@ -882,0 +897,0 @@ } |
@@ -192,2 +192,3 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
pagerObj.currentPage = parseInt(this.target.getAttribute('index'), 10); | ||
this.pagerModule.isInteracted = true; | ||
pagerObj.dataBind(); | ||
@@ -194,0 +195,0 @@ } |
@@ -56,2 +56,4 @@ import { Component, ModuleDeclaration, L10n, EmitType, KeyboardEventArgs } from '@syncfusion/ej2-base'; | ||
isCancel: boolean; | ||
/** @hidden */ | ||
isInteracted: boolean; | ||
/*** @hidden */ | ||
@@ -58,0 +60,0 @@ localeObj: L10n; |
@@ -59,2 +59,4 @@ var __extends = (this && this.__extends) || (function () { | ||
_this.isCancel = false; | ||
/** @hidden */ | ||
_this.isInteracted = false; | ||
_this.parent = parent; | ||
@@ -731,2 +733,3 @@ return _this; | ||
this.currentPage = pageNo; | ||
this.isInteracted = false; | ||
this.dataBind(); | ||
@@ -769,3 +772,3 @@ } | ||
currentPage: this.currentPage, | ||
newProp: newProp, oldProp: oldProp, cancel: false | ||
newProp: newProp, oldProp: oldProp, cancel: false, isInteracted: this.isInteracted | ||
}; | ||
@@ -772,0 +775,0 @@ this.trigger('click', args); |
Sorry, the diff of this file is too big to display
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 not supported yet
Sorry, the diff of this file is too big to display
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 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
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
39448358
538
394890