comindware-gantt-elastic
Version:
Gantt chart. Elastic javascript gantt chart. Vue and standalone gantt. Project manager responsive gantt
1 lines • 148 kB
JavaScript
!function(root,factory){"object"==typeof exports&&"object"==typeof module?module.exports=factory(require("Vue")):"function"==typeof define&&define.amd?define(["Vue"],factory):"object"==typeof exports?exports.GanttElastic=factory(require("Vue")):root.GanttElastic=factory(root.Vue)}(window,(function(__WEBPACK_EXTERNAL_MODULE_vue__){return function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{enumerable:!0,get:getter})},__webpack_require__.r=function(exports){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.t=function(value,mode){if(1&mode&&(value=__webpack_require__(value)),8&mode)return value;if(4&mode&&"object"==typeof value&&value&&value.__esModule)return value;var ns=Object.create(null);if(__webpack_require__.r(ns),Object.defineProperty(ns,"default",{enumerable:!0,value:value}),2&mode&&"string"!=typeof value)for(var key in value)__webpack_require__.d(ns,key,function(key){return value[key]}.bind(null,key));return ns},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s="./src/GanttElastic.vue")}({"./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js?!./src/GanttElastic.vue?vue&type=style&index=0&lang=css&":function(module,exports,__webpack_require__){(module.exports=__webpack_require__("./node_modules/css-loader/lib/css-base.js")(!1)).push([module.i,"\n[class^='gantt-elastic'],\n[class*=' gantt-elastic'] {\n box-sizing: border-box;\n}\n.gantt-elastic__main-view svg {\n display: block;\n}\n.gantt-elastic__grid-horizontal-line,\n.gantt-elastic__grid-vertical-line {\n stroke: #a0a0a0;\n stroke-width: 1;\n}\nforeignObject > * {\n margin: 0px;\n}\n.gantt-elastic .p-2 {\n padding: 10rem;\n}\n.gantt-elastic__main-view-main-container,\n.gantt-elastic__main-view-container {\n overflow: hidden;\n max-width: 100%;\n width: 100%;\n}\n.gantt-elastic__task-list-header-column:last-of-type {\n border-right: 1px solid #00000050;\n}\n.gantt-elastic__task-list-item:last-of-type {\n border-bottom: 1px solid #00000050;\n}\n.gantt-elastic__task-list-item-value-wrapper:hover {\n overflow: visible !important;\n}\n.gantt-elastic__task-list-item-value-wrapper:hover > .gantt-elastic__task-list-item-value-container {\n position: relative;\n overflow: visible !important;\n}\n.gantt-elastic__task-list-item-value-wrapper:hover > .gantt-elastic__task-list-item-value {\n position: absolute;\n}\n",""])},"./node_modules/css-loader/lib/css-base.js":function(module,exports){module.exports=function(useSourceMap){var list=[];return list.toString=function(){return this.map((function(item){var content=function(item,useSourceMap){var content=item[1]||"",cssMapping=item[3];if(!cssMapping)return content;if(useSourceMap&&"function"==typeof btoa){var sourceMapping=(sourceMap=cssMapping,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))+" */"),sourceURLs=cssMapping.sources.map((function(source){return"/*# sourceURL="+cssMapping.sourceRoot+source+" */"}));return[content].concat(sourceURLs).concat([sourceMapping]).join("\n")}var sourceMap;return[content].join("\n")}(item,useSourceMap);return item[2]?"@media "+item[2]+"{"+content+"}":content})).join("")},list.i=function(modules,mediaQuery){"string"==typeof modules&&(modules=[[null,modules,""]]);for(var alreadyImportedModules={},i=0;i<this.length;i++){var id=this[i][0];"number"==typeof id&&(alreadyImportedModules[id]=!0)}for(i=0;i<modules.length;i++){var item=modules[i];"number"==typeof item[0]&&alreadyImportedModules[item[0]]||(mediaQuery&&!item[2]?item[2]=mediaQuery:mediaQuery&&(item[2]="("+item[2]+") and ("+mediaQuery+")"),list.push(item))}},list}},"./node_modules/dayjs/dayjs.min.js":function(module,exports,__webpack_require__){module.exports=function(){"use strict";var t="millisecond",n="second",e="minute",r="hour",i="day",s="week",u="month",a="quarter",o="year",h=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,f=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=function(t,n,e){var r=String(t);return!r||r.length>=n?t:""+Array(n+1-r.length).join(e)+t},d={s:c,z:function(t){var n=-t.utcOffset(),e=Math.abs(n),r=Math.floor(e/60),i=e%60;return(n<=0?"+":"-")+c(r,2,"0")+":"+c(i,2,"0")},m:function(t,n){var e=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(e,u),i=n-r<0,s=t.clone().add(e+(i?-1:1),u);return Number(-(e+(n-r)/(i?r-s:s-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(h){return{M:u,y:o,w:s,d:i,h:r,m:e,s:n,ms:t,Q:a}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},l="en",m={};m[l]=$;var y=function(t){return t instanceof v},M=function(t,n,e){var r;if(!t)return l;if("string"==typeof t)m[t]&&(r=t),n&&(m[t]=n,r=t);else{var i=t.name;m[i]=t,r=i}return e||(l=r),r},g=function(t,n,e){if(y(t))return t.clone();var r=n?"string"==typeof n?{format:n,pl:e}:n:{};return r.date=t,new v(r)},D=d;D.l=M,D.i=y,D.w=function(t,n){return g(t,{locale:n.$L,utc:n.$u})};var v=function(){function c(t){this.$L=this.$L||M(t.locale,null,!0),this.parse(t)}var d=c.prototype;return d.parse=function(t){this.$d=function(t){var n=t.date,e=t.utc;if(null===n)return new Date(NaN);if(D.u(n))return new Date;if(n instanceof Date)return new Date(n);if("string"==typeof n&&!/Z$/i.test(n)){var r=n.match(h);if(r)return e?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(n)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return D},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(t,n){var e=g(t);return this.startOf(n)<=e&&e<=this.endOf(n)},d.isAfter=function(t,n){return g(t)<this.startOf(n)},d.isBefore=function(t,n){return this.endOf(n)<g(t)},d.$g=function(t,n,e){return D.u(t)?this[n]:this.set(e,t)},d.year=function(t){return this.$g(t,"$y",o)},d.month=function(t){return this.$g(t,"$M",u)},d.day=function(t){return this.$g(t,"$W",i)},d.date=function(t){return this.$g(t,"$D","date")},d.hour=function(t){return this.$g(t,"$H",r)},d.minute=function(t){return this.$g(t,"$m",e)},d.second=function(t){return this.$g(t,"$s",n)},d.millisecond=function(n){return this.$g(n,"$ms",t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,a){var h=this,f=!!D.u(a)||a,c=D.p(t),d=function(t,n){var e=D.w(h.$u?Date.UTC(h.$y,n,t):new Date(h.$y,n,t),h);return f?e:e.endOf(i)},$=function(t,n){return D.w(h.toDate()[t].apply(h.toDate(),(f?[0,0,0,0]:[23,59,59,999]).slice(n)),h)},l=this.$W,m=this.$M,y=this.$D,M="set"+(this.$u?"UTC":"");switch(c){case o:return f?d(1,0):d(31,11);case u:return f?d(1,m):d(0,m+1);case s:var g=this.$locale().weekStart||0,v=(l<g?l+7:l)-g;return d(f?y-v:y+(6-v),m);case i:case"date":return $(M+"Hours",0);case r:return $(M+"Minutes",1);case e:return $(M+"Seconds",2);case n:return $(M+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(s,a){var h,f=D.p(s),c="set"+(this.$u?"UTC":""),d=(h={},h.day=c+"Date",h.date=c+"Date",h[u]=c+"Month",h[o]=c+"FullYear",h[r]=c+"Hours",h[e]=c+"Minutes",h[n]=c+"Seconds",h[t]=c+"Milliseconds",h)[f],$=f===i?this.$D+(a-this.$W):a;if(f===u||f===o){var l=this.clone().set("date",1);l.$d[d]($),l.init(),this.$d=l.set("date",Math.min(this.$D,l.daysInMonth())).toDate()}else d&&this.$d[d]($);return this.init(),this},d.set=function(t,n){return this.clone().$set(t,n)},d.get=function(t){return this[D.p(t)]()},d.add=function(t,a){var h,f=this;t=Number(t);var c=D.p(a),d=function(n){var e=g(f);return D.w(e.date(e.date()+Math.round(n*t)),f)};if(c===u)return this.set(u,this.$M+t);if(c===o)return this.set(o,this.$y+t);if(c===i)return d(1);if(c===s)return d(7);var $=(h={},h[e]=6e4,h[r]=36e5,h[n]=1e3,h)[c]||1,l=this.valueOf()+t*$;return D.w(l,this)},d.subtract=function(t,n){return this.add(-1*t,n)},d.format=function(t){var n=this;if(!this.isValid())return"Invalid Date";var e=t||"YYYY-MM-DDTHH:mm:ssZ",r=D.z(this),i=this.$locale(),s=this.$H,u=this.$m,a=this.$M,o=i.weekdays,h=i.months,c=function(t,r,i,s){return t&&(t[r]||t(n,e))||i[r].substr(0,s)},d=function(t){return D.s(s%12||12,t,"0")},$=i.meridiem||function(t,n,e){var r=t<12?"AM":"PM";return e?r.toLowerCase():r},l={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:D.s(a+1,2,"0"),MMM:c(i.monthsShort,a,h,3),MMMM:h[a]||h(this,e),D:this.$D,DD:D.s(this.$D,2,"0"),d:String(this.$W),dd:c(i.weekdaysMin,this.$W,o,2),ddd:c(i.weekdaysShort,this.$W,o,3),dddd:o[this.$W],H:String(s),HH:D.s(s,2,"0"),h:d(1),hh:d(2),a:$(s,u,!0),A:$(s,u,!1),m:String(u),mm:D.s(u,2,"0"),s:String(this.$s),ss:D.s(this.$s,2,"0"),SSS:D.s(this.$ms,3,"0"),Z:r};return e.replace(f,(function(t,n){return n||l[t]||r.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(t,h,f){var c,d=D.p(h),$=g(t),l=6e4*($.utcOffset()-this.utcOffset()),m=this-$,y=D.m(this,$);return y=(c={},c[o]=y/12,c[u]=y,c[a]=y/3,c[s]=(m-l)/6048e5,c.day=(m-l)/864e5,c[r]=m/36e5,c[e]=m/6e4,c[n]=m/1e3,c)[d]||m,f?y:D.a(y)},d.daysInMonth=function(){return this.endOf(u).$D},d.$locale=function(){return m[this.$L]},d.locale=function(t,n){if(!t)return this.$L;var e=this.clone();return e.$L=M(t,n,!0),e},d.clone=function(){return D.w(this.toDate(),this)},d.toDate=function(){return new Date(this.$d)},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},c}();return g.prototype=v.prototype,g.extend=function(t,n){return t(n,v,g),g},g.locale=M,g.isDayjs=y,g.unix=function(t){return g(1e3*t)},g.en=m[l],g.Ls=m,g}()},"./node_modules/dayjs/plugin/advancedFormat.js":function(module,exports,__webpack_require__){module.exports=function(){"use strict";return function(e,t,r){var n=t.prototype,o=n.format;r.en.ordinal=function(e){var t=["th","st","nd","rd"],r=e%100;return"["+e+(t[(r-20)%10]||t[r]||t[0])+"]"},n.format=function(e){var t=this,r=this.$locale(),n=this.$utils(),i=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|gggg|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case"Q":return Math.ceil((t.$M+1)/3);case"Do":return r.ordinal(t.$D);case"gggg":return t.weekYear();case"wo":return r.ordinal(t.week(),"W");case"k":case"kk":return n.s(String(0===t.$H?24:t.$H),"k"===e?1:2,"0");case"X":return Math.floor(t.$d.getTime()/1e3);case"x":return t.$d.getTime();default:return e}}));return o.bind(this)(i)}}}()},"./node_modules/dayjs/plugin/quarterOfYear.js":function(module,exports,__webpack_require__){module.exports=function(){"use strict";var t="month",n="quarter";return function(r,i){var e=i.prototype;e.quarter=function(t){return this.$utils().u(t)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(t-1))};var u=e.add;e.add=function(r,i){return r=Number(r),this.$utils().p(i)===n?this.add(3*r,t):u.bind(this)(r,i)};var s=e.startOf;e.startOf=function(r,i){var e=this.$utils(),u=!!e.u(i)||i;if(e.p(r)===n){var a=this.quarter()-1;return u?this.month(3*a).startOf(t).startOf("day"):this.month(3*a+2).endOf(t).endOf("day")}return s.bind(this)(r,i)}}}()},"./node_modules/dayjs/plugin/weekOfYear.js":function(module,exports,__webpack_require__){module.exports=function(){"use strict";var e="year";return function(t,i,n){var r=i.prototype;r.week=function(t){if(void 0===t&&(t=null),null!==t)return this.add(7*(t-this.week()),"day");var i=this.$locale().weekStart||0,r=n(this).endOf(e);if(0===i&&6!==r.day()&&11===this.month()&&31-this.date()<=r.day())return 1;var d=n(this).startOf(e),a=d.subtract(d.day()-i,"day").subtract(1,"millisecond"),o=this.diff(a,"week",!0);return Math.ceil(o)},r.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}()},"./node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js":function(module,__webpack_exports__,__webpack_require__){"use strict";(function(global){var MapShim=function(){if("undefined"!=typeof Map)return Map;function getIndex(arr,key){var result=-1;return arr.some((function(entry,index){return entry[0]===key&&(result=index,!0)})),result}return function(){function class_1(){this.__entries__=[]}return Object.defineProperty(class_1.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),class_1.prototype.get=function(key){var index=getIndex(this.__entries__,key),entry=this.__entries__[index];return entry&&entry[1]},class_1.prototype.set=function(key,value){var index=getIndex(this.__entries__,key);~index?this.__entries__[index][1]=value:this.__entries__.push([key,value])},class_1.prototype.delete=function(key){var entries=this.__entries__,index=getIndex(entries,key);~index&&entries.splice(index,1)},class_1.prototype.has=function(key){return!!~getIndex(this.__entries__,key)},class_1.prototype.clear=function(){this.__entries__.splice(0)},class_1.prototype.forEach=function(callback,ctx){void 0===ctx&&(ctx=null);for(var _i=0,_a=this.__entries__;_i<_a.length;_i++){var entry=_a[_i];callback.call(ctx,entry[1],entry[0])}},class_1}()}(),isBrowser="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,global$1=void 0!==global&&global.Math===Math?global:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),requestAnimationFrame$1="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(global$1):function(callback){return setTimeout((function(){return callback(Date.now())}),1e3/60)};var transitionKeys=["top","right","bottom","left","width","height","size","weight"],mutationObserverSupported="undefined"!=typeof MutationObserver,ResizeObserverController=function(){function ResizeObserverController(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(callback,delay){var leadingCall=!1,trailingCall=!1,lastCallTime=0;function resolvePending(){leadingCall&&(leadingCall=!1,callback()),trailingCall&&proxy()}function timeoutCallback(){requestAnimationFrame$1(resolvePending)}function proxy(){var timeStamp=Date.now();if(leadingCall){if(timeStamp-lastCallTime<2)return;trailingCall=!0}else leadingCall=!0,trailingCall=!1,setTimeout(timeoutCallback,delay);lastCallTime=timeStamp}return proxy}(this.refresh.bind(this),20)}return ResizeObserverController.prototype.addObserver=function(observer){~this.observers_.indexOf(observer)||this.observers_.push(observer),this.connected_||this.connect_()},ResizeObserverController.prototype.removeObserver=function(observer){var observers=this.observers_,index=observers.indexOf(observer);~index&&observers.splice(index,1),!observers.length&&this.connected_&&this.disconnect_()},ResizeObserverController.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},ResizeObserverController.prototype.updateObservers_=function(){var activeObservers=this.observers_.filter((function(observer){return observer.gatherActive(),observer.hasActive()}));return activeObservers.forEach((function(observer){return observer.broadcastActive()})),activeObservers.length>0},ResizeObserverController.prototype.connect_=function(){isBrowser&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},ResizeObserverController.prototype.disconnect_=function(){isBrowser&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},ResizeObserverController.prototype.onTransitionEnd_=function(_a){var _b=_a.propertyName,propertyName=void 0===_b?"":_b;transitionKeys.some((function(key){return!!~propertyName.indexOf(key)}))&&this.refresh()},ResizeObserverController.getInstance=function(){return this.instance_||(this.instance_=new ResizeObserverController),this.instance_},ResizeObserverController.instance_=null,ResizeObserverController}(),defineConfigurable=function(target,props){for(var _i=0,_a=Object.keys(props);_i<_a.length;_i++){var key=_a[_i];Object.defineProperty(target,key,{value:props[key],enumerable:!1,writable:!1,configurable:!0})}return target},getWindowOf=function(target){return target&&target.ownerDocument&&target.ownerDocument.defaultView||global$1},emptyRect=createRectInit(0,0,0,0);function toFloat(value){return parseFloat(value)||0}function getBordersSize(styles){for(var positions=[],_i=1;_i<arguments.length;_i++)positions[_i-1]=arguments[_i];return positions.reduce((function(size,position){return size+toFloat(styles["border-"+position+"-width"])}),0)}function getHTMLElementContentRect(target){var clientWidth=target.clientWidth,clientHeight=target.clientHeight;if(!clientWidth&&!clientHeight)return emptyRect;var styles=getWindowOf(target).getComputedStyle(target),paddings=function(styles){for(var paddings={},_i=0,positions_1=["top","right","bottom","left"];_i<positions_1.length;_i++){var position=positions_1[_i],value=styles["padding-"+position];paddings[position]=toFloat(value)}return paddings}(styles),horizPad=paddings.left+paddings.right,vertPad=paddings.top+paddings.bottom,width=toFloat(styles.width),height=toFloat(styles.height);if("border-box"===styles.boxSizing&&(Math.round(width+horizPad)!==clientWidth&&(width-=getBordersSize(styles,"left","right")+horizPad),Math.round(height+vertPad)!==clientHeight&&(height-=getBordersSize(styles,"top","bottom")+vertPad)),!function(target){return target===getWindowOf(target).document.documentElement}(target)){var vertScrollbar=Math.round(width+horizPad)-clientWidth,horizScrollbar=Math.round(height+vertPad)-clientHeight;1!==Math.abs(vertScrollbar)&&(width-=vertScrollbar),1!==Math.abs(horizScrollbar)&&(height-=horizScrollbar)}return createRectInit(paddings.left,paddings.top,width,height)}var isSVGGraphicsElement="undefined"!=typeof SVGGraphicsElement?function(target){return target instanceof getWindowOf(target).SVGGraphicsElement}:function(target){return target instanceof getWindowOf(target).SVGElement&&"function"==typeof target.getBBox};function getContentRect(target){return isBrowser?isSVGGraphicsElement(target)?function(target){var bbox=target.getBBox();return createRectInit(0,0,bbox.width,bbox.height)}(target):getHTMLElementContentRect(target):emptyRect}function createRectInit(x,y,width,height){return{x:x,y:y,width:width,height:height}}var ResizeObservation=function(){function ResizeObservation(target){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=createRectInit(0,0,0,0),this.target=target}return ResizeObservation.prototype.isActive=function(){var rect=getContentRect(this.target);return this.contentRect_=rect,rect.width!==this.broadcastWidth||rect.height!==this.broadcastHeight},ResizeObservation.prototype.broadcastRect=function(){var rect=this.contentRect_;return this.broadcastWidth=rect.width,this.broadcastHeight=rect.height,rect},ResizeObservation}(),ResizeObserverEntry=function(target,rectInit){var _a,x,y,width,height,Constr,rect,contentRect=(x=(_a=rectInit).x,y=_a.y,width=_a.width,height=_a.height,Constr="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,rect=Object.create(Constr.prototype),defineConfigurable(rect,{x:x,y:y,width:width,height:height,top:y,right:x+width,bottom:height+y,left:x}),rect);defineConfigurable(this,{target:target,contentRect:contentRect})},ResizeObserverSPI=function(){function ResizeObserverSPI(callback,controller,callbackCtx){if(this.activeObservations_=[],this.observations_=new MapShim,"function"!=typeof callback)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=callback,this.controller_=controller,this.callbackCtx_=callbackCtx}return ResizeObserverSPI.prototype.observe=function(target){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(target instanceof getWindowOf(target).Element))throw new TypeError('parameter 1 is not of type "Element".');var observations=this.observations_;observations.has(target)||(observations.set(target,new ResizeObservation(target)),this.controller_.addObserver(this),this.controller_.refresh())}},ResizeObserverSPI.prototype.unobserve=function(target){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(target instanceof getWindowOf(target).Element))throw new TypeError('parameter 1 is not of type "Element".');var observations=this.observations_;observations.has(target)&&(observations.delete(target),observations.size||this.controller_.removeObserver(this))}},ResizeObserverSPI.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},ResizeObserverSPI.prototype.gatherActive=function(){var _this=this;this.clearActive(),this.observations_.forEach((function(observation){observation.isActive()&&_this.activeObservations_.push(observation)}))},ResizeObserverSPI.prototype.broadcastActive=function(){if(this.hasActive()){var ctx=this.callbackCtx_,entries=this.activeObservations_.map((function(observation){return new ResizeObserverEntry(observation.target,observation.broadcastRect())}));this.callback_.call(ctx,entries,ctx),this.clearActive()}},ResizeObserverSPI.prototype.clearActive=function(){this.activeObservations_.splice(0)},ResizeObserverSPI.prototype.hasActive=function(){return this.activeObservations_.length>0},ResizeObserverSPI}(),observers="undefined"!=typeof WeakMap?new WeakMap:new MapShim,ResizeObserver=function ResizeObserver(callback){if(!(this instanceof ResizeObserver))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var controller=ResizeObserverController.getInstance(),observer=new ResizeObserverSPI(callback,controller,this);observers.set(this,observer)};["observe","unobserve","disconnect"].forEach((function(method){ResizeObserver.prototype[method]=function(){var _a;return(_a=observers.get(this))[method].apply(_a,arguments)}}));var index=void 0!==global$1.ResizeObserver?global$1.ResizeObserver:ResizeObserver;__webpack_exports__.a=index}).call(this,__webpack_require__("./node_modules/webpack/buildin/global.js"))},"./node_modules/vue-style-loader/index.js!./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js?!./src/GanttElastic.vue?vue&type=style&index=0&lang=css&":function(module,exports,__webpack_require__){var content=__webpack_require__("./node_modules/css-loader/index.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/vue-loader/lib/index.js?!./src/GanttElastic.vue?vue&type=style&index=0&lang=css&");"string"==typeof content&&(content=[[module.i,content,""]]),content.locals&&(module.exports=content.locals);(0,__webpack_require__("./node_modules/vue-style-loader/lib/addStylesClient.js").default)("c3e5085c",content,!1,{})},"./node_modules/vue-style-loader/lib/addStylesClient.js":function(module,__webpack_exports__,__webpack_require__){"use strict";function listToStyles(parentId,list){for(var styles=[],newStyles={},i=0;i<list.length;i++){var item=list[i],id=item[0],part={id:parentId+":"+i,css:item[1],media:item[2],sourceMap:item[3]};newStyles[id]?newStyles[id].parts.push(part):styles.push(newStyles[id]={id:id,parts:[part]})}return styles}__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"default",(function(){return addStylesClient}));var hasDocument="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!hasDocument)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var stylesInDom={},head=hasDocument&&(document.head||document.getElementsByTagName("head")[0]),singletonElement=null,singletonCounter=0,isProduction=!1,noop=function(){},options=null,isOldIE="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function addStylesClient(parentId,list,_isProduction,_options){isProduction=_isProduction,options=_options||{};var styles=listToStyles(parentId,list);return addStylesToDom(styles),function(newList){for(var mayRemove=[],i=0;i<styles.length;i++){var item=styles[i];(domStyle=stylesInDom[item.id]).refs--,mayRemove.push(domStyle)}newList?addStylesToDom(styles=listToStyles(parentId,newList)):styles=[];for(i=0;i<mayRemove.length;i++){var domStyle;if(0===(domStyle=mayRemove[i]).refs){for(var j=0;j<domStyle.parts.length;j++)domStyle.parts[j]();delete stylesInDom[domStyle.id]}}}}function addStylesToDom(styles){for(var i=0;i<styles.length;i++){var item=styles[i],domStyle=stylesInDom[item.id];if(domStyle){domStyle.refs++;for(var j=0;j<domStyle.parts.length;j++)domStyle.parts[j](item.parts[j]);for(;j<item.parts.length;j++)domStyle.parts.push(addStyle(item.parts[j]));domStyle.parts.length>item.parts.length&&(domStyle.parts.length=item.parts.length)}else{var parts=[];for(j=0;j<item.parts.length;j++)parts.push(addStyle(item.parts[j]));stylesInDom[item.id]={id:item.id,refs:1,parts:parts}}}}function createStyleElement(){var styleElement=document.createElement("style");return styleElement.type="text/css",head.appendChild(styleElement),styleElement}function addStyle(obj){var update,remove,styleElement=document.querySelector('style[data-vue-ssr-id~="'+obj.id+'"]');if(styleElement){if(isProduction)return noop;styleElement.parentNode.removeChild(styleElement)}if(isOldIE){var styleIndex=singletonCounter++;styleElement=singletonElement||(singletonElement=createStyleElement()),update=applyToSingletonTag.bind(null,styleElement,styleIndex,!1),remove=applyToSingletonTag.bind(null,styleElement,styleIndex,!0)}else styleElement=createStyleElement(),update=applyToTag.bind(null,styleElement),remove=function(){styleElement.parentNode.removeChild(styleElement)};return update(obj),function(newObj){if(newObj){if(newObj.css===obj.css&&newObj.media===obj.media&&newObj.sourceMap===obj.sourceMap)return;update(obj=newObj)}else remove()}}var textStore,replaceText=(textStore=[],function(index,replacement){return textStore[index]=replacement,textStore.filter(Boolean).join("\n")});function applyToSingletonTag(styleElement,index,remove,obj){var css=remove?"":obj.css;if(styleElement.styleSheet)styleElement.styleSheet.cssText=replaceText(index,css);else{var cssNode=document.createTextNode(css),childNodes=styleElement.childNodes;childNodes[index]&&styleElement.removeChild(childNodes[index]),childNodes.length?styleElement.insertBefore(cssNode,childNodes[index]):styleElement.appendChild(cssNode)}}function applyToTag(styleElement,obj){var css=obj.css,media=obj.media,sourceMap=obj.sourceMap;if(media&&styleElement.setAttribute("media",media),options.ssrId&&styleElement.setAttribute("data-vue-ssr-id",obj.id),sourceMap&&(css+="\n/*# sourceURL="+sourceMap.sources[0]+" */",css+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))+" */"),styleElement.styleSheet)styleElement.styleSheet.cssText=css;else{for(;styleElement.firstChild;)styleElement.removeChild(styleElement.firstChild);styleElement.appendChild(document.createTextNode(css))}}},"./node_modules/webpack/buildin/global.js":function(module,exports){var g;g=function(){return this}();try{g=g||new Function("return this")()}catch(e){"object"==typeof window&&(g=window)}module.exports=g},"./src/GanttElastic.vue":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"mergeDeep",(function(){return mergeDeep})),__webpack_require__.d(__webpack_exports__,"mergeDeepReactive",(function(){return mergeDeepReactive})),__webpack_require__.d(__webpack_exports__,"notEqualDeep",(function(){return notEqualDeep}));var render=function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("div",{staticClass:"gantt-elastic",staticStyle:{width:"100%"},on:{click:this.onClick}},[this._t("header"),this._v(" "),_c("main-view",{ref:"mainView"}),this._v(" "),this._t("footer")],2)};render._withStripped=!0;var external_Vue_=__webpack_require__("vue"),external_Vue_default=__webpack_require__.n(external_Vue_),dayjs_min=__webpack_require__("./node_modules/dayjs/dayjs.min.js"),dayjs_min_default=__webpack_require__.n(dayjs_min),MainViewvue_type_template_id_0bc4212e_render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{staticClass:"gantt-elastic__main-view",style:Object.assign({},_vm.root.style["main-view"])},[_c("div",{staticClass:"gantt-elastic__main-container-wrapper",style:Object.assign({},_vm.root.style["main-container-wrapper"],{height:_vm.root.state.options.height+"px"})},[_c("div",{ref:"mainView",staticClass:"gantt-elastic__main-container",style:Object.assign({},_vm.root.style["main-container"],{width:_vm.root.state.options.clientWidth+"px",height:_vm.root.state.options.height+"px"})},[_c("div",{staticClass:"gantt-elastic__container",style:Object.assign({},_vm.root.style.container),on:{mousemove:_vm.mouseMove,mouseup:_vm.mouseUp}},[_c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.root.state.options.taskList.display,expression:"root.state.options.taskList.display"}],ref:"taskList",staticClass:"gantt-elastic__task-list-container",style:Object.assign({},_vm.root.style["task-list-container"],{width:_vm.root.state.options.taskList.finalWidth+"px",height:_vm.root.state.options.height+"px"})},[_c("task-list")],1),_vm._v(" "),_c("div",{ref:"chartContainer",staticClass:"gantt-elastic__main-view-container",style:Object.assign({},_vm.root.style["main-view-container"]),on:{mousedown:_vm.chartMouseDown,touchstart:_vm.chartMouseDown,mouseup:_vm.chartMouseUp,touchend:_vm.chartMouseUp,mousemove:function($event){return $event.preventDefault(),_vm.chartMouseMove($event)},touchmove:function($event){return $event.preventDefault(),_vm.chartMouseMove($event)},wheel:function($event){return $event.preventDefault(),_vm.chartWheel($event)}}},[_c("chart")],1)])]),_vm._v(" "),_c("div",{ref:"chartScrollContainerVertical",staticClass:"gantt-elastic__chart-scroll-container gantt-elastic__chart-scroll-container--vertical",style:Object.assign({},_vm.root.style["chart-scroll-container"],_vm.root.style["chart-scroll-container--vertical"],_vm.verticalStyle),on:{scroll:_vm.onVerticalScroll}},[_c("div",{staticClass:"gantt-elastic__chart-scroll--vertical",style:{width:"1px",height:_vm.root.state.options.allVisibleTasksHeight+"px"}})])]),_vm._v(" "),0==_vm.root.visibleTasks.length?_c("tbody",{staticClass:"empty-view",style:Object.assign({},_vm.root.style["emty-view"],{width:_vm.root.state.options.clientWidth+"px"})},[_c("tr",{style:{display:"table-row"}},[_c("td",{staticClass:"empty-view-text",style:Object.assign({},_vm.root.style["emty-view-text"],{width:_vm.root.state.options.clientWidth+"px"})},[_vm._v("\n "+_vm._s(_vm.root.state.options.emptyViewText)+"\n ")])])]):_vm._e(),_vm._v(" "),_c("div",{ref:"chartScrollContainerHorizontal",staticClass:"gantt-elastic__chart-scroll-container gantt-elastic__chart-scroll-container--horizontal",style:Object.assign({},_vm.root.style["chart-scroll-container"],_vm.root.style["chart-scroll-container--horizontal"],{marginLeft:_vm.getMarginLeft}),on:{scroll:_vm.onHorizontalScroll}},[_c("div",{staticClass:"gantt-elastic__chart-scroll--horizontal",style:{height:"1px",width:_vm.root.state.options.width+"px"}})])])};MainViewvue_type_template_id_0bc4212e_render._withStripped=!0;var TaskListvue_type_template_id_6e11f12f_render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{directives:[{name:"show",rawName:"v-show",value:_vm.root.state.options.taskList.display,expression:"root.state.options.taskList.display"}],ref:"taskListWrapper",staticClass:"gantt-elastic__task-list-wrapper",style:Object.assign({},_vm.root.style["task-list-wrapper"],{width:"100%",height:"100%"})},[_c("div",{ref:"taskList",staticClass:"gantt-elastic__task-list",style:Object.assign({},_vm.root.style["task-list"])},[_c("task-list-header"),_vm._v(" "),_c("div",{ref:"taskListItems",staticClass:"gantt-elastic__task-list-items",style:Object.assign({},_vm.root.style["task-list-items"],{height:_vm.root.state.options.rowsHeight+"px"})},_vm._l(_vm.root.visibleTasks,(function(task){return _c("task-list-item",{key:task.id,attrs:{task:task}})})),1)],1)])};TaskListvue_type_template_id_6e11f12f_render._withStripped=!0;var TaskListHeadervue_type_template_id_aefdd7c8_render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{staticClass:"gantt-elastic__task-list-header",style:Object.assign({},_vm.root.style["task-list-header"],{height:_vm.root.state.options.calendar.height+"px","margin-bottom":_vm.root.state.options.calendar.gap+"px"})},[_c("div",{staticClass:"gantt-elastic__task-list-header-row",style:Object.assign({},_vm.root.style["task-list-header-row"],_vm.getHeight())},_vm._l(_vm.root.getTaskListColumns,(function(column){return _c("div",{key:column._id,staticClass:"gantt-elastic__task-list-header-column",style:Object.assign({},_vm.root.style["task-list-header-column"],column.style["task-list-header-column"],_vm.getStyle(column))},[column.expander?_c("task-list-expander",{attrs:{tasks:_vm.collapsible,options:_vm.root.state.options.taskList.expander}}):_vm._e(),_vm._v(" "),_c("div",{staticClass:"gantt-elastic__task-list-header-label",style:Object.assign({},_vm.root.style["task-list-header-label"],column.style["task-list-header-label"]),attrs:{column:column},on:{mouseup:_vm.resizerMouseUp}},[_vm._v("\n "+_vm._s(column.label)+"\n ")]),_vm._v(" "),_c("div",{staticClass:"gantt-elastic__task-list-header-resizer-wrapper",style:Object.assign({},_vm.root.style["task-list-header-resizer-wrapper"],column.style["task-list-header-resizer-wrapper"]),attrs:{column:column},on:{mousedown:function($event){return _vm.resizerMouseDown($event,column)}}},[_c("div",{staticClass:"gantt-elastic__task-list-header-resizer",style:Object.assign({},_vm.root.style["task-list-header-resizer"],column.style["task-list-header-resizer"])},[_c("div",{staticClass:"gantt-elastic__task-list-header-resizer-dot",style:Object.assign({},_vm.root.style["task-list-header-resizer-dot"],column.style["task-list-header-resizer-dot"])}),_vm._v(" "),_c("div",{staticClass:"gantt-elastic__task-list-header-resizer-dot",style:Object.assign({},_vm.root.style["task-list-header-resizer-dot"],column.style["task-list-header-resizer-dot"])}),_vm._v(" "),_c("div",{staticClass:"gantt-elastic__task-list-header-resizer-dot",style:Object.assign({},_vm.root.style["task-list-header-resizer-dot"],column.style["task-list-header-resizer-dot"])})])])],1)})),0)])};TaskListHeadervue_type_template_id_aefdd7c8_render._withStripped=!0;var Expandervue_type_template_id_09a21177_render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.getClassPrefix()+"-wrapper",style:Object.assign({},_vm.root.style[_vm.getClassPrefix(!1)+"-wrapper"],_vm.style)},[_vm.allChildren.length?_c("svg",{class:_vm.getClassPrefix()+"-content",style:Object.assign({},_vm.root.style[_vm.getClassPrefix(!1)+"-content"]),attrs:{width:_vm.options.size,height:_vm.options.size},on:{click:_vm.toggle}},[_c("rect",{class:_vm.getClassPrefix()+"-border",style:Object.assign({},_vm.root.style[_vm.getClassPrefix(!1)+"-border"],_vm.borderStyle),attrs:{x:_vm.border,y:_vm.border,width:_vm.options.size-2*_vm.border,height:_vm.options.size-2*_vm.border,rx:"2",ry:"2"}}),_vm._v(" "),_vm.allChildren.length?_c("line",{class:_vm.getClassPrefix()+"-line",style:Object.assign({},_vm.root.style[_vm.getClassPrefix(!1)+"-line"]),attrs:{x1:_vm.lineOffset,y1:_vm.options.size/2,x2:_vm.options.size-_vm.lineOffset,y2:_vm.options.size/2}}):_vm._e(),_vm._v(" "),_vm.collapsed?_c("line",{class:_vm.getClassPrefix()+"-line",style:Object.assign({},_vm.root.style[_vm.getClassPrefix(!1)+"-line"]),attrs:{x1:_vm.options.size/2,y1:_vm.lineOffset,x2:_vm.options.size/2,y2:_vm.options.size-_vm.lineOffset}}):_vm._e()]):_vm._e()])};function normalizeComponent(scriptExports,render,staticRenderFns,functionalTemplate,injectStyles,scopeId,moduleIdentifier,shadowMode){var hook,options="function"==typeof scriptExports?scriptExports.options:scriptExports;if(render&&(options.render=render,options.staticRenderFns=staticRenderFns,options._compiled=!0),functionalTemplate&&(options.functional=!0),scopeId&&(options._scopeId="data-v-"+scopeId),moduleIdentifier?(hook=function(context){(context=context||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(context=__VUE_SSR_CONTEXT__),injectStyles&&injectStyles.call(this,context),context&&context._registeredComponents&&context._registeredComponents.add(moduleIdentifier)},options._ssrRegister=hook):injectStyles&&(hook=shadowMode?function(){injectStyles.call(this,(options.functional?this.parent:this).$root.$options.shadowRoot)}:injectStyles),hook)if(options.functional){options._injectStyles=hook;var originalRender=options.render;options.render=function(h,context){return hook.call(context),originalRender(h,context)}}else{var existing=options.beforeCreate;options.beforeCreate=existing?[].concat(existing,hook):[hook]}return{exports:scriptExports,options:options}}Expandervue_type_template_id_09a21177_render._withStripped=!0;var component=normalizeComponent({name:"Expander",inject:["root"],props:["tasks","options","type"],data:()=>({border:.5,borderStyle:{"stroke-width":.5},lineOffset:5}),computed:{style(){if("taskList"!==this.type)return{};const margin=this.root.state.options.taskList.expander.margin;return{"padding-left":this.tasks[0].parents.length*this.root.state.options.taskList.expander.padding+margin+"px",margin:"auto 0"}},allChildren(){const children=[];return this.tasks.forEach(task=>{task.allChildren.forEach(childId=>{children.push(childId)})}),children},collapsed(){if(0===this.tasks.length)return!1;let collapsed=0;for(let i=0,len=this.tasks.length;i<len;i++)this.tasks[i].collapsed&&collapsed++;return collapsed===this.tasks.length}},methods:{getClassPrefix(full=!0){return`${full?"gantt-elastic__":""}${this.options.type}-expander`},toggle(){if(0===this.tasks.length)return;const collapsed=!this.collapsed;this.tasks.forEach(task=>{task.collapsed=collapsed})}}},Expandervue_type_template_id_09a21177_render,[],!1,null,null,null);component.options.__file="src/components/Expander.vue";var Expander=component.exports,TaskListHeader_component=normalizeComponent({name:"TaskListHeader",components:{TaskListExpander:Expander},inject:["root"],data:()=>({resizer:{moving:!1,x:0}}),computed:{collapsible(){return this.root.state.tasks.filter(task=>task.allChildren.length>0)}},methods:{getStyle:column=>({width:column.finalWidth+"px"}),getHeight(){const firstRowItem=Object.keys(this.root.state.options.calendar).reverse().find(item=>this.root.state.options.calendar[item].display);return{height:this.root.state.options.calendar[firstRowItem].height+"px"}},resizerMouseDown(event,column){this.resizer.moving||(this.resizer.moving=column,this.resizer.x=event.clientX,this.resizer.initialWidth=column.width,this.root.$emit("taskList-column-width-change-start",this.resizer.moving))},resizerMouseMove(event){if(this.resizer.moving){const lastWidth=this.resizer.moving.width;this.resizer.moving.width=this.resizer.initialWidth+event.clientX-this.resizer.x,this.resizer.moving.width<this.root.state.options.taskList.minWidth&&(this.resizer.moving.width=this.root.state.options.taskList.minWidth),lastWidth!==this.resizer.moving.width&&this.root.$emit("taskList-column-width-change",this.resizer.moving)}},resizerMouseUp(event){this.resizer.moving&&(this.root.$emit("taskList-column-width-change-stop",this.resizer.moving),this.resizer.moving=!1)}},created(){this.mouseUpListener=document.addEventListener("mouseup",this.resizerMouseUp.bind(this)),this.mouseMoveListener=document.addEventListener("mousemove",this.resizerMouseMove.bind(this)),this.root.$on("main-view-mousemove",this.resizerMouseMove),this.root.$on("main-view-mouseup",this.resizerMouseUp)},beforeDestroy(){document.removeEventListener("mouseup",this.resizerMouseUp),document.removeEventListener("mousemove",this.resizerMouseMove)}},TaskListHeadervue_type_template_id_aefdd7c8_render,[],!1,null,null,null);TaskListHeader_component.options.__file="src/components/TaskList/TaskListHeader.vue";var TaskListHeader=TaskListHeader_component.exports,TaskListItemvue_type_template_id_9716293c_render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{staticClass:"gantt-elastic__task-list-item",style:Object.assign({},_vm.root.style["task-list-item"])},_vm._l(_vm.columns,(function(column){return _c("item-column",{key:column._id,attrs:{column:column,task:_vm.task}},[column.expander?_c("task-list-expander",{attrs:{tasks:[_vm.task],options:_vm.root.state.options.taskList.expander,type:"taskList"}}):_vm._e()],1)})),1)};TaskListItemvue_type_template_id_9716293c_render._withStripped=!0;var ItemColumnvue_type_template_id_cb5a6c96_render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{staticClass:"gantt-elastic__task-list-item-column",style:_vm.itemColumnStyle},[_c("div",{staticClass:"gantt-elastic__task-list-item-value-wrapper",style:_vm.wrapperStyle},[_vm._t("default"),_vm._v(" "),_c("div",{staticClass:"gantt-elastic__task-list-item-value-container",style:_vm.containerStyle},[_vm.html?_c("div",{staticClass:"gantt-elastic__task-list-item-value",style:_vm.valueStyle,domProps:{innerHTML:_vm._s(_vm.value)},on:{click:function($event){return _vm.emitEvent("click",$event)},mouseenter:function($event){return _vm.emitEvent("mouseenter",$event)},mouseover:function($event){return _vm.emitEvent("mouseover",$event)},mouseout:function($event){return _vm.emitEvent("mouseout",$event)},mousemove:function($event){return _vm.emitEvent("mousemove",$event)},mousedown:function($event){return _vm.emitEvent("mousedown",$event)},mouseup:function($event){return _vm.emitEvent("mouseup",$event)},mousewheel:function($event){return _vm.emitEvent("mousewheel",$event)},touchstart:function($event){return _vm.emitEvent("touchstart",$event)},touchmove:function($event){return _vm.emitEvent("touchmove",$event)},touchend:function($event){return _vm.emitEvent("touchend",$event)}}}):_c("div",{staticClass:"gantt-elastic__task-list-item-value",style:_vm.valueStyle,on:{click:function($event){return _vm.emitEvent("click",$event)},mouseenter:function($event){return _vm.emitEvent("mouseenter",$event)},mouseover:function($event){return _vm.emitEvent("mouseover",$event)},mouseout:function($event){return _vm.emitEvent("mouseout",$event)},mousemove:function($event){return _vm.emitEvent("mousemove",$event)},mousedown:function($event){return _vm.emitEvent("mousedown",$event)},mouseup:function($event){return _vm.emitEvent("mouseup",$event)},mousewheel:function($event){return _vm.emitEvent("mousewheel",$event)},touchstart:function($event){return _vm.emitEvent("touchstart",$event)},touchmove:function($event){return _vm.emitEvent("touchmove",$event)},touchend:function($event){return _vm.emitEvent("touchend",$event)}}},[_vm._v("\n "+_vm._s(_vm.value)+"\n ")])])],2)])};ItemColumnvue_type_template_id_cb5a6c96_render._withStripped=!0;var ItemColumn_component=normalizeComponent({name:"ItemColumn",inject:["root"],props:["column","task"],data:()=>({}),methods:{emitEvent(eventName,event){void 0!==this.column.events&&"function"==typeof this.column.events[eventName]&&this.column.events[eventName]({event:event,data:this.task,column:this.column}),this.root.$emit(`taskList-${this.task.type}-${eventName}`,{event:event,data:this.task,column:this.column})}},computed:{html(){return void 0!==this.column.html&&!0===this.column.html},value(){return"function"==typeof this.column.value?this.column.value(this.task):this.task[this.column.value]},itemColumnStyle(){return{...this.root.style["task-list-item-column"],...this.column.style["task-list-item-column"],width:this.column.finalWidth+"px",height:this.column.height+"px"}},wrapperStyle(){return{...this.root.style["task-list-item-value-wrapper"],...this.column.style["task-list-item-value-wrapper"]}},containerStyle(){return{...this.root.style["task-list-item-value-container"],...this.column.style["task-list-item-value-container"]}},valueStyle(){return{...this.root.style["task-list-item-value"],...this.column.style["task-list-item-value"]}}}},ItemColumnvue_type_template_id_cb5a6c96_render,[],!1,null,null,null);ItemColumn_component.options.__file="src/components/TaskList/ItemColumn.vue";var TaskListItem_component=normalizeComponent({name:"TaskListItem",components:{TaskListExpander:Expander,ItemColumn:ItemColumn_component.exports},inject:["root"],props:["task"],data:()=>({}),computed:{columns(){return this.root.state.options.taskList.columns}}},TaskListItemvue_type_template_id_9716293c_render,[],!1,null,null,null);TaskListItem_component.options.__file="src/components/TaskList/TaskListItem.vue";var TaskList_component=normalizeComponent({name:"TaskList",components:{TaskListHeader:TaskListHeader,TaskListItem:TaskListItem_component.exports},inject:["root"],data:()=>({}),mounted(){this.root.state.refs.taskListWrapper=this.$refs.taskListWrapper,this.root.state.refs.taskList=this.$refs.taskList,this.root.state.refs.taskListItems=this.$refs.taskListItems}},TaskListvue_type_template_id_6e11f12f_render,[],!1,null,null,null);TaskList_component.options.__file="src/components/TaskList/TaskList.vue";var TaskList=TaskList_component.exports,Chartvue_type_template_id_67c3f5cd_render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{ref:"chart",staticClass:"gantt-elastic__chart",style:Object.assign({},_vm.root.style.chart)},[_c("div",{ref:"chartCalendarContainer",staticClass:"gantt-elastic__chart-calendar-container",style:Object.assign({},_vm.root.style["chart-calendar-container"],{height:_vm.root.state.options.calendar.height+"px","margin-bottom":_vm.root.state.options.calendar.gap+"px"})},[_c("calendar",{attrs:{calendar:_vm.root.state.options.calendar,times:_vm.root.state.options.times,width:_vm.root.state.options.width,locale:_vm.root.state.options.locale}})],1),_vm._v(" "),_c("div",{ref:"chartGraphContainer",staticClass:"gantt-elastic__chart-graph-container",style:Object.assign({},_vm.root.style["chart-graph-container"],{height:_vm.root.state.options.height-_vm.root.state.options.calendar.height+"px"})},[_c("div",{style:Object.assign({},_vm.root.style["chart-area"],{width:this.root.state.options.width+"px","min-width":"100%",height:_vm.root.state.options.rowsHeight+"px"})},[_c("div",{ref:"chartGraph",staticClass:"gantt-elastic__chart-graph",style:Object.assign({},_vm.root.style["chart-graph"],{height:"100%","min-width":"100%"})},[_c("svg",{ref:"chartGraphSvg",staticClass:"gantt-elastic__chart-graph-svg",style:Object.assign({},_vm.root.style["chart-graph-svg"],{"min-width":"100%"}),attrs:{x:"0",y:"0",height:_vm.root.state.options.allVisibleTasksHeight+"px",xmlns:"http://www.w3.org/2000/svg"}},[_c("days-highlight"),_vm._v(" "),_c("grid"),_vm._v(" "),_vm._l(_vm.root.visibleTasks,(function(task){return _c("g",{key:task.id,staticClass:"gantt-elastic__chart-row-wrapper",style:Object.assign({},_vm.root.style["chart-row-wrapper"]),attrs:{task:task}},[task.durationPlanned>0?_c("task-planned",{attrs:{task:task}}):_vm._e(),_vm._v(" "),task.duration>0&&_vm.root.state.options.showExpected?_c(task.type,{tag:"component",attrs:{task:task}}):_vm._e()],1)})),_vm._v(" "),_c("dependency-lines",{attrs:{tasks:_vm.root.visibleTasks}})],2),_vm._v(" "),_c("dependency-popup")],1)])])])};Chartvue_type_template_id_67c3f5cd_render._withStripped=!0;var Gridvue_type_template_id_2bf979a7_render=function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("svg",{ref:"chart",staticClass:"gantt-elastic__grid-lines-wrapper",style:Object.a