@syncfusion/ej2-react-gantt 27.1.53 → 27.1.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-gantt.min.js
3
- * version : 27.1.53
3
+ * version : 27.1.56
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionGantt")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionGantt"],t):"object"==typeof exports?exports.SyncfusionReactGantt=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionGantt")):e.SyncfusionReactGantt=t(e.SyncfusionReactBase,e.React,e.SyncfusionGantt)}(self,((e,t,n)=>(()=>{"use strict";var o={106:(e,t,n)=>{n.d(t,{Gg:()=>l,Xb:()=>p,iK:()=>u,SR:()=>c,Qm:()=>_,nt:()=>m,q0:()=>f,J_:()=>y,sy:()=>x,tI:()=>C,Hq:()=>P,Tx:()=>k,Ai:()=>O,BF:()=>v,Mh:()=>D});var o,r=n(705),i=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},o(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.moduleName="column",t}(r.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="columns",t.moduleName="columns",t}(r.ComplexBase),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="addDialogField",t}(r.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.propertyName="addDialogFields",t.moduleName="addDialogFields",t}(r.ComplexBase),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.moduleName="editDialogField",t}(r.ComplexBase),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.propertyName="editDialogFields",t.moduleName="editDialogFields",t}(r.ComplexBase),d=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.moduleName="dayWorkingTime",t}(r.ComplexBase),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.propertyName="dayWorkingTime",t.moduleName="dayWorkingTimeCollection",t}(r.ComplexBase),h=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.moduleName="weekWorkingTime",t}(r.ComplexBase),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.propertyName="weekWorkingTime",t.moduleName="weekWorkingTimes",t}(r.ComplexBase),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.moduleName="holiday",t}(r.ComplexBase),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.propertyName="holidays",t.moduleName="holidays",t}(r.ComplexBase),b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.moduleName="eventMarker",t}(r.ComplexBase),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.propertyName="eventMarkers",t.moduleName="eventMarkers",t}(r.ComplexBase),j=n(24),T=n(31),w=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),P=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",weekWorkingTimes:"weekWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return w(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return j.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(T.Gantt);(0,r.applyMixins)(P,[r.ComponentBase,j.Component])},24:e=>{e.exports=t},31:e=>{e.exports=n},705:t=>{t.exports=e}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{i.r(u),i.d(u,{AddDialogFieldDirective:()=>e.Gg,AddDialogFieldsDirective:()=>e.Xb,ColumnDirective:()=>e.iK,ColumnsDirective:()=>e.SR,DayWorkingTimeCollectionDirective:()=>e.Qm,DayWorkingTimeDirective:()=>e.nt,EditDialogFieldDirective:()=>e.q0,EditDialogFieldsDirective:()=>e.J_,EventMarkerDirective:()=>e.sy,EventMarkersDirective:()=>e.tI,GanttComponent:()=>e.Hq,HolidayDirective:()=>e.Tx,HolidaysDirective:()=>e.Ai,Inject:()=>t.Inject,WeekWorkingTimeDirective:()=>e.BF,WeekWorkingTimesDirective:()=>e.Mh});var e=i(106),t=i(705),n=i(31),o={};for(const e in n)["default","Inject","AddDialogFieldDirective","AddDialogFieldsDirective","ColumnDirective","ColumnsDirective","DayWorkingTimeCollectionDirective","DayWorkingTimeDirective","EditDialogFieldDirective","EditDialogFieldsDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","HolidayDirective","HolidaysDirective","WeekWorkingTimeDirective","WeekWorkingTimesDirective"].indexOf(e)<0&&(o[e]=()=>n[e]);i.d(u,o)})(),u})()));
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionGantt")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionGantt"],t):"object"==typeof exports?exports.SyncfusionReactGantt=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionGantt")):e.SyncfusionReactGantt=t(e.SyncfusionReactBase,e.React,e.SyncfusionGantt)}(self,((e,t,n)=>(()=>{"use strict";var o={106:(e,t,n)=>{n.d(t,{Gg:()=>l,Xb:()=>p,iK:()=>u,SR:()=>c,Qm:()=>_,nt:()=>m,q0:()=>f,J_:()=>y,sy:()=>x,tI:()=>C,Hq:()=>P,Tx:()=>k,Ai:()=>O,BF:()=>v,Mh:()=>D});var o,r=n(705),i=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},o(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.moduleName="column",t}(r.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="columns",t.moduleName="columns",t}(r.ComplexBase),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="addDialogField",t}(r.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.propertyName="addDialogFields",t.moduleName="addDialogFields",t}(r.ComplexBase),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.moduleName="editDialogField",t}(r.ComplexBase),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.propertyName="editDialogFields",t.moduleName="editDialogFields",t}(r.ComplexBase),d=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.moduleName="dayWorkingTime",t}(r.ComplexBase),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.propertyName="dayWorkingTime",t.moduleName="dayWorkingTimeCollection",t}(r.ComplexBase),h=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.moduleName="weekWorkingTime",t}(r.ComplexBase),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.propertyName="weekWorkingTime",t.moduleName="weekWorkingTimes",t}(r.ComplexBase),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.moduleName="holiday",t}(r.ComplexBase),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.propertyName="holidays",t.moduleName="holidays",t}(r.ComplexBase),b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.moduleName="eventMarker",t}(r.ComplexBase),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.propertyName="eventMarkers",t.moduleName="eventMarkers",t}(r.ComplexBase),j=n(24),T=n(31),w=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),P=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",weekWorkingTimes:"weekWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.isReactMock=!0,n.portals=[],n}return w(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return j.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(T.Gantt);(0,r.applyMixins)(P,[r.ComponentBase,j.Component])},24:e=>{e.exports=t},31:e=>{e.exports=n},705:t=>{t.exports=e}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{i.r(u),i.d(u,{AddDialogFieldDirective:()=>e.Gg,AddDialogFieldsDirective:()=>e.Xb,ColumnDirective:()=>e.iK,ColumnsDirective:()=>e.SR,DayWorkingTimeCollectionDirective:()=>e.Qm,DayWorkingTimeDirective:()=>e.nt,EditDialogFieldDirective:()=>e.q0,EditDialogFieldsDirective:()=>e.J_,EventMarkerDirective:()=>e.sy,EventMarkersDirective:()=>e.tI,GanttComponent:()=>e.Hq,HolidayDirective:()=>e.Tx,HolidaysDirective:()=>e.Ai,Inject:()=>t.Inject,WeekWorkingTimeDirective:()=>e.BF,WeekWorkingTimesDirective:()=>e.Mh});var e=i(106),t=i(705),n=i(31),o={};for(const e in n)["default","Inject","AddDialogFieldDirective","AddDialogFieldsDirective","ColumnDirective","ColumnsDirective","DayWorkingTimeCollectionDirective","DayWorkingTimeDirective","EditDialogFieldDirective","EditDialogFieldsDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","HolidayDirective","HolidaysDirective","WeekWorkingTimeDirective","WeekWorkingTimesDirective"].indexOf(e)<0&&(o[e]=()=>n[e]);i.d(u,o)})(),u})()));
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-gantt.umd.min.js
3
- * version : 27.1.53
3
+ * version : 27.1.56
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(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"],t):t((e=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Gantt)}(this,function(t,e,R,o){"use strict";n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var n,r,i=function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},E=(r=e.ComplexBase,i(a,r),a.moduleName="column",a);function a(){return null!==r&&r.apply(this,arguments)||this}l=e.ComplexBase,i(c,l),c.propertyName="columns",c.moduleName="columns";var l,i=c;function c(){return null!==l&&l.apply(this,arguments)||this}p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var p,u,s=function(e,t){function o(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},q=(u=e.ComplexBase,s(f,u),f.moduleName="addDialogField",f);function f(){return null!==u&&u.apply(this,arguments)||this}y=e.ComplexBase,s(d,y),d.propertyName="addDialogFields",d.moduleName="addDialogFields";var y,s=d;function d(){return null!==y&&y.apply(this,arguments)||this}m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var m,_,h=function(e,t){function o(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},G=(_=e.ComplexBase,h(v,_),v.moduleName="editDialogField",v);function v(){return null!==_&&_.apply(this,arguments)||this}O=e.ComplexBase,h(g,O),g.propertyName="editDialogFields",g.moduleName="editDialogFields";var O,h=g;function g(){return null!==O&&O.apply(this,arguments)||this}j=function(e,t){return(j=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var j,k,D=function(e,t){function o(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},I=(k=e.ComplexBase,D(H,k),H.moduleName="dayWorkingTime",H);function H(){return null!==k&&k.apply(this,arguments)||this}b=e.ComplexBase,D(C,b),C.propertyName="dayWorkingTime",C.moduleName="dayWorkingTimeCollection";var b,D=C;function C(){return null!==b&&b.apply(this,arguments)||this}U=function(e,t){return(U=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var U,w,z=function(e,t){function o(){this.constructor=e}U(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},J=(w=e.ComplexBase,z(K,w),K.moduleName="weekWorkingTime",K);function K(){return null!==w&&w.apply(this,arguments)||this}N=e.ComplexBase,z(P,N),P.propertyName="weekWorkingTime",P.moduleName="weekWorkingTimes";var N,z=P;function P(){return null!==N&&N.apply(this,arguments)||this}L=function(e,t){return(L=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var L,x,Q=function(e,t){function o(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},S=(x=e.ComplexBase,Q(V,x),V.moduleName="holiday",V);function V(){return null!==x&&x.apply(this,arguments)||this}B=e.ComplexBase,Q(W,B),W.propertyName="holidays",W.moduleName="holidays";var B,Q=W;function W(){return null!==B&&B.apply(this,arguments)||this}X=function(e,t){return(X=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var X,F,Y=function(e,t){function o(){this.constructor=e}X(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},Z=(F=e.ComplexBase,Y($,F),$.moduleName="eventMarker",$);function $(){return null!==F&&F.apply(this,arguments)||this}T=e.ComplexBase,Y(A,T),A.propertyName="eventMarkers",A.moduleName="eventMarkers";var T,Y=A;function A(){return null!==T&&T.apply(this,arguments)||this}ee=function(e,t){return(ee=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var ee,M,te=function(e,t){function o(){this.constructor=e}ee(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},te=(M=o.Gantt,te(oe,M),oe.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return R.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));M.prototype.render.call(this),this.initRenderCalled=!0},oe);function oe(e){e=M.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",weekWorkingTimes:"weekWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.portals=[],e}e.applyMixins(te,[e.ComponentBase,R.Component]),Object.keys(o).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.AddDialogFieldDirective=q,t.AddDialogFieldsDirective=s,t.ColumnDirective=E,t.ColumnsDirective=i,t.DayWorkingTimeCollectionDirective=D,t.DayWorkingTimeDirective=I,t.EditDialogFieldDirective=G,t.EditDialogFieldsDirective=h,t.EventMarkerDirective=Z,t.EventMarkersDirective=Y,t.GanttComponent=te,t.HolidayDirective=S,t.HolidaysDirective=Q,t.WeekWorkingTimeDirective=J,t.WeekWorkingTimesDirective=z,Object.defineProperty(t,"__esModule",{value:!0})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(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"],t):t((e=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Gantt)}(this,function(t,e,R,o){"use strict";n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var n,r,i=function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},E=(r=e.ComplexBase,i(a,r),a.moduleName="column",a);function a(){return null!==r&&r.apply(this,arguments)||this}c=e.ComplexBase,i(l,c),l.propertyName="columns",l.moduleName="columns";var c,i=l;function l(){return null!==c&&c.apply(this,arguments)||this}p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var p,u,s=function(e,t){function o(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},q=(u=e.ComplexBase,s(f,u),f.moduleName="addDialogField",f);function f(){return null!==u&&u.apply(this,arguments)||this}y=e.ComplexBase,s(d,y),d.propertyName="addDialogFields",d.moduleName="addDialogFields";var y,s=d;function d(){return null!==y&&y.apply(this,arguments)||this}m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var m,h,_=function(e,t){function o(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},G=(h=e.ComplexBase,_(v,h),v.moduleName="editDialogField",v);function v(){return null!==h&&h.apply(this,arguments)||this}O=e.ComplexBase,_(g,O),g.propertyName="editDialogFields",g.moduleName="editDialogFields";var O,_=g;function g(){return null!==O&&O.apply(this,arguments)||this}k=function(e,t){return(k=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var k,j,D=function(e,t){function o(){this.constructor=e}k(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},I=(j=e.ComplexBase,D(H,j),H.moduleName="dayWorkingTime",H);function H(){return null!==j&&j.apply(this,arguments)||this}b=e.ComplexBase,D(C,b),C.propertyName="dayWorkingTime",C.moduleName="dayWorkingTimeCollection";var b,D=C;function C(){return null!==b&&b.apply(this,arguments)||this}U=function(e,t){return(U=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var U,w,z=function(e,t){function o(){this.constructor=e}U(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},J=(w=e.ComplexBase,z(K,w),K.moduleName="weekWorkingTime",K);function K(){return null!==w&&w.apply(this,arguments)||this}N=e.ComplexBase,z(P,N),P.propertyName="weekWorkingTime",P.moduleName="weekWorkingTimes";var N,z=P;function P(){return null!==N&&N.apply(this,arguments)||this}L=function(e,t){return(L=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var L,x,Q=function(e,t){function o(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},S=(x=e.ComplexBase,Q(V,x),V.moduleName="holiday",V);function V(){return null!==x&&x.apply(this,arguments)||this}B=e.ComplexBase,Q(W,B),W.propertyName="holidays",W.moduleName="holidays";var B,Q=W;function W(){return null!==B&&B.apply(this,arguments)||this}X=function(e,t){return(X=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var X,F,Y=function(e,t){function o(){this.constructor=e}X(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},Z=(F=e.ComplexBase,Y($,F),$.moduleName="eventMarker",$);function $(){return null!==F&&F.apply(this,arguments)||this}T=e.ComplexBase,Y(M,T),M.propertyName="eventMarkers",M.moduleName="eventMarkers";var T,Y=M;function M(){return null!==T&&T.apply(this,arguments)||this}ee=function(e,t){return(ee=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var ee,A,te=function(e,t){function o(){this.constructor=e}ee(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},te=(A=o.Gantt,te(oe,A),oe.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return R.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));A.prototype.render.call(this),this.initRenderCalled=!0},oe);function oe(e){e=A.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",weekWorkingTimes:"weekWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}e.applyMixins(te,[e.ComponentBase,R.Component]),Object.keys(o).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.AddDialogFieldDirective=q,t.AddDialogFieldsDirective=s,t.ColumnDirective=E,t.ColumnsDirective=i,t.DayWorkingTimeCollectionDirective=D,t.DayWorkingTimeDirective=I,t.EditDialogFieldDirective=G,t.EditDialogFieldsDirective=_,t.EventMarkerDirective=Z,t.EventMarkersDirective=Y,t.GanttComponent=te,t.HolidayDirective=S,t.HolidaysDirective=Q,t.WeekWorkingTimeDirective=J,t.WeekWorkingTimesDirective=z,Object.defineProperty(t,"__esModule",{value:!0})});
11
11
  //# sourceMappingURL=ej2-react-gantt.umd.min.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-gantt.umd.min.js","sources":["../src/gantt/columns-directive.js","../src/gantt/adddialogfields-directive.js","../src/gantt/editdialogfields-directive.js","../src/gantt/dayworkingtime-directive.js","../src/gantt/weekworkingtime-directive.js","../src/gantt/holidays-directive.js","../src/gantt/eventmarkers-directive.js","../src/gantt/gantt.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <ColumnsDirective>\n * <ColumnDirective field='ID' width='150'></ColumnDirective>\n * <ColumnDirective field='taskName' headerText='Task Name' width='200'></ColumnDirective>\n * </ColumnsDirective>\n * </GanttComponent>\n * ```\n */\nvar ColumnDirective = /** @class */ (function (_super) {\n __extends(ColumnDirective, _super);\n function ColumnDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnDirective.moduleName = 'column';\n return ColumnDirective;\n}(ComplexBase));\nexport { ColumnDirective };\nvar ColumnsDirective = /** @class */ (function (_super) {\n __extends(ColumnsDirective, _super);\n function ColumnsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnsDirective.propertyName = 'columns';\n ColumnsDirective.moduleName = 'columns';\n return ColumnsDirective;\n}(ComplexBase));\nexport { ColumnsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `AddDialogFieldDirective` represent a add dialog fields of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <AddDialogFieldsDirective>\n * <AddDialogFieldDirective type='General' headerText='General'></AddDialogFieldDirective>\n * <AddDialogFieldDirective type='Dependency' headerText='Dependency'></AddDialogFieldDirective>\n * </AddDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nvar AddDialogFieldDirective = /** @class */ (function (_super) {\n __extends(AddDialogFieldDirective, _super);\n function AddDialogFieldDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AddDialogFieldDirective.moduleName = 'addDialogField';\n return AddDialogFieldDirective;\n}(ComplexBase));\nexport { AddDialogFieldDirective };\nvar AddDialogFieldsDirective = /** @class */ (function (_super) {\n __extends(AddDialogFieldsDirective, _super);\n function AddDialogFieldsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AddDialogFieldsDirective.propertyName = 'addDialogFields';\n AddDialogFieldsDirective.moduleName = 'addDialogFields';\n return AddDialogFieldsDirective;\n}(ComplexBase));\nexport { AddDialogFieldsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EditDialogFieldDirective` represent a add dialog fields in VueJS Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EditDialogFieldsDirective>\n * <EditDialogFieldDirective type='General' headerText='General'></EditDialogFieldDirective>\n * <EditDialogFieldDirective type='Dependency' headerText='Dependency'></EditDialogFieldDirective>\n * </EditDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nvar EditDialogFieldDirective = /** @class */ (function (_super) {\n __extends(EditDialogFieldDirective, _super);\n function EditDialogFieldDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EditDialogFieldDirective.moduleName = 'editDialogField';\n return EditDialogFieldDirective;\n}(ComplexBase));\nexport { EditDialogFieldDirective };\nvar EditDialogFieldsDirective = /** @class */ (function (_super) {\n __extends(EditDialogFieldsDirective, _super);\n function EditDialogFieldsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EditDialogFieldsDirective.propertyName = 'editDialogFields';\n EditDialogFieldsDirective.moduleName = 'editDialogFields';\n return EditDialogFieldsDirective;\n}(ComplexBase));\nexport { EditDialogFieldsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `DayWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <DayWorkingTimeCollection>\n * <DayWorkingTime from='8' to='12'></DayWorkingTimeCollection>\n * <DayWorkingTime from='13' to='17'></DayWorkingTimeCollection>\n * </DayWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nvar DayWorkingTimeDirective = /** @class */ (function (_super) {\n __extends(DayWorkingTimeDirective, _super);\n function DayWorkingTimeDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DayWorkingTimeDirective.moduleName = 'dayWorkingTime';\n return DayWorkingTimeDirective;\n}(ComplexBase));\nexport { DayWorkingTimeDirective };\nvar DayWorkingTimeCollectionDirective = /** @class */ (function (_super) {\n __extends(DayWorkingTimeCollectionDirective, _super);\n function DayWorkingTimeCollectionDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DayWorkingTimeCollectionDirective.propertyName = 'dayWorkingTime';\n DayWorkingTimeCollectionDirective.moduleName = 'dayWorkingTimeCollection';\n return DayWorkingTimeCollectionDirective;\n}(ComplexBase));\nexport { DayWorkingTimeCollectionDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `WeekWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>\n * </WeekWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nvar WeekWorkingTimeDirective = /** @class */ (function (_super) {\n __extends(WeekWorkingTimeDirective, _super);\n function WeekWorkingTimeDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n WeekWorkingTimeDirective.moduleName = 'weekWorkingTime';\n return WeekWorkingTimeDirective;\n}(ComplexBase));\nexport { WeekWorkingTimeDirective };\nvar WeekWorkingTimesDirective = /** @class */ (function (_super) {\n __extends(WeekWorkingTimesDirective, _super);\n function WeekWorkingTimesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n WeekWorkingTimesDirective.propertyName = 'weekWorkingTime';\n WeekWorkingTimesDirective.moduleName = 'weekWorkingTimes';\n return WeekWorkingTimesDirective;\n}(ComplexBase));\nexport { WeekWorkingTimesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `HolidaysDirective` represent a holidays collection in Gantt..\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <HolidaysDirective>\n * <HolidayDirective from='02/20/2018' label='Holiday 1'></HolidayDirective>\n * <HolidayDirective from='05/15/2018' label='Holiday 2'></HolidayDirective>\n * </HolidaysDirective>\n * </GanttComponent>\n * ```\n */\nvar HolidayDirective = /** @class */ (function (_super) {\n __extends(HolidayDirective, _super);\n function HolidayDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HolidayDirective.moduleName = 'holiday';\n return HolidayDirective;\n}(ComplexBase));\nexport { HolidayDirective };\nvar HolidaysDirective = /** @class */ (function (_super) {\n __extends(HolidaysDirective, _super);\n function HolidaysDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HolidaysDirective.propertyName = 'holidays';\n HolidaysDirective.moduleName = 'holidays';\n return HolidaysDirective;\n}(ComplexBase));\nexport { HolidaysDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EventMarkersDirective` represent a event marker collection in Gantt\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EventMarkersDirective>\n * <EventMarkerDirective day='02/10/2018' label='Project Starts'></EventMarkerDirective>\n * </EventMarkersDirective>\n * </GanttComponent>\n * ```\n */\nvar EventMarkerDirective = /** @class */ (function (_super) {\n __extends(EventMarkerDirective, _super);\n function EventMarkerDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EventMarkerDirective.moduleName = 'eventMarker';\n return EventMarkerDirective;\n}(ComplexBase));\nexport { EventMarkerDirective };\nvar EventMarkersDirective = /** @class */ (function (_super) {\n __extends(EventMarkersDirective, _super);\n function EventMarkersDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EventMarkersDirective.propertyName = 'eventMarkers';\n EventMarkersDirective.moduleName = 'eventMarkers';\n return EventMarkersDirective;\n}(ComplexBase));\nexport { EventMarkersDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Gantt } from '@syncfusion/ej2-gantt';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `GanttComponent` represents the react Gantt.\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}/>\n * ```\n */\nvar GanttComponent = /** @class */ (function (_super) {\n __extends(GanttComponent, _super);\n function GanttComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'weekWorkingTimes': 'weekWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n GanttComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return GanttComponent;\n}(Gantt));\nexport { GanttComponent };\napplyMixins(GanttComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","ColumnDirective","ComplexBase","moduleName","apply","arguments","ColumnsDirective","propertyName","AddDialogFieldDirective","AddDialogFieldsDirective","EditDialogFieldDirective","EditDialogFieldsDirective","DayWorkingTimeDirective","DayWorkingTimeCollectionDirective","WeekWorkingTimeDirective","WeekWorkingTimesDirective","HolidayDirective","HolidaysDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","Gantt","render","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","columns","addDialogFields","editDialogFields","dayWorkingTimeCollection","weekWorkingTimes","holidays","eventMarkers","statelessTemplateProps","templateProps","immediateRender","Com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C,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,GAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnFwB,IAA0C1B,EAuB5C2B,QAtBE1B,GAAUyB,GAAgB1B,CAAM,EAYhC0B,GAAerB,UAAUuB,OAAS,WAC9B,GAAI,EAAEzB,KAAK0B,SAAW,CAAC1B,KAAK2B,kBAAqB3B,KAAK4B,aAAgB5B,KAAK6B,oBAKvE,OAAOC,gBAAoB,MAAO9B,KAAK+B,uBAAwB,GAAGC,OAAOhC,KAAKiC,MAAMC,SAAUlC,KAAKmC,OAAO,CAAC,EAJ3GtC,EAAOK,UAAUuB,OAAOW,KAAKpC,IAAI,EACjCA,KAAK2B,iBAAmB,CAAA,GAMzBJ,IApBP,SAASA,GAAeU,GAChBI,EAAQxC,EAAOuC,KAAKpC,KAAMiC,CAAK,GAAKjC,KAQxC,OAPAqC,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,cAAgB,CAAEC,QAAW,SAAUC,gBAAmB,iBAAkBC,iBAAoB,kBAAmBC,yBAA4B,iBAAkBC,iBAAoB,kBAAmBC,SAAY,UAAWC,aAAgB,eACrPT,EAAMU,uBAAyB,KAC/BV,EAAMW,cAAgB,KACtBX,EAAMY,gBAAkB,CAAA,EACxBZ,EAAMF,QAAU,GACTE,gBAcHd,GAAgB,CAAC2B,gBAAeC,YAAgB"}
1
+ {"version":3,"file":"ej2-react-gantt.umd.min.js","sources":["../src/gantt/columns-directive.js","../src/gantt/adddialogfields-directive.js","../src/gantt/editdialogfields-directive.js","../src/gantt/dayworkingtime-directive.js","../src/gantt/weekworkingtime-directive.js","../src/gantt/holidays-directive.js","../src/gantt/eventmarkers-directive.js","../src/gantt/gantt.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <ColumnsDirective>\n * <ColumnDirective field='ID' width='150'></ColumnDirective>\n * <ColumnDirective field='taskName' headerText='Task Name' width='200'></ColumnDirective>\n * </ColumnsDirective>\n * </GanttComponent>\n * ```\n */\nvar ColumnDirective = /** @class */ (function (_super) {\n __extends(ColumnDirective, _super);\n function ColumnDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnDirective.moduleName = 'column';\n return ColumnDirective;\n}(ComplexBase));\nexport { ColumnDirective };\nvar ColumnsDirective = /** @class */ (function (_super) {\n __extends(ColumnsDirective, _super);\n function ColumnsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnsDirective.propertyName = 'columns';\n ColumnsDirective.moduleName = 'columns';\n return ColumnsDirective;\n}(ComplexBase));\nexport { ColumnsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `AddDialogFieldDirective` represent a add dialog fields of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <AddDialogFieldsDirective>\n * <AddDialogFieldDirective type='General' headerText='General'></AddDialogFieldDirective>\n * <AddDialogFieldDirective type='Dependency' headerText='Dependency'></AddDialogFieldDirective>\n * </AddDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nvar AddDialogFieldDirective = /** @class */ (function (_super) {\n __extends(AddDialogFieldDirective, _super);\n function AddDialogFieldDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AddDialogFieldDirective.moduleName = 'addDialogField';\n return AddDialogFieldDirective;\n}(ComplexBase));\nexport { AddDialogFieldDirective };\nvar AddDialogFieldsDirective = /** @class */ (function (_super) {\n __extends(AddDialogFieldsDirective, _super);\n function AddDialogFieldsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AddDialogFieldsDirective.propertyName = 'addDialogFields';\n AddDialogFieldsDirective.moduleName = 'addDialogFields';\n return AddDialogFieldsDirective;\n}(ComplexBase));\nexport { AddDialogFieldsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EditDialogFieldDirective` represent a add dialog fields in VueJS Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EditDialogFieldsDirective>\n * <EditDialogFieldDirective type='General' headerText='General'></EditDialogFieldDirective>\n * <EditDialogFieldDirective type='Dependency' headerText='Dependency'></EditDialogFieldDirective>\n * </EditDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nvar EditDialogFieldDirective = /** @class */ (function (_super) {\n __extends(EditDialogFieldDirective, _super);\n function EditDialogFieldDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EditDialogFieldDirective.moduleName = 'editDialogField';\n return EditDialogFieldDirective;\n}(ComplexBase));\nexport { EditDialogFieldDirective };\nvar EditDialogFieldsDirective = /** @class */ (function (_super) {\n __extends(EditDialogFieldsDirective, _super);\n function EditDialogFieldsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EditDialogFieldsDirective.propertyName = 'editDialogFields';\n EditDialogFieldsDirective.moduleName = 'editDialogFields';\n return EditDialogFieldsDirective;\n}(ComplexBase));\nexport { EditDialogFieldsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `DayWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <DayWorkingTimeCollection>\n * <DayWorkingTime from='8' to='12'></DayWorkingTimeCollection>\n * <DayWorkingTime from='13' to='17'></DayWorkingTimeCollection>\n * </DayWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nvar DayWorkingTimeDirective = /** @class */ (function (_super) {\n __extends(DayWorkingTimeDirective, _super);\n function DayWorkingTimeDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DayWorkingTimeDirective.moduleName = 'dayWorkingTime';\n return DayWorkingTimeDirective;\n}(ComplexBase));\nexport { DayWorkingTimeDirective };\nvar DayWorkingTimeCollectionDirective = /** @class */ (function (_super) {\n __extends(DayWorkingTimeCollectionDirective, _super);\n function DayWorkingTimeCollectionDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DayWorkingTimeCollectionDirective.propertyName = 'dayWorkingTime';\n DayWorkingTimeCollectionDirective.moduleName = 'dayWorkingTimeCollection';\n return DayWorkingTimeCollectionDirective;\n}(ComplexBase));\nexport { DayWorkingTimeCollectionDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `WeekWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>\n * </WeekWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nvar WeekWorkingTimeDirective = /** @class */ (function (_super) {\n __extends(WeekWorkingTimeDirective, _super);\n function WeekWorkingTimeDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n WeekWorkingTimeDirective.moduleName = 'weekWorkingTime';\n return WeekWorkingTimeDirective;\n}(ComplexBase));\nexport { WeekWorkingTimeDirective };\nvar WeekWorkingTimesDirective = /** @class */ (function (_super) {\n __extends(WeekWorkingTimesDirective, _super);\n function WeekWorkingTimesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n WeekWorkingTimesDirective.propertyName = 'weekWorkingTime';\n WeekWorkingTimesDirective.moduleName = 'weekWorkingTimes';\n return WeekWorkingTimesDirective;\n}(ComplexBase));\nexport { WeekWorkingTimesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `HolidaysDirective` represent a holidays collection in Gantt..\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <HolidaysDirective>\n * <HolidayDirective from='02/20/2018' label='Holiday 1'></HolidayDirective>\n * <HolidayDirective from='05/15/2018' label='Holiday 2'></HolidayDirective>\n * </HolidaysDirective>\n * </GanttComponent>\n * ```\n */\nvar HolidayDirective = /** @class */ (function (_super) {\n __extends(HolidayDirective, _super);\n function HolidayDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HolidayDirective.moduleName = 'holiday';\n return HolidayDirective;\n}(ComplexBase));\nexport { HolidayDirective };\nvar HolidaysDirective = /** @class */ (function (_super) {\n __extends(HolidaysDirective, _super);\n function HolidaysDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HolidaysDirective.propertyName = 'holidays';\n HolidaysDirective.moduleName = 'holidays';\n return HolidaysDirective;\n}(ComplexBase));\nexport { HolidaysDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EventMarkersDirective` represent a event marker collection in Gantt\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EventMarkersDirective>\n * <EventMarkerDirective day='02/10/2018' label='Project Starts'></EventMarkerDirective>\n * </EventMarkersDirective>\n * </GanttComponent>\n * ```\n */\nvar EventMarkerDirective = /** @class */ (function (_super) {\n __extends(EventMarkerDirective, _super);\n function EventMarkerDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EventMarkerDirective.moduleName = 'eventMarker';\n return EventMarkerDirective;\n}(ComplexBase));\nexport { EventMarkerDirective };\nvar EventMarkersDirective = /** @class */ (function (_super) {\n __extends(EventMarkersDirective, _super);\n function EventMarkersDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EventMarkersDirective.propertyName = 'eventMarkers';\n EventMarkersDirective.moduleName = 'eventMarkers';\n return EventMarkersDirective;\n}(ComplexBase));\nexport { EventMarkersDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Gantt } from '@syncfusion/ej2-gantt';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `GanttComponent` represents the react Gantt.\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}/>\n * ```\n */\nvar GanttComponent = /** @class */ (function (_super) {\n __extends(GanttComponent, _super);\n function GanttComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'weekWorkingTimes': 'weekWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.isReactMock = true;\n _this.portals = [];\n return _this;\n }\n GanttComponent.prototype.render = function () {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return GanttComponent;\n}(Gantt));\nexport { GanttComponent };\napplyMixins(GanttComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","ColumnDirective","ComplexBase","moduleName","apply","arguments","ColumnsDirective","propertyName","AddDialogFieldDirective","AddDialogFieldsDirective","EditDialogFieldDirective","EditDialogFieldsDirective","DayWorkingTimeDirective","DayWorkingTimeCollectionDirective","WeekWorkingTimeDirective","WeekWorkingTimesDirective","HolidayDirective","HolidaysDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","Gantt","render","isReactMock","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","columns","addDialogFields","editDialogFields","dayWorkingTimeCollection","weekWorkingTimes","hol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F,GAqBsCS,EAtB1CC,GAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,GAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAYnFwB,IAA0C1B,EAyB5C2B,QAxBE1B,GAAUyB,GAAgB1B,CAAM,EAahC0B,GAAerB,UAAUuB,OAAS,WAE9B,GADAzB,KAAK0B,YAAc,CAAA,EACf,EAAE1B,KAAK2B,SAAW,CAAC3B,KAAK4B,kBAAqB5B,KAAK6B,aAAgB7B,KAAK8B,oBAKvE,OAAOC,gBAAoB,MAAO/B,KAAKgC,uBAAwB,GAAGC,OAAOjC,KAAKkC,MAAMC,SAAUnC,KAAKoC,OAAO,CAAC,EAJ3GvC,EAAOK,UAAUuB,OAAOY,KAAKrC,IAAI,EACjCA,KAAK4B,iBAAmB,CAAA,GAMzBL,IAtBP,SAASA,GAAeW,GAChBI,EAAQzC,EAAOwC,KAAKrC,KAAMkC,CAAK,GAAKlC,KASxC,OARAsC,EAAMV,iBAAmB,CAAA,EACzBU,EAAMC,qBAAuB,CAAA,EAC7BD,EAAME,cAAgB,CAAEC,QAAW,SAAUC,gBAAmB,iBAAkBC,iBAAoB,kBAAmBC,yBAA4B,iBAAkBC,iBAAoB,kBAAmBC,SAAY,UAAWC,aAAgB,eACrPT,EAAMU,uBAAyB,KAC/BV,EAAMW,cAAgB,KACtBX,EAAMY,gBAAkB,CAAA,EACxBZ,EAAMZ,YAAc,CAAA,EACpBY,EAAMF,QAAU,GACTE,gBAeHf,GAAgB,CAAC4B,gBAAeC,YAAgB"}
@@ -158,9 +158,11 @@ class GanttComponent extends Gantt {
158
158
  this.statelessTemplateProps = null;
159
159
  this.templateProps = null;
160
160
  this.immediateRender = false;
161
+ this.isReactMock = true;
161
162
  this.portals = [];
162
163
  }
163
164
  render() {
165
+ this.isReactMock = false;
164
166
  if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
165
167
  super.render();
166
168
  this.initRenderCalled = true;
@@ -1 +1 @@
1
- {"version":3,"file":"ej2-react-gantt.es2015.js","sources":["../src/es6/gantt/columns-directive.js","../src/es6/gantt/adddialogfields-directive.js","../src/es6/gantt/editdialogfields-directive.js","../src/es6/gantt/dayworkingtime-directive.js","../src/es6/gantt/weekworkingtime-directive.js","../src/es6/gantt/holidays-directive.js","../src/es6/gantt/eventmarkers-directive.js","../src/es6/gantt/gantt.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <ColumnsDirective>\n * <ColumnDirective field='ID' width='150'></ColumnDirective>\n * <ColumnDirective field='taskName' headerText='Task Name' width='200'></ColumnDirective>\n * </ColumnsDirective>\n * </GanttComponent>\n * ```\n */\nexport class ColumnDirective extends ComplexBase {\n}\nColumnDirective.moduleName = 'column';\nexport class ColumnsDirective extends ComplexBase {\n}\nColumnsDirective.propertyName = 'columns';\nColumnsDirective.moduleName = 'columns';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `AddDialogFieldDirective` represent a add dialog fields of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <AddDialogFieldsDirective>\n * <AddDialogFieldDirective type='General' headerText='General'></AddDialogFieldDirective>\n * <AddDialogFieldDirective type='Dependency' headerText='Dependency'></AddDialogFieldDirective>\n * </AddDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nexport class AddDialogFieldDirective extends ComplexBase {\n}\nAddDialogFieldDirective.moduleName = 'addDialogField';\nexport class AddDialogFieldsDirective extends ComplexBase {\n}\nAddDialogFieldsDirective.propertyName = 'addDialogFields';\nAddDialogFieldsDirective.moduleName = 'addDialogFields';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EditDialogFieldDirective` represent a add dialog fields in VueJS Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EditDialogFieldsDirective>\n * <EditDialogFieldDirective type='General' headerText='General'></EditDialogFieldDirective>\n * <EditDialogFieldDirective type='Dependency' headerText='Dependency'></EditDialogFieldDirective>\n * </EditDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nexport class EditDialogFieldDirective extends ComplexBase {\n}\nEditDialogFieldDirective.moduleName = 'editDialogField';\nexport class EditDialogFieldsDirective extends ComplexBase {\n}\nEditDialogFieldsDirective.propertyName = 'editDialogFields';\nEditDialogFieldsDirective.moduleName = 'editDialogFields';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `DayWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <DayWorkingTimeCollection>\n * <DayWorkingTime from='8' to='12'></DayWorkingTimeCollection>\n * <DayWorkingTime from='13' to='17'></DayWorkingTimeCollection>\n * </DayWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nexport class DayWorkingTimeDirective extends ComplexBase {\n}\nDayWorkingTimeDirective.moduleName = 'dayWorkingTime';\nexport class DayWorkingTimeCollectionDirective extends ComplexBase {\n}\nDayWorkingTimeCollectionDirective.propertyName = 'dayWorkingTime';\nDayWorkingTimeCollectionDirective.moduleName = 'dayWorkingTimeCollection';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `WeekWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>\n * </WeekWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nexport class WeekWorkingTimeDirective extends ComplexBase {\n}\nWeekWorkingTimeDirective.moduleName = 'weekWorkingTime';\nexport class WeekWorkingTimesDirective extends ComplexBase {\n}\nWeekWorkingTimesDirective.propertyName = 'weekWorkingTime';\nWeekWorkingTimesDirective.moduleName = 'weekWorkingTimes';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `HolidaysDirective` represent a holidays collection in Gantt..\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <HolidaysDirective>\n * <HolidayDirective from='02/20/2018' label='Holiday 1'></HolidayDirective>\n * <HolidayDirective from='05/15/2018' label='Holiday 2'></HolidayDirective>\n * </HolidaysDirective>\n * </GanttComponent>\n * ```\n */\nexport class HolidayDirective extends ComplexBase {\n}\nHolidayDirective.moduleName = 'holiday';\nexport class HolidaysDirective extends ComplexBase {\n}\nHolidaysDirective.propertyName = 'holidays';\nHolidaysDirective.moduleName = 'holidays';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EventMarkersDirective` represent a event marker collection in Gantt\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EventMarkersDirective>\n * <EventMarkerDirective day='02/10/2018' label='Project Starts'></EventMarkerDirective>\n * </EventMarkersDirective>\n * </GanttComponent>\n * ```\n */\nexport class EventMarkerDirective extends ComplexBase {\n}\nEventMarkerDirective.moduleName = 'eventMarker';\nexport class EventMarkersDirective extends ComplexBase {\n}\nEventMarkersDirective.propertyName = 'eventMarkers';\nEventMarkersDirective.moduleName = 'eventMarkers';\n","import * as React from 'react';\nimport { Gantt } from '@syncfusion/ej2-gantt';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `GanttComponent` represents the react Gantt.\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}/>\n * ```\n */\nexport class GanttComponent extends Gantt {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'weekWorkingTimes': 'weekWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(GanttComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,eAAe,SAAS,WAAW,CAAC;AACjD,CAAC;AACD,eAAe,CAAC,UAAU,GAAG,QAAQ,CAAC;AAC/B,MAAM,gBAAgB,SAAS,WAAW,CAAC;AAClD,CAAC;AACD,gBAAgB,CAAC,YAAY,GAAG,SAAS,CAAC;AAC1C,gBAAgB,CAAC,UAAU,GAAG,SAAS;;AClBvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,uBAAuB,SAAS,WAAW,CAAC;AACzD,CAAC;AACD,uBAAuB,CAAC,UAAU,GAAG,gBAAgB,CAAC;AACtD,AAAO,MAAM,wBAAwB,SAAS,WAAW,CAAC;AAC1D,CAAC;AACD,wBAAwB,CAAC,YAAY,GAAG,iBAAiB,CAAC;AAC1D,wBAAwB,CAAC,UAAU,GAAG,iBAAiB,CAAC;;A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AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,cAAc,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
1
+ {"version":3,"file":"ej2-react-gantt.es2015.js","sources":["../src/es6/gantt/columns-directive.js","../src/es6/gantt/adddialogfields-directive.js","../src/es6/gantt/editdialogfields-directive.js","../src/es6/gantt/dayworkingtime-directive.js","../src/es6/gantt/weekworkingtime-directive.js","../src/es6/gantt/holidays-directive.js","../src/es6/gantt/eventmarkers-directive.js","../src/es6/gantt/gantt.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <ColumnsDirective>\n * <ColumnDirective field='ID' width='150'></ColumnDirective>\n * <ColumnDirective field='taskName' headerText='Task Name' width='200'></ColumnDirective>\n * </ColumnsDirective>\n * </GanttComponent>\n * ```\n */\nexport class ColumnDirective extends ComplexBase {\n}\nColumnDirective.moduleName = 'column';\nexport class ColumnsDirective extends ComplexBase {\n}\nColumnsDirective.propertyName = 'columns';\nColumnsDirective.moduleName = 'columns';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `AddDialogFieldDirective` represent a add dialog fields of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <AddDialogFieldsDirective>\n * <AddDialogFieldDirective type='General' headerText='General'></AddDialogFieldDirective>\n * <AddDialogFieldDirective type='Dependency' headerText='Dependency'></AddDialogFieldDirective>\n * </AddDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nexport class AddDialogFieldDirective extends ComplexBase {\n}\nAddDialogFieldDirective.moduleName = 'addDialogField';\nexport class AddDialogFieldsDirective extends ComplexBase {\n}\nAddDialogFieldsDirective.propertyName = 'addDialogFields';\nAddDialogFieldsDirective.moduleName = 'addDialogFields';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EditDialogFieldDirective` represent a add dialog fields in VueJS Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EditDialogFieldsDirective>\n * <EditDialogFieldDirective type='General' headerText='General'></EditDialogFieldDirective>\n * <EditDialogFieldDirective type='Dependency' headerText='Dependency'></EditDialogFieldDirective>\n * </EditDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nexport class EditDialogFieldDirective extends ComplexBase {\n}\nEditDialogFieldDirective.moduleName = 'editDialogField';\nexport class EditDialogFieldsDirective extends ComplexBase {\n}\nEditDialogFieldsDirective.propertyName = 'editDialogFields';\nEditDialogFieldsDirective.moduleName = 'editDialogFields';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `DayWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <DayWorkingTimeCollection>\n * <DayWorkingTime from='8' to='12'></DayWorkingTimeCollection>\n * <DayWorkingTime from='13' to='17'></DayWorkingTimeCollection>\n * </DayWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nexport class DayWorkingTimeDirective extends ComplexBase {\n}\nDayWorkingTimeDirective.moduleName = 'dayWorkingTime';\nexport class DayWorkingTimeCollectionDirective extends ComplexBase {\n}\nDayWorkingTimeCollectionDirective.propertyName = 'dayWorkingTime';\nDayWorkingTimeCollectionDirective.moduleName = 'dayWorkingTimeCollection';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `WeekWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>\n * </WeekWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nexport class WeekWorkingTimeDirective extends ComplexBase {\n}\nWeekWorkingTimeDirective.moduleName = 'weekWorkingTime';\nexport class WeekWorkingTimesDirective extends ComplexBase {\n}\nWeekWorkingTimesDirective.propertyName = 'weekWorkingTime';\nWeekWorkingTimesDirective.moduleName = 'weekWorkingTimes';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `HolidaysDirective` represent a holidays collection in Gantt..\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <HolidaysDirective>\n * <HolidayDirective from='02/20/2018' label='Holiday 1'></HolidayDirective>\n * <HolidayDirective from='05/15/2018' label='Holiday 2'></HolidayDirective>\n * </HolidaysDirective>\n * </GanttComponent>\n * ```\n */\nexport class HolidayDirective extends ComplexBase {\n}\nHolidayDirective.moduleName = 'holiday';\nexport class HolidaysDirective extends ComplexBase {\n}\nHolidaysDirective.propertyName = 'holidays';\nHolidaysDirective.moduleName = 'holidays';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EventMarkersDirective` represent a event marker collection in Gantt\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EventMarkersDirective>\n * <EventMarkerDirective day='02/10/2018' label='Project Starts'></EventMarkerDirective>\n * </EventMarkersDirective>\n * </GanttComponent>\n * ```\n */\nexport class EventMarkerDirective extends ComplexBase {\n}\nEventMarkerDirective.moduleName = 'eventMarker';\nexport class EventMarkersDirective extends ComplexBase {\n}\nEventMarkersDirective.propertyName = 'eventMarkers';\nEventMarkersDirective.moduleName = 'eventMarkers';\n","import * as React from 'react';\nimport { Gantt } from '@syncfusion/ej2-gantt';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `GanttComponent` represents the react Gantt.\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}/>\n * ```\n */\nexport class GanttComponent extends Gantt {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'weekWorkingTimes': 'weekWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.isReactMock = true;\n this.portals = [];\n }\n render() {\n this.isReactMock = false;\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(GanttComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,eAAe,SAAS,WAAW,CAAC;AACjD,CAAC;AACD,eAAe,CAAC,UAAU,GAAG,QAAQ,CAAC;AAC/B,MAAM,gBAAgB,SAAS,WAAW,CAAC;AAClD,CAAC;AACD,gBAAgB,CAAC,YAAY,GAAG,SAAS,CAAC;AAC1C,gBAAgB,CAAC,UAAU,GAAG,SAAS;;AClBvC;AACA;AACA;AACA;AACA;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GAAG,KAAK,CAAC;AACrC,QAAQ,IAAI,CAAC,WAAW,GAAG,IAAI,CAAC;AAChC,QAAQ,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;AAC1B,KAAK;AACL,IAAI,MAAM,GAAG;AACb,QAAQ,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;AACjC,QAAQ,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;AACxG,YAAY,KAAK,CAAC,MAAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,cAAc,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-react-gantt@*",
3
- "_id": "@syncfusion/ej2-react-gantt@27.1.52",
3
+ "_id": "@syncfusion/ej2-react-gantt@27.1.55",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-yxLlB0ERW6FipUMhV+a9AAwUvXdc/s318AvmA1PoaBLkwSa5pFNCTqCUT+eSdxKaD/ioJiaLk28m7UUsH+kdZQ==",
5
+ "_integrity": "sha512-WnRvEb5T5nlcOxfMJ8YZVLn5M7BdQBm5EH4tkubiu36P/flxqunfAWZsnbPBxhMeTyCQILhU9WzkXDYQTGuvIA==",
6
6
  "_location": "/@syncfusion/ej2-react-gantt",
7
7
  "_phantomChildren": {},
8
8
  "_requested": {
@@ -19,8 +19,8 @@
19
19
  "_requiredBy": [
20
20
  "/"
21
21
  ],
22
- "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-gantt/-/ej2-react-gantt-27.1.52.tgz",
23
- "_shasum": "919f539863a29220fa4a77859194d3210d645224",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-gantt/-/ej2-react-gantt-27.1.55.tgz",
23
+ "_shasum": "0245b73c8a8254e463463ba82fafa7d052011224",
24
24
  "_spec": "@syncfusion/ej2-react-gantt@*",
25
25
  "_where": "/jenkins/workspace/elease-automation_release_27.1.1/packages/included",
26
26
  "author": {
@@ -31,8 +31,8 @@
31
31
  },
32
32
  "bundleDependencies": false,
33
33
  "dependencies": {
34
- "@syncfusion/ej2-base": "~27.1.53",
35
- "@syncfusion/ej2-gantt": "27.1.53",
34
+ "@syncfusion/ej2-base": "~27.1.55",
35
+ "@syncfusion/ej2-gantt": "27.1.56",
36
36
  "@syncfusion/ej2-react-base": "~27.1.50"
37
37
  },
38
38
  "deprecated": false,
@@ -70,6 +70,6 @@
70
70
  "type": "git",
71
71
  "url": "https://github.com/syncfusion/ej2-react-ui-components.git"
72
72
  },
73
- "version": "27.1.53",
73
+ "version": "27.1.56",
74
74
  "sideEffects": false
75
75
  }
@@ -29,6 +29,7 @@ export declare class GanttComponent extends Gantt {
29
29
  private statelessTemplateProps;
30
30
  private templateProps;
31
31
  private immediateRender;
32
+ private isReactMock;
32
33
  props: Readonly<{
33
34
  children?: React.ReactNode | React.ReactNode[];
34
35
  }> & Readonly<GanttModel | DefaultHtmlAttributes | GanttTypecast>;
@@ -30,10 +30,12 @@ var GanttComponent = /** @class */ (function (_super) {
30
30
  _this.statelessTemplateProps = null;
31
31
  _this.templateProps = null;
32
32
  _this.immediateRender = false;
33
+ _this.isReactMock = true;
33
34
  _this.portals = [];
34
35
  return _this;
35
36
  }
36
37
  GanttComponent.prototype.render = function () {
38
+ this.isReactMock = false;
37
39
  if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
38
40
  _super.prototype.render.call(this);
39
41
  this.initRenderCalled = true;