Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-grids

Package Overview
Dependencies
Maintainers
0
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.11 to 26.2.12

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 26.2.11
* version : 26.2.12
* 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.10",
"_id": "@syncfusion/ej2-grids@26.2.11",
"_inBundle": false,
"_integrity": "sha512-ROIaq5yzkVcYmC0Z9A9Sknua4WSsLbhpR4hb/t0Abhhb9dy1ldb2n06mIYnMxxHxhFGdyElwziFMTIkOO8KT9w==",
"_integrity": "sha512-yqiylWZfhzqJ3yionqs8vABAZFLP3f8tV/7Ig7KBDX9bAM414tqWYUO/YDm668Ap0kdRRbYyTS0oGUSZUaPJZw==",
"_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.10.tgz",
"_shasum": "615c6791a7801306c9dfd0668461940c37c7d23e",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-26.2.11.tgz",
"_shasum": "aa6551e4a129125c02f44418a53153addfb4bb01",
"_spec": "@syncfusion/ej2-grids@*",

@@ -44,3 +44,3 @@ "_where": "/jenkins/workspace/elease-automation_release_26.1.1/packages/included",

"@syncfusion/ej2-buttons": "~26.2.10",
"@syncfusion/ej2-calendars": "~26.2.11",
"@syncfusion/ej2-calendars": "~26.2.12",
"@syncfusion/ej2-compression": "~26.2.10",

@@ -53,3 +53,3 @@ "@syncfusion/ej2-data": "~26.2.10",

"@syncfusion/ej2-lists": "~26.2.11",
"@syncfusion/ej2-navigations": "~26.2.11",
"@syncfusion/ej2-navigations": "~26.2.12",
"@syncfusion/ej2-notifications": "~26.2.10",

@@ -84,5 +84,5 @@ "@syncfusion/ej2-pdf-export": "~26.2.11",

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

@@ -80,2 +80,6 @@ import { classList, addClass, removeClass, isNullOrUndefined, Browser } from '@syncfusion/ej2-base';

}
if (this.parent.enableAdaptiveUI) {
this.parent.on(events.renderResponsiveColumnChooserDiv, this.renderResponsiveColumnChooserDiv, this);
this.parent.on(events.renderResponsiveChangeAction, this.renderResponsiveChangeAction, this);
}
};

@@ -107,4 +111,4 @@ ColumnChooser.prototype.rtlUpdate = function () {

this.parent.on(events.resetColumns, this.onResetColumns, this);
this.parent.on(events.setFullScreenDialog, this.setFullScreenDialog, this);
if (this.parent.enableAdaptiveUI) {
this.parent.on(events.setFullScreenDialog, this.setFullScreenDialog, this);
this.parent.on(events.renderResponsiveColumnChooserDiv, this.renderResponsiveColumnChooserDiv, this);

@@ -111,0 +115,0 @@ this.parent.on(events.renderResponsiveChangeAction, this.renderResponsiveChangeAction, this);

@@ -600,5 +600,10 @@ import * as events from '../base/constant';

childGridObj.childGridLevel = gObj.childGridLevel + 1;
var args = { childGrid: childGridObj, row: row, exportProperties: excelExportProperties };
var childExportProperties = extend(excelExportProperties, {
columns: null,
dataSource: null,
query: null
});
var args = { childGrid: childGridObj, row: row, exportProperties: childExportProperties };
this.parent.trigger(events.exportDetailDataBound, args);
childGridObj.beforeDataBound = this.childGridCell(excelRow, childGridObj, excelExportProperties, row);
childGridObj.beforeDataBound = this.childGridCell(excelRow, childGridObj, childExportProperties, row);
childGridObj.appendTo(element);

@@ -605,0 +610,0 @@ }

@@ -82,5 +82,6 @@ import { EventHandler, detach, formatUnit, Browser, closest } from '@syncfusion/ej2-base';

}
var contentTable = this.parent.getContentTable();
if (this.parent.allowResizing && isMaxWidthCount && (this.parent.resizeSettings.mode === 'Auto' ||
(this.parent.resizeSettings.mode === 'Normal' && !this.parent.autoFit && newarray.length === 0))) {
this.widthService.setWidthToTable(isMaxWidthCount !== cols.length);
this.widthService.setWidthToTable(contentTable.style.width.indexOf('px') === -1);
}

@@ -90,2 +91,6 @@ else if (this.parent.autoFit && this.parent.resizeSettings.mode === 'Auto') {

}
if (contentTable.style.width.indexOf('px') !== -1
&& contentTable.getBoundingClientRect().width < contentTable.parentElement.clientWidth) {
addClass([this.parent.getHeaderTable(), contentTable], ['e-tableborder']);
}
};

