Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-grids

Package Overview
Dependencies
Maintainers
3
Versions
369
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-grids - npm Package Compare versions

Comparing version 26.2.7 to 26.2.8

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 26.2.7
* version : 26.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@26.2.5",
"_id": "@syncfusion/ej2-grids@26.2.7",
"_inBundle": false,
"_integrity": "sha512-Jbj+i2UgzRrR/pvqtAa3DBRKGUYc5FpJzp0Sk8jfSWTqdevccVhFtyHK6rP5Pi4w9nla6/AKHdYLi6Y2DF3S+A==",
"_integrity": "sha512-X/l5wL2Byk7I3gnK8F0DDTVleT0EwrZ3Sr0XsZe9CZ5vF6Zn/gxuaw/m0WDdFVYiBx/zyRc7knY5G9w2xFxgVA==",
"_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.5.tgz",
"_shasum": "c9bc361db5baa4fb0e91ba9d31a795151c4e5cf2",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-26.2.7.tgz",
"_shasum": "ca06c639210e135cfa7f81e30c90803a93931843",
"_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.7",
"@syncfusion/ej2-calendars": "~26.2.5",
"@syncfusion/ej2-buttons": "~26.2.8",
"@syncfusion/ej2-calendars": "~26.2.8",
"@syncfusion/ej2-compression": "~26.2.5",
"@syncfusion/ej2-data": "~26.2.5",
"@syncfusion/ej2-dropdowns": "~26.2.7",
"@syncfusion/ej2-dropdowns": "~26.2.8",
"@syncfusion/ej2-excel-export": "~26.2.5",

@@ -53,6 +53,6 @@ "@syncfusion/ej2-file-utils": "~26.2.5",

"@syncfusion/ej2-lists": "~26.2.5",
"@syncfusion/ej2-navigations": "~26.2.7",
"@syncfusion/ej2-navigations": "~26.2.8",
"@syncfusion/ej2-notifications": "~26.2.5",
"@syncfusion/ej2-pdf-export": "~26.2.5",
"@syncfusion/ej2-popups": "~26.2.5",
"@syncfusion/ej2-popups": "~26.2.8",
"@syncfusion/ej2-splitbuttons": "~26.2.5"

@@ -84,5 +84,5 @@ },

"typings": "index.d.ts",
"version": "26.2.7",
"version": "26.2.8",
"sideEffects": false,
"homepage": "https://www.syncfusion.com/javascript-ui-controls"
}

@@ -192,2 +192,3 @@ import { FilterSettings } from '../base/grid';

private checkAlreadyColFiltered;
private checkDateColumnValue;
private columnMenuFilter;

@@ -194,0 +195,0 @@ private filterDialogOpen;

@@ -117,3 +117,4 @@ import { extend, select } from '@syncfusion/ej2-base';

else if (!this.parent.enableVirtualization) {
this.previousData = extend({}, {}, this.parent.getForeignKeyColumns().length ? this.parent.getRowObjectFromUID(tr.getAttribute('data-uid')).data :
this.previousData = extend({}, {}, this.parent.getForeignKeyColumns().length ?
this.parent.getRowObjectFromUID(tr.getAttribute('data-uid')).data :
gObj.getCurrentViewRecords()[this.rowIndex], true);

@@ -120,0 +121,0 @@ }

@@ -216,5 +216,7 @@ 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);

@@ -221,0 +223,0 @@ };

@@ -1044,3 +1044,3 @@ import { Draggable, isNullOrUndefined } from '@syncfusion/ej2-base';

this.rows = gObj.getSelectedRows();
this.rowData = gObj.getSelectedRecords();
this.rowData = Array.from(this.rows, function (row) { return gObj.getRowObjectFromUID(row.getAttribute('data-uid')).data; });
}

@@ -1050,3 +1050,3 @@ }

this.rows = gObj.getSelectedRows();
this.rowData = gObj.getSelectedRecords();
this.rowData = Array.from(this.rows, function (row) { return gObj.getRowObjectFromUID(row.getAttribute('data-uid')).data; });
}

@@ -1053,0 +1053,0 @@ };

@@ -535,7 +535,7 @@ import { Browser, EventHandler } from '@syncfusion/ej2-base';

