dhtmlx-gantt
Advanced tools
Comparing version 4.1.0 to 4.2.1
{ | ||
"name": "gantt", | ||
"version": "4.1.0", | ||
"version": "4.2.1", | ||
"homepage": "http://dhtmlx.com/docs/products/dhtmlxGantt/", | ||
@@ -5,0 +5,0 @@ "description": "An open source JavaScript Gantt chart that helps you illustrate a project schedule in a nice-looking chart.", |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -9,7 +9,7 @@ | ||
*/ | ||
gantt.date.date_to_str=function(t,e){return function(a){return t.replace(/%[a-zA-Z]/g,function(t){switch(t){case"%d":return e?gantt.date.to_fixed(a.getUTCDate()):gantt.date.to_fixed(a.getDate());case"%m":return e?gantt.date.to_fixed(a.getUTCMonth()+1):gantt.date.to_fixed(a.getMonth()+1);case"%j":return e?a.getUTCDate():a.getDate();case"%n":return e?a.getUTCMonth()+1:a.getMonth()+1;case"%y":return e?gantt.date.to_fixed(a.getUTCFullYear()%100):gantt.date.to_fixed(a.getFullYear()%100);case"%Y":return e?a.getUTCFullYear():a.getFullYear(); | ||
case"%D":return e?gantt.locale.date.day_short[a.getUTCDay()]:gantt.locale.date.day_short[a.getDay()];case"%l":return e?gantt.locale.date.day_full[a.getUTCDay()]:gantt.locale.date.day_full[a.getDay()];case"%M":return e?gantt.locale.date.month_short[a.getUTCMonth()]:gantt.locale.date.month_short[a.getMonth()];case"%F":return e?gantt.locale.date.month_full[a.getUTCMonth()]:gantt.locale.date.month_full[a.getMonth()];case"%h":return e?gantt.date.to_fixed((a.getUTCHours()+11)%12+1):gantt.date.to_fixed((a.getHours()+11)%12+1); | ||
case"%g":return e?(a.getUTCHours()+11)%12+1:(a.getHours()+11)%12+1;case"%G":return e?a.getUTCHours():a.getHours();case"%H":return e?gantt.date.to_fixed(a.getUTCHours()):gantt.date.to_fixed(a.getHours());case"%i":return e?gantt.date.to_fixed(a.getUTCMinutes()):gantt.date.to_fixed(a.getMinutes());case"%a":return e?a.getUTCHours()>11?"pm":"am":a.getHours()>11?"pm":"am";case"%A":return e?a.getUTCHours()>11?"PM":"AM":a.getHours()>11?"PM":"AM";case"%s":return e?gantt.date.to_fixed(a.getUTCSeconds()):gantt.date.to_fixed(a.getSeconds()); | ||
case"%W":return e?gantt.date.to_fixed(gantt.date.getUTCISOWeek(a)):gantt.date.to_fixed(gantt.date.getISOWeek(a));default:return t}})}},gantt.date.str_to_date=function(t,e){return function(a){for(var n=[0,0,1,0,0,0],r=a.match(/[a-zA-Z]+|[0-9]+/g),g=t.match(/%[a-zA-Z]/g),o=0;o<g.length;o++)switch(g[o]){case"%j":case"%d":n[2]=r[o]||1;break;case"%n":case"%m":n[1]=(r[o]||1)-1;break;case"%y":n[0]=1*r[o]+(r[o]>50?1900:2e3);break;case"%g":case"%G":case"%h":case"%H":n[3]=r[o]||0;break;case"%i":n[4]=r[o]||0; | ||
break;case"%Y":n[0]=r[o]||0;break;case"%a":case"%A":n[3]=n[3]%12+("am"==(r[o]||"").toLowerCase()?0:12);break;case"%s":n[5]=r[o]||0;break;case"%M":n[1]=gantt.locale.date.month_short_hash[r[o]]||0;break;case"%F":n[1]=gantt.locale.date.month_full_hash[r[o]]||0}return e?new Date(Date.UTC(n[0],n[1],n[2],n[3],n[4],n[5])):new Date(n[0],n[1],n[2],n[3],n[4],n[5])}}; | ||
gantt.date.date_to_str=function(t,e){return function(n){return t.replace(/%[a-zA-Z]/g,function(t){switch(t){case"%d":return e?gantt.date.to_fixed(n.getUTCDate()):gantt.date.to_fixed(n.getDate());case"%m":return e?gantt.date.to_fixed(n.getUTCMonth()+1):gantt.date.to_fixed(n.getMonth()+1);case"%j":return e?n.getUTCDate():n.getDate();case"%n":return e?n.getUTCMonth()+1:n.getMonth()+1;case"%y":return e?gantt.date.to_fixed(n.getUTCFullYear()%100):gantt.date.to_fixed(n.getFullYear()%100);case"%Y":return e?n.getUTCFullYear():n.getFullYear(); | ||
case"%D":return e?gantt.locale.date.day_short[n.getUTCDay()]:gantt.locale.date.day_short[n.getDay()];case"%l":return e?gantt.locale.date.day_full[n.getUTCDay()]:gantt.locale.date.day_full[n.getDay()];case"%M":return e?gantt.locale.date.month_short[n.getUTCMonth()]:gantt.locale.date.month_short[n.getMonth()];case"%F":return e?gantt.locale.date.month_full[n.getUTCMonth()]:gantt.locale.date.month_full[n.getMonth()];case"%h":return e?gantt.date.to_fixed((n.getUTCHours()+11)%12+1):gantt.date.to_fixed((n.getHours()+11)%12+1); | ||
case"%g":return e?(n.getUTCHours()+11)%12+1:(n.getHours()+11)%12+1;case"%G":return e?n.getUTCHours():n.getHours();case"%H":return e?gantt.date.to_fixed(n.getUTCHours()):gantt.date.to_fixed(n.getHours());case"%i":return e?gantt.date.to_fixed(n.getUTCMinutes()):gantt.date.to_fixed(n.getMinutes());case"%a":return e?n.getUTCHours()>11?"pm":"am":n.getHours()>11?"pm":"am";case"%A":return e?n.getUTCHours()>11?"PM":"AM":n.getHours()>11?"PM":"AM";case"%s":return e?gantt.date.to_fixed(n.getUTCSeconds()):gantt.date.to_fixed(n.getSeconds()); | ||
case"%W":return e?gantt.date.to_fixed(gantt.date.getUTCISOWeek(n)):gantt.date.to_fixed(gantt.date.getISOWeek(n));default:return t}})}},gantt.date.str_to_date=function(t,e){return function(n){for(var a=[0,0,1,0,0,0],i=n.match(/[a-zA-Z]+|[0-9]+/g),s=t.match(/%[a-zA-Z]/g),r=0;r<s.length;r++)switch(s[r]){case"%j":case"%d":a[2]=i[r]||1;break;case"%n":case"%m":a[1]=(i[r]||1)-1;break;case"%y":a[0]=1*i[r]+(i[r]>50?1900:2e3);break;case"%g":case"%G":case"%h":case"%H":a[3]=i[r]||0;break;case"%i":a[4]=i[r]||0; | ||
break;case"%Y":a[0]=i[r]||0;break;case"%a":case"%A":a[3]=a[3]%12+("am"==(i[r]||"").toLowerCase()?0:12);break;case"%s":a[5]=i[r]||0;break;case"%M":a[1]=gantt.locale.date.month_short_hash[i[r]]||0;break;case"%F":a[1]=gantt.locale.date.month_full_hash[i[r]]||0}return e?new Date(Date.UTC(a[0],a[1],a[2],a[3],a[4],a[5])):new Date(a[0],a[1],a[2],a[3],a[4],a[5])}}; | ||
//# sourceMappingURL=../sources/ext/dhtmlxgantt_csp.js.map |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -9,7 +9,10 @@ | ||
*/ | ||
gantt._onFullScreenChange=function(){!gantt.getState().fullscreen||null!==document.fullscreenElement&&null!==document.mozFullScreenElement&&null!==document.webkitFullscreenElement&&null!==document.msFullscreenElement||gantt.collapse()},document.addEventListener&&(document.addEventListener("webkitfullscreenchange",gantt._onFullScreenChange),document.addEventListener("mozfullscreenchange",gantt._onFullScreenChange),document.addEventListener("MSFullscreenChange",gantt._onFullScreenChange),document.addEventListener("fullscreenChange",gantt._onFullScreenChange), | ||
document.addEventListener("fullscreenchange",gantt._onFullScreenChange)),gantt.expand=function(){if(gantt.callEvent("onBeforeExpand",[])){gantt._toggleFullScreen(!0);var e=gantt._obj;do e._position=e.style.position||"",e.style.position="static";while((e=e.parentNode)&&e.style);e=gantt._obj,e.style.position="absolute",e._width=e.style.width,e._height=e.style.height,e.style.width=e.style.height="100%",e.style.top=e.style.left="0px";var t=document.body;t.scrollTop=0,t=t.parentNode,t&&(t.scrollTop=0), | ||
document.body._overflow=document.body.style.overflow||"",document.body.style.overflow="hidden",document.documentElement.msRequestFullscreen&&gantt._obj&&window.setTimeout(function(){gantt._obj.style.width=window.outerWidth+"px"},1),gantt._maximize(),gantt.callEvent("onExpand",[])}},gantt.collapse=function(){if(gantt.callEvent("onBeforeCollapse",[])){var e=gantt._obj;do e.style.position=e._position;while((e=e.parentNode)&&e.style);e=gantt._obj,e.style.width=e._width,e.style.height=e._height,document.body.style.overflow=document.body._overflow, | ||
gantt._toggleFullScreen(!1),gantt._maximize(),gantt.callEvent("onCollapse",[])}},function(){var e=gantt.getState;gantt.getState=function(){var t=e.apply(this,arguments);return t.fullscreen=!!this._expanded,t}}(),gantt._maximize=function(){this._expanded=!this._expanded,this.render()},gantt._toggleFullScreen=function(e){!e&&(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement)?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.msRequestFullscreen?document.documentElement.msRequestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullscreen&&document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT); | ||
}; | ||
!function(){gantt._fs_change=[];var t=gantt.getState;gantt.getState=function(){var e=t.apply(this,arguments);return e.fullscreen=!!this._expanded,e},gantt._onFullScreenChange=function(){if(gantt.$container){var t=gantt.getState().fullscreen;t&&(gantt._isFullScreenActive()||gantt.collapse());var e=gantt._fs_change.length?gantt._fs_change.pop():null;if(gantt._expanded=!gantt._expanded,e)if(e.condition())e.callback();else{var n=setInterval(function(){e.condition()&&(clearInterval(n),n=null,e.callback()); | ||
},10);setTimeout(function(){n&&(clearInterval(n),e.callback())},100)}else gantt.render()}},gantt._isFullScreenActive=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},gantt._isFullScreenAvailable=function(){return document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled},gantt.event(document,"webkitfullscreenchange",gantt._onFullScreenChange), | ||
gantt.event(document,"mozfullscreenchange",gantt._onFullScreenChange),gantt.event(document,"MSFullscreenChange",gantt._onFullScreenChange),gantt.event(document,"fullscreenChange",gantt._onFullScreenChange),gantt.event(document,"fullscreenchange",gantt._onFullScreenChange),gantt.expand=function(){if(gantt.callEvent("onBeforeExpand",[])){gantt._toggleFullScreen(!0);var t=gantt._obj;do t._position=t.style.position||"",t.style.position="static";while((t=t.parentNode)&&t.style);t=gantt._obj,t.style.position="absolute", | ||
t._width=t.style.width,t._height=t.style.height,t.style.width=t.style.height="100%",t.style.top=t.style.left="0px";var e=document.body;e.scrollTop=0,e=e.parentNode,e&&(e.scrollTop=0),document.body._overflow=document.body.style.overflow||"",document.body.style.overflow="hidden",document.body._width=document.body.style.width,document.body._height=document.body.style.height;var n=function(){document.documentElement.msRequestFullscreen&&gantt._obj&&(gantt._obj.style.width=document.body.style.width=window.outerWidth+"px", | ||
gantt._obj.style.height=document.body.style.height=window.outerHeight+"px"),gantt.render(),gantt.callEvent("onExpand",[])};if(gantt._isFullScreenAvailable()){var a=window.outerHeight,i=window.outerWidth;gantt._fs_change.push({condition:function(){return a<window.outerHeight&&i<=window.outerWidth},callback:n})}else gantt._expanded=!gantt._expanded,n()}},gantt.collapse=function(){if(gantt.callEvent("onBeforeCollapse",[])){var t=gantt._obj;do t.style.position=t._position;while((t=t.parentNode)&&t.style); | ||
t=gantt._obj,t.style.width=t._width,t.style.height=t._height,document.body.style.overflow=document.body._overflow,document.body.style.width=document.body._width,document.body.style.height=document.body._height,gantt._toggleFullScreen(!1);var e=function(){gantt.render(),gantt.callEvent("onCollapse",[])};if(gantt._isFullScreenAvailable()){var n=window.outerHeight,a=window.outerWidth;gantt._fs_change.push({condition:function(){return n>window.outerHeight&&a>=window.outerWidth},callback:e})}else gantt._expanded=!gantt._expanded, | ||
e()}},gantt._toggleFullScreen=function(t){!t&&(document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement)?document.exitFullscreen?document.exitFullscreen():document.msExitFullscreen?document.msExitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen():document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.msRequestFullscreen?document.documentElement.msRequestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullscreen&&document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT); | ||
}}(); | ||
//# sourceMappingURL=../sources/ext/dhtmlxgantt_fullscreen.js.map |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -9,13 +9,14 @@ | ||
*/ | ||
!function(){function t(t){function e(e){var n={gantt:t.$keyboardNavigation.GanttNode,headerCell:t.$keyboardNavigation.HeaderCell,taskRow:t.$keyboardNavigation.TaskRow,taskCell:t.$keyboardNavigation.HeaderCell};return n[e]||n.gantt}t.config.keyboard_navigation=!0,t.config.keyboard_navigation_cells=!1,t.addShortcut=function(t,n,a){var i=e(a);i&&i.prototype.bind(t,n)},t.removeShortcut=function(t,n){var a=e(n);a&&a.prototype.unbind(t)},t.focus=function(){var e=t.$keyboardNavigation.dispatcher;e.enable(), | ||
e.getActiveNode()?e.focusNode(e.getActiveNode()):e.setDefaultNode()},t.$keyboardNavigation={},t._compose=function(){for(var t=Array.prototype.slice.call(arguments,0),e={},n=0;n<t.length;n++){var a=t[n];"function"==typeof a&&(a=new a);for(var i in a)e[i]=a[i]}return e},t.$keyboardNavigation.shortcuts={createCommand:function(){return{modifiers:{shift:!1,alt:!1,ctrl:!1,meta:!1},keyCode:null}},parse:function(t){for(var e=[],n=this.getExpressions(this.trim(t)),a=0;a<n.length;a++){for(var i=this.getWords(n[a]),s=this.createCommand(),r=0;r<i.length;r++)this.commandKeys[i[r]]?s.modifiers[i[r]]=!0:this.specialKeys[i[r]]?s.keyCode=this.specialKeys[i[r]]:s.keyCode=i[r].charCodeAt(0); | ||
e.push(s)}return e},getCommandFromEvent:function(t){var e=this.createCommand();e.modifiers.shift=!!t.shiftKey,e.modifiers.alt=!!t.altKey,e.modifiers.ctrl=!!t.ctrlKey,e.modifiers.meta=!!t.metaKey,e.keyCode=t.which||t.keyCode;var n=String.fromCharCode(e.keyCode);return n&&(e.keyCode=n.toLowerCase().charCodeAt(0)),e},getHashFromEvent:function(t){return this.getHash(this.getCommandFromEvent(t))},getHash:function(t){var e=[];for(var n in t.modifiers)t.modifiers[n]&&e.push(n);return e.push(t.keyCode),e.join(this.junctionChar); | ||
},getExpressions:function(t){return t.split(this.junctionChar)},getWords:function(t){return t.split(this.combinationChar)},trim:function(t){return t.replace(/\s/g,"")},junctionChar:",",combinationChar:"+",commandKeys:{shift:16,alt:18,ctrl:17,meta:!0},specialKeys:{backspace:8,tab:9,enter:13,esc:27,space:32,up:38,down:40,left:37,right:39,home:36,end:35,pageup:33,pagedown:34,"delete":46,insert:45,plus:107,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123}},t.$keyboardNavigation.EventHandler={ | ||
_handlers:null,findHandler:function(e){this._handlers||(this._handlers={});var n=t.$keyboardNavigation.shortcuts,a=n.getHash(e);return this._handlers[a]},doAction:function(t,e){var n=this.findHandler(t);n&&(n.call(this,e),e.preventDefault?e.preventDefault():e.returnValue=!1)},bind:function(e,n){this._handlers||(this._handlers={});for(var a=t.$keyboardNavigation.shortcuts,i=a.parse(e),s=0;s<i.length;s++)this._handlers[a.getHash(i[s])]=n},unbind:function(e){for(var n=t.$keyboardNavigation.shortcuts,a=n.parse(e),i=0;i<a.length;i++)this._handlers[n.getHash(a[i])]&&delete this._handlers[n.getHash(a[i])]; | ||
},bindAll:function(t){for(var e in t)this.bind(e,t[e])},initKeys:function(){this._handlers||(this._handlers={}),this.keys&&this.bindAll(this.keys)}},function(){t.$keyboardNavigation.getFocusableNodes=t._getFocusableNodes,t.$keyboardNavigation.trapFocus=function(e,n){if(9!=n.keyCode)return!1;for(var a=t.$keyboardNavigation.getFocusableNodes(e),i=document.activeElement,s=-1,r=0;r<a.length;r++)if(a[r]==i){s=r;break}if(n.shiftKey){if(0>=s){var o=a[a.length-1];if(o)return o.focus(),n.preventDefault(), | ||
!0}}else if(s>=a.length-1){var l=a[0];if(l)return l.focus(),n.preventDefault(),!0}return!1}}(),t.$keyboardNavigation.GanttNode=function(){},t.$keyboardNavigation.GanttNode.prototype=t._compose(t.$keyboardNavigation.EventHandler,{focus:function(){t.focus()},blur:function(){},disable:function(){t.$container.setAttribute("tabindex","0")},enable:function(){t.$container&&t.$container.removeAttribute("tabindex")},isEnabled:function(){return t.$container.hasAttribute("tabindex")},scrollHorizontal:function(e){ | ||
var n=t.dateFromPos(t.getScrollState().x),a=0>e?-t.config.step:t.config.step;n=t.date.add(n,a,t.config.scale_unit),t.scrollTo(t.posFromDate(n))},scrollVertical:function(e){var n=t.getScrollState().y,a=t.config.row_height;t.scrollTo(null,n+(0>e?-1:1)*a)},keys:{"alt+left":function(t){this.scrollHorizontal(-1)},"alt+right":function(t){this.scrollHorizontal(1)},"alt+up":function(t){this.scrollVertical(-1)},"alt+down":function(t){this.scrollVertical(1)},"ctrl+z":function(){t.undo&&t.undo()},"ctrl+r":function(){ | ||
t.redo&&t.redo()}}}),t.$keyboardNavigation.GanttNode.prototype.bindAll(t.$keyboardNavigation.GanttNode.prototype.keys),t.$keyboardNavigation.KeyNavNode=function(){},t.$keyboardNavigation.KeyNavNode.prototype=t._compose(t.$keyboardNavigation.EventHandler,{isValid:function(){return!0},fallback:function(){return null},moveTo:function(e){t.$keyboardNavigation.dispatcher.setActiveNode(e)},compareTo:function(t){if(!t)return!1;for(var e in this){if(!!this[e]!=!!t[e])return!1;var n=!(!this[e]||!this[e].toString),a=!(!t[e]||!t[e].toString); | ||
if(a!=n)return!1;if(a&&n){if(t[e].toString()!=this[e].toString())return!1}else if(t[e]!=this[e])return!1}},getNode:function(){},focus:function(){var t=this.getNode();t&&(t.setAttribute("tabindex","-1"),t.focus&&t.focus())},blur:function(){var t=this.getNode();t&&t.setAttribute("tabindex","-1")}}),t.$keyboardNavigation.HeaderCell=function(t){this.index=t||0},t.$keyboardNavigation.HeaderCell.prototype=t._compose(t.$keyboardNavigation.KeyNavNode,{_handlers:null,isValid:function(){return!t.config.show_grid&&t.getVisibleTaskCount()?!1:!!t.getGridColumns()[this.index]||!t.getVisibleTaskCount(); | ||
},fallback:function(){if(!t.config.show_grid)return t.getVisibleTaskCount()?new t.$keyboardNavigation.TaskRow:null;for(var e=t.getGridColumns(),n=this.index;n>=0&&!e[n];)n--;return e[n]?new t.$keyboardNavigation.HeaderCell(n):null},getNode:function(){var e=t.$grid_scale.childNodes;return e[this.index]},keys:{left:function(){this.index>0&&this.moveTo(new t.$keyboardNavigation.HeaderCell(this.index-1))},right:function(){var e=t.getGridColumns();this.index<e.length-1&&this.moveTo(new t.$keyboardNavigation.HeaderCell(this.index+1)); | ||
!function(){function t(t){function e(e){var n={gantt:t.$keyboardNavigation.GanttNode,headerCell:t.$keyboardNavigation.HeaderCell,taskRow:t.$keyboardNavigation.TaskRow,taskCell:t.$keyboardNavigation.HeaderCell};return n[e]||n.gantt}t.config.keyboard_navigation=!0,t.config.keyboard_navigation_cells=!1,t.addShortcut=function(t,n,a){var i=e(a);i&&i.prototype.bind(t,n)},t.getShortcutHandler=function(n,a){var i=e(a);if(i){var s=t.$keyboardNavigation.shortcuts.parse(n);if(s.length)return i.prototype.findHandler(s[0]); | ||
}},t.removeShortcut=function(t,n){var a=e(n);a&&a.prototype.unbind(t)},t.focus=function(){var e=t.$keyboardNavigation.dispatcher;e.enable(),e.getActiveNode()?e.focusNode(e.getActiveNode()):e.setDefaultNode()},t.$keyboardNavigation={},t._compose=function(){for(var t=Array.prototype.slice.call(arguments,0),e={},n=0;n<t.length;n++){var a=t[n];"function"==typeof a&&(a=new a);for(var i in a)e[i]=a[i]}return e},t.$keyboardNavigation.shortcuts={createCommand:function(){return{modifiers:{shift:!1,alt:!1, | ||
ctrl:!1,meta:!1},keyCode:null}},parse:function(t){for(var e=[],n=this.getExpressions(this.trim(t)),a=0;a<n.length;a++){for(var i=this.getWords(n[a]),s=this.createCommand(),r=0;r<i.length;r++)this.commandKeys[i[r]]?s.modifiers[i[r]]=!0:this.specialKeys[i[r]]?s.keyCode=this.specialKeys[i[r]]:s.keyCode=i[r].charCodeAt(0);e.push(s)}return e},getCommandFromEvent:function(t){var e=this.createCommand();e.modifiers.shift=!!t.shiftKey,e.modifiers.alt=!!t.altKey,e.modifiers.ctrl=!!t.ctrlKey,e.modifiers.meta=!!t.metaKey, | ||
e.keyCode=t.which||t.keyCode;var n=String.fromCharCode(e.keyCode);return n&&(e.keyCode=n.toLowerCase().charCodeAt(0)),e},getHashFromEvent:function(t){return this.getHash(this.getCommandFromEvent(t))},getHash:function(t){var e=[];for(var n in t.modifiers)t.modifiers[n]&&e.push(n);return e.push(t.keyCode),e.join(this.junctionChar)},getExpressions:function(t){return t.split(this.junctionChar)},getWords:function(t){return t.split(this.combinationChar)},trim:function(t){return t.replace(/\s/g,"")},junctionChar:",", | ||
combinationChar:"+",commandKeys:{shift:16,alt:18,ctrl:17,meta:!0},specialKeys:{backspace:8,tab:9,enter:13,esc:27,space:32,up:38,down:40,left:37,right:39,home:36,end:35,pageup:33,pagedown:34,"delete":46,insert:45,plus:107,f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123}},t.$keyboardNavigation.EventHandler={_handlers:null,findHandler:function(e){this._handlers||(this._handlers={});var n=t.$keyboardNavigation.shortcuts,a=n.getHash(e);return this._handlers[a]},doAction:function(t,e){ | ||
var n=this.findHandler(t);n&&(n.call(this,e),e.preventDefault?e.preventDefault():e.returnValue=!1)},bind:function(e,n){this._handlers||(this._handlers={});for(var a=t.$keyboardNavigation.shortcuts,i=a.parse(e),s=0;s<i.length;s++)this._handlers[a.getHash(i[s])]=n},unbind:function(e){for(var n=t.$keyboardNavigation.shortcuts,a=n.parse(e),i=0;i<a.length;i++)this._handlers[n.getHash(a[i])]&&delete this._handlers[n.getHash(a[i])]},bindAll:function(t){for(var e in t)this.bind(e,t[e])},initKeys:function(){ | ||
this._handlers||(this._handlers={}),this.keys&&this.bindAll(this.keys)}},function(){t.$keyboardNavigation.getFocusableNodes=t._getFocusableNodes,t.$keyboardNavigation.trapFocus=function(e,n){if(9!=n.keyCode)return!1;for(var a=t.$keyboardNavigation.getFocusableNodes(e),i=document.activeElement,s=-1,r=0;r<a.length;r++)if(a[r]==i){s=r;break}if(n.shiftKey){if(0>=s){var o=a[a.length-1];if(o)return o.focus(),n.preventDefault(),!0}}else if(s>=a.length-1){var l=a[0];if(l)return l.focus(),n.preventDefault(), | ||
!0}return!1}}(),t.$keyboardNavigation.GanttNode=function(){},t.$keyboardNavigation.GanttNode.prototype=t._compose(t.$keyboardNavigation.EventHandler,{focus:function(){t.focus()},blur:function(){},disable:function(){t.$container.setAttribute("tabindex","0")},enable:function(){t.$container&&t.$container.removeAttribute("tabindex")},isEnabled:function(){return t.$container.hasAttribute("tabindex")},scrollHorizontal:function(e){var n=t.dateFromPos(t.getScrollState().x),a=0>e?-t.config.step:t.config.step; | ||
n=t.date.add(n,a,t.config.scale_unit),t.scrollTo(t.posFromDate(n))},scrollVertical:function(e){var n=t.getScrollState().y,a=t.config.row_height;t.scrollTo(null,n+(0>e?-1:1)*a)},keys:{"alt+left":function(t){this.scrollHorizontal(-1)},"alt+right":function(t){this.scrollHorizontal(1)},"alt+up":function(t){this.scrollVertical(-1)},"alt+down":function(t){this.scrollVertical(1)},"ctrl+z":function(){t.undo&&t.undo()},"ctrl+r":function(){t.redo&&t.redo()}}}),t.$keyboardNavigation.GanttNode.prototype.bindAll(t.$keyboardNavigation.GanttNode.prototype.keys), | ||
t.$keyboardNavigation.KeyNavNode=function(){},t.$keyboardNavigation.KeyNavNode.prototype=t._compose(t.$keyboardNavigation.EventHandler,{isValid:function(){return!0},fallback:function(){return null},moveTo:function(e){t.$keyboardNavigation.dispatcher.setActiveNode(e)},compareTo:function(t){if(!t)return!1;for(var e in this){if(!!this[e]!=!!t[e])return!1;var n=!(!this[e]||!this[e].toString),a=!(!t[e]||!t[e].toString);if(a!=n)return!1;if(a&&n){if(t[e].toString()!=this[e].toString())return!1}else if(t[e]!=this[e])return!1; | ||
}},getNode:function(){},focus:function(){var t=this.getNode();t&&(t.setAttribute("tabindex","-1"),t.focus&&t.focus())},blur:function(){var t=this.getNode();t&&t.setAttribute("tabindex","-1")}}),t.$keyboardNavigation.HeaderCell=function(t){this.index=t||0},t.$keyboardNavigation.HeaderCell.prototype=t._compose(t.$keyboardNavigation.KeyNavNode,{_handlers:null,isValid:function(){return!t.config.show_grid&&t.getVisibleTaskCount()?!1:!!t.getGridColumns()[this.index]||!t.getVisibleTaskCount()},fallback:function(){ | ||
if(!t.config.show_grid)return t.getVisibleTaskCount()?new t.$keyboardNavigation.TaskRow:null;for(var e=t.getGridColumns(),n=this.index;n>=0&&!e[n];)n--;return e[n]?new t.$keyboardNavigation.HeaderCell(n):null},getNode:function(){var e=t.$grid_scale.childNodes;return e[this.index]},keys:{left:function(){this.index>0&&this.moveTo(new t.$keyboardNavigation.HeaderCell(this.index-1))},right:function(){var e=t.getGridColumns();this.index<e.length-1&&this.moveTo(new t.$keyboardNavigation.HeaderCell(this.index+1)); | ||
},down:function(){var e,n=t.getChildren(t.config.root_id);n[0]&&(e=n[0]),e&&(t.config.keyboard_navigation_cells?this.moveTo(new t.$keyboardNavigation.TaskCell(e,this.index)):this.moveTo(new t.$keyboardNavigation.TaskRow(e)))},end:function(){var e=t.getGridColumns();this.moveTo(new t.$keyboardNavigation.HeaderCell(e.length-1))},home:function(){this.moveTo(new t.$keyboardNavigation.HeaderCell(0))},"enter, space":function(){var t=document.activeElement;t.click()},"ctrl+enter":function(){t.createTask({},this.taskId); | ||
@@ -30,4 +31,4 @@ }}}),t.$keyboardNavigation.HeaderCell.prototype.bindAll(t.$keyboardNavigation.HeaderCell.prototype.keys),t.$keyboardNavigation.TaskRow=function(e){if(!e){var n=t.getChildren(t.config.root_id);n[0]&&(e=n[0])}this.taskId=e,t.isTaskExists(this.taskId)&&(this.index=t.getTaskIndex(this.taskId))},t.$keyboardNavigation.TaskRow.prototype=t._compose(t.$keyboardNavigation.KeyNavNode,{_handlers:null,isValid:function(){return t.isTaskExists(this.taskId)&&t.getTaskIndex(this.taskId)>-1},fallback:function(){if(!t.getVisibleTaskCount()){ | ||
},home:function(){this.moveTo(new t.$keyboardNavigation.TaskCell(this.taskId,0))},pagedown:function(){t._order.length&&this.moveTo(new t.$keyboardNavigation.TaskCell(t._order[t._order.length-1],this.columnIndex))},pageup:function(){t._order.length&&this.moveTo(new t.$keyboardNavigation.TaskCell(t._order[0],this.columnIndex))}}}),t.$keyboardNavigation.TaskCell.prototype.bindAll(t.$keyboardNavigation.TaskRow.prototype.keys),t.$keyboardNavigation.TaskCell.prototype.bindAll(t.$keyboardNavigation.TaskCell.prototype.keys), | ||
function(){function e(){return!!d.length}function n(n){setTimeout(function(){e()||t.focus()},1)}function a(e){t.eventRemove(e,"keydown",r),t.event(e,"keydown",r),d.push(e)}function i(){var e=d.pop();e&&t.eventRemove(e,"keydown",r),n(e)}function s(t){return t==d[d.length-1]}function r(e){var e=e||window.event,n=e.currentTarget;s(n)&&t.$keyboardNavigation.trapFocus(n,e)}function o(){a(t.getLightbox())}function l(){g=document.activeElement}function _(){setTimeout(function(){g&&(g.focus(),g=null)},1); | ||
}var d=[];t.attachEvent("onLightbox",o),t.attachEvent("onAfterLightbox",i),t.attachEvent("onLightboxChange",function(){i(),o()}),t.attachEvent("onAfterQuickInfo",function(){n()}),t.attachEvent("onMessagePopup",function(t){l(),a(t)}),t.attachEvent("onAfterMessagePopup",function(){i(),_()});var g=null;t.$keyboardNavigation.isModal=e}(),t.$keyboardNavigation.dispatcher={isActive:!1,activeNode:null,globalNode:new t.$keyboardNavigation.GanttNode,enable:function(){this.isActive=!0,this.globalNode.enable(), | ||
function(){function e(){return!!_.length}function n(n){setTimeout(function(){e()||t.focus()},1)}function a(e){t.eventRemove(e,"keydown",r),t.event(e,"keydown",r),_.push(e)}function i(){var e=_.pop();e&&t.eventRemove(e,"keydown",r),n(e)}function s(t){return t==_[_.length-1]}function r(e){var e=e||window.event,n=e.currentTarget;s(n)&&t.$keyboardNavigation.trapFocus(n,e)}function o(){a(t.getLightbox())}function l(){c=document.activeElement}function d(){setTimeout(function(){c&&(c.focus(),c=null)},1); | ||
}var _=[];t.attachEvent("onLightbox",o),t.attachEvent("onAfterLightbox",i),t.attachEvent("onLightboxChange",function(){i(),o()}),t.attachEvent("onAfterQuickInfo",function(){n()}),t.attachEvent("onMessagePopup",function(t){l(),a(t)}),t.attachEvent("onAfterMessagePopup",function(){i(),d()});var c=null;t.$keyboardNavigation.isModal=e}(),t.$keyboardNavigation.dispatcher={isActive:!1,activeNode:null,globalNode:new t.$keyboardNavigation.GanttNode,enable:function(){this.isActive=!0,this.globalNode.enable(), | ||
this.setActiveNode(this.getActiveNode())},disable:function(){this.isActive=!1,this.globalNode.disable()},isEnabled:function(){return!!this.isActive},getDefaultNode:function(){var e;return e=t.config.keyboard_navigation_cells?new t.$keyboardNavigation.TaskCell:new t.$keyboardNavigation.TaskRow,e.isValid()||(e=e.fallback()),e},setDefaultNode:function(){this.setActiveNode(this.getDefaultNode())},getActiveNode:function(){var t=this.activeNode;return t&&!t.isValid()&&(t=t.fallback()),t},focusGlobalNode:function(){ | ||
@@ -37,4 +38,4 @@ this.blurNode(this.globalNode),this.focusNode(this.globalNode)},setActiveNode:function(t){this.activeNode&&this.activeNode.compareTo(t)||this.isEnabled()&&(this.blurNode(this.activeNode),this.activeNode=t,this.focusNode(this.activeNode))},focusNode:function(t){t&&t.focus&&t.focus()},blurNode:function(t){t&&t.blur&&t.blur()},keyDownHandler:function(e){if(!t.$keyboardNavigation.isModal()&&this.isEnabled()){e=e||window.event;var n=this.globalNode,a=t.$keyboardNavigation.shortcuts.getCommandFromEvent(e),i=this.getActiveNode(); | ||
t.event(t.$container,"focus",a),t.$container.setAttribute("tabindex","0")):t.$container.removeAttribute("tabindex")});var i=t.attachEvent("onGanttReady",function(){t.detachEvent(i);var n=t.refreshTask;if(t.refreshTask=function(a){var i=n.apply(this,arguments);if(t.config.keyboard_navigation&&e.isEnabled()){var s=e.getActiveNode();s&&s.taskId==a&&e.focusNode(s)}return i},t._smart_render){var a=t._smart_render._redrawItems;t._smart_render._redrawItems=function(n,i){var s=a.apply(this,arguments);if(t.config.keyboard_navigation&&e.isEnabled()){ | ||
var r=e.getActiveNode();if(void 0!==r.taskId)for(var o=0;o<i.length;o++)if(i[o].id==r.taskId){e.focusNode(r);break}}return s}}});t.attachEvent("onAfterTaskAdd",function(n,a){return t.config.keyboard_navigation?void(e.isEnabled()&&e.setActiveNode(new t.$keyboardNavigation.TaskRow(n))):!0}),t.attachEvent("onTaskClick",function(n){return t.config.keyboard_navigation?(e.enable(),e.setActiveNode(new t.$keyboardNavigation.TaskRow(n)),!0):!0}),t.attachEvent("onEmptyClick",function(){return t.config.keyboard_navigation?void e.enable():!0; | ||
var r=e.getActiveNode();if(r&&void 0!==r.taskId)for(var o=0;o<i.length;o++)if(i[o].id==r.taskId){e.focusNode(r);break}}return s}}});t.attachEvent("onAfterTaskAdd",function(n,a){return t.config.keyboard_navigation?void(e.isEnabled()&&e.setActiveNode(new t.$keyboardNavigation.TaskRow(n))):!0}),t.attachEvent("onTaskClick",function(n){return t.config.keyboard_navigation?(e.enable(),e.setActiveNode(new t.$keyboardNavigation.TaskRow(n)),!0):!0}),t.attachEvent("onEmptyClick",function(){return t.config.keyboard_navigation?void e.enable():!0; | ||
}),setInterval(function(){if(t.config.keyboard_navigation){var n,a=document.activeElement,i=t.$container;if(!a||t._locate_css(a,"gantt_cal_quick_info"))n=!1;else{for(;a!=i&&a;)a=a.parentNode;n=a==i?!0:!1}n&&!e.isEnabled()?e.enable():!n&&e.isEnabled()&&e.disable()}},500)}()}window.Gantt?window.Gantt.plugin(t):t(window.gantt)}(); | ||
//# sourceMappingURL=../sources/ext/dhtmlxgantt_keyboard_navigation.js.map |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -15,6 +15,6 @@ | ||
if("boolean"==typeof this._quick_info_readonly&&this._is_readonly(n)!==this._quick_info_readonly&&(gantt.hideQuickInfo(!0),this._quick_info_box=null),this._quick_info_readonly=this._is_readonly(n),!this._quick_info_box){var a=this._quick_info_box=document.createElement("div");this._waiAria.quickInfoAttr(a);var i=gantt._waiAria.quickInfoHeaderAttrString(),s='<div class="gantt_cal_qi_title" '+i+'><div class="gantt_cal_qi_tcontent"></div><div class="gantt_cal_qi_tdate"></div></div><div class="gantt_cal_qi_content"></div>'; | ||
s+='<div class="gantt_cal_qi_controls">';for(var r=gantt.config.quickinfo_buttons,o={icon_delete:!0,icon_edit:!0},l=0;l<r.length;l++)if(!this._quick_info_readonly||!o[r[l]]){var i=gantt._waiAria.quickInfoButtonAttrString(gantt.locale.labels[r[l]]);s+='<div class="gantt_qi_big_icon '+r[l]+'" title="'+gantt.locale.labels[r[l]]+'" '+i+"><div class='gantt_menu_icon "+r[l]+"'></div><div>"+gantt.locale.labels[r[l]]+"</div></div>"}s+="</div>",a.innerHTML=s;var _=function(t){t=t||event,gantt._qi_button_click(t.target||t.srcElement); | ||
};gantt.event(a,"click",_),gantt.event(a,"keypress",function(t){t=t||event;var e=t.which||event.keyCode;(13==e||32==e)&&setTimeout(function(){gantt._qi_button_click(t.target||t.srcElement)},1)}),gantt.config.quick_info_detached&&gantt.event(gantt.$task_data,"scroll",function(){gantt.hideQuickInfo()})}return this._quick_info_box},gantt._qi_button_click=function(t){var e=gantt._quick_info_box;if(t&&t!=e){var n=t.className;if(-1!=n.indexOf("_icon")){var a=gantt._quick_info_box_id;gantt.$click.buttons[n.split(" ")[1].replace("icon_","")](a); | ||
s+='<div class="gantt_cal_qi_controls">';for(var r=gantt.config.quickinfo_buttons,o={icon_delete:!0,icon_edit:!0},l=0;l<r.length;l++)if(!this._quick_info_readonly||!o[r[l]]){var i=gantt._waiAria.quickInfoButtonAttrString(gantt.locale.labels[r[l]]);s+='<div class="gantt_qi_big_icon '+r[l]+'" title="'+gantt.locale.labels[r[l]]+'" '+i+"><div class='gantt_menu_icon "+r[l]+"'></div><div>"+gantt.locale.labels[r[l]]+"</div></div>"}s+="</div>",a.innerHTML=s;var d=function(t){t=t||event,gantt._qi_button_click(t.target||t.srcElement); | ||
};gantt.event(a,"click",d),gantt.event(a,"keypress",function(t){t=t||event;var e=t.which||event.keyCode;(13==e||32==e)&&setTimeout(function(){gantt._qi_button_click(t.target||t.srcElement)},1)}),gantt.config.quick_info_detached&&gantt.event(gantt.$task_data,"scroll",function(){gantt.hideQuickInfo()})}return this._quick_info_box},gantt._qi_button_click=function(t){var e=gantt._quick_info_box;if(t&&t!=e){var n=t.className;if(-1!=n.indexOf("_icon")){var a=gantt._quick_info_box_id;gantt.$click.buttons[n.split(" ")[1].replace("icon_","")](a); | ||
}else gantt._qi_button_click(t.parentNode)}},gantt._get_event_counter_part=function(t){for(var e=gantt.getTaskNode(t),n=0,a=0,i=e;i&&"gantt_task"!=i.className;)n+=i.offsetLeft,a+=i.offsetTop,i=i.offsetParent;var s=this.getScrollState();if(i){var r=n+e.offsetWidth/2-s.x>gantt._x/2?1:0,o=a+e.offsetHeight/2-s.y>gantt._y/2?1:0;return{left:n,top:a,dx:r,dy:o,width:e.offsetWidth,height:e.offsetHeight}}return 0},gantt._fill_quick_data=function(t){var e=gantt.getTask(t),n=gantt._quick_info_box;gantt._quick_info_box_id=t; | ||
var a={content:gantt.templates.quick_info_title(e.start_date,e.end_date,e),date:gantt.templates.quick_info_date(e.start_date,e.end_date,e)},i=n.firstChild.firstChild;i.innerHTML=a.content;var s=i.nextSibling;s.innerHTML=a.date,gantt._waiAria.quickInfoHeader(n,[a.content,a.date].join(" "));var r=n.firstChild.nextSibling;r.innerHTML=gantt.templates.quick_info_content(e.start_date,e.end_date,e)}; | ||
//# sourceMappingURL=../sources/ext/dhtmlxgantt_quick_info.js.map |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -15,5 +15,5 @@ | ||
s.cached.isLinkDisplayed=null,s.cached.getLinkPosition=null,s.cached.getTaskPosition=null}function n(){t(),e()}function a(t){s.cached.isTaskDisplayed&&(s.cached.isTaskDisplayed[t]=void 0),s.cached.getTaskPosition&&(s.cached.getTaskPosition[t]=void 0)}function i(t){s.cached.isLinkDisplayed&&(s.cached.isLinkDisplayed[t]=void 0),s.cached.getLinkPosition&&(s.cached.getLinkPosition[t]=void 0)}var s=this;gantt.attachEvent("onClear",function(){n()}),gantt.attachEvent("onParse",function(){n()}),gantt.attachEvent("onAfterLinkUpdate",i), | ||
gantt.attachEvent("onAfterTaskAdd",n),gantt.attachEvent("onAfterTaskDelete",n),gantt.attachEvent("onAfterTaskUpdate",a),gantt.attachEvent("onGanttScroll",t),gantt.attachEvent("onDataRender",n),this.invalidateCache=function(){}}},gantt._smart_render.initCache(),gantt.attachEvent("onGanttScroll",function(t,e,n,a){if(gantt.config.smart_rendering){e!=a&&gantt._smart_render.updateRender();var i=Math.floor(a/gantt.config.row_height)*gantt.config.row_height;gantt.$grid_data.scrollTop=a-i}}),gantt.attachEvent("onDataRender",function(){ | ||
gantt.attachEvent("onAfterTaskAdd",n),gantt.attachEvent("onAfterTaskDelete",n),gantt.attachEvent("onAfterTaskUpdate",a),gantt.attachEvent("onGanttScroll",t),gantt.attachEvent("onDataRender",n),this.invalidateCache=function(){}}},gantt.attachEvent("onGanttScroll",function(t,e,n,a){if(gantt.config.smart_rendering&&(e!=a||t==n)){var i=gantt._smart_render._getVisibleTasks();gantt._smart_render.updateRender(),i.length&&(gantt.$grid_data.scrollTop=a-gantt.getTaskTop(i[0].id))}}),gantt.attachEvent("onDataRender",function(){ | ||
gantt.config.smart_rendering&&gantt._smart_render.updateRender()}),function(){function t(t,e){return function(){return gantt.config.smart_rendering?e.apply(this,arguments):t.apply(this,arguments)}}var e=gantt._get_task_filters;gantt._get_task_filters=t(gantt._get_task_filters,function(){var t=e.call(gantt);return t.push(function(t){return gantt.config.smart_rendering?gantt._smart_render.isTaskDisplayed(t):!0}),t});var n=gantt._get_link_filters;gantt._get_link_filters=t(gantt._get_link_filters,function(){ | ||
var t=n.call(gantt);return t.push(function(t){return gantt.config.smart_rendering?gantt._smart_render.isLinkDisplayed(t):!0}),t}),gantt._get_data_range=t(gantt._get_data_range,function(){return this._smart_render.getRange()})}(); | ||
//# sourceMappingURL=../sources/ext/dhtmlxgantt_smart_rendering.js.map |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -21,5 +21,5 @@ | ||
e(t.oldValue,n,a)}function a(t,e,n){t&&(t.source==e&&(t.source=n),t.target==e&&(t.target=n))}function i(t,e,n){a(t.value,e,n),a(t.oldValue,e,n)}function s(t,e,a){for(var s=gantt._undo,r=0;r<t.length;r++)for(var o=t[r],l=0;l<o.commands.length;l++)o.commands[l].entity==s.command.entity.task?n(o.commands[l],e,a):o.commands[l].entity==s.command.entity.link&&i(o.commands[l],e,a)}function r(t,e,n){for(var a=gantt._undo,i=0;i<t.length;i++)for(var s=t[i],r=0;r<s.commands.length;r++){var o=s.commands[r];o.entity==a.command.entity.link&&(o.value&&o.value.id==e&&(o.value.id=n), | ||
o.oldValue&&o.oldValue.id==e&&(o.oldValue.id=n))}}var o=gantt._undo.monitor,l={onBeforeUndo:"onAfterUndo",onBeforeRedo:"onAfterRedo"};for(var _ in l)gantt.attachEvent(_,function(){o.startIgnore()}),gantt.attachEvent(l[_],function(){o.stopIgnore()});for(var d=["onTaskDragStart","onAfterTaskDelete","onBeforeBatchUpdate"],_=0;_<d.length;_++)gantt.attachEvent(d[_],function(){o.startBatchAction()});gantt.attachEvent("onBeforeTaskDrag",t),gantt.attachEvent("onLightbox",t),gantt.attachEvent("onBeforeTaskAutoSchedule",function(e){ | ||
t(e.id)}),gantt.attachEvent("onBeforeTaskDelete",function(e){t(e);var n=[];gantt.eachTask(function(t){n.push(t.id)},e),o.setNestedTasks(e,n)}),gantt.attachEvent("onAfterTaskAdd",function(t,e){o.onTaskAdded(e)}),gantt.attachEvent("onAfterTaskUpdate",function(t,e){o.onTaskUpdated(e)}),gantt.attachEvent("onAfterTaskDelete",function(t,e){o.onTaskDeleted(e)}),gantt.attachEvent("onAfterLinkAdd",function(t,e){o.onLinkAdded(e)}),gantt.attachEvent("onAfterLinkUpdate",function(t,e){o.onLinkUpdated(e)}),gantt.attachEvent("onAfterLinkDelete",function(t,e){ | ||
o.onLinkDeleted(e)}),gantt.attachEvent("onTaskIdChange",function(t,e){var n=gantt._undo;s(n._undoStack,t,e),s(n._redoStack,t,e)}),gantt.attachEvent("onLinkIdChange",function(t,e){var n=gantt._undo;r(n._undoStack,t,e),r(n._redoStack,t,e)}),gantt.attachEvent("onGanttReady",function(){gantt._undo.updateConfigs()})}(); | ||
o.oldValue&&o.oldValue.id==e&&(o.oldValue.id=n))}}var o=gantt._undo.monitor,l={onBeforeUndo:"onAfterUndo",onBeforeRedo:"onAfterRedo"};for(var d in l)gantt.attachEvent(d,function(){o.startIgnore()}),gantt.attachEvent(l[d],function(){o.stopIgnore()});for(var _=["onTaskDragStart","onAfterTaskDelete","onBeforeBatchUpdate"],d=0;d<_.length;d++)gantt.attachEvent(_[d],function(){o.startBatchAction()});gantt.attachEvent("onBeforeTaskDrag",t),gantt.attachEvent("onLightbox",t),gantt.attachEvent("onBeforeTaskAutoSchedule",function(e){ | ||
return t(e.id),!0}),gantt.attachEvent("onBeforeTaskDelete",function(e){t(e);var n=[];return gantt.eachTask(function(t){n.push(t.id)},e),o.setNestedTasks(e,n),!0}),gantt.attachEvent("onAfterTaskAdd",function(t,e){o.onTaskAdded(e)}),gantt.attachEvent("onAfterTaskUpdate",function(t,e){o.onTaskUpdated(e)}),gantt.attachEvent("onAfterTaskDelete",function(t,e){o.onTaskDeleted(e)}),gantt.attachEvent("onAfterLinkAdd",function(t,e){o.onLinkAdded(e)}),gantt.attachEvent("onAfterLinkUpdate",function(t,e){o.onLinkUpdated(e); | ||
}),gantt.attachEvent("onAfterLinkDelete",function(t,e){o.onLinkDeleted(e)}),gantt.attachEvent("onTaskIdChange",function(t,e){var n=gantt._undo;s(n._undoStack,t,e),s(n._redoStack,t,e)}),gantt.attachEvent("onLinkIdChange",function(t,e){var n=gantt._undo;r(n._undoStack,t,e),r(n._redoStack,t,e)}),gantt.attachEvent("onGanttReady",function(){gantt._undo.updateConfigs()})}(); | ||
//# sourceMappingURL=../sources/ext/dhtmlxgantt_undo.js.map |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -9,5 +9,5 @@ | ||
*/ | ||
gantt.locale={date:{month_full:[" Januar"," Februar"," März "," April"," Mai"," Juni"," Juli"," August"," September "," Oktober"," November "," Dezember"],month_short:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],day_full:["Sonntag","Montag","Dienstag"," Mittwoch"," Donnerstag","Freitag","Samstag"],day_short:["So","Mo","Di","Mi","Do","Fr","Sa"]},labels:{dhx_cal_today_button:"Heute",day_tab:"Tag",week_tab:"Woche",month_tab:"Monat",new_event:"neuer Eintrag",icon_save:"Speichern", | ||
gantt.locale={date:{month_full:[" Januar"," Februar"," März "," April"," Mai"," Juni"," Juli"," August"," September "," Oktober"," November "," Dezember"],month_short:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],day_full:["Sonntag","Montag","Dienstag"," Mittwoch"," Donnerstag","Freitag","Samstag"],day_short:["So","Mo","Di","Mi","Do","Fr","Sa"]},labels:{dhx_cal_today_button:"Heute",day_tab:"Tag",week_tab:"Woche",month_tab:"Monat",new_task:"Neuer eintrag",icon_save:"Speichern", | ||
icon_cancel:"Abbrechen",icon_details:"Details",icon_edit:"Ändern",icon_delete:"Löschen",confirm_closing:"",confirm_deleting:"Der Eintrag wird gelöscht",section_description:"Beschreibung",section_time:"Zeitspanne",section_type:"Type",column_text:"Task-Namen",column_start_date:"Startzeit",column_duration:"Dauer",column_add:"",link:"Link",confirm_link_deleting:"werden gelöscht",link_start:"(starten)",link_end:"(ende)",type_task:"Task",type_project:"Project",type_milestone:"Milestone",minutes:"Minuten", | ||
hours:"Stunden",days:"Tage",weeks:"Wochen",months:"Monate",years:"Jahre",message_ok:"OK",message_cancel:"Abbrechen"}}; | ||
//# sourceMappingURL=../sources/locale/locale_de.js.map |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -10,4 +10,4 @@ | ||
gantt.locale={date:{month_full:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],month_short:["Gen","Feb","Mar","Apr","Mag","Giu","Lug","Ago","Set","Ott","Nov","Dic"],day_full:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],day_short:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"]},labels:{dhx_cal_today_button:"Oggi",day_tab:"Giorno",week_tab:"Settimana",month_tab:"Mese",new_event:"Nuovo evento",icon_save:"Salva", | ||
icon_cancel:"Chiudi",icon_details:"Dettagli",icon_edit:"Modifica",icon_delete:"Elimina",confirm_closing:"",confirm_deleting:"Confermi l`eliminazione, siete sicuri?",section_description:"Descrizione",section_time:"Periodo di tempo",section_type:"Tipo",column_text:"Nome Attivita`",column_start_date:"Inizio",column_duration:"Durata",column_add:"",link:"Link",confirm_link_deleting:"sara` eliminato",link_start:" (inizio)",link_end:" (fine)",type_task:"Task",type_project:"Project",type_milestone:"Milestone", | ||
icon_cancel:"Chiudi",icon_details:"Dettagli",icon_edit:"Modifica",icon_delete:"Elimina",confirm_closing:"",confirm_deleting:"Sei sicuro di confermare l'eliminazione?",section_description:"Descrizione",section_time:"Periodo di tempo",section_type:"Tipo",column_text:"Nome Attività",column_start_date:"Inizio",column_duration:"Durata",column_add:"",link:"Link",confirm_link_deleting:"sarà eliminato",link_start:" (inizio)",link_end:" (fine)",type_task:"Task",type_project:"Project",type_milestone:"Milestone", | ||
minutes:"Minuti",hours:"Ore",days:"Giorni",weeks:"Settimane",months:"Mesi",years:"Anni",message_ok:"OK",message_cancel:"Chiudi"}}; | ||
//# sourceMappingURL=../sources/locale/locale_it.js.map |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -9,111 +9,195 @@ | ||
*/ | ||
//For fullscreen closing via ESC button | ||
gantt._onFullScreenChange = function () { | ||
if (gantt.getState().fullscreen && (document.fullscreenElement === null || | ||
document.mozFullScreenElement === null || document.webkitFullscreenElement === null || | ||
document.msFullscreenElement === null)) { | ||
gantt.collapse(); | ||
} | ||
}; | ||
(function() { | ||
//Array of objects to run after fullscreen change | ||
// { | ||
// confition: function() {}, // Condition to check screen changed | ||
// callback: function() {} // Screen change callback | ||
// } | ||
gantt._fs_change = []; | ||
if (document.addEventListener) { | ||
document.addEventListener("webkitfullscreenchange", gantt._onFullScreenChange); | ||
document.addEventListener("mozfullscreenchange", gantt._onFullScreenChange); | ||
document.addEventListener("MSFullscreenChange", gantt._onFullScreenChange); | ||
//For IE on Win 10 | ||
document.addEventListener("fullscreenChange", gantt._onFullScreenChange); | ||
document.addEventListener("fullscreenchange", gantt._onFullScreenChange); | ||
} | ||
var getState = gantt.getState; | ||
gantt.getState = function () { | ||
var state = getState.apply(this, arguments); | ||
state.fullscreen = !!this._expanded; | ||
return state; | ||
}; | ||
gantt.expand = function () { | ||
if (!gantt.callEvent("onBeforeExpand", [])) | ||
return; | ||
gantt._toggleFullScreen(true); | ||
var ganttBlock = gantt._obj; | ||
//For fullscreen closing via ESC button | ||
gantt._onFullScreenChange = function () { | ||
if(!gantt.$container){ | ||
// do nothing if gantt is not yet initialized | ||
return; | ||
} | ||
do { | ||
ganttBlock._position = ganttBlock.style.position || ""; | ||
ganttBlock.style.position = "static"; | ||
} while ((ganttBlock = ganttBlock.parentNode) && ganttBlock.style); | ||
ganttBlock = gantt._obj; | ||
ganttBlock.style.position = "absolute"; | ||
ganttBlock._width = ganttBlock.style.width; | ||
ganttBlock._height = ganttBlock.style.height; | ||
ganttBlock.style.width = ganttBlock.style.height = "100%"; | ||
ganttBlock.style.top = ganttBlock.style.left = "0px"; | ||
var isFullScreen = gantt.getState().fullscreen; | ||
if (isFullScreen) { | ||
if (!gantt._isFullScreenActive()) { | ||
gantt.collapse(); | ||
} | ||
} | ||
var fsChange = gantt._fs_change.length ? gantt._fs_change.pop() : null; | ||
var top = document.body; | ||
top.scrollTop = 0; | ||
gantt._expanded = !gantt._expanded; | ||
if (!fsChange) { | ||
gantt.render(); | ||
} | ||
else { | ||
if (fsChange.condition()) { | ||
fsChange.callback(); | ||
} | ||
else { | ||
var interval = setInterval(function () { | ||
if (fsChange.condition()) { | ||
clearInterval(interval); | ||
interval = null; | ||
fsChange.callback(); | ||
} | ||
}, 10); | ||
top = top.parentNode; | ||
if (top) | ||
setTimeout(function () { | ||
if (!interval) return; | ||
clearInterval(interval); | ||
fsChange.callback(); | ||
}, 100); | ||
} | ||
} | ||
}; | ||
gantt._isFullScreenActive = function () { | ||
return (document.fullscreenElement || | ||
document.mozFullScreenElement || | ||
document.webkitFullscreenElement || | ||
document.msFullscreenElement); | ||
}; | ||
gantt._isFullScreenAvailable = function () { | ||
return document.fullscreenEnabled || | ||
document.webkitFullscreenEnabled || | ||
document.mozFullScreenEnabled || | ||
document.msFullscreenEnabled; | ||
}; | ||
gantt.event(document, "webkitfullscreenchange", gantt._onFullScreenChange); | ||
gantt.event(document, "mozfullscreenchange", gantt._onFullScreenChange); | ||
gantt.event(document, "MSFullscreenChange", gantt._onFullScreenChange); | ||
//For IE on Win 10 | ||
gantt.event(document, "fullscreenChange", gantt._onFullScreenChange); | ||
gantt.event(document, "fullscreenchange", gantt._onFullScreenChange); | ||
gantt.expand = function () { | ||
if (!gantt.callEvent("onBeforeExpand", [])) | ||
return; | ||
gantt._toggleFullScreen(true); | ||
var ganttBlock = gantt._obj; | ||
do { | ||
ganttBlock._position = ganttBlock.style.position || ""; | ||
ganttBlock.style.position = "static"; | ||
} while ((ganttBlock = ganttBlock.parentNode) && ganttBlock.style); | ||
ganttBlock = gantt._obj; | ||
ganttBlock.style.position = "absolute"; | ||
ganttBlock._width = ganttBlock.style.width; | ||
ganttBlock._height = ganttBlock.style.height; | ||
ganttBlock.style.width = ganttBlock.style.height = "100%"; | ||
ganttBlock.style.top = ganttBlock.style.left = "0px"; | ||
var top = document.body; | ||
top.scrollTop = 0; | ||
document.body._overflow = document.body.style.overflow || ""; | ||
document.body.style.overflow = "hidden"; | ||
//IE11 Full screen Hack | ||
if(document.documentElement.msRequestFullscreen && gantt._obj) { | ||
window.setTimeout(function() { | ||
gantt._obj.style.width = window.outerWidth + "px"; | ||
}, 1); | ||
} | ||
top = top.parentNode; | ||
if (top) | ||
top.scrollTop = 0; | ||
document.body._overflow = document.body.style.overflow || ""; | ||
document.body.style.overflow = "hidden"; | ||
document.body._width = document.body.style.width; | ||
document.body._height = document.body.style.height; | ||
gantt._maximize(); | ||
gantt.callEvent("onExpand", []); | ||
}; | ||
var callback = function () { | ||
//IE11 Full screen Hack | ||
if (document.documentElement.msRequestFullscreen && gantt._obj) { | ||
gantt._obj.style.width = document.body.style.width = window.outerWidth + "px"; | ||
gantt._obj.style.height = document.body.style.height = window.outerHeight + "px"; | ||
} | ||
gantt.collapse = function () { | ||
if (!gantt.callEvent("onBeforeCollapse", [])) | ||
return; | ||
var ganttBlock = gantt._obj; | ||
do { | ||
ganttBlock.style.position = ganttBlock._position; | ||
} while ((ganttBlock = ganttBlock.parentNode) && ganttBlock.style); | ||
ganttBlock = gantt._obj; | ||
ganttBlock.style.width = ganttBlock._width; | ||
ganttBlock.style.height = ganttBlock._height; | ||
document.body.style.overflow = document.body._overflow; | ||
gantt.render(); | ||
gantt.callEvent("onExpand", []); | ||
}; | ||
gantt._toggleFullScreen(false); | ||
gantt._maximize(); | ||
gantt.callEvent("onCollapse", []); | ||
}; | ||
(function(){ | ||
var getState = gantt.getState; | ||
gantt.getState = function(){ | ||
var state = getState.apply(this, arguments); | ||
state.fullscreen = !!this._expanded; | ||
return state; | ||
if (!gantt._isFullScreenAvailable()) { | ||
gantt._expanded = !gantt._expanded; | ||
callback(); | ||
} | ||
else { | ||
var oldGanttHeight = window.outerHeight; | ||
var oldGanttWidth = window.outerWidth; | ||
gantt._fs_change.push({ | ||
condition: function () { | ||
return oldGanttHeight < window.outerHeight && oldGanttWidth <= window.outerWidth; | ||
}, | ||
callback: callback | ||
}); | ||
} | ||
}; | ||
})(); | ||
gantt._maximize = function () { | ||
this._expanded = !this._expanded; | ||
this.render(); | ||
}; | ||
gantt.collapse = function () { | ||
if (!gantt.callEvent("onBeforeCollapse", [])) | ||
return; | ||
var ganttBlock = gantt._obj; | ||
do { | ||
ganttBlock.style.position = ganttBlock._position; | ||
} while ((ganttBlock = ganttBlock.parentNode) && ganttBlock.style); | ||
ganttBlock = gantt._obj; | ||
ganttBlock.style.width = ganttBlock._width; | ||
ganttBlock.style.height = ganttBlock._height; | ||
document.body.style.overflow = document.body._overflow; | ||
document.body.style.width = document.body._width; | ||
document.body.style.height = document.body._height; | ||
gantt._toggleFullScreen = function (on) { | ||
if (on || (!document.fullscreenElement && // alternative standard method | ||
!document.mozFullScreenElement && !document.webkitFullscreenElement && !document.msFullscreenElement)) { // current working methods | ||
if (document.documentElement.requestFullscreen) { | ||
document.documentElement.requestFullscreen(); | ||
} else if (document.documentElement.msRequestFullscreen) { | ||
document.documentElement.msRequestFullscreen(); | ||
} else if (document.documentElement.mozRequestFullScreen) { | ||
document.documentElement.mozRequestFullScreen(); | ||
} else if (document.documentElement.webkitRequestFullscreen) { | ||
document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT); | ||
gantt._toggleFullScreen(false); | ||
var callback = function () { | ||
gantt.render(); | ||
gantt.callEvent("onCollapse", []); | ||
}; | ||
if (!gantt._isFullScreenAvailable()) { | ||
gantt._expanded = !gantt._expanded; | ||
callback(); | ||
} | ||
} else { | ||
if (document.exitFullscreen) { | ||
document.exitFullscreen(); | ||
} else if (document.msExitFullscreen) { | ||
document.msExitFullscreen(); | ||
} else if (document.mozCancelFullScreen) { | ||
document.mozCancelFullScreen(); | ||
} else if (document.webkitExitFullscreen) { | ||
document.webkitExitFullscreen(); | ||
else { | ||
var oldGanttHeight = window.outerHeight; | ||
var oldGanttWidth = window.outerWidth; | ||
gantt._fs_change.push({ | ||
condition: function () { | ||
return oldGanttHeight > window.outerHeight && oldGanttWidth >= window.outerWidth; | ||
}, | ||
callback: callback | ||
}); | ||
} | ||
} | ||
}; | ||
}; | ||
gantt._toggleFullScreen = function (on) { | ||
if (on || (!document.fullscreenElement && // alternative standard method | ||
!document.mozFullScreenElement && !document.webkitFullscreenElement && !document.msFullscreenElement)) { // current working methods | ||
if (document.documentElement.requestFullscreen) { | ||
document.documentElement.requestFullscreen(); | ||
} else if (document.documentElement.msRequestFullscreen) { | ||
document.documentElement.msRequestFullscreen(); | ||
} else if (document.documentElement.mozRequestFullScreen) { | ||
document.documentElement.mozRequestFullScreen(); | ||
} else if (document.documentElement.webkitRequestFullscreen) { | ||
document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT); | ||
} | ||
} else { | ||
if (document.exitFullscreen) { | ||
document.exitFullscreen(); | ||
} else if (document.msExitFullscreen) { | ||
document.msExitFullscreen(); | ||
} else if (document.mozCancelFullScreen) { | ||
document.mozCancelFullScreen(); | ||
} else if (document.webkitExitFullscreen) { | ||
document.webkitExitFullscreen(); | ||
} | ||
} | ||
}; | ||
})(); |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -20,2 +20,13 @@ | ||
}; | ||
gantt.getShortcutHandler = function(shortcut, scope){ | ||
var scopeObject = getScope(scope); | ||
if(scopeObject){ | ||
var commands = gantt.$keyboardNavigation.shortcuts.parse(shortcut); | ||
if(commands.length){ | ||
return scopeObject.prototype.findHandler(commands[0]); | ||
} | ||
} | ||
}; | ||
gantt.removeShortcut = function(shortcut, scope){ | ||
@@ -982,3 +993,3 @@ var scopeObject = getScope(scope); | ||
var currentNode = dispatcher.getActiveNode(); | ||
if(currentNode.taskId !== undefined){ | ||
if(currentNode && currentNode.taskId !== undefined){ | ||
for(var i = 0; i < items.length; i++){ | ||
@@ -985,0 +996,0 @@ if(items[i].id == currentNode.taskId){ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -229,12 +229,15 @@ | ||
gantt._smart_render.initCache(); | ||
gantt.attachEvent("onGanttScroll", function(oldLeft, oldTop, left, top){ | ||
if(gantt.config.smart_rendering){ | ||
if(oldTop != top){ | ||
if((oldTop != top) || (oldLeft == left)){ | ||
var visibleTasks = gantt._smart_render._getVisibleTasks(); | ||
gantt._smart_render.updateRender(); | ||
if(visibleTasks.length){ | ||
gantt.$grid_data.scrollTop = (top - gantt.getTaskTop(visibleTasks[0].id)); | ||
} | ||
} | ||
// correct grid scroll top since in smart rendering mode it's shorter then full chart height | ||
var gridTop = Math.floor(top / gantt.config.row_height) * gantt.config.row_height; | ||
gantt.$grid_data.scrollTop = top - gridTop; | ||
} | ||
@@ -241,0 +244,0 @@ }); |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -408,3 +408,3 @@ | ||
gantt.attachEvent("onLightbox", store); | ||
gantt.attachEvent("onBeforeTaskAutoSchedule", function(task){ store(task.id); }); | ||
gantt.attachEvent("onBeforeTaskAutoSchedule", function(task){ store(task.id); return true;}); | ||
gantt.attachEvent("onBeforeTaskDelete", function(id){ | ||
@@ -417,2 +417,3 @@ store(id); | ||
monitor.setNestedTasks(id, nested); | ||
return true; | ||
}); | ||
@@ -419,0 +420,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -21,3 +21,3 @@ | ||
month_tab: "Monat", | ||
new_event: "neuer Eintrag", | ||
new_task: "Neuer eintrag", | ||
icon_save: "Speichern", | ||
@@ -24,0 +24,0 @@ icon_cancel: "Abbrechen", |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -33,4 +33,4 @@ | ||
icon_delete: "Elimina", | ||
confirm_closing: "",//"Confermi la chiusura, siete sicuri?", | ||
confirm_deleting: "Confermi l`eliminazione, siete sicuri?", | ||
confirm_closing: "",//"Sei sicuro di confermare la chiusura?", | ||
confirm_deleting: "Sei sicuro di confermare l'eliminazione?", | ||
section_description: "Descrizione", | ||
@@ -41,3 +41,3 @@ section_time: "Periodo di tempo", | ||
column_text: "Nome Attivita`", | ||
column_text: "Nome Attività", | ||
column_start_date: "Inizio", | ||
@@ -49,3 +49,3 @@ column_duration: "Durata", | ||
link: "Link", | ||
confirm_link_deleting: "sara` eliminato", | ||
confirm_link_deleting: "sarà eliminato", | ||
link_start: " (inizio)", | ||
@@ -52,0 +52,0 @@ link_end: " (fine)", |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -6,0 +6,0 @@ |
/* | ||
@license | ||
dhtmlxGantt v.4.1.0 Stardard | ||
dhtmlxGantt v.4.2.1 Stardard | ||
This software is covered by GPL license. You also can obtain Commercial or Enterprise license to use it in non-GPL project - please contact sales@dhtmlx.com. Usage without proper license is prohibited. | ||
@@ -23,3 +23,3 @@ | ||
icon_delete:"Delete", | ||
confirm_closing:"",//Your changes will be lost, are your sure ? | ||
confirm_closing:"",//Your changes will be lost, are you sure? | ||
confirm_deleting:"Task will be deleted permanently, are you sure?", | ||
@@ -26,0 +26,0 @@ section_description:"Description", |
{ | ||
"name": "dhtmlx-gantt", | ||
"version": "4.1.0", | ||
"version": "4.2.1", | ||
"description": "An open source JavaScript Gantt chart that helps you illustrate a project schedule in a nice-looking chart.", | ||
@@ -5,0 +5,0 @@ "main": "codebase/dhtmlxgantt.js", |
@@ -1,2 +0,2 @@ | ||
dhtmlxGantt v.4.1 | ||
dhtmlxGantt v.4.2 | ||
================= | ||
@@ -3,0 +3,0 @@ |
@@ -0,1 +1,13 @@ | ||
### 4.2 | ||
- Work Time calendars at the task and resource levels | ||
- WBS code (outline numbers) calculation | ||
- Autoscroll for drag and drop operations | ||
- Persian (Farsi) locale | ||
- The getter function for key navigation shortcuts | ||
- The config for cascade deleting of nested tasks and links | ||
- The ability to scroll timeline horizontally on Shift+a mouse wheel movement | ||
- German and Italian locales are updated | ||
- GIF images in the Gantt skins are replaced with PNG | ||
- various fixes | ||
### 4.1 | ||
@@ -2,0 +14,0 @@ - Added keyboard navigation |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1701275
145
24997