@@ -92,0 +97,0 @@ Resize.prototype.getCellElementsByColumnIndex = function (columnIndex) {

@@ -6,2 +6,4 @@ import { IGrid, IAction, NotifyArgs } from '../base/interface';

export declare class Search implements IAction {
/** @hidden */
headerFocus: boolean;
private parent;

@@ -8,0 +10,0 @@ private refreshSearch;

@@ -1,2 +0,2 @@

import { extend, isNullOrUndefined } from '@syncfusion/ej2-base';
import { addClass, extend, isNullOrUndefined } from '@syncfusion/ej2-base';
import * as events from '../base/constant';

@@ -15,2 +15,5 @@ import { isActionPrevent } from '../base/util';

function Search(parent) {
//Internal variables
/** @hidden */
this.headerFocus = false;
this.parent = parent;

@@ -58,2 +61,3 @@ this.addEventListener();

if (searchString !== gObj.searchSettings.key) {
this.headerFocus = false;
// Check searchString is number and parseFloat to remove trailing zeros

@@ -76,2 +80,5 @@ if (searchString !== '' && !this.hasNonNumericCharacters(searchString)) {

}
else {
this.headerFocus = false;
}
};

@@ -156,2 +163,7 @@ /**

Search.prototype.onActionComplete = function (e) {
if (this.refreshSearch && e.requestType === 'refresh' && this.headerFocus) {
this.headerFocus = false;
this.parent.focusModule.focus();
addClass([this.parent.focusModule.currentInfo.element], ['e-focused']);
}
this.refreshSearch = e.requestType !== 'searching';

@@ -158,0 +170,0 @@ };

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

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 ? toolbarChildren[parseInt(index.toString(), 10)] : this.toolbar.element.querySelector('#' + item.id);
var toolbarEle = item.template && item.template.length ?
parentsUntil(this.toolbar.element.querySelector('#' + item.id), 'e-template').children[0] : this.toolbar.element.querySelector('#' + item.id);
if (toolbarEle) {

@@ -307,3 +306,2 @@ if (items.indexOf(item.id) > -1) {

}
index++;
}

@@ -401,7 +399,2 @@ 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++) {

@@ -413,2 +406,5 @@ var item = toolbarItems_1[_i];

}
if (this.parent.enableAdaptiveUI && ((typeof item === 'object' && item.text === 'Search') || item === 'Search')) {
items.push(this.getItemObject('responsiveBack'));
}
switch (typeof item) {

@@ -415,0 +411,0 @@ case 'number':

@@ -241,4 +241,12 @@ import { Browser, isNullOrUndefined } from '@syncfusion/ej2-base';

var frzLeftWidth = 0;
var diffWidth = sLeft - calWidth;
if (this.parent.isFrozenGrid()) {
frzLeftWidth = this.parent.leftrightColumnWidth('left');
if (diffWidth > 0) {
for (var i = 0; i < this.parent.getVisibleFrozenLeftCount(); i++) {
if (diffWidth <= this.cOffsets[parseInt(i.toString(), 10)]) {
frzLeftWidth = frzLeftWidth - this.cOffsets[parseInt(i.toString(), 10)];
}
}
}
if (this.parent.getFrozenMode() === literals.leftRight) {

@@ -252,3 +260,3 @@ var rightCol = this.parent.getVisibleFrozenRightCount();

var offsetVal = _this.cOffsets["" + offset];
var border = ((sLeft - calWidth) + frzLeftWidth) <= offsetVal && (left + calWidth) >= offsetVal;
var border = (diffWidth + frzLeftWidth) <= offsetVal && (left + calWidth) >= offsetVal;
if (border) {

@@ -255,0 +263,0 @@ indexes.push(iOffset);

@@ -226,7 +226,6 @@ import { isNullOrUndefined, addClass } from '@syncfusion/ej2-base';

var width = parseInt(column.width.toString(), 10);
if (column.minWidth && (width < parseInt(column.minWidth.toString(), 10)
|| (column.width === 'auto' && isNullOrUndefined(column.maxWidth)))) {
if (column.minWidth && width < parseInt(column.minWidth.toString(), 10)) {
return column.minWidth;
}
else if (column.maxWidth && (column.width === 'auto' || width > parseInt(column.maxWidth.toString(), 10))) {
else if (column.maxWidth && width > parseInt(column.maxWidth.toString(), 10)) {
return column.maxWidth;

@@ -233,0 +232,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 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 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

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