@syncfusion/ej2-react-gantt 25.2.6 → 26.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.
Files changed (52) hide show
  1. package/diConfig.json +52 -0
  2. package/dist/ej2-react-gantt.min.js +2 -2
  3. package/dist/ej2-react-gantt.umd.min.js +2 -2
  4. package/dist/ej2-react-gantt.umd.min.js.map +1 -1
  5. package/dist/es6/ej2-react-gantt.es2015.js +26 -6
  6. package/dist/es6/ej2-react-gantt.es2015.js.map +1 -1
  7. package/package.json +9 -9
  8. package/src/gantt/gantt.component.d.ts +1 -0
  9. package/src/gantt/gantt.component.js +1 -1
  10. package/src/gantt/index.d.ts +1 -0
  11. package/src/gantt/index.js +1 -0
  12. package/src/gantt/weekworkingtime-directive.d.ts +23 -0
  13. package/src/gantt/weekworkingtime-directive.js +45 -0
  14. package/styles/bootstrap-dark.css +2188 -1
  15. package/styles/bootstrap.css +2318 -1
  16. package/styles/bootstrap4.css +2531 -1
  17. package/styles/bootstrap5-dark.css +2213 -1
  18. package/styles/bootstrap5.css +2213 -1
  19. package/styles/fabric-dark.css +2133 -1
  20. package/styles/fabric.css +2121 -1
  21. package/styles/fluent-dark.css +2209 -1
  22. package/styles/fluent.css +2209 -1
  23. package/styles/fluent2.css +3458 -0
  24. package/styles/fluent2.scss +1 -0
  25. package/styles/gantt/bootstrap-dark.css +2188 -1
  26. package/styles/gantt/bootstrap.css +2318 -1
  27. package/styles/gantt/bootstrap4.css +2531 -1
  28. package/styles/gantt/bootstrap5-dark.css +2213 -1
  29. package/styles/gantt/bootstrap5.css +2213 -1
  30. package/styles/gantt/fabric-dark.css +2133 -1
  31. package/styles/gantt/fabric.css +2121 -1
  32. package/styles/gantt/fluent-dark.css +2209 -1
  33. package/styles/gantt/fluent.css +2209 -1
  34. package/styles/gantt/fluent2.css +3458 -0
  35. package/styles/gantt/fluent2.scss +1 -0
  36. package/styles/gantt/highcontrast-light.css +2092 -1
  37. package/styles/gantt/highcontrast.css +2219 -1
  38. package/styles/gantt/material-dark.css +2240 -1
  39. package/styles/gantt/material.css +2292 -1
  40. package/styles/gantt/material3-dark.css +2367 -1
  41. package/styles/gantt/material3.css +2479 -1
  42. package/styles/gantt/tailwind-dark.css +2218 -1
  43. package/styles/gantt/tailwind.css +2218 -1
  44. package/styles/highcontrast-light.css +2092 -1
  45. package/styles/highcontrast.css +2219 -1
  46. package/styles/material-dark.css +2240 -1
  47. package/styles/material.css +2292 -1
  48. package/styles/material3-dark.css +2367 -1
  49. package/styles/material3.css +2479 -1
  50. package/styles/tailwind-dark.css +2218 -1
  51. package/styles/tailwind.css +2218 -1
  52. package/CHANGELOG.md +0 -2447
package/diConfig.json CHANGED
@@ -439,6 +439,57 @@
439
439
  " */"
440
440
  ]
441
441
  },
442
+ {
443
+ "arrayDirectiveClassName": "WeekWorkingTimes",
444
+ "directiveClassName": "WeekWorkingTime",
445
+ "arrayDirectiveSelector": "ejs-gantt>e-week-working-times",
446
+ "directiveSelector": "ejs-gantt>e-week-working-times>e-week-working-time",
447
+ "directoryName": "gantt",
448
+ "propertyName": "weekWorkingTime",
449
+ "baseClass": "WeekWorkingTime",
450
+ "comment": [
451
+ "/**",
452
+ " * `e-week-working-times` directive represent a working time ranges in a day. ",
453
+ " * It must be contained in a Gantt component(`ejs-gantt`). ",
454
+ " * ```html",
455
+ " * <ejs-gantt [dataSource]='data' allowSelection='true' allowSorting='true'> ",
456
+ " * <e-week-working-times>",
457
+ " * <e-week-working-time dayOfWeek='Monday'></e-week-working-time>",
458
+ " * <e-week-working-time dayOfWeek='Monday'></e-week-working-time>",
459
+ " * </e-week-working-times>",
460
+ " * </ejs-gantt>",
461
+ " * ```",
462
+ " */"
463
+ ],
464
+ "reactComment": [
465
+ "/**",
466
+ " * `WeekWorkingTimeDirective` represent a working time ranges in a day. ",
467
+ " * It must be contained in a Gantt component(`GanttComponent`). ",
468
+ " * ```tsx",
469
+ " * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}> ",
470
+ " * <WeekWorkingTimeCollection>",
471
+ " * <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>",
472
+ " * <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>",
473
+ " * </WeekWorkingTimeCollection>",
474
+ " * </GanttComponent>",
475
+ " * ```",
476
+ " */"
477
+ ],
478
+ "vueComment": [
479
+ "/**",
480
+ " * `e-week-working-time-collection` directive represent a working time ranges in a day. ",
481
+ " * It must be contained in a Gantt component(`ejs-gantt`). ",
482
+ " * ```vue",
483
+ " * <ejs-gantt :dataSource]='data' allowSelection='true' allowSorting='true'>",
484
+ " * <e-week-working-time-collection>",
485
+ " * <e-week-working-time dayOfWeek='Monday' from='8' to='12'/>",
486
+ " * <e-week-working-time dayOfWeek='Monday' from='13' to='17'/>",
487
+ " * </e-week-working-time-collection>",
488
+ " * </ejs-gantt>",
489
+ " * ```",
490
+ " */"
491
+ ]
492
+ },
442
493
  {
443
494
  "arrayDirectiveClassName": "Holidays",
444
495
  "directiveClassName": "Holiday",
@@ -541,6 +592,7 @@
541
592
  ],
