@syncfusion/ej2-react-gantt
Version:
Essential JS 2 Gantt Component for React
10 lines • 8.19 kB
JavaScript
/*!
* filename: ej2-react-gantt.min.js
* version : 29.1.35
* 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&&"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.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})()));