@syncfusion/ej2-react-gantt 34.2.5 → 34.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/ej2-react-gantt.min.js +9 -0
- package/dist/ej2-react-gantt.umd.min.js +9 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -18,6 +18,20 @@ Trusted by the world's leading companies<br>
|
|
|
18
18
|
</a>
|
|
19
19
|
</p>
|
|
20
20
|
|
|
21
|
+
> **Using this package with an AI coding agent**
|
|
22
|
+
>
|
|
23
|
+
> Before generating Syncfusion code, ask your AI coding agent to run the Syncfusion setup using the following prompt:
|
|
24
|
+
>
|
|
25
|
+
> ```text
|
|
26
|
+
> Set up this project for Syncfusion before generating code. Fetch
|
|
27
|
+
> and follow the official instructions at https://ai.syncfusion.com,
|
|
28
|
+
> then report the detected platform, installed skill pack, MCP
|
|
29
|
+
> status, and any required licensing action.
|
|
30
|
+
> ```
|
|
31
|
+
> The setup detects your project’s platform and loads the appropriate Syncfusion skill pack. No Syncfusion account or MCP key is required to install or read Syncfusion agent skills.
|
|
32
|
+
>
|
|
33
|
+
> **Platform reference:** [https://ai.syncfusion.com/react/llms.txt](https://ai.syncfusion.com/react/llms.txt)
|
|
34
|
+
|
|
21
35
|
## Setup
|
|
22
36
|
|
|
23
37
|
### Create a React Application
|
|
@@ -1 +1,10 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: ej2-react-gantt.min.js
|
|
3
|
+
* version : 34.2.8
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
|
+
* Use of this code is subject to the terms of our license.
|
|
6
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
+
* applicable laws.
|
|
9
|
+
*/
|
|
1
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.complexTemplate={"filter.itemTemplate":"filter.itemTemplate"},t}(r.ComplexBase),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.propertyName="columns",t.moduleName="columns",t}(r.ComplexBase),a=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.moduleName="addDialogField",t}(r.ComplexBase),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.propertyName="addDialogFields",t.moduleName="addDialogFields",t}(r.ComplexBase),s=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.moduleName="editDialogField",t}(r.ComplexBase),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return s(t,e),t.propertyName="editDialogFields",t.moduleName="editDialogFields",t}(r.ComplexBase),d=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.moduleName="dayWorkingTime",t}(r.ComplexBase),_=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return d(t,e),t.propertyName="dayWorkingTime",t.moduleName="dayWorkingTimeCollection",t}(r.ComplexBase),h=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.moduleName="weekWorkingTime",t}(r.ComplexBase),D=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return h(t,e),t.propertyName="weekWorkingTime",t.moduleName="weekWorkingTimes",t}(r.ComplexBase),g=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.moduleName="holiday",t}(r.ComplexBase),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return g(t,e),t.propertyName="holidays",t.moduleName="holidays",t}(r.ComplexBase),b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.moduleName="eventMarker",t}(r.ComplexBase),C=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return b(t,e),t.propertyName="eventMarkers",t.moduleName="eventMarkers",t}(r.ComplexBase),j=n(24),T=n(31),w=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),P=function(e){function t(t){var n=e.call(this,t)||this;return n.initRenderCalled=!1,n.checkInjectedModules=!0,n.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",weekWorkingTimes:"weekWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},n.statelessTemplateProps=null,n.templateProps=null,n.immediateRender=!1,n.isReactMock=!0,n.portals=[],n}return w(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return j.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(T.Gantt);(0,r.applyMixins)(P,[r.ComponentBase,j.Component])},24:e=>{e.exports=t},31:e=>{e.exports=n},705:t=>{t.exports=e}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var n=r[e]={exports:{}};return o[e](n,n.exports,i),n.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var u={};return(()=>{i.r(u),i.d(u,{AddDialogFieldDirective:()=>e.Gg,AddDialogFieldsDirective:()=>e.Xb,ColumnDirective:()=>e.iK,ColumnsDirective:()=>e.SR,DayWorkingTimeCollectionDirective:()=>e.Qm,DayWorkingTimeDirective:()=>e.nt,EditDialogFieldDirective:()=>e.q0,EditDialogFieldsDirective:()=>e.J_,EventMarkerDirective:()=>e.sy,EventMarkersDirective:()=>e.tI,GanttComponent:()=>e.Hq,HolidayDirective:()=>e.Tx,HolidaysDirective:()=>e.Ai,Inject:()=>t.Inject,WeekWorkingTimeDirective:()=>e.BF,WeekWorkingTimesDirective:()=>e.Mh});var e=i(106),t=i(705),n=i(31),o={};for(const e in n)["default","Inject","AddDialogFieldDirective","AddDialogFieldsDirective","ColumnDirective","ColumnsDirective","DayWorkingTimeCollectionDirective","DayWorkingTimeDirective","EditDialogFieldDirective","EditDialogFieldsDirective","EventMarkerDirective","EventMarkersDirective","GanttComponent","HolidayDirective","HolidaysDirective","WeekWorkingTimeDirective","WeekWorkingTimesDirective"].indexOf(e)<0&&(o[e]=()=>n[e]);i.d(u,o)})(),u})());
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* filename: ej2-react-gantt.umd.min.js
|
|
3
|
+
* version : 34.2.8
|
|
4
|
+
* Copyright Syncfusion Inc. 2001 - 2025. All rights reserved.
|
|
5
|
+
* Use of this code is subject to the terms of our license.
|
|
6
|
+
* A copy of the current license can be obtained at any time by e-mailing
|
|
7
|
+
* licensing@syncfusion.com. Any infringement will be prosecuted under
|
|
8
|
+
* applicable laws.
|
|
9
|
+
*/
|
|
1
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.complexTemplate={"filter.itemTemplate":"filter.itemTemplate"},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=(h=e.ComplexBase,_(v,h),v.moduleName="editDialogField",v);function v(){return null!==h&&h.apply(this,arguments)||this}O=e.ComplexBase,_(g,O),g.propertyName="editDialogFields",g.moduleName="editDialogFields";var O,_=g;function g(){return null!==O&&O.apply(this,arguments)||this}k=function(e,t){return(k=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var k,j,D=function(e,t){function o(){this.constructor=e}k(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},I=(j=e.ComplexBase,D(H,j),H.moduleName="dayWorkingTime",H);function H(){return null!==j&&j.apply(this,arguments)||this}b=e.ComplexBase,D(C,b),C.propertyName="dayWorkingTime",C.moduleName="dayWorkingTimeCollection";var b,D=C;function C(){return null!==b&&b.apply(this,arguments)||this}U=function(e,t){return(U=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var U,w,z=function(e,t){function o(){this.constructor=e}U(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},J=(w=e.ComplexBase,z(K,w),K.moduleName="weekWorkingTime",K);function K(){return null!==w&&w.apply(this,arguments)||this}N=e.ComplexBase,z(P,N),P.propertyName="weekWorkingTime",P.moduleName="weekWorkingTimes";var N,z=P;function P(){return null!==N&&N.apply(this,arguments)||this}L=function(e,t){return(L=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var L,x,Q=function(e,t){function o(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},S=(x=e.ComplexBase,Q(V,x),V.moduleName="holiday",V);function V(){return null!==x&&x.apply(this,arguments)||this}T=e.ComplexBase,Q(B,T),B.propertyName="holidays",B.moduleName="holidays";var T,Q=B;function B(){return null!==T&&T.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,W,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=(W=e.ComplexBase,Y($,W),$.moduleName="eventMarker",$);function $(){return null!==W&&W.apply(this,arguments)||this}F=e.ComplexBase,Y(M,F),M.propertyName="eventMarkers",M.moduleName="eventMarkers";var F,Y=M;function M(){return null!==F&&F.apply(this,arguments)||this}ee=function(e,t){return(ee=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var ee,A,te=function(e,t){function o(){this.constructor=e}ee(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},te=(A=o.Gantt,te(oe,A),oe.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return R.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));A.prototype.render.call(this),this.initRenderCalled=!0},oe);function oe(e){e=A.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",weekWorkingTimes:"weekWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}e.applyMixins(te,[e.ComponentBase,R.Component]),Object.keys(o).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.AddDialogFieldDirective=q,t.AddDialogFieldsDirective=s,t.ColumnDirective=E,t.ColumnsDirective=i,t.DayWorkingTimeCollectionDirective=D,t.DayWorkingTimeDirective=I,t.EditDialogFieldDirective=G,t.EditDialogFieldsDirective=_,t.EventMarkerDirective=Z,t.EventMarkersDirective=Y,t.GanttComponent=te,t.HolidayDirective=S,t.HolidaysDirective=Q,t.WeekWorkingTimeDirective=J,t.WeekWorkingTimesDirective=z,Object.defineProperty(t,"__esModule",{value:!0})});
|
|
2
11
|
//# sourceMappingURL=ej2-react-gantt.umd.min.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncfusion/ej2-react-gantt",
|
|
3
|
-
"version": "34.2.
|
|
3
|
+
"version": "34.2.8",
|
|
4
4
|
"description": "Essential JS 2 Gantt Component for React",
|
|
5
5
|
"author": "Syncfusion Inc.",
|
|
6
6
|
"license": "SEE LICENSE IN license",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"es2015": "dist/es6/ej2-react-gantt.es2015.js",
|
|
36
36
|
"readme": "ReadMe.md",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@syncfusion/ej2-base": "~34.2.
|
|
39
|
-
"@syncfusion/ej2-react-base": "~34.2.
|
|
40
|
-
"@syncfusion/ej2-gantt": "34.2.
|
|
38
|
+
"@syncfusion/ej2-base": "~34.2.8",
|
|
39
|
+
"@syncfusion/ej2-react-base": "~34.2.8",
|
|
40
|
+
"@syncfusion/ej2-gantt": "34.2.8"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {},
|
|
43
43
|
"sideEffects": false,
|