@syncfusion/ej2-react-gantt 20.4.54 → 21.1.35
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 +22 -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 +9 -9
- package/src/gantt/gantt.component.d.ts +1 -0
- package/src/gantt/gantt.component.js +1 -0
- package/styles/bootstrap-dark.css +33 -10
- package/styles/bootstrap.css +31 -10
- package/styles/bootstrap4.css +28 -7
- package/styles/bootstrap5-dark.css +30 -9
- package/styles/bootstrap5.css +30 -9
- package/styles/fabric-dark.css +28 -7
- package/styles/fabric.css +28 -7
- package/styles/fluent-dark.css +56 -29
- package/styles/fluent.css +56 -29
- package/styles/gantt/bootstrap-dark.css +33 -10
- package/styles/gantt/bootstrap.css +31 -10
- package/styles/gantt/bootstrap4.css +28 -7
- package/styles/gantt/bootstrap5-dark.css +30 -9
- package/styles/gantt/bootstrap5.css +30 -9
- package/styles/gantt/fabric-dark.css +28 -7
- package/styles/gantt/fabric.css +28 -7
- package/styles/gantt/fluent-dark.css +56 -29
- package/styles/gantt/fluent.css +56 -29
- package/styles/gantt/highcontrast-light.css +28 -9
- package/styles/gantt/highcontrast.css +28 -7
- package/styles/gantt/material-dark.css +31 -14
- package/styles/gantt/material.css +28 -7
- package/styles/gantt/tailwind-dark.css +28 -7
- package/styles/gantt/tailwind.css +28 -7
- package/styles/highcontrast-light.css +28 -9
- package/styles/highcontrast.css +28 -7
- package/styles/material-dark.css +31 -14
- package/styles/material.css +28 -7
- package/styles/tailwind-dark.css +28 -7
- package/styles/tailwind.css +28 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
## [Unreleased]
|
|
4
4
|
|
|
5
|
+
### Gantt Chart
|
|
6
|
+
|
|
7
|
+
#### Features
|
|
8
|
+
|
|
9
|
+
- `#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).
|
|
10
|
+
- `#I417330` - Provided support to disable parent predecessor by using `allowParentDependency` property. Please find the `API` link [here](https://ej2.syncfusion.com/documentation/api/gantt/#allowparentdependency).
|
|
11
|
+
- `#I413261` - Restricted offset value update based on enabling or disabling the `API`. Please find the
|
|
12
|
+
- `API` link [here](https://ej2.syncfusion.com/documentation/api/gantt/#updateoffsetontaskbaredit).
|
|
13
|
+
- `#I420482` - Provided option to disable date validation at initial load based on enabling or disabling the `API`
|
|
14
|
+
- By disabling this `API` we can improve load time performance by two time. Please find the
|
|
15
|
+
- `API` link [here](https://ej2.syncfusion.com/documentation/api/gantt/#autocalculatedatescheduling).
|
|
16
|
+
|
|
17
|
+
- `#I419169` - Provided Taskbar drag and drop support for resource view in Gantt Chart. Please find the demo link [here](https://ej2.syncfusion.com/react/demos/#/bootstrap5/gantt/resource-multi-taskbar).
|
|
18
|
+
- `#I417330` - Provided support to disable parent predecessor by using `allowParentDependency` property. Please find the `API` link [here](https://ej2.syncfusion.com/react/documentation/api/gantt/#allowparentdependency).
|
|
19
|
+
- `#I413261` - Restricted offset value update based on enabling or disabling the `API`. Please find the
|
|
20
|
+
- `API` link [here](https://ej2.syncfusion.com/react/documentation/api/gantt/#updateoffsetontaskbaredit).
|
|
21
|
+
- `#I420482` - Provided option to disable date validation at initial load based on enabling or disabling the `API`
|
|
22
|
+
- By disabling this `API` we can improve load time performance by two time. Please find the
|
|
23
|
+
- `API` link [here](https://ej2.syncfusion.com/react/documentation/api/gantt/#autocalculatedatescheduling).
|
|
24
|
+
|
|
25
|
+
## 20.4.54 (2023-03-14)
|
|
26
|
+
|
|
5
27
|
### Gantt
|
|
6
28
|
|
|
7
29
|
#### Bug Fixes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* filename: ej2-react-gantt.min.js
|
|
3
|
-
* version :
|
|
3
|
+
* version : 21.1.35
|
|
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.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.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 :
|
|
3
|
+
* version : 21.1.35
|
|
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.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.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.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","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,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,KAAMuB,IAAUvB,KAMxC,OALAwB,EAAME,kBAAmB,EACzBF,EAAMG,sBAAuB,EAC7BH,EAAMI,eAAkBC,QAAW,SAAUC,gBAAmB,iBAAkBC,iBAAoB,kBAAmBC,yBAA4B,iBAAkBC,SAAY,UAAWC,aAAgB,eAC9MV,EAAMW,iBAAkB,EACxBX,EAAMY,WACCZ,EAWX,OAnBAnC,EAAUiC,EAAgBjB,GAU1BiB,EAAepB,UAAUmC,OAAS,WAC9B,KAAMrC,KAAKsC,UAAYtC,KAAK0B,kBAAqB1B,KAAKuC,aAAgBvC,KAAKwC,oBAKvE,OAAOC,gBAAoB,MAAOzC,KAAK0C,0BAA2BC,OAAO3C,KAAKuB,MAAMqB,SAAU5C,KAAKoC,UAJnG/B,EAAOH,UAAUmC,OAAOZ,KAAKzB,MAC7BA,KAAK0B,kBAAmB,GAMzBJ,GACTuB,SACFC,cACYxB,GAAiByB,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.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,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xC,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"}
|
|
@@ -133,6 +133,7 @@ class GanttComponent extends Gantt {
|
|
|
133
133
|
this.initRenderCalled = false;
|
|
134
134
|
this.checkInjectedModules = true;
|
|
135
135
|
this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };
|
|
136
|
+
this.statelessTemplateProps = null;
|
|
136
137
|
this.immediateRender = false;
|
|
137
138
|
this.portals = [];
|
|
138
139
|
}
|
|
@@ -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.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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,WAAW,CAAC,KAAK,EAAE;QACf,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAC9B,IAAI,CAAC,oBAAoB,GAAG,IAAI,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,EAAE,SAAS,EAAE,QAAQ,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,0BAA0B,EAAE,gBAAgB,EAAE,UAAU,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,CAAC;QAC7N,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC7B,IAAI,CAAC,OAAO,GAAG,EAAE,CAAC;KACrB;IACD,MAAM,GAAG;QACL,IAAI,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,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;;;;;;"}
|
|
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,C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|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-sTUlDYdTaOHez+6nW4tsa7zJwC6pn942D+sOmkvscRowsmZrpL/tJHnN9QORx9h0Xu1qG/5mloCYuR2q5yffOA==",
|
|
6
6
|
"_location": "/@syncfusion/ej2-react-gantt",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
@@ -19,10 +19,10 @@
|
|
|
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-release/@syncfusion/ej2-react-gantt/-/ej2-react-gantt-20.7.1.tgz",
|
|
23
|
+
"_shasum": "861c2589d645e234d3a076776726f7cd9b2b5380",
|
|
24
24
|
"_spec": "@syncfusion/ej2-react-gantt@*",
|
|
25
|
-
"_where": "/jenkins/workspace/
|
|
25
|
+
"_where": "/jenkins/workspace/elease-automation_release_21.1.1/packages/included",
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Syncfusion Inc."
|
|
28
28
|
},
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
},
|
|
32
32
|
"bundleDependencies": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@syncfusion/ej2-base": "~
|
|
35
|
-
"@syncfusion/ej2-gantt": "
|
|
36
|
-
"@syncfusion/ej2-react-base": "~
|
|
34
|
+
"@syncfusion/ej2-base": "~21.1.35",
|
|
35
|
+
"@syncfusion/ej2-gantt": "21.1.35",
|
|
36
|
+
"@syncfusion/ej2-react-base": "~21.1.35"
|
|
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": "
|
|
58
|
+
"version": "21.1.35",
|
|
59
59
|
"sideEffects": false
|
|
60
60
|
}
|
|
@@ -27,6 +27,7 @@ var GanttComponent = /** @class */ (function (_super) {
|
|
|
27
27
|
_this.initRenderCalled = false;
|
|
28
28
|
_this.checkInjectedModules = true;
|
|
29
29
|
_this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };
|
|
30
|
+
_this.statelessTemplateProps = null;
|
|
30
31
|
_this.immediateRender = false;
|
|
31
32
|
_this.portals = [];
|
|
32
33
|
return _this;
|
|
@@ -312,6 +312,12 @@
|
|
|
312
312
|
.e-bigger .e-gantt .e-gantt-tree-grid-pane .e-columnheader .e-headercell {
|
|
313
313
|
height: 63px !important; /* stylelint-disable-line declaration-no-important */
|
|
314
314
|
}
|
|
315
|
+
.e-bigger .e-gantt .e-gantt-dialog .e-tab .e-tab-header {
|
|
316
|
+
padding-left: 12px;
|
|
317
|
+
}
|
|
318
|
+
.e-bigger .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-indicator {
|
|
319
|
+
display: block;
|
|
320
|
+
}
|
|
315
321
|
.e-bigger .e-gantt .e-dialog .e-dlg-header-content {
|
|
316
322
|
padding: 16px 4px 16px 16px !important; /* stylelint-disable-line declaration-no-important */
|
|
317
323
|
}
|
|
@@ -341,7 +347,7 @@
|
|
|
341
347
|
border-radius: 6px !important;
|
|
342
348
|
padding: 32px 16px 16px !important;
|
|
343
349
|
}
|
|
344
|
-
.e-bigger .e-grid .e-columnmenu {
|
|
350
|
+
.e-bigger .e-gantt .e-grid .e-columnmenu {
|
|
345
351
|
top: 40px;
|
|
346
352
|
}
|
|
347
353
|
.e-bigger .e-gantt-dialog .e-dialog {
|
|
@@ -380,6 +386,7 @@
|
|
|
380
386
|
border-radius: 50%;
|
|
381
387
|
height: auto !important; /* stylelint-disable-line declaration-no-important */
|
|
382
388
|
width: auto;
|
|
389
|
+
box-shadow: none;
|
|
383
390
|
}
|
|
384
391
|
.e-bigger .e-gantt-dialog .e-tab .e-tab-header .e-toolbar-item.e-active {
|
|
385
392
|
margin-left: 5px !important;
|
|
@@ -1268,7 +1275,6 @@
|
|
|
1268
1275
|
outline: 1px solid;
|
|
1269
1276
|
outline-offset: 2px;
|
|
1270
1277
|
}
|
|
1271
|
-
|
|
1272
1278
|
.e-gantt-dialog .e-tab .e-tab-header {
|
|
1273
1279
|
padding-left: 12px;
|
|
1274
1280
|
}
|
|
@@ -1361,6 +1367,7 @@
|
|
|
1361
1367
|
border-radius: 50%;
|
|
1362
1368
|
height: auto !important; /* stylelint-disable-line declaration-no-important */
|
|
1363
1369
|
width: auto;
|
|
1370
|
+
box-shadow: none;
|
|
1364
1371
|
}
|
|
1365
1372
|
|
|
1366
1373
|
.e-icon-rowselect::before {
|
|
@@ -1665,13 +1672,13 @@
|
|
|
1665
1672
|
}
|
|
1666
1673
|
.e-gantt .e-gantt-chart .e-gantt-parent-progressbar-inner-div {
|
|
1667
1674
|
background-color: #4cc7ba;
|
|
1668
|
-
border:
|
|
1675
|
+
border: 0px solid #4cc7ba;
|
|
1669
1676
|
border-radius: 4px;
|
|
1670
1677
|
}
|
|
1671
1678
|
.e-gantt .e-gantt-chart .e-gantt-child-progressbar-inner-div {
|
|
1672
1679
|
background-color: #0070f0;
|
|
1673
|
-
border:
|
|
1674
|
-
border-radius:
|
|
1680
|
+
border: 0px solid #0070f0;
|
|
1681
|
+
border-radius: 3px;
|
|
1675
1682
|
}
|
|
1676
1683
|
.e-gantt .e-gantt-chart .e-gantt-child-manualtaskbar {
|
|
1677
1684
|
background-color: #8dd1c4;
|
|
@@ -1682,7 +1689,7 @@
|
|
|
1682
1689
|
}
|
|
1683
1690
|
.e-gantt .e-gantt-chart .e-gantt-child-manualprogressbar {
|
|
1684
1691
|
background-color: #67c1b2;
|
|
1685
|
-
|
|
1692
|
+
outline: #4fb29f;
|
|
1686
1693
|
}
|
|
1687
1694
|
.e-gantt .e-gantt-chart .e-gantt-critical-child-manualprogressbar {
|
|
1688
1695
|
background-color: #67c1b2;
|
|
@@ -1742,6 +1749,18 @@
|
|
|
1742
1749
|
.e-gantt .e-gantt-chart .e-line {
|
|
1743
1750
|
border-color: #0070f0;
|
|
1744
1751
|
}
|
|
1752
|
+
.e-gantt .e-gantt-chart .e-connector-line {
|
|
1753
|
+
stroke: #0070f0;
|
|
1754
|
+
}
|
|
1755
|
+
.e-gantt .e-gantt-chart .e-critical-line {
|
|
1756
|
+
stroke: #d13438;
|
|
1757
|
+
}
|
|
1758
|
+
.e-gantt .e-gantt-chart .e-connector-line-arrow {
|
|
1759
|
+
fill: #0070f0;
|
|
1760
|
+
}
|
|
1761
|
+
.e-gantt .e-gantt-chart .e-critical-line-arrow {
|
|
1762
|
+
fill: #d13438;
|
|
1763
|
+
}
|
|
1745
1764
|
.e-gantt .e-gantt-chart .e-connector-line-right-arrow {
|
|
1746
1765
|
border-left-color: #0070f0;
|
|
1747
1766
|
}
|
|
@@ -1793,7 +1812,10 @@
|
|
|
1793
1812
|
padding-right: 25px;
|
|
1794
1813
|
}
|
|
1795
1814
|
.e-gantt .e-gantt-chart .e-connectorpoint-right {
|
|
1796
|
-
margin-left:
|
|
1815
|
+
margin-left: 3px;
|
|
1816
|
+
}
|
|
1817
|
+
.e-gantt .e-gantt-chart .e-connectorpoint-left {
|
|
1818
|
+
margin-right: 3px;
|
|
1797
1819
|
}
|
|
1798
1820
|
.e-gantt .e-gantt-chart .e-right-connectorpoint-outer-div,
|
|
1799
1821
|
.e-gantt .e-gantt-chart .e-left-connectorpoint-outer-div {
|
|
@@ -2054,14 +2076,15 @@
|
|
|
2054
2076
|
|
|
2055
2077
|
.e-gantt .e-gantt-chart .e-gantt-child-critical-taskbar-inner-div {
|
|
2056
2078
|
background-color: #F3D8DA;
|
|
2057
|
-
|
|
2079
|
+
outline: 1px solid #F3D8DA;
|
|
2058
2080
|
border-radius: 4px;
|
|
2059
2081
|
}
|
|
2060
2082
|
|
|
2061
2083
|
.e-gantt .e-gantt-chart .e-gantt-child-critical-progressbar-inner-div {
|
|
2062
2084
|
background-color: #D13438;
|
|
2063
|
-
border:
|
|
2064
|
-
|
|
2085
|
+
border: 0px solid #0070f0;
|
|
2086
|
+
position: absolute;
|
|
2087
|
+
border-radius: 3px;
|
|
2065
2088
|
}
|
|
2066
2089
|
|
|
2067
2090
|
.e-gantt .e-gantt-chart .e-gantt-critical-unscheduled-taskbar {
|
package/styles/bootstrap.css
CHANGED
|
@@ -456,6 +456,12 @@
|
|
|
456
456
|
.e-bigger .e-gantt .e-gantt-tree-grid-pane .e-columnheader .e-headercell {
|
|
457
457
|
height: 63px !important; /* stylelint-disable-line declaration-no-important */
|
|
458
458
|
}
|
|
459
|
+
.e-bigger .e-gantt .e-gantt-dialog .e-tab .e-tab-header {
|
|
460
|
+
padding-left: 12px;
|
|
461
|
+
}
|
|
462
|
+
.e-bigger .e-gantt .e-gantt-dialog .e-tab .e-tab-header .e-indicator {
|
|
463
|
+
display: block;
|
|
464
|
+
}
|
|
459
465
|
.e-bigger .e-gantt .e-dialog .e-dlg-header-content {
|
|
460
466
|
padding: 16px 4px 16px 16px !important; /* stylelint-disable-line declaration-no-important */
|
|
461
467
|
}
|
|
@@ -485,7 +491,7 @@
|
|
|
485
491
|
border-radius: 6px !important;
|
|
486
492
|
padding: 32px 16px 16px !important;
|
|
487
493
|
}
|
|
488
|
-
.e-bigger .e-grid .e-columnmenu {
|
|
494
|
+
.e-bigger .e-gantt .e-grid .e-columnmenu {
|
|
489
495
|
top: 40px;
|
|
490
496
|
}
|
|
491
497
|
.e-bigger .e-gantt-dialog .e-dialog {
|
|
@@ -1412,7 +1418,6 @@
|
|
|
1412
1418
|
outline: 1px solid;
|
|
1413
1419
|
outline-offset: 2px;
|
|
1414
1420
|
}
|
|
1415
|
-
|
|
1416
1421
|
.e-gantt-dialog .e-tab .e-tab-header {
|
|
1417
1422
|
padding-left: 12px;
|
|
1418
1423
|
}
|
|
@@ -1809,13 +1814,13 @@
|
|
|
1809
1814
|
}
|
|
1810
1815
|
.e-gantt .e-gantt-chart .e-gantt-parent-progressbar-inner-div {
|
|
1811
1816
|
background-color: #555;
|
|
1812
|
-
border:
|
|
1817
|
+
border: 0px solid #555;
|
|
1813
1818
|
border-radius: 4px;
|
|
1814
1819
|
}
|
|
1815
1820
|
.e-gantt .e-gantt-chart .e-gantt-child-progressbar-inner-div {
|
|
1816
1821
|
background-color: #21527d;
|
|
1817
|
-
border:
|
|
1818
|
-
border-radius:
|
|
1822
|
+
border: 0px solid #21527d;
|
|
1823
|
+
border-radius: 3px;
|
|
1819
1824
|
}
|
|
1820
1825
|
.e-gantt .e-gantt-chart .e-gantt-child-manualtaskbar {
|
|
1821
1826
|
background-color: #7538C9;
|
|
@@ -1826,7 +1831,7 @@
|
|
|
1826
1831
|
}
|
|
1827
1832
|
.e-gantt .e-gantt-chart .e-gantt-child-manualprogressbar {
|
|
1828
1833
|
background-color: #572A96;
|
|
1829
|
-
|
|
1834
|
+
outline: 0px;
|
|
1830
1835
|
}
|
|
1831
1836
|
.e-gantt .e-gantt-chart .e-gantt-critical-child-manualprogressbar {
|
|
1832
1837
|
background-color: #572A96;
|
|
@@ -1886,6 +1891,18 @@
|
|
|
1886
1891
|
.e-gantt .e-gantt-chart .e-line {
|
|
1887
1892
|
border-color: #21527d;
|
|
1888
1893
|
}
|
|
1894
|
+
.e-gantt .e-gantt-chart .e-connector-line {
|
|
1895
|
+
stroke: #21527d;
|
|
1896
|
+
}
|
|
1897
|
+
.e-gantt .e-gantt-chart .e-critical-line {
|
|
1898
|
+
stroke: #d13438;
|
|
1899
|
+
}
|
|
1900
|
+
.e-gantt .e-gantt-chart .e-connector-line-arrow {
|
|
1901
|
+
fill: #21527d;
|
|
1902
|
+
}
|
|
1903
|
+
.e-gantt .e-gantt-chart .e-critical-line-arrow {
|
|
1904
|
+
fill: #d13438;
|
|
1905
|
+
}
|
|
1889
1906
|
.e-gantt .e-gantt-chart .e-connector-line-right-arrow {
|
|
1890
1907
|
border-left-color: #21527d;
|
|
1891
1908
|
}
|
|
@@ -1937,7 +1954,10 @@
|
|
|
1937
1954
|
padding-right: 25px;
|
|
1938
1955
|
}
|
|
1939
1956
|
.e-gantt .e-gantt-chart .e-connectorpoint-right {
|
|
1940
|
-
margin-left:
|
|
1957
|
+
margin-left: 3px;
|
|
1958
|
+
}
|
|
1959
|
+
.e-gantt .e-gantt-chart .e-connectorpoint-left {
|
|
1960
|
+
margin-right: 3px;
|
|
1941
1961
|
}
|
|
1942
1962
|
.e-gantt .e-gantt-chart .e-right-connectorpoint-outer-div,
|
|
1943
1963
|
.e-gantt .e-gantt-chart .e-left-connectorpoint-outer-div {
|
|
@@ -2198,14 +2218,15 @@
|
|
|
2198
2218
|
|
|
2199
2219
|
.e-gantt .e-gantt-chart .e-gantt-child-critical-taskbar-inner-div {
|
|
2200
2220
|
background-color: #F3D8DA;
|
|
2201
|
-
|
|
2221
|
+
outline: 1px solid #F3D8DA;
|
|
2202
2222
|
border-radius: 4px;
|
|
2203
2223
|
}
|
|
2204
2224
|
|
|
2205
2225
|
.e-gantt .e-gantt-chart .e-gantt-child-critical-progressbar-inner-div {
|
|
2206
2226
|
background-color: #D13438;
|
|
2207
|
-
border:
|
|
2208
|
-
|
|
2227
|
+
border: 0px solid #21527d;
|
|
2228
|
+
position: absolute;
|
|
2229
|
+
border-radius: 3px;
|
|
2209
2230
|
}
|
|
2210
2231
|
|
|
2211
2232
|
.e-gantt .e-gantt-chart .e-gantt-critical-unscheduled-taskbar {
|