@syncfusion/ej2-grids
Advanced tools
Comparing version 26.2.8 to 26.2.9
/*! | ||
* filename: index.d.ts | ||
* version : 26.2.8 | ||
* version : 26.2.9 | ||
* 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.2.7", | ||
"_id": "@syncfusion/ej2-grids@26.2.8", | ||
"_inBundle": false, | ||
"_integrity": "sha512-X/l5wL2Byk7I3gnK8F0DDTVleT0EwrZ3Sr0XsZe9CZ5vF6Zn/gxuaw/m0WDdFVYiBx/zyRc7knY5G9w2xFxgVA==", | ||
"_integrity": "sha512-SYGnvnQ2i6x+/YV0v7t+2JStvVLSSmRe7Mx1JywmIiTs/nhV0h19cio87Fz7eU2xqpe9H9YgoigCaotEN4PBbw==", | ||
"_location": "/@syncfusion/ej2-grids", | ||
@@ -32,4 +32,4 @@ "_phantomChildren": {}, | ||
], | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-26.2.7.tgz", | ||
"_shasum": "ca06c639210e135cfa7f81e30c90803a93931843", | ||
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-26.2.8.tgz", | ||
"_shasum": "c7b174515023b8022609c730e51e3ee9b376ee0d", | ||
"_spec": "@syncfusion/ej2-grids@*", | ||
@@ -43,7 +43,7 @@ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included", | ||
"@syncfusion/ej2-base": "~26.2.5", | ||
"@syncfusion/ej2-buttons": "~26.2.8", | ||
"@syncfusion/ej2-buttons": "~26.2.9", | ||
"@syncfusion/ej2-calendars": "~26.2.8", | ||
"@syncfusion/ej2-compression": "~26.2.5", | ||
"@syncfusion/ej2-data": "~26.2.5", | ||
"@syncfusion/ej2-dropdowns": "~26.2.8", | ||
"@syncfusion/ej2-data": "~26.2.9", | ||
"@syncfusion/ej2-dropdowns": "~26.2.9", | ||
"@syncfusion/ej2-excel-export": "~26.2.5", | ||
@@ -83,5 +83,5 @@ "@syncfusion/ej2-file-utils": "~26.2.5", | ||
"typings": "index.d.ts", | ||
"version": "26.2.8", | ||
"version": "26.2.9", | ||
"sideEffects": false, | ||
"homepage": "https://www.syncfusion.com/javascript-ui-controls" | ||
} |
@@ -216,7 +216,5 @@ import { print as printWindow, createElement, detach, classList, selectAll, extend } from '@syncfusion/ej2-base'; | ||
var contentColGroups = selectAll('.e-content colgroup', element); | ||
var headerColGroups = selectAll('.e-headercontent', element); | ||
var footerColGroups = selectAll('.e-summarycontent colgroup', element); | ||
this.hideColGroup(colGroups, depth); | ||
this.hideColGroup(contentColGroups, depth); | ||
this.hideColGroup(headerColGroups, depth); | ||
this.hideColGroup(footerColGroups, depth); | ||
@@ -223,0 +221,0 @@ }; |
@@ -205,3 +205,4 @@ import { isNullOrUndefined, remove } from '@syncfusion/ej2-base'; | ||
else if (this.parent.allowResizing && this.parent.resizeSettings.mode === 'Normal') { | ||
this.widthService.setWidthToTable(); | ||
var isMaxWidth = this.parent.getHeaderTable().style.width.indexOf('px') === -1; | ||
this.widthService.setWidthToTable(isMaxWidth); | ||
} | ||
@@ -208,0 +209,0 @@ } |
@@ -82,3 +82,5 @@ import { EventHandler, extend, isNullOrUndefined } from '@syncfusion/ej2-base'; | ||
} | ||
if (this.parent.enableAdaptiveUI && this.parent.toolbar && this.parent.toolbar.indexOf('Search') > -1) { | ||
if (this.parent.enableAdaptiveUI && this.parent.toolbar && this.parent.toolbar.some(function (item) { | ||
return (typeof item === 'object' && item.text === 'Search') || item === 'Search'; | ||
})) { | ||
this.predefinedItems.responsiveBack = { | ||
@@ -282,5 +284,7 @@ id: this.gridID + '_' + 'responsiveback', cssClass: 'e-gridresponsiveicons e-icons', | ||
var excludingItems = [id + '_responsiveback', id + '_update', id + '_cancel']; | ||
var index = 0; | ||
var toolbarChildren = this.toolbar.element.children[0].children; | ||
for (var _i = 0, _a = this.toolbar.items; _i < _a.length; _i++) { | ||
var item = _a[_i]; | ||
var toolbarEle = item.template && item.template.length ? this.toolbar.element.querySelector(item.template) : this.toolbar.element.querySelector('#' + item.id); | ||
var toolbarEle = item.template && item.template.length ? toolbarChildren[parseInt(index.toString(), 10)] : this.toolbar.element.querySelector('#' + item.id); | ||
if (toolbarEle) { | ||
@@ -304,2 +308,3 @@ if (items.indexOf(item.id) > -1) { | ||
} | ||
index++; | ||
} | ||
@@ -397,2 +402,7 @@ if (this.searchElement) { | ||
} | ||
if (this.parent.enableAdaptiveUI && this.parent.toolbar && this.parent.toolbar.some(function (item) { | ||
return (typeof item === 'object' && item.text === 'Search') || item === 'Search'; | ||
})) { | ||
items.push(this.getItemObject('responsiveBack')); | ||
} | ||
for (var _i = 0, toolbarItems_1 = toolbarItems; _i < toolbarItems_1.length; _i++) { | ||
@@ -415,5 +425,2 @@ var item = toolbarItems_1[_i]; | ||
} | ||
if (this.parent.enableAdaptiveUI && this.parent.toolbar && this.parent.toolbar.indexOf('Search') > -1) { | ||
items.push(this.getItemObject('responsiveBack')); | ||
} | ||
if (this.parent.enableAdaptiveUI && this.isResponsiveToolbarMenuItems(false)) { | ||
@@ -420,0 +427,0 @@ items.push(this.getItemObject('responsiveToolbarItems')); |
@@ -36,3 +36,2 @@ import { DropDownList } from '@syncfusion/ej2-dropdowns'; | ||
var optr = column.type + 'Operator'; | ||
var isFilterTemplate = column.filterTemplate; | ||
this.optrData = this.customOptr = !isNullOrUndefined(operator) ? operator : | ||
@@ -56,17 +55,16 @@ (!isNullOrUndefined(this.parent.filterSettings.operators) && !isNullOrUndefined(this.parent.filterSettings.operators["" + optr])) ? | ||
var valInput = document.querySelector('.e-flmenu-valuediv').querySelector('input'); | ||
if (!isFilterTemplate && !isNullOrUndefined(valInput['ej2_instances'])) { | ||
if (this.value === 'isempty' || this.value === 'isnotempty' || | ||
this.value === 'isnotnull' || this.value === 'isnull') { | ||
if (this.value === 'isempty' || this.value === 'isnotempty' || | ||
this.value === 'isnotnull' || this.value === 'isnull') { | ||
if (!isNullOrUndefined(valInput['ej2_instances'])) { | ||
valInput['ej2_instances'][0]['enabled'] = false; | ||
} | ||
else if (!isNullOrUndefined(valInput.getAttribute('disabled'))) { | ||
valInput['ej2_instances'][0]['enabled'] = true; | ||
else { | ||
valInput.setAttribute('disabled', 'true'); | ||
} | ||
} | ||
else { | ||
if (this.value === 'isempty' || this.value === 'isnotempty' || | ||
this.value === 'isnotnull' || this.value === 'isnull') { | ||
valInput.setAttribute('disabled', 'true'); | ||
else if (!isNullOrUndefined(valInput.getAttribute('disabled'))) { | ||
if (!isNullOrUndefined(valInput['ej2_instances'])) { | ||
valInput['ej2_instances'][0]['enabled'] = true; | ||
} | ||
else if (!isNullOrUndefined(valInput.getAttribute('disabled'))) { | ||
else { | ||
valInput.removeAttribute('disabled'); | ||
@@ -73,0 +71,0 @@ } |
@@ -262,5 +262,8 @@ var __extends = (this && this.__extends) || (function () { | ||
data = dataSource; | ||
agrVal = calculateAggregate(type, data, aggregateRows[parseInt(i.toString(), 10)] | ||
.columns[parseInt(j.toString(), 10)], this.parent); | ||
aggregate[aggregateRows[parseInt(i.toString(), 10)].columns[parseInt(j.toString(), 10)].field + ' - ' + type.toLowerCase()] = agrVal; | ||
var types = type.split(',').map(function (t) { return t.trim(); }); | ||
for (var _i = 0, types_1 = types; _i < types_1.length; _i++) { | ||
var aggregateType = types_1[_i]; | ||
agrVal = calculateAggregate(aggregateType, data, aggregateRows[parseInt(i.toString(), 10)].columns[parseInt(j.toString(), 10)], this.parent); | ||
aggregate[aggregateRows[parseInt(i.toString(), 10)].columns[parseInt(j.toString(), 10)].field + ' - ' + aggregateType.toLowerCase()] = agrVal; | ||
} | ||
} | ||
@@ -267,0 +270,0 @@ } |
@@ -217,2 +217,5 @@ import { isNullOrUndefined, addClass } from '@syncfusion/ej2-base'; | ||
} | ||
else if (column.minWidth) { | ||
column.width = column.minWidth; | ||
} | ||
} | ||
@@ -223,3 +226,4 @@ if (!column.width) { | ||
var width = parseInt(column.width.toString(), 10); | ||
if (column.minWidth && width < parseInt(column.minWidth.toString(), 10)) { | ||
if (column.minWidth && (width < parseInt(column.minWidth.toString(), 10) | ||
|| (column.width === 'auto' && isNullOrUndefined(column.maxWidth)))) { | ||
return column.minWidth; | ||
@@ -226,0 +230,0 @@ } |
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 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
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
392570
38110646
538