UNPKG

@syncfusion/ej2-react-gantt

Version:
12 lines (11 loc) 6.64 kB
/*! * filename: ej2-react-gantt.umd.min.js * version : 29.2.11 * Copyright Syncfusion Inc. 2001 - 2024. All rights reserved. * Use of this code is subject to the terms of our license. * A copy of the current license can be obtained at any time by e-mailing * licensing@syncfusion.com. Any infringement will be prosecuted under * applicable laws. */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@syncfusion/ej2-react-base"),require("react"),require("@syncfusion/ej2-gantt")):"function"==typeof define&&define.amd?define(["exports","@syncfusion/ej2-react-base","react","@syncfusion/ej2-gantt"],t):t((e=e||self).ej={},e.ej2ReactBase,e.React,e.ej2Gantt)}(this,function(t,e,R,o){"use strict";n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var n,r,i=function(e,t){function o(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},E=(r=e.ComplexBase,i(a,r),a.moduleName="column",a);function a(){return null!==r&&r.apply(this,arguments)||this}c=e.ComplexBase,i(l,c),l.propertyName="columns",l.moduleName="columns";var c,i=l;function l(){return null!==c&&c.apply(this,arguments)||this}p=function(e,t){return(p=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var p,u,s=function(e,t){function o(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},q=(u=e.ComplexBase,s(f,u),f.moduleName="addDialogField",f);function f(){return null!==u&&u.apply(this,arguments)||this}y=e.ComplexBase,s(d,y),d.propertyName="addDialogFields",d.moduleName="addDialogFields";var y,s=d;function d(){return null!==y&&y.apply(this,arguments)||this}m=function(e,t){return(m=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var m,h,_=function(e,t){function o(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},G=(h=e.ComplexBase,_(v,h),v.moduleName="editDialogField",v);function v(){return null!==h&&h.apply(this,arguments)||this}O=e.ComplexBase,_(g,O),g.propertyName="editDialogFields",g.moduleName="editDialogFields";var O,_=g;function g(){return null!==O&&O.apply(this,arguments)||this}k=function(e,t){return(k=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var k,j,D=function(e,t){function o(){this.constructor=e}k(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},I=(j=e.ComplexBase,D(H,j),H.moduleName="dayWorkingTime",H);function H(){return null!==j&&j.apply(this,arguments)||this}b=e.ComplexBase,D(C,b),C.propertyName="dayWorkingTime",C.moduleName="dayWorkingTimeCollection";var b,D=C;function C(){return null!==b&&b.apply(this,arguments)||this}U=function(e,t){return(U=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var U,w,z=function(e,t){function o(){this.constructor=e}U(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},J=(w=e.ComplexBase,z(K,w),K.moduleName="weekWorkingTime",K);function K(){return null!==w&&w.apply(this,arguments)||this}N=e.ComplexBase,z(P,N),P.propertyName="weekWorkingTime",P.moduleName="weekWorkingTimes";var N,z=P;function P(){return null!==N&&N.apply(this,arguments)||this}L=function(e,t){return(L=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var L,x,Q=function(e,t){function o(){this.constructor=e}L(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},S=(x=e.ComplexBase,Q(V,x),V.moduleName="holiday",V);function V(){return null!==x&&x.apply(this,arguments)||this}B=e.ComplexBase,Q(W,B),W.propertyName="holidays",W.moduleName="holidays";var B,Q=W;function W(){return null!==B&&B.apply(this,arguments)||this}X=function(e,t){return(X=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var X,F,Y=function(e,t){function o(){this.constructor=e}X(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},Z=(F=e.ComplexBase,Y($,F),$.moduleName="eventMarker",$);function $(){return null!==F&&F.apply(this,arguments)||this}T=e.ComplexBase,Y(M,T),M.propertyName="eventMarkers",M.moduleName="eventMarkers";var T,Y=M;function M(){return null!==T&&T.apply(this,arguments)||this}ee=function(e,t){return(ee=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])}))(e,t)};var ee,A,te=function(e,t){function o(){this.constructor=e}ee(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)},te=(A=o.Gantt,te(oe,A),oe.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return R.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));A.prototype.render.call(this),this.initRenderCalled=!0},oe);function oe(e){e=A.call(this,e)||this;return e.initRenderCalled=!1,e.checkInjectedModules=!0,e.directivekeys={columns:"column",addDialogFields:"addDialogField",editDialogFields:"editDialogField",dayWorkingTimeCollection:"dayWorkingTime",weekWorkingTimes:"weekWorkingTime",holidays:"holiday",eventMarkers:"eventMarker"},e.statelessTemplateProps=null,e.templateProps=null,e.immediateRender=!1,e.isReactMock=!0,e.portals=[],e}e.applyMixins(te,[e.ComponentBase,R.Component]),Object.keys(o).forEach(function(e){"default"!==e&&Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}})}),Object.defineProperty(t,"Inject",{enumerable:!0,get:function(){return e.Inject}}),t.AddDialogFieldDirective=q,t.AddDialogFieldsDirective=s,t.ColumnDirective=E,t.ColumnsDirective=i,t.DayWorkingTimeCollectionDirective=D,t.DayWorkingTimeDirective=I,t.EditDialogFieldDirective=G,t.EditDialogFieldsDirective=_,t.EventMarkerDirective=Z,t.EventMarkersDirective=Y,t.GanttComponent=te,t.HolidayDirective=S,t.HolidaysDirective=Q,t.WeekWorkingTimeDirective=J,t.WeekWorkingTimesDirective=z,Object.defineProperty(t,"__esModule",{value:!0})}); //# sourceMappingURL=ej2-react-gantt.umd.min.js.map