(groupHeaderEle ? groupHeaderEle.offsetHeight : 0);
var parentTop = this.parent.element.getClientRects()[0].top;
var top_1 = Math.floor(contentRect.top - (parentTop < 0 ? 0 : parentTop));
var parentTop = this.parentElement.getClientRects()[0].top;
var top_1 = contentRect.top - (parentTop < 0 ? 0 : parentTop);
var left = contentRect.left;
var colMenuEle = document.body.querySelector('#' + this.parent.element.id + '_columnmenu');
if (top_1 <= height && contentRect.bottom > 0) {
if (top_1 < height && contentRect.bottom > 0) {
headerEle.classList.add('e-sticky');

@@ -583,3 +583,2 @@ var elemTop = 0;

if (isAdd) {
ele.style.width = width + 'px';
ele.classList.add('e-sticky');

@@ -590,2 +589,3 @@ }

}
ele.style.width = width != null ? width + 'px' : '';
ele.style.top = top != null ? top + 'px' : '';

@@ -592,0 +592,0 @@ ele.style.left = left !== null ? parseInt(ele.style.left, 10) !== left ? left + 'px' : ele.style.left : '';

@@ -210,3 +210,6 @@ import { EventHandler, extend, isNullOrUndefined } from '@syncfusion/ej2-base';

if (this.parent.toolbarTemplate) {
if (typeof (this.parent.toolbarTemplate) === 'string') {
var isVue = this.parent.isVue
|| (this.parent.parentDetails && this.parent.parentDetails.parentInstObj && this.parent.parentDetails.parentInstObj.isVue);
if (typeof (this.parent.toolbarTemplate) === 'string'
&& !(isVue && !document.querySelectorAll(this.parent.toolbarTemplate).length)) {
this.toolbar.appendTo(this.parent.toolbarTemplate);

@@ -225,3 +228,3 @@ this.element = this.toolbar.element;

else {
appendChildren(this.element, templateCompiler(this.parent.toolbarTemplate)({}, this.parent, 'toolbarTemplate'));
appendChildren(this.element, templateCompiler(this.parent.toolbarTemplate)({}, this.parent, 'toolbarTemplate', null, null, null, null, this.parent.root));
}

@@ -228,0 +231,0 @@ }

@@ -865,3 +865,3 @@ var __extends = (this && this.__extends) || (function () {

else {
var element = this.options.column.getFilterTemplate()(data, this.parent, 'filterTemplate', tempID);
var element = this.options.column.getFilterTemplate()(data, this.parent, 'filterTemplate', tempID, null, null, null, this.parent.root);
appendChildren(valueDiv, element);

@@ -868,0 +868,0 @@ }

@@ -118,4 +118,5 @@ var __extends = (this && this.__extends) || (function () {

}
else if (this.parent.isVue) {
result = templateCompiler(gObj.groupSettings.captionTemplate)(data, this.parent);
else if (this.parent.isVue
|| (gObj.parentDetails && gObj.parentDetails.parentInstObj && gObj.parentDetails.parentInstObj.isVue)) {
result = templateCompiler(gObj.groupSettings.captionTemplate)(data, this.parent, 'captionTemplate', null, null, null, null, gObj.root);
}

@@ -122,0 +123,0 @@ else {

@@ -93,3 +93,3 @@ var __extends = (this && this.__extends) || (function () {

else {
appendChildren(node.firstElementChild, cell.column.getColumnTemplate()(data));
appendChildren(node.firstElementChild, cell.column.getColumnTemplate()(data, this.parent, 'commandsTemplate', null, null, null, null, this.parent.root));
}

@@ -96,0 +96,0 @@ }

@@ -73,3 +73,3 @@ var __extends = (this && this.__extends) || (function () {

else {
var element = column.getFilterTemplate()(fltrData, this.parent, 'filterTemplate', tempID);
var element = column.getFilterTemplate()(fltrData, this.parent, 'filterTemplate', tempID, null, null, null, this.parent.root);
appendChildren(node, element);

@@ -76,0 +76,0 @@ }

@@ -36,2 +36,3 @@ import { DropDownList } from '@syncfusion/ej2-dropdowns';

var optr = column.type + 'Operator';
var isFilterTemplate = column.filterTemplate;
this.optrData = this.customOptr = !isNullOrUndefined(operator) ? operator :

@@ -55,8 +56,19 @@ (!isNullOrUndefined(this.parent.filterSettings.operators) && !isNullOrUndefined(this.parent.filterSettings.operators["" + optr])) ?

var valInput = document.querySelector('.e-flmenu-valuediv').querySelector('input');
if (this.value === 'isempty' || this.value === 'isnotempty' ||
this.value === 'isnull' || this.value === 'isnotnull') {
valInput['ej2_instances'][0]['enabled'] = false;
if (!isFilterTemplate && !isNullOrUndefined(valInput['ej2_instances'])) {
if (this.value === 'isempty' || this.value === 'isnotempty' ||
this.value === 'isnotnull' || this.value === 'isnull') {
valInput['ej2_instances'][0]['enabled'] = false;
}
else if (!isNullOrUndefined(valInput.getAttribute('disabled'))) {
valInput['ej2_instances'][0]['enabled'] = true;
}
}
else if (!isNullOrUndefined(valInput.getAttribute('disabled'))) {
valInput['ej2_instances'][0]['enabled'] = 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'))) {
valInput.removeAttribute('disabled');
}
}

@@ -63,0 +75,0 @@ }

@@ -233,3 +233,3 @@ import { isNullOrUndefined, getValue, remove } from '@syncfusion/ej2-base';

else {
var compElement = column.getFilterTemplate()(fltrData, this.parent, 'filterTemplate', tempID);
var compElement = column.getFilterTemplate()(fltrData, this.parent, 'filterTemplate', tempID, null, null, null, this.parent.root);
appendChildren(valueDiv, compElement);

@@ -236,0 +236,0 @@ }

@@ -65,3 +65,3 @@ import { isNullOrUndefined, extend } from '@syncfusion/ej2-base';

var colIndex = gObj.getColumnIndexByField(col.field);
var result = col.getHeaderTemplate()(extend({ 'index': colIndex }, col), gObj, 'headerTemplate');
var result = col.getHeaderTemplate()(extend({ 'index': colIndex }, col), gObj, 'headerTemplate', null, null, null, null, gObj.root);
var isReactCompiler = gObj.isReact && typeof (col.headerTemplate) !== 'string';

@@ -68,0 +68,0 @@ var isReactChild = gObj.parentDetails && gObj.parentDetails.parentInstObj &&

@@ -354,3 +354,3 @@ import { remove, resetBlazorTemplate, blazorTemplates, getValue } from '@syncfusion/ej2-base';

spanCount + gObj.groupSettings.columns.length).toString() } });
if (gObj.isVue) {
if (gObj.isVue || (gObj.parentDetails && gObj.parentDetails.parentInstObj && gObj.parentDetails.parentInstObj.isVue)) {
td.appendChild(gObj.getEmptyRecordTemplate()(gObj.dataSource, gObj, 'emptyRecordTemplate', emptyRecordTemplateID, undefined, undefined, undefined, this.parent['root'])[1]);

@@ -357,0 +357,0 @@ }

@@ -83,3 +83,3 @@ var __extends = (this && this.__extends) || (function () {

else {
appendChildren(node, tempObj.fn(data[column.columnName], this.parent, tempObj.property, tempID));
appendChildren(node, tempObj.fn(data[column.columnName], this.parent, tempObj.property, tempID, null, null, null, this.parent.root));
}

@@ -86,0 +86,0 @@ return false;

@@ -92,3 +92,3 @@ import { createElement, append } from '@syncfusion/ej2-base';

regx = new regExp('\\{' + (i) + '\\}', 'gm');
str = str.replace(regx, args[parseInt(i.toString(), 10)].toString());
str = str.replace(regx, args[parseInt(i.toString(), 10)].toLocaleString(this.pagerModule.locale));
}

@@ -95,0 +95,0 @@ return str;

@@ -214,3 +214,3 @@ var __extends = (this && this.__extends) || (function () {

if (!this.hasParent) {
this.destroyTemplate(['template']);
this.destroyTemplate(['pagerTemplate']);
}

@@ -803,7 +803,7 @@ }

if (this.isReactTemplate() && !this.isVue) {
this.getPagerTemplate()(data, this, 'template', tempId, null, null, this.element);
this.getPagerTemplate()(data, this, 'pagerTemplate', tempId, null, null, this.element);
this.renderReactTemplates();
}
else {
result = this.isVue ? this.getPagerTemplate()(data, this, 'template', null, null, null, null, this.root)
result = this.isVue ? this.getPagerTemplate()(data, this, 'pagerTemplate', null, null, null, null, this.root)
: this.getPagerTemplate()(data);

@@ -810,0 +810,0 @@ appendChildren(this.element, result);

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc