Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@syncfusion/ej2-react-gantt

Package Overview
Dependencies
Maintainers
3
Versions
257
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@syncfusion/ej2-react-gantt - npm Package Compare versions

Comparing version 18.3.40 to 18.3.42

19

CHANGELOG.md

@@ -7,2 +7,21 @@ # Changelog

#### Bug Fixes
- `#296920` - Issue on rendering Gantt with resources has been fixed.
- `F158128` - Issue on updating DB on `indent` and `outdent` action has been fixed.
- `#291962` - Dates are not filtered with given date format issue has been fixed.
- `#295998` - Events are not triggered properly while perform zoom to fit actions has been fixed.
## 18.3.35 (2020-10-01)
### Gantt
#### Bug Fixes
- `#293528` - Issue when work value is given as decimal values has been fixed.
## 18.2.59 (2020-09-21)
### Gantt
#### New Features

@@ -9,0 +28,0 @@

4

dist/ej2-react-gantt.umd.min.js
/*!
* filename: ej2-react-gantt.umd.min.js
* version : 18.3.40
* version : 18.3.42
* Copyright Syncfusion Inc. 2001 - 2020. All rights reserved.

@@ -10,3 +10,3 @@ * Use of this code is subject to the terms of our license.

*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-gantt")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-gantt"],e):e(t.ej={},t.ej2ReactBase,t.React,t.ej2Gantt)}(this,function(t,e,n,o){"use strict";var r=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.moduleName="column",e}(e.ComplexBase),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.propertyName="columns",e.moduleName="columns",e}(e.ComplexBase),c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.moduleName="addDialogField",e}(e.ComplexBase),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.propertyName="addDialogFields",e.moduleName="addDialogFields",e}(e.ComplexBase),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.moduleName="editDialogField",e}(e.ComplexBase),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.propertyName="editDialogFields",e.moduleName="editDialogFields",e}(e.ComplexBase),y=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.moduleName="dayWorkingTime",e}(e.ComplexBase),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.propertyName="dayWorkingTime",e.moduleName="dayWorkingTimeCollection",e}(e.ComplexBase),_=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return _(e,t),e.moduleName="holiday",e}(e.ComplexBase),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return _(e,t),e.propertyName="holidays",e.moduleName="holidays",e}(e.ComplexBase),O=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.moduleName="eventMarker",e}(e.ComplexBase),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.propertyName="eventMarkers",e.moduleName="eventMarkers",e}(e.ComplexBase),g=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),C=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},n.immediateRender=!1,n}return g(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing))return n.createElement("div",this.getDefaultAttributes(),this.props.children);t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Gantt);e.applyMixins(C,[e.ComponentBase,n.PureComponent]),t.Inject=e.Inject,t.ColumnDirective=i,t.ColumnsDirective=u,t.AddDialogFieldDirective=a,t.AddDialogFieldsDirective=l,t.EditDialogFieldDirective=s,t.EditDialogFieldsDirective=f,t.DayWorkingTimeDirective=d,t.DayWorkingTimeCollectionDirective=m,t.HolidayDirective=h,t.HolidaysDirective=v,t.EventMarkerDirective=D,t.EventMarkersDirective=j,t.GanttComponent=C,Object.keys(o).forEach(function(e){t[e]=o[e]}),Object.defineProperty(t,"__esModule",{value:!0})});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-gantt")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-gantt"],e):e(t.ej={},t.ej2ReactBase,t.React,t.ej2Gantt)}(this,function(t,e,n,o){"use strict";var r=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.moduleName="column",e}(e.ComplexBase),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.propertyName="columns",e.moduleName="columns",e}(e.ComplexBase),c=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.moduleName="addDialogField",e}(e.ComplexBase),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return c(e,t),e.propertyName="addDialogFields",e.moduleName="addDialogFields",e}(e.ComplexBase),p=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),s=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.moduleName="editDialogField",e}(e.ComplexBase),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return p(e,t),e.propertyName="editDialogFields",e.moduleName="editDialogFields",e}(e.ComplexBase),y=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),d=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.moduleName="dayWorkingTime",e}(e.ComplexBase),m=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return y(e,t),e.propertyName="dayWorkingTime",e.moduleName="dayWorkingTimeCollection",e}(e.ComplexBase),h=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),_=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.moduleName="holiday",e}(e.ComplexBase),v=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return h(e,t),e.propertyName="holidays",e.moduleName="holidays",e}(e.ComplexBase),O=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),D=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.moduleName="eventMarker",e}(e.ComplexBase),j=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return O(e,t),e.propertyName="eventMarkers",e.moduleName="eventMarkers",e}(e.ComplexBase),g=function(){var t=function(e,n){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])})(e,n)};return function(e,n){function o(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),C=function(t){function e(e){var n=t.call(this,e)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},n.immediateRender=!1,n.portals=[],n}return g(e,t),e.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},e}(o.Gantt);e.applyMixins(C,[e.ComponentBase,n.Component]),t.Inject=e.Inject,t.ColumnDirective=i,t.ColumnsDirective=u,t.AddDialogFieldDirective=a,t.AddDialogFieldsDirective=l,t.EditDialogFieldDirective=s,t.EditDialogFieldsDirective=f,t.DayWorkingTimeDirective=d,t.DayWorkingTimeCollectionDirective=m,t.HolidayDirective=_,t.HolidaysDirective=v,t.EventMarkerDirective=D,t.EventMarkersDirective=j,t.GanttComponent=C,Object.keys(o).forEach(function(e){t[e]=o[e]}),Object.defineProperty(t,"__esModule",{value:!0})});
//# sourceMappingURL=ej2-react-gantt.umd.min.js.map
import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
import { PureComponent, createElement } from 'react';
import { Component, createElement } from 'react';
import { Gantt } from '@syncfusion/ej2-gantt';

@@ -137,5 +137,6 @@

this.immediateRender = false;
this.portals = [];
}
render() {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
super.render();

@@ -145,7 +146,7 @@ this.initRenderCalled = true;

else {
return createElement('div', this.getDefaultAttributes(), this.props.children);
return createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));
}
}
}
applyMixins(GanttComponent, [ComponentBase, PureComponent]);
applyMixins(GanttComponent, [ComponentBase, Component]);

@@ -152,0 +153,0 @@ export { ColumnDirective, ColumnsDirective, AddDialogFieldDirective, AddDialogFieldsDirective, EditDialogFieldDirective, EditDialogFieldsDirective, DayWorkingTimeDirective, DayWorkingTimeCollectionDirective, HolidayDirective, HolidaysDirective, EventMarkerDirective, EventMarkersDirective, GanttComponent };

{
"_from": "@syncfusion/ej2-react-gantt@*",
"_id": "@syncfusion/ej2-react-gantt@18.2.57",
"_id": "@syncfusion/ej2-react-gantt@18.3.40",
"_inBundle": false,
"_integrity": "sha512-umyhrxWamr/3nfZGKj2rjlPGKhqKezBv8DBv6Bzda4WEVna5a5kwaR2h6WpOzRTW21RADJnj+bCSzjclGlES4A==",
"_integrity": "sha512-9UJiwyCl+Ys5vnpALr6Og0kjmcJ/mJuDERcfXOkLtigsisqgtJoXDpdUDJz/sPVjpibjKt21fSsB39U5pILBYg==",
"_location": "/@syncfusion/ej2-react-gantt",

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

],
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-react-gantt/-/ej2-react-gantt-18.2.57.tgz",
"_shasum": "531b0ff491ad8beabe259471dd22f5343ac6f3c6",
"_resolved": "http://nexus.syncfusion.com/repository/ej2-hotfix/@syncfusion/ej2-react-gantt/-/ej2-react-gantt-18.3.40.tgz",
"_shasum": "81dfa6b3f8d1c8c34999ec10764f9c05bbb6f11e",
"_spec": "@syncfusion/ej2-react-gantt@*",

@@ -36,3 +36,3 @@ "_where": "/jenkins/workspace/automation_release_18.1.0.1-52JLNOGRCDHXRVQM3W564VPLFCPHWUYDYU3I3DVRABSR7F6AIFYQ/packages/included",

"@syncfusion/ej2-base": "~18.3.40",
"@syncfusion/ej2-gantt": "18.3.40",
"@syncfusion/ej2-gantt": "18.3.42",
"@syncfusion/ej2-react-base": "~18.3.37"

@@ -68,4 +68,4 @@ },

},
"version": "18.3.40",
"version": "18.3.42",
"sideEffects": false
}

@@ -39,2 +39,3 @@ import * as React from 'react';

context: Object;
portals: any;
isReactComponent: Object;

@@ -41,0 +42,0 @@ refs: {

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

_this.immediateRender = false;
_this.portals = [];
return _this;
}
GanttComponent.prototype.render = function () {
if ((this.element && !this.initRenderCalled) || this.refreshing) {
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
_super.prototype.render.call(this);

@@ -40,3 +41,3 @@ this.initRenderCalled = true;

else {
return React.createElement('div', this.getDefaultAttributes(), this.props.children);
return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));
}

@@ -47,2 +48,2 @@ };

export { GanttComponent };
applyMixins(GanttComponent, [ComponentBase, React.PureComponent]);
applyMixins(GanttComponent, [ComponentBase, React.Component]);

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