New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-gantt

Package Overview
Dependencies
Maintainers
0
Versions
265
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-gantt - npm Package Compare versions

Comparing version 27.1.53 to 27.1.55

2

dist/global/index.d.ts
/*!
* filename: index.d.ts
* version : 27.1.53
* version : 27.1.55
* 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-gantt@*",
"_id": "@syncfusion/ej2-gantt@27.1.52",
"_id": "@syncfusion/ej2-gantt@27.1.53",
"_inBundle": false,
"_integrity": "sha512-WvrKSLXS7bmC6dJ0CDPVxt8pJXpVTWHboFBES5IqHeRlnoS9B+63IRl67lmND7xC4d3e3Kpl7726F0YSfOlaRg==",
"_integrity": "sha512-/z42fxDpI2NfEUa9hfsmtQ6mHZCXWc0WzGdDtusiO62rI8MNUd8Cv7JgSBXsAUuUDXVroVK2Omv+K+RXZRhEVQ==",
"_location": "/@syncfusion/ej2-gantt",

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

],
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-27.1.52.tgz",
"_shasum": "81a00082edf67f29a1bcbf9e5202db51df7e883d",
"_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-gantt/-/ej2-gantt-27.1.53.tgz",
"_shasum": "252e0b9aecf35c3665ca09ed81927e82019009af",
"_spec": "@syncfusion/ej2-gantt@*",

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

"dependencies": {
"@syncfusion/ej2-base": "~27.1.53",
"@syncfusion/ej2-base": "~27.1.55",
"@syncfusion/ej2-buttons": "~27.1.53",
"@syncfusion/ej2-calendars": "~27.1.52",
"@syncfusion/ej2-calendars": "~27.1.55",
"@syncfusion/ej2-data": "~27.1.52",
"@syncfusion/ej2-dropdowns": "~27.1.53",
"@syncfusion/ej2-grids": "~27.1.53",
"@syncfusion/ej2-inputs": "~27.1.50",
"@syncfusion/ej2-dropdowns": "~27.1.55",
"@syncfusion/ej2-grids": "~27.1.55",
"@syncfusion/ej2-inputs": "~27.1.55",
"@syncfusion/ej2-layouts": "~27.1.53",
"@syncfusion/ej2-lists": "~27.1.50",
"@syncfusion/ej2-navigations": "~27.1.53",
"@syncfusion/ej2-navigations": "~27.1.55",
"@syncfusion/ej2-notifications": "~27.1.50",
"@syncfusion/ej2-popups": "~27.1.53",
"@syncfusion/ej2-richtexteditor": "~27.1.52",
"@syncfusion/ej2-popups": "~27.1.55",
"@syncfusion/ej2-richtexteditor": "~27.1.55",
"@syncfusion/ej2-svg-base": "~27.1.50",
"@syncfusion/ej2-treegrid": "~27.1.53"
"@syncfusion/ej2-treegrid": "~27.1.55"
},

@@ -91,4 +91,4 @@ "deprecated": false,

"typings": "index.d.ts",
"version": "27.1.53",
"version": "27.1.55",
"sideEffects": false
}

@@ -673,62 +673,64 @@ import { isNullOrUndefined } from '@syncfusion/ej2-base';

var noSlackValue = 0 + ' ' + flatRecords[index].ganttProperties.durationUnit;
for (var i = predecessorLength.length - 1; i >= 0; i--) {
var toID = void 0;
if (this.parent.viewType === 'ProjectView') {
toID = this.parent.ids.indexOf(predecessorLength[i].to);
}
else {
toID = this.resourceCollectionIds.indexOf(predecessorLength[i].to);
}
var dateDifference = void 0;
var currentData = flatRecords[index].ganttProperties;
if (toID !== -1) {
if (predecessorLength[i].type === 'FS') {
if (predecessorLength[i].to !== currentData.taskId.toString() || this.parent.viewType === 'ResourceView') {
/* eslint-disable-next-line */
dateDifference = this.parent.dataOperation.getDuration(currentData.endDate, flatRecords[toID].ganttProperties.startDate, currentData.durationUnit, currentData.isAutoSchedule, currentData.isMilestone);
}
else {
toID = this.parent.ids.indexOf(predecessorLength[i].from);
if (predecessorLength && predecessorLength.length > 0) {
for (var i = predecessorLength.length - 1; i >= 0; i--) {
var toID = void 0;
if (this.parent.viewType === 'ProjectView') {
toID = this.parent.ids.indexOf(predecessorLength[i].to);
}
else {
toID = this.resourceCollectionIds.indexOf(predecessorLength[i].to);
}
var dateDifference = void 0;
var currentData = flatRecords[index].ganttProperties;
if (toID !== -1) {
if (predecessorLength[i].type === 'FS') {
if (predecessorLength[i].to !== currentData.taskId.toString() || this.parent.viewType === 'ResourceView') {
/* eslint-disable-next-line */
dateDifference = this.parent.dataOperation.getDuration(currentData.endDate, flatRecords[toID].ganttProperties.startDate, currentData.durationUnit, currentData.isAutoSchedule, currentData.isMilestone);
}
else {
toID = this.parent.ids.indexOf(predecessorLength[i].from);
if (toID !== -1) {
dateDifference = this.parent.dataOperation.getDuration(flatRecords[toID].ganttProperties.endDate, currentData.startDate, currentData.durationUnit, currentData.isAutoSchedule, currentData.isMilestone);
if (dateDifference === 0 && index !== toID && flatRecords[index].slack === noSlackValue) {
flatRecords[toID].slack = flatRecords[index].slack;
flatRecords[toID].ganttProperties.slack = flatRecords[index].slack;
}
}
}
if (toID !== -1) {
dateDifference = this.parent.dataOperation.getDuration(flatRecords[toID].ganttProperties.endDate, currentData.startDate, currentData.durationUnit, currentData.isAutoSchedule, currentData.isMilestone);
if (dateDifference === 0 && index !== toID && flatRecords[index].slack === noSlackValue) {
flatRecords[toID].slack = flatRecords[index].slack;
flatRecords[toID].ganttProperties.slack = flatRecords[index].slack;
if (dateDifference === 0 && index !== toID && flatRecords[index].slack !== noSlackValue) {
flatRecords[index].slack = flatRecords[toID].slack;
flatRecords[index].ganttProperties.slack = flatRecords[toID].slack;
}
else if (dateDifference !== 0 && index !== toID && flatRecords[toID].isCritical) {
flatRecords[index].slack = dateDifference + ' ' + flatRecords[index].ganttProperties.durationUnit;
flatRecords[index].ganttProperties.slack = dateDifference + ' ' + flatRecords[index].ganttProperties.durationUnit;
}
}
}
if (toID !== -1) {
if (dateDifference === 0 && index !== toID && flatRecords[index].slack !== noSlackValue) {
flatRecords[index].slack = flatRecords[toID].slack;
flatRecords[index].ganttProperties.slack = flatRecords[toID].slack;
}
else if (dateDifference !== 0 && index !== toID && flatRecords[toID].isCritical) {
flatRecords[index].slack = dateDifference + ' ' + flatRecords[index].ganttProperties.durationUnit;
flatRecords[index].ganttProperties.slack = dateDifference + ' ' + flatRecords[index].ganttProperties.durationUnit;
}
else if (predecessorLength[i].type === 'SF') {
/* eslint-disable-next-line */
dateDifference = this.parent.dataOperation.getDuration(currentData.startDate, flatRecords[toID].ganttProperties.endDate, currentData.durationUnit, currentData.isAutoSchedule, currentData.isMilestone);
}
else if (predecessorLength[i].type === 'SS') {
/* eslint-disable-next-line */
dateDifference = this.parent.dataOperation.getDuration(currentData.startDate, flatRecords[toID].ganttProperties.startDate, currentData.durationUnit, currentData.isAutoSchedule, currentData.isMilestone);
}
else {
/* eslint-disable-next-line */
dateDifference = this.parent.dataOperation.getDuration(currentData.endDate, flatRecords[toID].ganttProperties.endDate, currentData.durationUnit, currentData.isAutoSchedule, currentData.isMilestone);
}
if (typeof (flatRecords[index][this.parent.taskFields.id]) === 'number') {
predecessorFrom = parseInt(predecessorLength[i].from, 10);
}
else {
predecessorFrom = predecessorLength[i].from;
}
if (predecessorFrom === flatRecords[index][this.parent.taskFields.id] &&
flatRecords[toID].slack === noSlackValue && dateDifference <= 0) {
flatRecords[index].slack = noSlackValue;
flatRecords[index].ganttProperties.slack = noSlackValue;
}
}
else if (predecessorLength[i].type === 'SF') {
/* eslint-disable-next-line */
dateDifference = this.parent.dataOperation.getDuration(currentData.startDate, flatRecords[toID].ganttProperties.endDate, currentData.durationUnit, currentData.isAutoSchedule, currentData.isMilestone);
}
else if (predecessorLength[i].type === 'SS') {
/* eslint-disable-next-line */
dateDifference = this.parent.dataOperation.getDuration(currentData.startDate, flatRecords[toID].ganttProperties.startDate, currentData.durationUnit, currentData.isAutoSchedule, currentData.isMilestone);
}
else {
/* eslint-disable-next-line */
dateDifference = this.parent.dataOperation.getDuration(currentData.endDate, flatRecords[toID].ganttProperties.endDate, currentData.durationUnit, currentData.isAutoSchedule, currentData.isMilestone);
}
if (typeof (flatRecords[index][this.parent.taskFields.id]) === 'number') {
predecessorFrom = parseInt(predecessorLength[i].from, 10);
}
else {
predecessorFrom = predecessorLength[i].from;
}
if (predecessorFrom === flatRecords[index][this.parent.taskFields.id] &&
flatRecords[toID].slack === noSlackValue && dateDifference <= 0) {
flatRecords[index].slack = noSlackValue;
flatRecords[index].ganttProperties.slack = noSlackValue;
}
}

@@ -748,3 +750,4 @@ }

}
if (flatRecords[index].ganttProperties.predecessor.length > 0) {
if (flatRecords[index].ganttProperties.predecessor &&
flatRecords[index].ganttProperties.predecessor.length > 0) {
this.updateCriticalTasks(flatRecords[index], criticalPathIds);

@@ -751,0 +754,0 @@ }

@@ -223,3 +223,3 @@ import { Gantt } from '../base/gantt';

*/
collapseGanttRow(args: object, isCancel?: boolean): void;
collapseGanttRow(args: object): void;
/**

@@ -239,3 +239,3 @@ * @returns {void} .

*/
expandGanttRow(args: object, isCancel?: boolean): void;
expandGanttRow(args: object): void;
/**

@@ -242,0 +242,0 @@ * @returns {void} .

@@ -490,2 +490,6 @@ var __assign = (this && this.__assign) || function () {

taskbar.baselineWidth = ganttProp.baselineWidth;
if (taskbar.baselineLeft < 0) {
taskbar.baselineWidth = taskbar.baselineWidth + taskbar.baselineLeft;
taskbar.baselineLeft = 0;
}
taskbar.milestoneColor = new PdfColor(_this.ganttStyle.taskbar.milestoneColor);

@@ -492,0 +496,0 @@ taskbar.isParentTask = data.hasChildRecords;

@@ -137,3 +137,3 @@ import { createElement, isNullOrUndefined, isObject, remove } from '@syncfusion/ej2-base';

this.parent.ganttChartModule.getChartRows()[0] &&
this.parent.ganttChartModule.getChartRows()[0].getBoundingClientRect().height;
this.parent.ganttChartModule.getChartRows()[0].offsetHeight;
connectorObj.type = predecessor.type;

@@ -140,0 +140,0 @@ var parentId = this.parent.viewType === 'ResourceView' ? parentGanttRecord.taskId : parentGanttRecord.rowUniqueID;

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

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