@syncfusion/ej2-grids
Advanced tools
Comparing version 28.1.35 to 28.1.36
@@ -1,10 +0,1 @@ | ||
/*! | ||
* filename: index.d.ts | ||
* version : 28.1.35 | ||
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved. | ||
* Use of this code is subject to the terms of our license. | ||
* A copy of the current license can be obtained at any time by e-mailing | ||
* licensing@syncfusion.com. Any infringement will be prosecuted under | ||
* applicable laws. | ||
*/ | ||
import * as _grids from '@syncfusion/ej2-grids'; | ||
@@ -11,0 +2,0 @@ |
{ | ||
"_from": "@syncfusion/ej2-grids@*", | ||
"_id": "@syncfusion/ej2-grids@28.1.33", | ||
"_id": "@syncfusion/ej2-grids@28.1.35", | ||
"_inBundle": false, | ||
"_integrity": "sha512-WXrgjbdZWy3x9J9kVFLBj/umhzl0/fz+X2ctwLuzttv3EFnOLYoyaHWCj3G4fSggjnMUIxRfIpUklvWQv35yjg==", | ||
"_integrity": "sha512-U2xBY17nl9gK2v2wPuXtREiNK62vDjsz2OufoJM0E5hygNtweGdJlINTfDK9NeaDFpA2MF/1co2Na/yMYzFkwA==", | ||
"_location": "/@syncfusion/ej2-grids", | ||
@@ -21,7 +21,5 @@ "_phantomChildren": {}, | ||
"/", | ||
"/@syncfusion/ej2", | ||
"/@syncfusion/ej2-angular-grids", | ||
"/@syncfusion/ej2-filemanager", | ||
"/@syncfusion/ej2-gantt", | ||
"/@syncfusion/ej2-multicolumn-combobox", | ||
"/@syncfusion/ej2-pivotview", | ||
@@ -33,4 +31,4 @@ "/@syncfusion/ej2-react-grids", | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-28.1.33.tgz", | ||
"_shasum": "2fddbdd6da6f0cbc478834cb25ad7ad010569a81", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-28.1.35.tgz", | ||
"_shasum": "76188e75bcedd7f671e003f15ac23b88d1583117", | ||
"_spec": "@syncfusion/ej2-grids@*", | ||
@@ -44,7 +42,7 @@ "_where": "/jenkins/workspace/elease-automation_release_28.1.1/packages/included", | ||
"@syncfusion/ej2-base": "~28.1.33", | ||
"@syncfusion/ej2-buttons": "~28.1.33", | ||
"@syncfusion/ej2-calendars": "~28.1.35", | ||
"@syncfusion/ej2-buttons": "~28.1.36", | ||
"@syncfusion/ej2-calendars": "~28.1.36", | ||
"@syncfusion/ej2-compression": "~28.1.33", | ||
"@syncfusion/ej2-data": "~28.1.33", | ||
"@syncfusion/ej2-dropdowns": "~28.1.35", | ||
"@syncfusion/ej2-dropdowns": "~28.1.36", | ||
"@syncfusion/ej2-excel-export": "~28.1.33", | ||
@@ -54,3 +52,3 @@ "@syncfusion/ej2-file-utils": "~28.1.33", | ||
"@syncfusion/ej2-lists": "~28.1.33", | ||
"@syncfusion/ej2-navigations": "~28.1.35", | ||
"@syncfusion/ej2-navigations": "~28.1.36", | ||
"@syncfusion/ej2-notifications": "~28.1.33", | ||
@@ -85,5 +83,5 @@ "@syncfusion/ej2-pdf-export": "~28.1.33", | ||
"typings": "index.d.ts", | ||
"version": "28.1.35", | ||
"version": "28.1.36", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -324,2 +324,6 @@ import { EventHandler, closest, Browser, isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
} | ||
else if (this.parent.isColumnMenuFilterClosing) { | ||
this.parent.isColumnMenuFilterClosing = false; | ||
args.cancel = true; | ||
} | ||
}; | ||
@@ -599,2 +603,20 @@ ColumnMenu.prototype.isChooserItem = function (item) { | ||
filterPopup.style.display = !Browser.isDevice && isClose ? 'none' : 'block'; | ||
if (filterPopup.style.display !== 'none') { | ||
if (this.parent.filterSettings.type === 'Menu') { | ||
if (filterPopup.querySelector('.e-flmenu-input')) { | ||
filterPopup.querySelector('.e-flmenu-input').focus(); | ||
} | ||
else if (filterPopup.querySelector('.e-flmenu-valuediv')) { | ||
var firstElementChild = filterPopup.querySelector('.e-flmenu-valuediv').firstElementChild; | ||
if (!isNullOrUndefined(firstElementChild)) { | ||
firstElementChild.focus(); | ||
} | ||
} | ||
} | ||
else if (this.parent.filterSettings.type === 'CheckBox' || this.parent.filterSettings.type === 'Excel') { | ||
if (filterPopup.querySelector('.e-searchinput')) { | ||
filterPopup.querySelector('.e-searchinput').focus(); | ||
} | ||
} | ||
} | ||
} | ||
@@ -601,0 +623,0 @@ else { |
@@ -52,2 +52,3 @@ import { FilterSettings } from '../base/grid'; | ||
excelFilterBase: ExcelFilterBase; | ||
isDialogOpen?: boolean; | ||
}; | ||
@@ -83,4 +84,2 @@ /** @hidden */ | ||
inputList: InputArgs[]; | ||
/** @hidden */ | ||
isClearFiltering: boolean; | ||
/** | ||
@@ -87,0 +86,0 @@ * Constructor for Grid filtering module |
@@ -55,6 +55,7 @@ import { isNullOrUndefined, getValue, remove } from '@syncfusion/ej2-base'; | ||
var argument = { cancel: false, column: this.col, target: target, element: elem }; | ||
this.parent.notify(events.filterMenuClose, argument); | ||
if (argument.cancel) { | ||
this.parent.isColumnMenuFilterClosing = false; | ||
return; | ||
} | ||
this.parent.notify(events.filterMenuClose, argument); | ||
this.isDialogOpen = false; | ||
@@ -85,2 +86,5 @@ if (this.isMenuCheck) { | ||
} | ||
if (this.parent.isColumnMenuFilterClosing) { | ||
document.getElementById(this.parent.element.id + '_columnmenu').focus(); | ||
} | ||
} | ||
@@ -87,0 +91,0 @@ this.parent.notify(events.filterDialogClose, {}); |
@@ -140,11 +140,2 @@ import { remove, resetBlazorTemplate, blazorTemplates, getValue } from '@syncfusion/ej2-base'; | ||
} | ||
if (gObj.allowPaging && gObj.pageSettings.pageSizes && gObj.allowFiltering && gObj.pagerModule.pagerObj.isAllPage && | ||
typeof gObj.pageSettings.pageSizes === 'object' && gObj.pageSettings.pageSizes.indexOf('All') === -1 && | ||
(args.action === 'clear-filter' || args.action === 'clearFilter' || args.action === 'filter' || | ||
gObj.filterModule.isClearFiltering)) { | ||
gObj.pagerModule.pagerObj.isAllPage = false; | ||
} | ||
if (gObj.filterModule) { | ||
gObj.filterModule.isClearFiltering = false; | ||
} | ||
if (args.requestType === 'reorder' && _this.parent.dataSource && 'result' in _this.parent.dataSource) { | ||
@@ -151,0 +142,0 @@ _this.contentRenderer.refreshContentRows(args); |
@@ -376,3 +376,5 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
classList(this.links[parseInt(currentPage.toString(), 10)], ['e-currentitem', 'e-active'], []); | ||
this.links[parseInt(currentPage.toString(), 10)].setAttribute('aria-current', 'page'); | ||
if (this.links[parseInt(currentPage.toString(), 10)]) { | ||
this.links[parseInt(currentPage.toString(), 10)].setAttribute('aria-current', 'page'); | ||
} | ||
} | ||
@@ -379,0 +381,0 @@ }; |
@@ -142,2 +142,6 @@ import { createElement, remove } from '@syncfusion/ej2-base'; | ||
this.pagerModule.isAllPage = this.isPageSizeAll(value); | ||
if (this.pagerModule.isAllPage && typeof this.pagerModule.pageSizes === 'object' && | ||
this.pagerModule.pageSizes.indexOf('All') === -1) { | ||
this.pagerModule.isAllPage = false; | ||
} | ||
this.pagerModule.checkAll = (isbeforeAll && this.pagerModule.isAllPage) ? true : false; | ||
@@ -144,0 +148,0 @@ this.dropDownListObject["" + prop] = this.pagerModule.isAllPage ? this.pagerModule.getLocalizedLabel('All') : value; |
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
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
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
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 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 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 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 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 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 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 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 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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
44955362
525030