Socket
Socket
Sign inDemoInstall

@syncfusion/ej2-grids

Package Overview
Dependencies
Maintainers
0
Versions
372
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 27.1.48 to 27.1.50

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 27.1.48
* version : 27.1.50
* 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@1.193.11",
"_id": "@syncfusion/ej2-grids@27.1.48",
"_inBundle": false,
"_integrity": "sha512-xDZSqgfdwmScJUoMmIbaU0xpm1gwslpjmJh7Z8n/QQ1dXdpFr/xJkZj/tfRKsymLlSXcMJyqtYv6aK+iV9XDCw==",
"_integrity": "sha512-rFFMYDK5lS9thfozbiZaX2/2W5Jp17cIZ/wfHiRjGKrX86Qn5OjwvpcT4ikBHFHtZuBit3Dv3MeWWc93eJBvZw==",
"_location": "/@syncfusion/ej2-grids",

@@ -32,4 +32,4 @@ "_phantomChildren": {},

],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-grids/-/ej2-grids-1.193.11.tgz",
"_shasum": "82b36ec0283c13af5ba028a31d7788499a8a5929",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-grids/-/ej2-grids-27.1.48.tgz",
"_shasum": "52f89f99d8ca5ef34b93de7aa6ebe989c6465c4e",
"_spec": "@syncfusion/ej2-grids@*",

@@ -42,18 +42,17 @@ "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",

"dependencies": {
"@syncfusion/ej2-base": "~27.1.48",
"@syncfusion/ej2-buttons": "~27.1.48",
"@syncfusion/ej2-calendars": "~27.1.48",
"@syncfusion/ej2-compression": "~27.1.48",
"@syncfusion/ej2-data": "~27.1.48",
"@syncfusion/ej2-dropdowns": "~27.1.48",
"@syncfusion/ej2-excel-export": "~27.1.48",
"@syncfusion/ej2-file-utils": "~27.1.48",
"@syncfusion/ej2-inputs": "~27.1.48",
"@syncfusion/ej2-lists": "~27.1.48",
"@syncfusion/ej2-navigations": "~27.1.48",
"@syncfusion/ej2-notifications": "~27.1.48",
"@syncfusion/ej2-pdf-export": "~27.1.48",
"@syncfusion/ej2-popups": "~27.1.48",
"@syncfusion/ej2-splitbuttons": "~27.1.48",
"markdown-spellcheck": "^1.3.1"
"@syncfusion/ej2-base": "~27.1.50",
"@syncfusion/ej2-buttons": "~27.1.50",
"@syncfusion/ej2-calendars": "~27.1.50",
"@syncfusion/ej2-compression": "~27.1.50",
"@syncfusion/ej2-data": "~27.1.50",
"@syncfusion/ej2-dropdowns": "~27.1.50",
"@syncfusion/ej2-excel-export": "~27.1.50",
"@syncfusion/ej2-file-utils": "~27.1.50",
"@syncfusion/ej2-inputs": "~27.1.50",
"@syncfusion/ej2-lists": "~27.1.50",
"@syncfusion/ej2-navigations": "~27.1.50",
"@syncfusion/ej2-notifications": "~27.1.50",
"@syncfusion/ej2-pdf-export": "~27.1.50",
"@syncfusion/ej2-popups": "~27.1.50",
"@syncfusion/ej2-splitbuttons": "~27.1.50"
},

@@ -84,5 +83,5 @@ "deprecated": false,

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

@@ -399,3 +399,3 @@ import { extend, addClass, removeClass, setValue, closest, select, EventHandler } from '@syncfusion/ej2-base';

rowIndex: index,
rowData: data ? data : gObj.getSelectedRecords()[0],
rowData: data ? data : gObj.getSelectedRecords(),
cancel: false

@@ -408,3 +408,3 @@ };

else {
args.row = selectedRows[0];
args.row = selectedRows;
}

