@syncfusion/ej2-grids
Advanced tools
Comparing version 24.2.7 to 24.2.8
/*! | ||
* filename: index.d.ts | ||
* version : 24.2.7 | ||
* version : 24.2.8 | ||
* 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@24.2.5", | ||
"_id": "@syncfusion/ej2-grids@24.2.7", | ||
"_inBundle": false, | ||
"_integrity": "sha512-KZs2X7R0PGZKkWwY92akFissounnLsXFWlCX9pu+8qOxECOmv6XkP/TsX7mjwzNwqx2bbGbt/f6Vtr/ZcAey1A==", | ||
"_integrity": "sha512-ql02ZXwhbw62ucekmwT/C/yB/kBmZ5PuEk5gWRVkRoz7LKXo+z8/05zzkHGsjFLHowebnAFvdVMKhvB4W80/6A==", | ||
"_location": "/@syncfusion/ej2-grids", | ||
@@ -31,4 +31,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-24.2.5.tgz", | ||
"_shasum": "d9019e847a65e6203edc72f3b8642f76aec6eaad", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-24.2.7.tgz", | ||
"_shasum": "dcb916d4b0ddeb8712f8070fc049a8fd26dbeb5f", | ||
"_spec": "@syncfusion/ej2-grids@*", | ||
@@ -43,14 +43,14 @@ "_where": "/jenkins/workspace/elease-automation_release_24.1.1/packages/included", | ||
"@syncfusion/ej2-buttons": "~24.2.7", | ||
"@syncfusion/ej2-calendars": "~24.2.5", | ||
"@syncfusion/ej2-calendars": "~24.2.8", | ||
"@syncfusion/ej2-compression": "~24.2.3", | ||
"@syncfusion/ej2-data": "~24.2.3", | ||
"@syncfusion/ej2-dropdowns": "~24.2.7", | ||
"@syncfusion/ej2-dropdowns": "~24.2.8", | ||
"@syncfusion/ej2-excel-export": "~24.2.4", | ||
"@syncfusion/ej2-file-utils": "~24.2.3", | ||
"@syncfusion/ej2-inputs": "~24.2.7", | ||
"@syncfusion/ej2-lists": "~24.2.4", | ||
"@syncfusion/ej2-navigations": "~24.2.4", | ||
"@syncfusion/ej2-lists": "~24.2.8", | ||
"@syncfusion/ej2-navigations": "~24.2.8", | ||
"@syncfusion/ej2-notifications": "~24.2.4", | ||
"@syncfusion/ej2-pdf-export": "~24.2.3", | ||
"@syncfusion/ej2-popups": "~24.2.5", | ||
"@syncfusion/ej2-popups": "~24.2.8", | ||
"@syncfusion/ej2-splitbuttons": "~24.2.7" | ||
@@ -82,5 +82,5 @@ }, | ||
"typings": "index.d.ts", | ||
"version": "24.2.7", | ||
"version": "24.2.8", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -399,3 +399,3 @@ import { classList, addClass, removeClass, isNullOrUndefined, Browser } from '@syncfusion/ej2-base'; | ||
searchDiv.appendChild(ccsearchicon); | ||
this.searchBoxObj = new SearchBox(ccsearchele); | ||
this.searchBoxObj = new SearchBox(ccsearchele, this.serviceLocator); | ||
var innerDivContent = this.refreshCheckboxList(this.parent.getColumns()); | ||
@@ -463,2 +463,3 @@ this.innerDiv.appendChild(innerDivContent); | ||
this.hideColumn = []; | ||
this.changedColumns = []; | ||
this.hideDialog(); | ||
@@ -465,0 +466,0 @@ }; |
@@ -452,2 +452,5 @@ import { closest, addClass, select } from '@syncfusion/ej2-base'; | ||
Edit.prototype.dlgCancel = function () { | ||
if (this.parent.pagerModule) { | ||
this.parent.pagerModule.isForceCancel = false; | ||
} | ||
this.parent.focusModule.clearIndicator(); | ||
@@ -473,2 +476,5 @@ this.parent.focusModule.restoreFocus(); | ||
} | ||
if (this.parent.pagerModule) { | ||
this.parent.pagerModule.isForceCancel = false; | ||
} | ||
this.executeAction(); | ||
@@ -475,0 +481,0 @@ break; |
@@ -10,3 +10,4 @@ import { Pager } from '../../pager/pager'; | ||
private pageSettings; | ||
private isForceCancel; | ||
/** @hidden */ | ||
isForceCancel: boolean; | ||
private isInitialLoad; | ||
@@ -13,0 +14,0 @@ private isInitialRender; |
@@ -181,4 +181,8 @@ import { extend } from '@syncfusion/ej2-base'; | ||
gObj.notify(events.preventBatch, { instance: this, handler: this.setPageSize, arg1: e.newProp.pageSize }); | ||
this.pagerObj.pageSize = e.oldProp.pageSize; | ||
gObj.pageSettings.pageSize = e.newProp.pageSize; | ||
this.pagerObj.setProperties({ pageSize: e.oldProp.pageSize }, true); | ||
gObj.setProperties({ pageSettings: { pageSize: e.oldProp.pageSize } }, true); | ||
this.pagerObj.setProperties({ | ||
currentPage: gObj.pageSettings.currentPage === this.pagerObj.currentPage ? | ||
this.pagerObj.previousPageNo : gObj.pageSettings.currentPage | ||
}, true); | ||
} | ||
@@ -185,0 +189,0 @@ else if (e.currentPage) { |
@@ -216,4 +216,6 @@ import { print as printWindow, createElement, detach, classList, selectAll, extend } from '@syncfusion/ej2-base'; | ||
var contentColGroups = selectAll('.e-content colgroup', element); | ||
var footerColGroups = selectAll('.e-summarycontent colgroup', element); | ||
this.hideColGroup(colGroups, depth); | ||
this.hideColGroup(contentColGroups, depth); | ||
this.hideColGroup(footerColGroups, depth); | ||
}; | ||
@@ -220,0 +222,0 @@ Print.prototype.hideColGroup = function (colGroups, depth) { |
@@ -648,3 +648,3 @@ import { EventHandler, extend, isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
this.sIcon.classList.add('e-clear-icon'); | ||
this.sIcon.setAttribute('title', 'Clear'); | ||
this.sIcon.setAttribute('title', this.l10n.getConstant('ClearButton')); | ||
this.sIcon.style.cursor = 'pointer'; | ||
@@ -670,3 +670,3 @@ } | ||
if (this.searchElement) { | ||
this.searchBoxObj = new SearchBox(this.searchElement); | ||
this.searchBoxObj = new SearchBox(this.searchElement, this.serviceLocator); | ||
EventHandler.add(this.searchElement, 'keyup', this.keyUpHandler, this); | ||
@@ -673,0 +673,0 @@ this.searchBoxObj.wireEvent(); |
@@ -149,5 +149,7 @@ import { initialLoad } from '../base/constant'; | ||
var col = getColumnModelByUid(this.parent, inputs[parseInt(i.toString(), 10)].getAttribute('e-mappinguid')); | ||
var value = getValue(col.field, editedData); | ||
value = isNullOrUndefined(value) ? '' : value; | ||
inputs[parseInt(i.toString(), 10)].value = value; | ||
if (col.field) { | ||
var value = getValue(col.field, editedData); | ||
value = isNullOrUndefined(value) ? '' : value; | ||
inputs[parseInt(i.toString(), 10)].value = value; | ||
} | ||
} | ||
@@ -154,0 +156,0 @@ }; |
@@ -201,3 +201,3 @@ var __extends = (this && this.__extends) || (function () { | ||
} | ||
else if (e.key === 'ArrowUp' || e.key === 'ArrowDown') { | ||
else if ((e.key === 'ArrowUp' || e.key === 'ArrowDown') && !e.altKey) { | ||
e.preventDefault(); | ||
@@ -204,0 +204,0 @@ var focusableElements = Array.from(this.dlg.querySelectorAll('input, button, [tabindex]:not([tabindex="-1"]), .e-menu-item:not(.e-disabled):not(.e-separator)')); |
@@ -102,5 +102,9 @@ import { remove, resetBlazorTemplate, blazorTemplates, getValue } from '@syncfusion/ej2-base'; | ||
// Remove the dropped column name from groupsettings.columns if args.cancel is true | ||
var index = _this.parent.groupSettings.columns.indexOf(args.columnName); | ||
var index = gObj.groupSettings.columns.indexOf(args.columnName); | ||
if (index !== -1) { | ||
_this.parent.groupSettings.columns.splice(index, 1); | ||
gObj.setProperties({ groupSettings: { Columns: gObj.groupSettings.columns.splice(index, 1) } }, true); | ||
gObj.setProperties({ sortSettings: { Columns: gObj.sortSettings.columns.splice(index, 1) } }, true); | ||
var column = gObj.getColumnByField(args.columnName); | ||
var headerCell = gObj.getColumnHeaderByField(column.field); | ||
column.visible = (!isNullOrUndefined(headerCell) && !headerCell.classList.contains('e-hide')); | ||
} | ||
@@ -107,0 +111,0 @@ } |
@@ -7,2 +7,3 @@ import { KeyboardEventArgs } from '@syncfusion/ej2-base'; | ||
import { NotifyArgs } from '../base/interface'; | ||
import { ServiceLocator } from '../services/service-locator'; | ||
/** | ||
@@ -165,3 +166,5 @@ * FocusStrategy class | ||
searchBox: HTMLElement; | ||
constructor(searchBox: HTMLElement); | ||
private l10n; | ||
protected serviceLocator: ServiceLocator; | ||
constructor(searchBox: HTMLElement, serviceLocator?: ServiceLocator); | ||
searchFocus(args: { | ||
@@ -168,0 +171,0 @@ target: HTMLInputElement; |
@@ -760,7 +760,9 @@ var __extends = (this && this.__extends) || (function () { | ||
else { | ||
if (oldProp.pageSize && this.pageSize !== oldProp.pageSize) { | ||
this.isCancel = true; | ||
this.isCancel = true; | ||
if (oldProp && oldProp.pageSize) { | ||
this.setProperties({ pageSize: oldProp.pageSize }, true); | ||
this.pagerdropdownModule.setDropDownValue('value', oldProp.pageSize); | ||
this.pagerdropdownModule['dropDownListObject'].text = oldProp.pageSize + ''; | ||
if (this.pagerdropdownModule) { | ||
this.pagerdropdownModule.setDropDownValue('value', oldProp.pageSize); | ||
this.pagerdropdownModule['dropDownListObject'].text = oldProp.pageSize + ''; | ||
} | ||
} | ||
@@ -767,0 +769,0 @@ } |
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 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 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
37369889
378837