542
593
  "templateProperties": [
543
594
  "parentTaskbarTemplate",
595
+ "timelineTemplate",
544
596
  "milestoneTemplate",
545
597
  "taskbarTemplate",
546
598
  "labelSettings.rightLabel",
@@ -1,10 +1,10 @@
1
1
  /*!
2
2
  * filename: ej2-react-gantt.min.js
3
- * version : 25.2.6
3
+ * version : 26.1.35
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(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}])});
10
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionGantt")):"function"==typeof define&&define.amd?define(["SyncfusionReactBase","React","SyncfusionGantt"],t):"object"==typeof exports?exports.SyncfusionReactGantt=t(require("SyncfusionReactBase"),require("React"),require("SyncfusionGantt")):e.SyncfusionReactGantt=t(e.SyncfusionReactBase,e.React,e.SyncfusionGantt)}(self,((e,t,n)=>(()=>{"use strict";var o={106:(e,t,n)=>{n.d(t,{Gg:()=>l,Xb:()=>p,iK:()=>u,SR:()=>c,Qm:()=>_,nt:()=>m,q0:()=>f,J_:()=>y,sy:()=>x,tI:()=>C,Hq:()=>P,Tx:()=>k,Ai:()=>O,BF:()=>v,Mh:()=>D});var o,r=n(705),i=(o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},o(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.moduleName="column",t}(r.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="columns",t.moduleName="columns",t}(r.ComplexBase),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="addDialogField",t}(r.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.propertyName="addDialogFields",t.moduleName="addDialogFields",t}(r.ComplexBase),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.moduleName="editDialogField",t}(r.ComplexBase),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.propertyName="editDialogFields",t.moduleName="editDialogFields",t}(r.ComplexBase),d=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.moduleName="dayWorkingTime",t}(r.ComplexBase),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.propertyName="dayWorkingTime",t.moduleName="dayWorkingTimeCollection",t}(r.ComplexBase),h=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.moduleName="weekWorkingTime",t}(r.ComplexBase),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.propertyName="weekWorkingTime",t.moduleName="weekWorkingTimes",t}(r.ComplexBase),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.moduleName="holiday",t}(r.ComplexBase),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.propertyName="holidays",t.moduleName="holidays",t}(r.ComplexBase),b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.moduleName="eventMarker",t}(r.ComplexBase),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.propertyName="eventMarkers",t.moduleName="eventMarkers",t}(r.ComplexBase),j=n(24),T=n(31),w=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),P=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",weekWorkingTimes:"weekWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.portals=[],n}return w(t,e),t.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return j.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(T.Gantt);(0,r.applyMixins)(P,[r.ComponentBase,j.Component])},24:e=>{e.exports=t},31:e=>{e.exports=n},705:t=>{t.exports=e}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{i.r(u),i.d(u,{AddDialogFieldDirective:()=>e.Gg,AddDialogFieldsDirective:()=>e.Xb,ColumnDirective:()=>e.iK,ColumnsDirective:()=>e.SR,DayWorkingTimeCollectionDirective:()=>e.Qm,DayWorkingTimeDirective:()=>e.nt,EditDialogFieldDirective:()=>e.q0,EditDialogFieldsDirective:()=>e.J_,EventMarkerDirective:()=>e.sy,EventMarkersDirective:()=>e.tI,GanttComponent:()=>e.Hq,HolidayDirective:()=>e.Tx,HolidaysDirective:()=>e.Ai,Inject:()=>t.Inject,WeekWorkingTimeDirective:()=>e.BF,WeekWorkingTimesDirective:()=>e.Mh});var e=i(106),t=i(705),n=i(31),o={};for(const e in n)["default","Inject","AddDialogFieldDirective","AddDialogFieldsDirective","ColumnDirective","ColumnsDirective","DayWorkingTimeCollectionDirective","DayWorkingTimeDirective","EditDialogFieldDirective","EditDialogFieldsDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","HolidayDirective","HolidaysDirective","WeekWorkingTimeDirective","WeekWorkingTimesDirective"].indexOf(e)<0&&(o[e]=()=>n[e]);i.d(u,o)})(),u})()));
@@ -1,11 +1,11 @@
1
1
  /*!
2
2
  * filename: ej2-react-gantt.umd.min.js
3
- * version : 25.2.6
3
+ * version : 26.1.35
4
4
  * Copyright Syncfusion Inc. 2001 - 2023. All rights reserved.
5
5
  * Use of this code is subject to the terms of our license.
6
6
  * A copy of the current license can be obtained at any time by e-mailing
7
7
  * licensing@syncfusion.com. Any infringement will be prosecuted under
8
8
  * applicable laws.
9
9
  */
10
- !function(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})});
10
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-gantt")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-gantt"],t):t((e=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Gantt)}(this,function(t,e,R,o){"use strict";n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var n,r,i=function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},E=(r=e.ComplexBase,i(a,r),a.moduleName="column",a);function a(){return null!==r&&r.apply(this,arguments)||this}l=e.ComplexBase,i(c,l),c.propertyName="columns",c.moduleName="columns";var l,i=c;function c(){return null!==l&&l.apply(this,arguments)||this}p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var p,u,s=function(e,t){function o(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},q=(u=e.ComplexBase,s(f,u),f.moduleName="addDialogField",f);function f(){return null!==u&&u.apply(this,arguments)||this}y=e.ComplexBase,s(d,y),d.propertyName="addDialogFields",d.moduleName="addDialogFields";var y,s=d;function d(){return null!==y&&y.apply(this,arguments)||this}m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var m,_,h=function(e,t){function o(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},G=(_=e.ComplexBase,h(v,_),v.moduleName="editDialogField",v);function v(){return null!==_&&_.apply(this,arguments)||this}O=e.ComplexBase,h(g,O),g.propertyName="editDialogFields",g.moduleName="editDialogFields";var O,h=g;function g(){return null!==O&&O.apply(this,arguments)||this}j=function(e,t){return(j=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var j,k,D=function(e,t){function o(){this.constructor=e}j(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},I=(k=e.ComplexBase,D(H,k),H.moduleName="dayWorkingTime",H);function H(){return null!==k&&k.apply(this,arguments)||this}b=e.ComplexBase,D(C,b),C.propertyName="dayWorkingTime",C.moduleName="dayWorkingTimeCollection";var b,D=C;function C(){return null!==b&&b.apply(this,arguments)||this}U=function(e,t){return(U=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var U,w,z=function(e,t){function o(){this.constructor=e}U(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},J=(w=e.ComplexBase,z(K,w),K.moduleName="weekWorkingTime",K);function K(){return null!==w&&w.apply(this,arguments)||this}N=e.ComplexBase,z(P,N),P.propertyName="weekWorkingTime",P.moduleName="weekWorkingTimes";var N,z=P;function P(){return null!==N&&N.apply(this,arguments)||this}L=function(e,t){return(L=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var L,x,Q=function(e,t){function o(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},S=(x=e.ComplexBase,Q(V,x),V.moduleName="holiday",V);function V(){return null!==x&&x.apply(this,arguments)||this}B=e.ComplexBase,Q(W,B),W.propertyName="holidays",W.moduleName="holidays";var B,Q=W;function W(){return null!==B&&B.apply(this,arguments)||this}X=function(e,t){return(X=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var X,F,Y=function(e,t){function o(){this.constructor=e}X(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},Z=(F=e.ComplexBase,Y($,F),$.moduleName="eventMarker",$);function $(){return null!==F&&F.apply(this,arguments)||this}T=e.ComplexBase,Y(A,T),A.propertyName="eventMarkers",A.moduleName="eventMarkers";var T,Y=A;function A(){return null!==T&&T.apply(this,arguments)||this}ee=function(e,t){return(ee=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var ee,M,te=function(e,t){function o(){this.constructor=e}ee(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},te=(M=o.Gantt,te(oe,M),oe.prototype.render=function(){if(!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return R.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));M.prototype.render.call(this),this.initRenderCalled=!0},oe);function oe(e){e=M.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",weekWorkingTimes:"weekWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.portals=[],e}e.applyMixins(te,[e.ComponentBase,R.Component]),Object.keys(o).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.AddDialogFieldDirective=q,t.AddDialogFieldsDirective=s,t.ColumnDirective=E,t.ColumnsDirective=i,t.DayWorkingTimeCollectionDirective=D,t.DayWorkingTimeDirective=I,t.EditDialogFieldDirective=G,t.EditDialogFieldsDirective=h,t.EventMarkerDirective=Z,t.EventMarkersDirective=Y,t.GanttComponent=te,t.HolidayDirective=S,t.HolidaysDirective=Q,t.WeekWorkingTimeDirective=J,t.WeekWorkingTimesDirective=z,Object.defineProperty(t,"__esModule",{value:!0})});
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.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,OAAk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C9B,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"}
1
+ {"version":3,"file":"ej2-react-gantt.umd.min.js","sources":["../src/gantt/columns-directive.js","../src/gantt/adddialogfields-directive.js","../src/gantt/editdialogfields-directive.js","../src/gantt/dayworkingtime-directive.js","../src/gantt/weekworkingtime-directive.js","../src/gantt/holidays-directive.js","../src/gantt/eventmarkers-directive.js","../src/gantt/gantt.component.js"],"sourcesContent":["var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <ColumnsDirective>\n * <ColumnDirective field='ID' width='150'></ColumnDirective>\n * <ColumnDirective field='taskName' headerText='Task Name' width='200'></ColumnDirective>\n * </ColumnsDirective>\n * </GanttComponent>\n * ```\n */\nvar ColumnDirective = /** @class */ (function (_super) {\n __extends(ColumnDirective, _super);\n function ColumnDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnDirective.moduleName = 'column';\n return ColumnDirective;\n}(ComplexBase));\nexport { ColumnDirective };\nvar ColumnsDirective = /** @class */ (function (_super) {\n __extends(ColumnsDirective, _super);\n function ColumnsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ColumnsDirective.propertyName = 'columns';\n ColumnsDirective.moduleName = 'columns';\n return ColumnsDirective;\n}(ComplexBase));\nexport { ColumnsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `AddDialogFieldDirective` represent a add dialog fields of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <AddDialogFieldsDirective>\n * <AddDialogFieldDirective type='General' headerText='General'></AddDialogFieldDirective>\n * <AddDialogFieldDirective type='Dependency' headerText='Dependency'></AddDialogFieldDirective>\n * </AddDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nvar AddDialogFieldDirective = /** @class */ (function (_super) {\n __extends(AddDialogFieldDirective, _super);\n function AddDialogFieldDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AddDialogFieldDirective.moduleName = 'addDialogField';\n return AddDialogFieldDirective;\n}(ComplexBase));\nexport { AddDialogFieldDirective };\nvar AddDialogFieldsDirective = /** @class */ (function (_super) {\n __extends(AddDialogFieldsDirective, _super);\n function AddDialogFieldsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n AddDialogFieldsDirective.propertyName = 'addDialogFields';\n AddDialogFieldsDirective.moduleName = 'addDialogFields';\n return AddDialogFieldsDirective;\n}(ComplexBase));\nexport { AddDialogFieldsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EditDialogFieldDirective` represent a add dialog fields in VueJS Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EditDialogFieldsDirective>\n * <EditDialogFieldDirective type='General' headerText='General'></EditDialogFieldDirective>\n * <EditDialogFieldDirective type='Dependency' headerText='Dependency'></EditDialogFieldDirective>\n * </EditDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nvar EditDialogFieldDirective = /** @class */ (function (_super) {\n __extends(EditDialogFieldDirective, _super);\n function EditDialogFieldDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EditDialogFieldDirective.moduleName = 'editDialogField';\n return EditDialogFieldDirective;\n}(ComplexBase));\nexport { EditDialogFieldDirective };\nvar EditDialogFieldsDirective = /** @class */ (function (_super) {\n __extends(EditDialogFieldsDirective, _super);\n function EditDialogFieldsDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EditDialogFieldsDirective.propertyName = 'editDialogFields';\n EditDialogFieldsDirective.moduleName = 'editDialogFields';\n return EditDialogFieldsDirective;\n}(ComplexBase));\nexport { EditDialogFieldsDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `DayWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <DayWorkingTimeCollection>\n * <DayWorkingTime from='8' to='12'></DayWorkingTimeCollection>\n * <DayWorkingTime from='13' to='17'></DayWorkingTimeCollection>\n * </DayWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nvar DayWorkingTimeDirective = /** @class */ (function (_super) {\n __extends(DayWorkingTimeDirective, _super);\n function DayWorkingTimeDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DayWorkingTimeDirective.moduleName = 'dayWorkingTime';\n return DayWorkingTimeDirective;\n}(ComplexBase));\nexport { DayWorkingTimeDirective };\nvar DayWorkingTimeCollectionDirective = /** @class */ (function (_super) {\n __extends(DayWorkingTimeCollectionDirective, _super);\n function DayWorkingTimeCollectionDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n DayWorkingTimeCollectionDirective.propertyName = 'dayWorkingTime';\n DayWorkingTimeCollectionDirective.moduleName = 'dayWorkingTimeCollection';\n return DayWorkingTimeCollectionDirective;\n}(ComplexBase));\nexport { DayWorkingTimeCollectionDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `WeekWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>\n * </WeekWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nvar WeekWorkingTimeDirective = /** @class */ (function (_super) {\n __extends(WeekWorkingTimeDirective, _super);\n function WeekWorkingTimeDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n WeekWorkingTimeDirective.moduleName = 'weekWorkingTime';\n return WeekWorkingTimeDirective;\n}(ComplexBase));\nexport { WeekWorkingTimeDirective };\nvar WeekWorkingTimesDirective = /** @class */ (function (_super) {\n __extends(WeekWorkingTimesDirective, _super);\n function WeekWorkingTimesDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n WeekWorkingTimesDirective.propertyName = 'weekWorkingTime';\n WeekWorkingTimesDirective.moduleName = 'weekWorkingTimes';\n return WeekWorkingTimesDirective;\n}(ComplexBase));\nexport { WeekWorkingTimesDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `HolidaysDirective` represent a holidays collection in Gantt..\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <HolidaysDirective>\n * <HolidayDirective from='02/20/2018' label='Holiday 1'></HolidayDirective>\n * <HolidayDirective from='05/15/2018' label='Holiday 2'></HolidayDirective>\n * </HolidaysDirective>\n * </GanttComponent>\n * ```\n */\nvar HolidayDirective = /** @class */ (function (_super) {\n __extends(HolidayDirective, _super);\n function HolidayDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HolidayDirective.moduleName = 'holiday';\n return HolidayDirective;\n}(ComplexBase));\nexport { HolidayDirective };\nvar HolidaysDirective = /** @class */ (function (_super) {\n __extends(HolidaysDirective, _super);\n function HolidaysDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n HolidaysDirective.propertyName = 'holidays';\n HolidaysDirective.moduleName = 'holidays';\n return HolidaysDirective;\n}(ComplexBase));\nexport { HolidaysDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EventMarkersDirective` represent a event marker collection in Gantt\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EventMarkersDirective>\n * <EventMarkerDirective day='02/10/2018' label='Project Starts'></EventMarkerDirective>\n * </EventMarkersDirective>\n * </GanttComponent>\n * ```\n */\nvar EventMarkerDirective = /** @class */ (function (_super) {\n __extends(EventMarkerDirective, _super);\n function EventMarkerDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EventMarkerDirective.moduleName = 'eventMarker';\n return EventMarkerDirective;\n}(ComplexBase));\nexport { EventMarkerDirective };\nvar EventMarkersDirective = /** @class */ (function (_super) {\n __extends(EventMarkersDirective, _super);\n function EventMarkersDirective() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n EventMarkersDirective.propertyName = 'eventMarkers';\n EventMarkersDirective.moduleName = 'eventMarkers';\n return EventMarkersDirective;\n}(ComplexBase));\nexport { EventMarkersDirective };\n","var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nimport * as React from 'react';\nimport { Gantt } from '@syncfusion/ej2-gantt';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `GanttComponent` represents the react Gantt.\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}/>\n * ```\n */\nvar GanttComponent = /** @class */ (function (_super) {\n __extends(GanttComponent, _super);\n function GanttComponent(props) {\n var _this = _super.call(this, props) || this;\n _this.initRenderCalled = false;\n _this.checkInjectedModules = true;\n _this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'weekWorkingTimes': 'weekWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };\n _this.statelessTemplateProps = null;\n _this.templateProps = null;\n _this.immediateRender = false;\n _this.portals = [];\n return _this;\n }\n GanttComponent.prototype.render = function () {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n _super.prototype.render.call(this);\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n };\n return GanttComponent;\n}(Gantt));\nexport { GanttComponent };\napplyMixins(GanttComponent, [ComponentBase, React.Component]);\n"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","_super","__extends","__","this","constructor","prototype","create","ColumnDirective","ComplexBase","moduleName","apply","arguments","ColumnsDirective","propertyName","AddDialogFieldDirective","AddDialogFieldsDirective","EditDialogFieldDirective","EditDialogFieldsDirective","DayWorkingTimeDirective","DayWorkingTimeCollectionDirective","WeekWorkingTimeDirective","WeekWorkingTimesDirective","HolidayDirective","HolidaysDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","Gantt","render","element","initRenderCalled","refreshing","isReactForeceUpdate","React.createElement","getDefaultAttributes","concat","props","children","portals","call","_this","checkInjectedModules","directivekeys","columns","addDialogFields","editDialogFields","dayWorkingTimeCollection","weekWorkingTimes","holidays","eventMarkers","statelessTemplateProps","templateProps","immediateRender","ComponentBase","React.Component"],"mappings":"4XACQA,EAAgB,SAAUC,EAAGC,GAI7B,OAHAF,EAAgBG,OAAOC,iBAClB,CAAEC,UAAW,cAAgBC,MAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,GACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOA,EAAEM,eAAeD,CAAC,IAAGN,EAAEM,GAAKL,EAAEK,OACpDN,EAAGC,CAAC,GALjC,IACQF,EAyBuCS,EA1B3CC,EAOO,SAAUT,EAAGC,GAEhB,SAASS,IAAOC,KAAKC,YAAcZ,EADnCD,EAAcC,EAAGC,CAAC,EAElBD,EAAEa,UAAkB,OAANZ,EAAaC,OAAOY,OAAOb,CAAC,GAAKS,EAAGG,UAAYZ,EAAEY,UAAW,IAAIH,IAgBnFK,GAA2CP,EAO7CQ,cANEP,EAAUM,EAAiBP,CAAM,EAIjCO,EAAgBE,WAAa,SACtBF,GAJP,SAASA,IACL,OAAkB,OAAXP,GAAmBA,EAAOU,MAAMP,KAAMQ,SAAS,GAAKR,KAMnBH,EAQ9CQ,cAPEP,EAA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B,CAAA,EAC7BD,EAAME,cAAgB,CAAEC,QAAW,SAAUC,gBAAmB,iBAAkBC,iBAAoB,kBAAmBC,yBAA4B,iBAAkBC,iBAAoB,kBAAmBC,SAAY,UAAWC,aAAgB,eACrPT,EAAMU,uBAAyB,KAC/BV,EAAMW,cAAgB,KACtBX,EAAMY,gBAAkB,CAAA,EACxBZ,EAAMF,QAAU,GACTE,gBAcHd,GAAgB,CAAC2B,gBAAeC,YAAgB"}
@@ -1,6 +1,8 @@
1
- import { ComplexBase, ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
2
- import { Component, createElement } from 'react';
1
+ import { ComplexBase, applyMixins, ComponentBase } from '@syncfusion/ej2-react-base';
2
+ export { Inject } from '@syncfusion/ej2-react-base';
3
+ import { createElement, Component } from 'react';
3
4
  import { Gantt } from '@syncfusion/ej2-gantt';
5
+ export * from '@syncfusion/ej2-gantt';
4
6
 
5
7
  /**
6
8
  * `ColumnDirective` represent a column of the react Gantt.
@@ -82,6 +84,26 @@ class DayWorkingTimeCollectionDirective extends ComplexBase {
82
84
  DayWorkingTimeCollectionDirective.propertyName = 'dayWorkingTime';
83
85
  DayWorkingTimeCollectionDirective.moduleName = 'dayWorkingTimeCollection';
84
86
 
87
+ /**
88
+ * `WeekWorkingTimeDirective` represent a working time ranges in a day.
89
+ * It must be contained in a Gantt component(`GanttComponent`).
90
+ * ```tsx
91
+ * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>
92
+ * <WeekWorkingTimeCollection>
93
+ * <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>
94
+ * <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>
95
+ * </WeekWorkingTimeCollection>
96
+ * </GanttComponent>
97
+ * ```
98
+ */
99
+ class WeekWorkingTimeDirective extends ComplexBase {
100
+ }
101
+ WeekWorkingTimeDirective.moduleName = 'weekWorkingTime';
102
+ class WeekWorkingTimesDirective extends ComplexBase {
103
+ }
104
+ WeekWorkingTimesDirective.propertyName = 'weekWorkingTime';
105
+ WeekWorkingTimesDirective.moduleName = 'weekWorkingTimes';
106
+
85
107
  /**
86
108
  * `HolidaysDirective` represent a holidays collection in Gantt..
87
109
  * It must be contained in a Gantt component(`GanttComponent`).
@@ -132,7 +154,7 @@ class GanttComponent extends Gantt {
132
154
  super(props);
133
155
  this.initRenderCalled = false;
134
156
  this.checkInjectedModules = true;
135
- this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };
157
+ this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'weekWorkingTimes': 'weekWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };
136
158
  this.statelessTemplateProps = null;
137
159
  this.templateProps = null;
138
160
  this.immediateRender = false;
@@ -150,7 +172,5 @@ class GanttComponent extends Gantt {
150
172
  }
151
173
  applyMixins(GanttComponent, [ComponentBase, Component]);
152
174
 
153
- export { ColumnDirective, ColumnsDirective, AddDialogFieldDirective, AddDialogFieldsDirective, EditDialogFieldDirective, EditDialogFieldsDirective, DayWorkingTimeDirective, DayWorkingTimeCollectionDirective, HolidayDirective, HolidaysDirective, EventMarkerDirective, EventMarkersDirective, GanttComponent };
154
- export * from '@syncfusion/ej2-gantt';
155
- export { Inject } from '@syncfusion/ej2-react-base';
175
+ export { AddDialogFieldDirective, AddDialogFieldsDirective, ColumnDirective, ColumnsDirective, DayWorkingTimeCollectionDirective, DayWorkingTimeDirective, EditDialogFieldDirective, EditDialogFieldsDirective, EventMarkerDirective, EventMarkersDirective, GanttComponent, HolidayDirective, HolidaysDirective, WeekWorkingTimeDirective, WeekWorkingTimesDirective };
156
176
  //# sourceMappingURL=ej2-react-gantt.es2015.js.map
@@ -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.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;CACh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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/weekworkingtime-directive.js","../src/es6/gantt/holidays-directive.js","../src/es6/gantt/eventmarkers-directive.js","../src/es6/gantt/gantt.component.js"],"sourcesContent":["import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `ColumnDirective` represent a column of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <ColumnsDirective>\n * <ColumnDirective field='ID' width='150'></ColumnDirective>\n * <ColumnDirective field='taskName' headerText='Task Name' width='200'></ColumnDirective>\n * </ColumnsDirective>\n * </GanttComponent>\n * ```\n */\nexport class ColumnDirective extends ComplexBase {\n}\nColumnDirective.moduleName = 'column';\nexport class ColumnsDirective extends ComplexBase {\n}\nColumnsDirective.propertyName = 'columns';\nColumnsDirective.moduleName = 'columns';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `AddDialogFieldDirective` represent a add dialog fields of the react Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <AddDialogFieldsDirective>\n * <AddDialogFieldDirective type='General' headerText='General'></AddDialogFieldDirective>\n * <AddDialogFieldDirective type='Dependency' headerText='Dependency'></AddDialogFieldDirective>\n * </AddDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nexport class AddDialogFieldDirective extends ComplexBase {\n}\nAddDialogFieldDirective.moduleName = 'addDialogField';\nexport class AddDialogFieldsDirective extends ComplexBase {\n}\nAddDialogFieldsDirective.propertyName = 'addDialogFields';\nAddDialogFieldsDirective.moduleName = 'addDialogFields';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EditDialogFieldDirective` represent a add dialog fields in VueJS Gantt.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EditDialogFieldsDirective>\n * <EditDialogFieldDirective type='General' headerText='General'></EditDialogFieldDirective>\n * <EditDialogFieldDirective type='Dependency' headerText='Dependency'></EditDialogFieldDirective>\n * </EditDialogFieldsDirective>\n * </GanttComponent>\n * ```\n */\nexport class EditDialogFieldDirective extends ComplexBase {\n}\nEditDialogFieldDirective.moduleName = 'editDialogField';\nexport class EditDialogFieldsDirective extends ComplexBase {\n}\nEditDialogFieldsDirective.propertyName = 'editDialogFields';\nEditDialogFieldsDirective.moduleName = 'editDialogFields';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `DayWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <DayWorkingTimeCollection>\n * <DayWorkingTime from='8' to='12'></DayWorkingTimeCollection>\n * <DayWorkingTime from='13' to='17'></DayWorkingTimeCollection>\n * </DayWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nexport class DayWorkingTimeDirective extends ComplexBase {\n}\nDayWorkingTimeDirective.moduleName = 'dayWorkingTime';\nexport class DayWorkingTimeCollectionDirective extends ComplexBase {\n}\nDayWorkingTimeCollectionDirective.propertyName = 'dayWorkingTime';\nDayWorkingTimeCollectionDirective.moduleName = 'dayWorkingTimeCollection';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `WeekWorkingTimeDirective` represent a working time ranges in a day.\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>\n * <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>\n * </WeekWorkingTimeCollection>\n * </GanttComponent>\n * ```\n */\nexport class WeekWorkingTimeDirective extends ComplexBase {\n}\nWeekWorkingTimeDirective.moduleName = 'weekWorkingTime';\nexport class WeekWorkingTimesDirective extends ComplexBase {\n}\nWeekWorkingTimesDirective.propertyName = 'weekWorkingTime';\nWeekWorkingTimesDirective.moduleName = 'weekWorkingTimes';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `HolidaysDirective` represent a holidays collection in Gantt..\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <HolidaysDirective>\n * <HolidayDirective from='02/20/2018' label='Holiday 1'></HolidayDirective>\n * <HolidayDirective from='05/15/2018' label='Holiday 2'></HolidayDirective>\n * </HolidaysDirective>\n * </GanttComponent>\n * ```\n */\nexport class HolidayDirective extends ComplexBase {\n}\nHolidayDirective.moduleName = 'holiday';\nexport class HolidaysDirective extends ComplexBase {\n}\nHolidaysDirective.propertyName = 'holidays';\nHolidaysDirective.moduleName = 'holidays';\n","import { ComplexBase } from '@syncfusion/ej2-react-base';\n/**\n * `EventMarkersDirective` represent a event marker collection in Gantt\n * It must be contained in a Gantt component(`GanttComponent`).\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>\n * <EventMarkersDirective>\n * <EventMarkerDirective day='02/10/2018' label='Project Starts'></EventMarkerDirective>\n * </EventMarkersDirective>\n * </GanttComponent>\n * ```\n */\nexport class EventMarkerDirective extends ComplexBase {\n}\nEventMarkerDirective.moduleName = 'eventMarker';\nexport class EventMarkersDirective extends ComplexBase {\n}\nEventMarkersDirective.propertyName = 'eventMarkers';\nEventMarkersDirective.moduleName = 'eventMarkers';\n","import * as React from 'react';\nimport { Gantt } from '@syncfusion/ej2-gantt';\nimport { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';\n/**\n * `GanttComponent` represents the react Gantt.\n * ```tsx\n * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}/>\n * ```\n */\nexport class GanttComponent extends Gantt {\n constructor(props) {\n super(props);\n this.initRenderCalled = false;\n this.checkInjectedModules = true;\n this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'weekWorkingTimes': 'weekWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };\n this.statelessTemplateProps = null;\n this.templateProps = null;\n this.immediateRender = false;\n this.portals = [];\n }\n render() {\n if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {\n super.render();\n this.initRenderCalled = true;\n }\n else {\n return React.createElement('div', this.getDefaultAttributes(), [].concat(this.props.children, this.portals));\n }\n }\n}\napplyMixins(GanttComponent, [ComponentBase, React.Component]);\n"],"names":["React.createElement","React.Component"],"mappings":";;;;;;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACO,MAAM,eAAe,SAAS,WAAW,CAAC;AACjD,CAAC;AACD,eAAe,CAAC,UAAU,GAAG,QAAQ,CAAC;AAC/B,MAAM,gBAAgB,SAAS,WAAW,CAAC;AAClD,CAAC;AACD,gBAAgB,CAAC,YAAY,GAAG,SAAS,CAAC;AAC1C,gBAAgB,CAAC,UAAU,GAAG,SAAS;;AClBvC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,AAAO,MAAM,uBAAuB,SAAS,WAAW,CAAC;AACzD,CAAC;AACD,uBAAuB,CAAC,UAAU,GAAG,gBAAgB,CAAC;AACtD,AAAO,MAAM,wBAAwB,SAAS,WAAW,CAAC;AAC1D,CAAC;AACD,wBAAwB,CAAC,YAAY,GAAG,iBAAiB,CAAC;AAC1D,wBAAwB,CAAC,UAAU,GAAG,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AAM,EAAE,CAAC;AAC3B,YAAY,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC;AACzC,SAAS;AACT,aAAa;AACb,YAAY,OAAOA,aAAmB,CAAC,KAAK,EAAE,IAAI,CAAC,oBAAoB,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACzH,SAAS;AACT,KAAK;AACL,CAAC;AACD,WAAW,CAAC,cAAc,EAAE,CAAC,aAAa,EAAEC,SAAe,CAAC,CAAC,CAAC;;;;"}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "_from": "@syncfusion/ej2-react-gantt@*",
3
- "_id": "@syncfusion/ej2-react-gantt@25.2.5",
3
+ "_id": "@syncfusion/ej2-react-gantt@25.1.35",
4
4
  "_inBundle": false,
5
- "_integrity": "sha512-7AXAiZMppce6x3gsAmfGmf7Gcb6dxMRNNkZX8fU2I0FRTInASHwonXqpYOHuKtfXAGn7v3e9BG/pFP5Kyz7l+w==",
5
+ "_integrity": "sha512-c7eO5E4qbkp259LYPN91ENNTZMmlz0mWppMSHuRlOrjxvIlkebYlFSzvY6NzjJCLS7gjvNuLMD0PFjefB5rcDw==",
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.syncfusioninternal.com/repository/ej2-hotfix-new/@syncfusion/ej2-react-gantt/-/ej2-react-gantt-25.2.5.tgz",
23
- "_shasum": "75b104afd0a4559fe8264c3dea6e866faa391585",
22
+ "_resolved": "https://nexus.syncfusioninternal.com/repository/ej2-release/@syncfusion/ej2-react-gantt/-/ej2-react-gantt-25.1.35.tgz",
23
+ "_shasum": "1b159fa8600a3df9f94b4f42364de268e254d866",
24
24
  "_spec": "@syncfusion/ej2-react-gantt@*",
25
- "_where": "/jenkins/workspace/elease-automation_release_25.1.1/packages/included",
25
+ "_where": "/jenkins/workspace/elease-automation_release_26.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": "~25.2.5",
35
- "@syncfusion/ej2-gantt": "25.2.6",
36
- "@syncfusion/ej2-react-base": "~25.2.6"
34
+ "@syncfusion/ej2-base": "~26.1.35",
35
+ "@syncfusion/ej2-gantt": "26.1.35",
36
+ "@syncfusion/ej2-react-base": "~26.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": "https://github.com/syncfusion/ej2-react-ui-components.git"
57
57
  },
58
- "version": "25.2.6",
58
+ "version": "26.1.35",
59
59
  "sideEffects": false
60
60
  }
@@ -3,6 +3,7 @@ import { Gantt, GanttModel } from '@syncfusion/ej2-gantt';
3
3
  import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
4
4
  export interface GanttTypecast {
5
5
  parentTaskbarTemplate?: string | Function | any;
6
+ timelineTemplate?: string | Function | any;
6
7
  milestoneTemplate?: string | Function | any;
7
8
  taskbarTemplate?: string | Function | any;
8
9
  labelSettings?: any;
@@ -26,7 +26,7 @@ var GanttComponent = /** @class */ (function (_super) {
26
26
  var _this = _super.call(this, props) || this;
27
27
  _this.initRenderCalled = false;
28
28
  _this.checkInjectedModules = true;
29
- _this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };
29
+ _this.directivekeys = { 'columns': 'column', 'addDialogFields': 'addDialogField', 'editDialogFields': 'editDialogField', 'dayWorkingTimeCollection': 'dayWorkingTime', 'weekWorkingTimes': 'weekWorkingTime', 'holidays': 'holiday', 'eventMarkers': 'eventMarker' };
30
30
  _this.statelessTemplateProps = null;
31
31
  _this.templateProps = null;
32
32
  _this.immediateRender = false;
@@ -2,6 +2,7 @@ export * from './columns-directive';
2
2
  export * from './adddialogfields-directive';
3
3
  export * from './editdialogfields-directive';
4
4
  export * from './dayworkingtime-directive';
5
+ export * from './weekworkingtime-directive';
5
6
  export * from './holidays-directive';
6
7
  export * from './eventmarkers-directive';
7
8
  export * from './gantt.component';
@@ -2,6 +2,7 @@ export * from './columns-directive';
2
2
  export * from './adddialogfields-directive';
3
3
  export * from './editdialogfields-directive';
4
4
  export * from './dayworkingtime-directive';
5
+ export * from './weekworkingtime-directive';
5
6
  export * from './holidays-directive';
6
7
  export * from './eventmarkers-directive';
7
8
  export * from './gantt.component';
@@ -0,0 +1,23 @@
1
+ import { ComplexBase } from '@syncfusion/ej2-react-base';
2
+ import { WeekWorkingTimeModel } from '@syncfusion/ej2-gantt';
3
+ /**
4
+ * `WeekWorkingTimeDirective` represent a working time ranges in a day.
5
+ * It must be contained in a Gantt component(`GanttComponent`).
6
+ * ```tsx
7
+ * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>
8
+ * <WeekWorkingTimeCollection>
9
+ * <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>
10
+ * <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>
11
+ * </WeekWorkingTimeCollection>
12
+ * </GanttComponent>
13
+ * ```
14
+ */
15
+ export declare class WeekWorkingTimeDirective extends ComplexBase<WeekWorkingTimeModel & {
16
+ children?: React.ReactNode;
17
+ }, WeekWorkingTimeModel> {
18
+ static moduleName: string;
19
+ }
20
+ export declare class WeekWorkingTimesDirective extends ComplexBase<{}, {}> {
21
+ static propertyName: string;
22
+ static moduleName: string;
23
+ }
@@ -0,0 +1,45 @@
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ extendStatics(d, b);
10
+ function __() { this.constructor = d; }
11
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
12
+ };
13
+ })();
14
+ import { ComplexBase } from '@syncfusion/ej2-react-base';
15
+ /**
16
+ * `WeekWorkingTimeDirective` represent a working time ranges in a day.
17
+ * It must be contained in a Gantt component(`GanttComponent`).
18
+ * ```tsx
19
+ * <GanttComponent dataSource={data} allowSelection={true} allowSorting={true}>
20
+ * <WeekWorkingTimeCollection>
21
+ * <WeekWorkingTime dayOfWeek='Monday' from='8' to='12'></WeekWorkingTimeCollection>
22
+ * <WeekWorkingTime dayOfWeek='Monday' from='13' to='17'></WeekWorkingTimeCollection>
23
+ * </WeekWorkingTimeCollection>
24
+ * </GanttComponent>
25
+ * ```
26
+ */
27
+ var WeekWorkingTimeDirective = /** @class */ (function (_super) {
28
+ __extends(WeekWorkingTimeDirective, _super);
29
+ function WeekWorkingTimeDirective() {
30
+ return _super !== null && _super.apply(this, arguments) || this;
31
+ }
32
+ WeekWorkingTimeDirective.moduleName = 'weekWorkingTime';
33
+ return WeekWorkingTimeDirective;
34
+ }(ComplexBase));
35
+ export { WeekWorkingTimeDirective };
36
+ var WeekWorkingTimesDirective = /** @class */ (function (_super) {
37
+ __extends(WeekWorkingTimesDirective, _super);
38
+ function WeekWorkingTimesDirective() {
39
+ return _super !== null && _super.apply(this, arguments) || this;
40
+ }
41
+ WeekWorkingTimesDirective.propertyName = 'weekWorkingTime';
42
+ WeekWorkingTimesDirective.moduleName = 'weekWorkingTimes';
43
+ return WeekWorkingTimesDirective;
44
+ }(ComplexBase));
45
+ export { WeekWorkingTimesDirective };