@syncfusion/ej2-react-gantt 21.1.35 → 21.1.38
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.
- package/CHANGELOG.md +29 -0
- package/dist/ej2-react-gantt.min.js +2 -2
- package/dist/ej2-react-gantt.umd.min.js +2 -2
- package/dist/ej2-react-gantt.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-gantt.es2015.js +1 -0
- package/dist/es6/ej2-react-gantt.es2015.js.map +1 -1
- package/package.json +8 -8
- package/src/gantt/gantt.component.d.ts +1 -0
- package/src/gantt/gantt.component.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,35 @@
|
|
|
4
4
|
|
|
5
5
|
### Gantt Chart
|
|
6
6
|
|
|
7
|
+
#### Bug Fixes
|
|
8
|
+
|
|
9
|
+
- `#I451243` - Unable to set zooming levels through `zoomingLevels` property issue has been fixed.
|
|
10
|
+
- `#I447704` - Timeline tier is not changing dynamically issue has been fixed.
|
|
11
|
+
- `I447465` - Incorrect progress value on parent task when child tasks have fractional duration issue has been fixed.
|
|
12
|
+
- -`I447475`- End key is not working properly issue has been fixed.
|
|
13
|
+
- -`#I447772` - Application freezing while changing holidays/weekend issue has been fixed.
|
|
14
|
+
|
|
15
|
+
- `I447465` - Incorrect progress value on parent task when child tasks have fractional duration issue has been fixed.
|
|
16
|
+
- -`I447475`- End key is not working properly issue has been fixed.
|
|
17
|
+
|
|
18
|
+
## 21.1.37 (2023-03-29)
|
|
19
|
+
|
|
20
|
+
### Gantt Chart
|
|
21
|
+
|
|
22
|
+
#### Bug Fixes
|
|
23
|
+
|
|
24
|
+
- `#I432146` - Script error occurs while changing data source and resource simultaneously issue has been fixed.
|
|
25
|
+
- -`I441276`- Outdent task is not in correct index of modified records in `actionComplete` event issue has been fixed.
|
|
26
|
+
- -`I435254`, `I444942`- Taskbar not rendered in Pdf exported file when `timelineUnitSize` is initialized issue has been fixed.
|
|
27
|
+
|
|
28
|
+
-`I441276`- Outdent task is not in correct index of modified records in `actionComplete` event issue has been fixed.
|
|
29
|
+
-`I444942`- Taskbar not rendered in Pdf exported file when `timelineUnitSize` is initialized issue has been fixed.
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
## 21.1.35 (2023-03-23)
|
|
33
|
+
|
|
34
|
+
### Gantt Chart
|
|
35
|
+
|
|
7
36
|
#### Features
|
|
8
37
|
|
|
9
38
|
- `#I419169` - Provided Taskbar drag and drop support for resource view in Gantt Chart. Please find the demo link [here](https://ej2.syncfusion.com/demos/#/bootstrap5/gantt/resource-multi-taskbar.html).
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-gantt.min.js
|
|
3
|
-
* version : 21.1.
|
|
3
|
+
* version : 21.1.38
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("SyncfusionReactBase"),require("SyncfusionGantt"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionGantt","React"],n):"object"==typeof exports?exports.SyncfusionReactGantt=n(require("SyncfusionReactBase"),require("SyncfusionGantt"),require("React")):t.SyncfusionReactGantt=n(t.SyncfusionReactBase,t.SyncfusionGantt,t.React)}(this,function(t,n,e){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=10)}([function(n,e){n.exports=t},function(t,e){t.exports=n},function(t,n,e){"use strict";var r=e(4);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b});var o=e(3);e.d(n,"c",function(){return o.a}),e.d(n,"d",function(){return o.b});var i=e(6);e.d(n,"e",function(){return i.a}),e.d(n,"f",function(){return i.b});var u=e(5);e.d(n,"g",function(){return u.a}),e.d(n,"h",function(){return u.b});var c=e(9);e.d(n,"i",function(){return c.a}),e.d(n,"j",function(){return c.b});var a=e(7);e.d(n,"k",function(){return a.a}),e.d(n,"l",function(){return a.b});var s=e(8);e.d(n,"m",function(){return s.a})},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="addDialogField",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="addDialogFields",n.moduleName="addDialogFields",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="column",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="columns",n.moduleName="columns",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="dayWorkingTime",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="dayWorkingTime",n.moduleName="dayWorkingTimeCollection",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="editDialogField",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="editDialogFields",n.moduleName="editDialogFields",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="eventMarker",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="eventMarkers",n.moduleName="eventMarkers",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(11),o=(e.n(r),e(1)),i=(e.n(o),e(0)),u=(e.n(i),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),c=function(t){function n(n){var e=t.call(this,n)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},e.statelessTemplateProps=null,e.immediateRender=!1,e.portals=[],e}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.Gantt);e.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="holiday",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="holidays",n.moduleName="holidays",n}(r.ComplexBase)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(2);e.d(n,"ColumnDirective",function(){return r.a}),e.d(n,"ColumnsDirective",function(){return r.b}),e.d(n,"AddDialogFieldDirective",function(){return r.c}),e.d(n,"AddDialogFieldsDirective",function(){return r.d}),e.d(n,"EditDialogFieldDirective",function(){return r.e}),e.d(n,"EditDialogFieldsDirective",function(){return r.f}),e.d(n,"DayWorkingTimeDirective",function(){return r.g}),e.d(n,"DayWorkingTimeCollectionDirective",function(){return r.h}),e.d(n,"HolidayDirective",function(){return r.i}),e.d(n,"HolidaysDirective",function(){return r.j}),e.d(n,"EventMarkerDirective",function(){return r.k}),e.d(n,"EventMarkersDirective",function(){return r.l}),e.d(n,"GanttComponent",function(){return r.m});var o=e(0);e.n(o);e.o(o,"Inject")&&e.d(n,"Inject",function(){return o.Inject});var i=e(1);e.n(i);for(var u in i)["ColumnDirective","ColumnsDirective","AddDialogFieldDirective","AddDialogFieldsDirective","EditDialogFieldDirective","EditDialogFieldsDirective","DayWorkingTimeDirective","DayWorkingTimeCollectionDirective","HolidayDirective","HolidaysDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","Inject","default"].indexOf(u)<0&&function(t){e.d(n,t,function(){return i[t]})}(u)},function(t,n){t.exports=e}])});
|
|
10
|
+
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n(require("SyncfusionReactBase"),require("SyncfusionGantt"),require("React")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","SyncfusionGantt","React"],n):"object"==typeof exports?exports.SyncfusionReactGantt=n(require("SyncfusionReactBase"),require("SyncfusionGantt"),require("React")):t.SyncfusionReactGantt=n(t.SyncfusionReactBase,t.SyncfusionGantt,t.React)}(this,function(t,n,e){return function(t){function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}var e={};return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=10)}([function(n,e){n.exports=t},function(t,e){t.exports=n},function(t,n,e){"use strict";var r=e(4);e.d(n,"a",function(){return r.a}),e.d(n,"b",function(){return r.b});var o=e(3);e.d(n,"c",function(){return o.a}),e.d(n,"d",function(){return o.b});var i=e(6);e.d(n,"e",function(){return i.a}),e.d(n,"f",function(){return i.b});var u=e(5);e.d(n,"g",function(){return u.a}),e.d(n,"h",function(){return u.b});var c=e(9);e.d(n,"i",function(){return c.a}),e.d(n,"j",function(){return c.b});var a=e(7);e.d(n,"k",function(){return a.a}),e.d(n,"l",function(){return a.b});var s=e(8);e.d(n,"m",function(){return s.a})},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="addDialogField",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="addDialogFields",n.moduleName="addDialogFields",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="column",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="columns",n.moduleName="columns",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="dayWorkingTime",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="dayWorkingTime",n.moduleName="dayWorkingTimeCollection",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="editDialogField",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="editDialogFields",n.moduleName="editDialogFields",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="eventMarker",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="eventMarkers",n.moduleName="eventMarkers",n}(r.ComplexBase)},function(t,n,e){"use strict";e.d(n,"a",function(){return c});var r=e(11),o=(e.n(r),e(1)),i=(e.n(o),e(0)),u=(e.n(i),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),c=function(t){function n(n){var e=t.call(this,n)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.portals=[],e}return u(n,t),n.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return r.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));t.prototype.render.call(this),this.initRenderCalled=!0},n}(o.Gantt);e.i(i.applyMixins)(c,[i.ComponentBase,r.Component])},function(t,n,e){"use strict";e.d(n,"a",function(){return i}),e.d(n,"b",function(){return u});var r=e(0),o=(e.n(r),this&&this.__extends||function(){var t=function(n,e){return(t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)n.hasOwnProperty(e)&&(t[e]=n[e])})(n,e)};return function(n,e){function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}}()),i=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.moduleName="holiday",n}(r.ComplexBase),u=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return o(n,t),n.propertyName="holidays",n.moduleName="holidays",n}(r.ComplexBase)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(2);e.d(n,"ColumnDirective",function(){return r.a}),e.d(n,"ColumnsDirective",function(){return r.b}),e.d(n,"AddDialogFieldDirective",function(){return r.c}),e.d(n,"AddDialogFieldsDirective",function(){return r.d}),e.d(n,"EditDialogFieldDirective",function(){return r.e}),e.d(n,"EditDialogFieldsDirective",function(){return r.f}),e.d(n,"DayWorkingTimeDirective",function(){return r.g}),e.d(n,"DayWorkingTimeCollectionDirective",function(){return r.h}),e.d(n,"HolidayDirective",function(){return r.i}),e.d(n,"HolidaysDirective",function(){return r.j}),e.d(n,"EventMarkerDirective",function(){return r.k}),e.d(n,"EventMarkersDirective",function(){return r.l}),e.d(n,"GanttComponent",function(){return r.m});var o=e(0);e.n(o);e.o(o,"Inject")&&e.d(n,"Inject",function(){return o.Inject});var i=e(1);e.n(i);for(var u in i)["ColumnDirective","ColumnsDirective","AddDialogFieldDirective","AddDialogFieldsDirective","EditDialogFieldDirective","EditDialogFieldsDirective","DayWorkingTimeDirective","DayWorkingTimeCollectionDirective","HolidayDirective","HolidaysDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","Inject","default"].indexOf(u)<0&&function(t){e.d(n,t,function(){return i[t]})}(u)},function(t,n){t.exports=e}])});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-gantt.umd.min.js
|
|
3
|
-
* version : 21.1.
|
|
3
|
+
* version : 21.1.38
|
|
4
4
|
* Copyright Syncfusion Inc. 2001 - 2020. 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(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.statelessTemplateProps=null,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})});
|
|
10
|
+
!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.statelessTemplateProps=null,n.templateProps=null,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})});
|
|
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/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 * `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', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };\n _this.statelessTemplateProps = 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":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","ColumnDirective","_super","apply","arguments","moduleName","ComplexBase","ColumnsDirective","propertyName","AddDialogFieldDirective","AddDialogFieldsDirective","EditDialogFieldDirective","EditDialogFieldsDirective","DayWorkingTimeDirective","DayWorkingTimeCollectionDirective","HolidayDirective","HolidaysDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","columns","addDialogFields","editDialogFields","dayWorkingTimeCollection","holidays","eventMarkers","statelessTemplateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","Gantt","ej2ReactBase","ComponentBase","React.Component"],"mappings":"kXAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GA0BxCK,EAAiC,SAAUC,GAE3C,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAAiBC,GAI3BD,EAAgBI,WAAa,SACtBJ,GACTK,eAEEC,EAAkC,SAAUL,GAE5C,SAASK,IACL,OAAkB,OAAXL,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUqB,EAAkBL,GAI5BK,EAAiBC,aAAe,UAChCD,EAAiBF,WAAa,UACvBE,GACTD,eC3CEpB,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAO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EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxCuB,EAAgC,SAAUjB,GAE1C,SAASiB,EAAeC,GACpB,IAAIC,EAAQnB,EAAOoB,KAAKzB,KAAMuB,IAAUvB,KAOxC,OANAwB,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,eAAkBC,QAAW,SAAUC,gBAAmB,iBAAkBC,iBAAoB,kBAAmBC,yBAA4B,iBAAkBC,SAAY,UAAWC,aAAgB,eAC9MV,EAAMW,uBAAyB,KAC/BX,EAAMY,iBAAkB,EACxBZ,EAAMa,WACCb,EAWX,OApBAnC,EAAUiC,EAAgBjB,GAW1BiB,EAAepB,UAAUoC,OAAS,WAC9B,KAAMtC,KAAKuC,UAAYvC,KAAK0B,kBAAqB1B,KAAKwC,aAAgBxC,KAAKyC,oBAKvE,OAAOC,gBAAoB,MAAO1C,KAAK2C,0BAA2BC,OAAO5C,KAAKuB,MAAMsB,SAAU7C,KAAKqC,UAJnGhC,EAAOH,UAAUoC,OAAOb,KAAKzB,MAC7BA,KAAK0B,kBAAmB,GAMzBJ,GACTwB,SACFC,cACYzB,GAAiB0B,gBAAeC"}
|
|
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/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 * `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', '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":["__extends","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__","this","constructor","prototype","create","ColumnDirective","_super","apply","arguments","moduleName","ComplexBase","ColumnsDirective","propertyName","AddDialogFieldDirective","AddDialogFieldsDirective","EditDialogFieldDirective","EditDialogFieldsDirective","DayWorkingTimeDirective","DayWorkingTimeCollectionDirective","HolidayDirective","HolidaysDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","props","_this","call","initRenderCalled","checkInjectedModules","directivekeys","columns","addDialogFields","editDialogFields","dayWorkingTimeCollection","holidays","eventMarkers","statelessTemplateProps","templateProps","immediateRender","portals","render","element","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","children","Gantt","ej2ReactBase","ComponentBase","React.Component"],"mappings":"kXAAA,IAAIA,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GA0BxCK,EAAiC,SAAUC,GAE3C,SAASD,IACL,OAAkB,OAAXC,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAG/D,OALAX,EAAUe,EAAiBC,GAI3BD,EAAgBI,WAAa,SACtBJ,GACTK,eAEEC,EAAkC,SAAUL,GAE5C,SAASK,IACL,OAAkB,OAAXL,GAAmBA,EAAOC,MAAMN,KAAMO,YAAcP,KAI/D,OANAX,EAAUqB,EAAkBL,GAI5BK,EAAiBC,aAAe,UAChCD,EAAiBF,WAAa,UACvBE,GACTD,eC3CEpB,EAAwC,WACxC,IAAIC,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAA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EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAChBC,wBAA2BC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,KAAIN,EAAEM,GAAKL,EAAEK,MACpDN,EAAGC,IAE5B,OAAO,SAAUD,EAAGC,GAEhB,SAASO,IAAOC,KAAKC,YAAcV,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEW,UAAkB,OAANV,EAAaC,OAAOU,OAAOX,IAAMO,EAAGG,UAAYV,EAAEU,UAAW,IAAIH,IAV3C,GAsBxCuB,EAAgC,SAAUjB,GAE1C,SAASiB,EAAeC,GACpB,IAAIC,EAAQnB,EAAOoB,KAAKzB,KAAMuB,IAAUvB,KAQxC,OAPAwB,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,eAAkBC,QAAW,SAAUC,gBAAmB,iBAAkBC,iBAAoB,kBAAmBC,yBAA4B,iBAAkBC,SAAY,UAAWC,aAAgB,eAC9MV,EAAMW,uBAAyB,KAC/BX,EAAMY,cAAgB,KACtBZ,EAAMa,iBAAkB,EACxBb,EAAMc,WACCd,EAWX,OArBAnC,EAAUiC,EAAgBjB,GAY1BiB,EAAepB,UAAUqC,OAAS,WAC9B,KAAMvC,KAAKwC,UAAYxC,KAAK0B,kBAAqB1B,KAAKyC,aAAgBzC,KAAK0C,oBAKvE,OAAOC,gBAAoB,MAAO3C,KAAK4C,0BAA2BC,OAAO7C,KAAKuB,MAAMuB,SAAU9C,KAAKsC,UAJnGjC,EAAOH,UAAUqC,OAAOd,KAAKzB,MAC7BA,KAAK0B,kBAAmB,GAMzBJ,GACTyB,SACFC,cACY1B,GAAiB2B,gBAAeC"}
|
|
@@ -134,6 +134,7 @@ class GanttComponent extends Gantt {
|
|
|
134
134
|
this.checkInjectedModules = true;
|
|
135
135
|
this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };
|
|
136
136
|
this.statelessTemplateProps = null;
|
|
137
|
+
this.templateProps = null;
|
|
137
138
|
this.immediateRender = false;
|
|
138
139
|
this.portals = [];
|
|
139
140
|
}
|
|
@@ -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/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 * `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', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };\n this.statelessTemplateProps = 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;;;;;;;;;;;;AAYA,AAAO,MAAM,eAAe,SAAS,WAAW,CAAC;CAChD;AACD,eAAe,CAAC,UAAU,GAAG,QAAQ,CAAC;AACtC,AAAO,MAAM,gBAAgB,SAAS,WAAW,CAAC;CACjD;AACD,gBAAgB,CAAC,YAAY,GAAG,SAAS,CAAC;AAC1C,gBAAgB,CAAC,UAAU,GAAG,SAAS,CAAC;;AClBxC;;;;;;;;;;;;AAYA,AAAO,MAAM,uBAAuB,SAAS,WAAW,CAAC;CACxD;AACD,uBAAuB,CAAC,UAAU,GAAG,gBAAgB,CAAC;AACtD,AAAO,MAAM,wBAAwB,SAAS,WAAW,CAAC;CACzD;AACD,wBAAwB,CAAC,YAAY,GAAG,iBAAiB,CAAC;AAC1D,wBAAwB,CAAC,UAAU,GAAG,iBAAiB,CAAC;;AClBxD;;;;;;;;;;;;AAYA,AAAO,MAAM,wBAAwB,SAAS,WAAW,CAAC;CACzD;AACD,wBAAwB,CAAC,UAAU,GAAG,iBAAiB,CAAC;AACxD,AAAO,MAAM,yBAAyB,SAAS,WAAW,CAAC;CAC1D;AACD,yBAAyB,CAAC,YAAY,GAAG,kBAAkB,CAAC;AAC5D,yBAAyB,CAAC,UAAU,GAAG,kBAAkB,CAAC;;AClB1D;;;;;;;;;;;;AAYA,AAAO,MAAM,uBAAuB,SAAS,WAAW,CAAC;CACxD;AACD,uBAAuB,CAAC,UAAU,GAAG,gBAAgB,CAAC;AACtD,AAAO,MAAM,iCAAiC,SAAS,WAAW,CAAC;CAClE;AACD,iCAAiC,CAAC,YAAY,GAAG,gBAAgB,CAAC;AAClE,iCAAiC,CAAC,UAAU,GAAG,0BAA0B,CAAC;;AClB1E;;;;;;;;;;;;AAYA,A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C,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,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;SAChH;KACJ;CACJ;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/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 * `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', '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;;;;;;;;;;;;AAYA,AAAO,MAAM,eAAe,SAAS,WAAW,CAAC;CAChD;AACD,eAAe,CAAC,UAAU,GAAG,QAAQ,CAAC;AACtC,AAAO,MAAM,gBAAgB,SAAS,WAAW,CAAC;CACjD;AACD,gBAAgB,CAAC,YAAY,GAAG,SAAS,CAAC;AAC1C,gBAAgB,CAAC,UAAU,GAAG,SAAS,CAAC;;AClBxC;;;;;;;;;;;;AAYA,AAAO,MAAM,uBAAuB,SAAS,WAAW,CAAC;CACxD;AACD,uBAAuB,CAAC,UAAU,GAAG,gBAAgB,CAAC;AACtD,AAAO,MAAM,wBAAwB,SAAS,WAAW,CAAC;CACzD;AACD,wBAAwB,CAAC,YAAY,GAAG,iBAAiB,CAAC;AAC1D,wBAAwB,CAAC,UAAU,GAAG,iBAAiB,CAAC;;AClBxD;;;;;;;;;;;;AAYA,AAAO,MAAM,wBAAwB,SAAS,WAAW,CAAC;CACzD;AACD,wBAAwB,CAAC,UAAU,GAAG,iBAAiB,CAAC;AACxD,AAAO,MAAM,yBAAyB,SAAS,WAAW,CAAC;CAC1D;AACD,yBAAyB,CAAC,YAAY,GAAG,kBAAkB,CAAC;AAC5D,yBAAyB,CAAC,UAAU,GAAG,kBAAkB,CAAC;;AClB1D;;;;;;;;;;;;AAYA,AAAO,MAAM,uBAAuB,SAAS,WAAW,CAAC;CACxD;AACD,uBAAuB,CAAC,UAAU,GAAG,gBAAgB,CAAC;AACtD,AAAO,MAAM,iCAAiC,SAAS,WAAW,CAAC;CAClE;AACD,iCAAiC,CAAC,YAAY,GA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C,IAAI,CAAC,gBAAgB,KAAK,IAAI,CAAC,UAAU,KAAK,CAAC,IAAI,CAAC,mBAAmB,EAAE;YAC5F,KAAK,CAAC,MAAM,EAAE,CAAC;YACf,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;SAChC;aACI;YACD,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;SAChH;KACJ;CACJ;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@
|
|
3
|
+
"_id": "@syncfusion/ej2-react-gantt@21.1.37",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-TOCfBsZUGf9S0DcdWC/HSUdQsSZFzS5JFufLXJV6WSaS3MzRewnZ6fry/cuLG/uJg0wa85PNb7ujEKFweK76GQ==",
|
|
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.syncfusion.com/repository/ej2-
|
|
23
|
-
"_shasum": "
|
|
22
|
+
"_resolved": "https://nexus.syncfusion.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-gantt/-/ej2-react-gantt-21.1.37.tgz",
|
|
23
|
+
"_shasum": "ee20e7a4a31f462e135f457a1cf7996d4e17d607",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-gantt@*",
|
|
25
25
|
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~21.1.
|
|
35
|
-
"@syncfusion/ej2-gantt": "21.1.
|
|
36
|
-
"@syncfusion/ej2-react-base": "~21.1.
|
|
34
|
+
"@syncfusion/ej2-base": "~21.1.38",
|
|
35
|
+
"@syncfusion/ej2-gantt": "21.1.38",
|
|
36
|
+
"@syncfusion/ej2-react-base": "~21.1.38"
|
|
37
37
|
},
|
|
38
38
|
"deprecated": false,
|
|
39
39
|
"description": "Essential JS 2 Gantt Component for React",
|
|
@@ -55,6 +55,6 @@
|
|
|
55
55
|
"type": "git",
|
|
56
56
|
"url": "git+https://github.com/syncfusion/ej2-react-ui-components.git"
|
|
57
57
|
},
|
|
58
|
-
"version": "21.1.
|
|
58
|
+
"version": "21.1.38",
|
|
59
59
|
"sideEffects": false
|
|
60
60
|
}
|
|
@@ -28,6 +28,7 @@ var GanttComponent = /** @class */ (function (_super) {
|
|
|
28
28
|
_this.checkInjectedModules = true;
|
|
29
29
|
_this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };
|
|
30
30
|
_this.statelessTemplateProps = null;
|
|
31
|
+
_this.templateProps = null;
|
|
31
32
|
_this.immediateRender = false;
|
|
32
33
|
_this.portals = [];
|
|
33
34
|
return _this;
|