@@ -422,4 +422,8 @@ if (!args.row) {

beforeBatchDeleteArgs.row = beforeBatchDeleteArgs.row ?
beforeBatchDeleteArgs.row : data ? gObj.getRows()[parseInt(index.toString(), 10)] : selectedRows[0];
beforeBatchDeleteArgs.row : data ? gObj.getRows()[parseInt(index.toString(), 10)] :
selectedRows;
if (selectedRows.length === 1 || data) {
if (Array.isArray(beforeBatchDeleteArgs.row)) {
beforeBatchDeleteArgs.row = beforeBatchDeleteArgs.row[0];
}
var uid = beforeBatchDeleteArgs.row.getAttribute('data-uid');

@@ -457,3 +461,2 @@ uid = data && _this.parent.editModule.deleteRowUid ? uid = _this.parent.editModule.deleteRowUid : uid;

selectedRow.edit = 'delete';
delete selectedRows[parseInt(i.toString(), 10)];
if (gObj.frozenRows && index < gObj.frozenRows && gObj.getDataRows().length >= gObj.frozenRows) {

@@ -464,2 +467,3 @@ gObj.getHeaderTable().querySelector(literals.tbody).appendChild(gObj.getRowByIndex(gObj.frozenRows - 1));

}
delete beforeBatchDeleteArgs.row;
}

@@ -466,0 +470,0 @@ _this.refreshRowIdx();

@@ -816,3 +816,3 @@ import { closest, addClass, select } from '@syncfusion/ej2-base';

&& parentsUntil(e.target, literals.headerContent)))
&& !document.getElementsByClassName('e-popup-open').length) {
&& (!document.getElementsByClassName('e-popup-open').length || document.querySelectorAll('.e-popup-open .e-editcell').length)) {
e.preventDefault();

@@ -819,0 +819,0 @@ this.endEdit();

@@ -77,11 +77,13 @@ import { extend, isNullOrUndefined } from '@syncfusion/ej2-base';

for (var i = 0, len = cols.length; i < len; i++) {
if (cols[parseInt(i.toString(), 10)].visible) {
columnModel.push(cols[parseInt(i.toString(), 10)]);
if (!isNullOrUndefined(cols[parseInt(i.toString(), 10)])) {
if (cols[parseInt(i.toString(), 10)].visible) {
columnModel.push(cols[parseInt(i.toString(), 10)]);
}
else if (isNotStackedHeader) {
columnModel.push(cols[parseInt(i.toString(), 10)]);
}
if (cols[parseInt(i.toString(), 10)].columns) {
subCols = subCols.concat(cols[parseInt(i.toString(), 10)].columns);
}
}
else if (isNotStackedHeader) {
columnModel.push(cols[parseInt(i.toString(), 10)]);
}
if (cols[parseInt(i.toString(), 10)].columns) {
subCols = subCols.concat(cols[parseInt(i.toString(), 10)].columns);
}
}

@@ -88,0 +90,0 @@ if (subCols.length) {

@@ -304,3 +304,7 @@ import { IGrid, IAction, IIndex, ISelectedCell } from '../base/interface';

private refreshFrozenBorders;
private drawBorders;
/**
* @returns {void}
* @hidden
*/
drawBorders(): void;
private isLastCell;

@@ -307,0 +311,0 @@ private isLastRow;

@@ -115,3 +115,3 @@ import { L10n } from '@syncfusion/ej2-base';

fltrBtnHandler(): void;
private predicateIterate;
private complexQueryPredicate;
private infiniteFltrBtnHandler;

@@ -118,0 +118,0 @@ private notifyFilterPrevEvent;

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

mPredicate = new Predicate(field, firstOperator.toLowerCase(), arg.arg3, !matchCase, ignoreAccent);
if (!isNullOrUndefined(secondValue) && !isNullOrUndefined(secondOperator)) {
if (!isNullOrUndefined(secondOperator)) {
fColl.push({

@@ -643,0 +643,0 @@ field: field,

import { Column } from '../models/column';
import { IEditCell } from '../base/interface';
import { IEditCell, IGrid } from '../base/interface';
import { EditCellBase } from './edit-cell-base';

@@ -12,2 +12,4 @@ import { Edit } from '../actions/edit';

edit: Edit;
flag: boolean;
constructor(parent?: IGrid);
write(args: {

@@ -14,0 +16,0 @@ rowData: Object;

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

__extends(DatePickerEditCell, _super);
function DatePickerEditCell() {
return _super !== null && _super.apply(this, arguments) || this;
function DatePickerEditCell(parent) {
var _this = _super.call(this, parent) || this;
_this.flag = true;
return _this;
}

@@ -34,2 +36,6 @@ DatePickerEditCell.prototype.write = function (args) {

this.obj = new DatePicker(extend(dateanddatetimerender(args, this.parent.editSettings.mode, this.parent.enableRtl, this.parent.cssClass, this), args.column.edit.params));
if (this.flag) {
DatePicker.Inject(MaskedDateTime);
this.flag = false;
}
}

@@ -36,0 +42,0 @@ if (args.column.editType === 'datetimepickeredit') {

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

}
if (tr.querySelectorAll('.e-leftfreeze').length &&
if ((tr.querySelectorAll('.e-leftfreeze').length || tr.classList.contains('e-columnheader')) &&
(tr.querySelectorAll('.e-indentcell').length || tr.querySelectorAll('.e-grouptopleftcell').length)) {

@@ -290,0 +290,0 @@ var td = tr.querySelectorAll('.e-indentcell, .e-grouptopleftcell');

@@ -25,5 +25,5 @@ import { IGrid } from '../base/interface';

getWidth(column: Column): string | number;
getTableWidth(columns: Column[]): number | string;
getTableWidth(columns: Column[], resetIndentWidth?: boolean): number | string;
setWidthToTable(isMaxWidth?: boolean): void;
private isAutoResize;
}

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

};
ColumnWidthService.prototype.getTableWidth = function (columns) {
ColumnWidthService.prototype.getTableWidth = function (columns, resetIndentWidth) {
var tWidth = 0;

@@ -245,3 +245,3 @@ var isAutoColumn = false;

if (column.width === 'auto' || !column.width) {
if (this.parent.allowResizing) {
if (this.parent.allowResizing && !resetIndentWidth) {
if (!column.maxWidth) {

@@ -248,0 +248,0 @@ isAutoColumn = true;

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 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

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

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