1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2992],{57925:(e,t,i)=>{i.d(t,{N:()=>j});var o=i(80656),s=i(69964),n=i(74489),r=i(87280),a=i(41356),l=i(71056),d=i(67263),h=i(45202),u=i(79228),c=i(57626),p=i(47672),m=i(6461),g=i(12861),y=i(47675),f=i(53998),M=i(40136),k=i(32268),v=i(49083),w=i(74360),T=i(30735),b=i(16662),C=i(13554),D=i(1964),S=i(83085),R=i(51738),x=i(54960),E=i(78651),P=i(47573),A=i(49702),I=i(89363),L=i(95830),B=i(27214),O=i(77764),F=i(76070),V=i(67036),G=i(21897),W=i(41910),H=i(40185),N=function(){var e=function(t,i){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(t,i)};return function(t,i){function o(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(o.prototype=i.prototype,new o)}}(),z=function(e,t,i,o){var s,n=arguments.length,r=n<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,i):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,i,o);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(r=(n<3?s(r):n>3?s(t,i,r):s(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},X=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var s=0,o=Object.getOwnPropertySymbols(e);s<o.length;s++)0>t.indexOf(o[s])&&(i[o[s]]=e[o[s]]);return i},j=function(e){function t(t,i){var s=e.call(this,t,i)||this;return s.isRowSelected=!1,s.showIndicator=!0,s.singleTier=0,s.regenerateCycles=!1,s.expandedRecords=[],s.isLocaleChanged=!1,s.triggeredColumnName="",s.totalUndoAction=0,s.previousFlatData=[],s.isExpandPerformed=!1,s.isCollapsePerformed=!1,s.oldRecords=[],s.updateDuration=!1,s.isConvertedMilestone=!1,s.isDynamicDataUpdate=!1,s.skipOffsetUpdate=!1,s.isCancelled=!1,s.isCollapseAll=!1,s.previousRecords={},s.editedRecords=[],s.modifiedRecords=[],s.isOnEdit=!1,s.isOnDelete=!1,s.isOnAdded=!1,s.isExpandCollapseLevelMethod=!1,s.isFromEventMarker=!1,s.isDynamicData=!1,s.isConnectorLineUpdate=!1,s.staticSelectedRowIndex=-1,s.needsID=!0,s.showActiveElement=!0,s.addDeleteRecord=!1,s.enableHeaderFocus=!0,s.enableValidation=!0,s.isOnAddOrDelete=!1,s.isTreeGridRendered=!1,s.isFromOnPropertyChange=!1,s.isFromRenderBaseline=!1,s.isGanttChartRendered=!1,s.isEdit=!1,s.eventMarkerColloction=[],(0,o.KY)("mergePersistData",s.mergePersistGanttData,s),s}return N(t,e),t.prototype.getModuleName=function(){return"gantt"},t.prototype.preRender=function(){this.initProperties()},t.prototype.getCurrentDayStartTime=function(e){return this.weekWorkingTime.length>0?this.getStartTime(e):this.defaultStartTime},t.prototype.getCurrentDayEndTime=function(e){return this.weekWorkingTime.length>0?this.getEndTime(e):this.defaultEndTime},t.prototype.getStartTime=function(e){var t;switch(e.getDay()){case 0:t=this.sundayDefaultStartTime;break;case 1:t=this.mondayDefaultStartTime;break;case 2:t=this.tuesdayDefaultStartTime;break;case 3:t=this.wednesdayDefaultStartTime;break;case 4:t=this.thursdayDefaultStartTime;break;case 5:t=this.fridayDefaultStartTime;break;default:t=this.saturdayDefaultStartTime}return t},t.prototype.getEndTime=function(e){var t;switch(e.getDay()){case 0:t=this.sundayDefaultEndTime;break;case 1:t=this.mondayDefaultEndTime;break;case 2:t=this.tuesdayDefaultEndTime;break;case 3:t=this.wednesdayDefaultEndTime;break;case 4:t=this.thursdayDefaultEndTime;break;case 5:t=this.fridayDefaultEndTime;break;default:t=this.saturdayDefaultEndTime}return t},t.prototype.getNonWorkingRange=function(e){var t;switch(e.getDay()){case 0:t=this.sundayNonWorkingTimeRanges;break;case 1:t=this.mondayNonWorkingTimeRanges;break;case 2:t=this.tuesdayNonWorkingTimeRanges;break;case 3:t=this.wednesdayNonWorkingTimeRanges;break;case 4:t=this.thursdayNonWorkingTimeRanges;break;case 5:t=this.fridayNonWorkingTimeRanges;break;default:t=this.saturdayNonWorkingTimeRanges}return t},t.prototype.getWorkingRange=function(e){var t;switch(e.getDay()){case 0:t=this.sundayWorkingTimeRanges;break;case 1:t=this.mondayWorkingTimeRanges;break;case 2:t=this.tuesdayWorkingTimeRanges;break;case 3:t=this.wednesdayWorkingTimeRanges;break;case 4:t=this.thursdayWorkingTimeRanges;break;case 5:t=this.fridayWorkingTimeRanges;break;default:t=this.saturdayWorkingTimeRanges}return t},t.prototype.getSecondsPerDay=function(e){var t;switch(e.getDay()){case 0:t=this.sundaySeconds;break;case 1:t=this.mondaySeconds;break;case 2:t=this.tuesdaySeconds;break;case 3:t=this.wednesdaySeconds;break;case 4:t=this.thursdaySeconds;break;case 5:t=this.fridaySeconds;break;case 6:t=this.saturdaySeconds;break;default:t=this.secondsPerDay}return t},t.prototype.showLoadingIndicator=function(){(0,o.hX)(this.loadingIndicator)||"Shimmer"!==this.loadingIndicator.indicatorType?this.showSpinner():this.showMaskRow()},t.prototype.hideLoadingIndicator=function(){(0,o.hX)(this.loadingIndicator)||"Shimmer"!==this.loadingIndicator.indicatorType?this.hideSpinner():this.hideMaskRow()},t.prototype.isCustomDayWorkingTime=function(e){var t=[{from:8,to:12},{from:13,to:17}];if(!e||e.length!==t.length)return!0;for(var i=0;i<t.length;i++){var o=e[i],s=t[i];if(o.from!==s.from||o.to!==s.to)return!0}return!1},t.prototype.assignPropertiesToCalendar=function(){this.holidays.length>0?this.calendarModule.holidays=this.holidays:this.calendarModule.holidays=this.calendarSettings.projectCalendar.holidays,this.isCu
1stomDayWorkingTime(this.dayWorkingTime)?this.calendarModule.workingTime=this.dayWorkingTime:this.calendarModule.workingTime=this.calendarSettings.projectCalendar.workingTime},t.prototype.initProperties=function(){this.globalize=new o.DL(this.locale),this.isAdaptive=o.Pw.isDevice,this.flatData=[],this.currentViewData=[],this.updatedRecords=[],this.ids=[],this.ganttColumns=[],this.localeObj=new o.Wo(this.getModuleName(),this.getDefaultLocale(),this.locale),this.dataOperation=new n.c(this),this.nonWorkingHours=[],this.mondayNonWorkingHours=[],this.tuesdayNonWorkingHours=[],this.wednesdayNonWorkingHours=[],this.thursdayNonWorkingHours=[],this.fridayNonWorkingHours=[],this.saturdayNonWorkingHours=[],this.sundayNonWorkingHours=[],this.nonWorkingTimeRanges=[],this.mondayNonWorkingTimeRanges=[],this.tuesdayNonWorkingTimeRanges=[],this.wednesdayNonWorkingTimeRanges=[],this.thursdayNonWorkingTimeRanges=[],this.fridayNonWorkingTimeRanges=[],this.saturdayNonWorkingTimeRanges=[],this.sundayNonWorkingTimeRanges=[],this.workingTimeRanges=[],this.mondayWorkingTimeRanges=[],this.tuesdayWorkingTimeRanges=[],this.wednesdayWorkingTimeRanges=[],this.thursdayWorkingTimeRanges=[],this.fridayWorkingTimeRanges=[],this.saturdayWorkingTimeRanges=[],this.sundayWorkingTimeRanges=[],this.defaultEndTime=null,this.defaultStartTime=null,this.mondayDefaultStartTime=null,this.mondayDefaultEndTime=null,this.tuesdayDefaultStartTime=null,this.tuesdayDefaultEndTime=null,this.wednesdayDefaultStartTime=null,this.wednesdayDefaultEndTime=null,this.thursdayDefaultStartTime=null,this.thursdayDefaultEndTime=null,this.fridayDefaultStartTime=null,this.fridayDefaultEndTime=null,this.saturdayDefaultStartTime=null,this.saturdayDefaultEndTime=null,this.sundayDefaultStartTime=null,this.sundayDefaultEndTime=null,this.durationUnitTexts={days:"days",hours:"hours",minutes:"minutes",day:"day",hour:"hour",minute:"minute"},this.durationUnitEditText={minute:["m","min","minute","minutes"],hour:["h","hr","hour","hours"],day:["d","dy","day","days"]},this.perDayWidth=null,this.isMileStoneEdited=!1,this.chartVerticalLineContainer=null,this.updatedConnectorLineCollection=[],this.connectorLineIds=[],this.predecessorsCollection=[],this.isInPredecessorValidation=this.enablePredecessorValidation,this.isValidationEnabled=!0,this.isLoad=!0,this.editedPredecessorRecords=[],this.validationDialogElement=null,this.currentEditedArgs={},this.dialogValidateMode={respectLink:!1,removeLink:!1,preserveLinkWithEditing:!0},this.taskFields.constraintType&&this.taskFields.constraintDate&&(this.dialogValidateMode.respectMustStartOn=!1,this.dialogValidateMode.respectMustFinishOn=!1,this.dialogValidateMode.respectStartNoLaterThan=!1,this.dialogValidateMode.respectFinishNoLaterThan=!1),this.calendarModule=new W.r(this),this.assignPropertiesToCalendar(),this.secondsPerDay=this.dataOperation.getSecondsPerDay(),this.nonWorkingDayIndex=[],this.dataOperation.getNonWorkingDayIndex(),this.columnMapping={},this.controlId=this.element.id,this.cloneProjectStartDate=this.enablePersistence&&this.cloneProjectStartDate?this.cloneProjectStartDate:null,this.cloneProjectEndDate=this.enablePersistence&&this.cloneProjectEndDate?this.cloneProjectEndDate:null,this.cloneTimelineStartDate=this.enablePersistence&&this.cloneTimelineStartDate?this.cloneTimelineStartDate:null,this.cloneTimelineEndDate=this.enablePersistence&&this.cloneTimelineEndDate?this.cloneTimelineEndDate:null,this.totalHolidayDates=this.dataOperation.getHolidayDates(),this.ganttChartModule=new r.T(this),this.timelineModule=new a.K(this),this.chartRowsModule=new S._(this),this.treeGridModule=new l.H(this),this.dateValidationModule=new D.R(this),this.predecessorModule=new R.O(this),this.connectorLineModule=new I.w(this),this.splitterModule=new L.O(this),this.tooltipModule=new B.m(this),this.keyConfig={home:"home",end:"end",downArrow:"downarrow",upArrow:"uparrow",collapseAll:"ctrl+uparrow",expandAll:"ctrl+downarrow",collapseRow:"ctrl+shift+uparrow",expandRow:"ctrl+shift+downarrow",saveRequest:"13",escape:"27",addRow:"insert",addRowDialog:"ctrl+insert",editRowDialog:"ctrl+f2",delete:"delete",tab:"tab",shiftTab:"shift+tab",focusTask:"shift+f5",indentLevel:"shift+leftarrow",outdentLevel:"shift+rightarrow",focusSearch:"ctrl+shift+70",contextMenu:"shift+F10",undo:"ctrl+z",redo:"ctrl+y",selectAll:"ctrl+a"},this.focusModule=new O.j(this),0===this.zoomingLevels.length&&this.setProperties({zoomingLevels:this.getZoomingLevels()},!0),this.resourceFieldsMapping(),(0,o.hX)(this.resourceFields.unit)&&this.setProperties({resourceFields:{unit:"unit"}},!0),this.taskIds=[],this.defaultCalendarContext=new H.Y(this,this.calendarSettings.projectCalendar)},t.prototype.isUndoRedoItemPresent=function(e){return!!this.undoRedoModule&&!!this.undoRedoActions&&-1!==this.undoRedoActions.indexOf(e)},t.prototype.insertRecord=function(e,t){this.flatData.splice(t,0,e)},t.prototype.removeRecords=function(e,t){void 0===t&&(t=1),this.flatData.splice(e,t)},t.prototype.getDateFormat=function(){return(0,o.hX)(this.dateFormat)?this.globalize.getDatePattern({skeleton:"yMd"}):this.dateFormat},t.prototype.getDefaultTZOffset=function(){var e=new Date(new Date().getFullYear(),0,1),t=new Date(new Date().getFullYear(),6,1);return Math.max(e.getTimezoneOffset(),t.getTimezoneOffset())},t.prototype.isInDst=function(e){return e.getTimezoneOffset()<this.getDefaultTZOffset()},t.prototype.resourceFieldsMapping=function(){var e=this.resourceFields;e.id=(0,o.hX)(e.id)?this.resourceIDMapping:e.id,e.name=(0,o.hX)(e.name)?this.resourceNameMapping:e.name},t.prototype.validateDimentionValue=function(e){return(0,o.hX)(e)?
vendor: 4,571 bytes, line 1
1null:"string"==typeof e&&"auto"!==e&&-1===e.indexOf("%")?-1===e.indexOf("px")?e+"px":e:"number"==typeof e?e+"px":e.toString()},t.prototype.calculateDimensions=function(){var e=this.validateDimentionValue(this.height),t=this.validateDimentionValue(this.width);(0,o.hX)(this.width)||"string"!=typeof this.width||-1===this.width.indexOf("%")||(t=this.width);var i=this.element.style.height,s=this.element.style.width;t&&(this.element.style.width=t),e&&(this.element.style.height=e),e||i||(this.element.style.height="auto"),t||s||(this.element.style.width="auto"),this.ganttHeight=this.element.offsetHeight,this.ganttWidth=this.element.offsetWidth},t.prototype.render=function(){if((0,o.Gx)("Gantt"),this.isReact&&(this.treeGrid.isReact=!0,this.treeGrid.grid.isReact=!0),this.isVue&&(this.treeGrid.isVue=!0,this.treeGrid.grid.isVue=!0,this.treeGrid.vueInstance=this.vueInstance,this.treeGrid.grid.vueInstance=this.vueInstance),this.taskFields&&this.taskFields.constraintDate&&this.taskFields.constraintType&&!this.updateOffsetOnTaskbarEdit&&(this.updateOffsetOnTaskbarEdit=!1),this.element.setAttribute("role","application"),(0,s.GF)({target:this.element},this.createElement),this.trigger("load",{}),this.element.classList.add(x.zr),this.isAdaptive?this.element.classList.add(x.lP):this.element.classList.remove(x.lP),this.calculateDimensions(),(0,o.hX)(this.toolbarModule)||this.renderToolbar(),this.splitterModule.renderSplitter(),this.notify("renderPanels",null),this.actionFailures(),this.showLoadingIndicator(),this.dataMap&&this.dataMap.clear(),(0,o.hX)(this.initialHierarchyMode)&&this.filterModule){var e=this.filterSettings.hierarchyMode;this.initialHierarchyMode=e}this.dataOperation.checkDataBinding()},t.prototype.actionFailures=function(){var e,t,i,s,n,r,a=[],l=/^[a-zA-Z\s/]+$/,d=!0,h=this.taskFields.properties;Object.keys(h).forEach(function(e){null!==h[e]&&(d=!1)});for(var u=!0,c=0;c<this.columns.length;c++)if(this.columns[c].isPrimaryKey){u=!1;break}function p(e,t,i,s){var n;(0,o.hX)(i)||(n=i.filter(function(t){return t.prototype.getModuleName()===e})),t&&!(0,o.hX)(n)&&0===n.length&&s.push("Module "+e+" is not available in Gantt component! You either misspelled the module name or forgot to load it!")}d&&a.push("Gantt Task Fields are not configured properly. The task fields are crucial for both the project and resource views to function properly. Please ensure that the gantt task fields are properly configured!"),"ResourceView"!==this.viewType||this.resourceFields.id||a.push("Gantt Resource Fields are not properly configured, which is crucial for the Resource View. Please ensure that the resource fields are configured correctly!"),this.dataSource instanceof E.M&&(0,o.hX)(this.taskFields.hasChildMapping)&&a.push("hasChildMapping property is not configured for load-on-demand. Please ensure its properly configured in the Gantt Task Fields!"),(0,o.hX)(this.timelineSettings.topTier.format)||""===this.timelineSettings.topTier.format||l.test(this.timelineSettings.topTier.format)||a.push("The provided top tier format is invalid. Please ensure that you provide a valid format for these tier. Make sure to use only letters and avoid numbers or special characters!"),(0,o.hX)(this.timelineSettings.bottomTier.format)||""===this.timelineSettings.bottomTier.format||l.test(this.timelineSettings.bottomTier.format)||a.push("The provided bottom tier format is invalid. Please ensure that you provide a valid format for these tier. Make sure to use only letters and avoid numbers or special characters!"),u&&"ResourceView"!==this.viewType&&a.push("Primarykey is not configured properly. The primarykey is crucial for doing CRUD operations or map taskId in column field of gantt!"),this.eventMarkers.length>0&&this.eventMarkers.forEach(function(e){e.day||a.push("Day is not configured properly in event markers.Please ensure that the day in event markers is properly configured!")}),p("sort",this.allowSorting,this.injectedModules,a),(this.editSettings.allowAdding||this.editSettings.allowDeleting||this.editSettings.allowEditing||this.editSettings.allowNextRowEdit||this.editSettings.allowTaskbarEditing||this.editSettings.mode||this.editSettings.newRowPosition||this.editSettings.showDeleteConfirmDialog)&&(e=!0),p("edit",e,this.injectedModules,a),p("reorder",this.allowReordering,this.injectedModules,a),p("excelExport",this.allowExcelExport,this.injectedModules,a),(this.allowRowDragAndDrop||this.allowTaskbarDragAndDrop)&&(t=!0),p("rowDragAndDrop",t,this.injectedModules,a),p("criticalPath",this.enableCriticalPath,this.injectedModules,a),p("und
1oRedo",this.enableUndoRedo,this.injectedModules,a),p("resize",this.allowResizing,this.injectedModules,a),this.toolbar&&this.toolbar.length>0&&(i=!0),p("toolbar",i,this.injectedModules,a),(this.allowFiltering||this.toolbar&&-1!==this.toolbar.indexOf("Search"))&&(s=!0),p("filter",s,this.injectedModules,a),p("selection",this.allowSelection,this.injectedModules,a);var m=this.calendarModule.holidays;(this.highlightWeekends||m&&m.length>0||this.eventMarkers&&this.eventMarkers.length>0)&&(n=!0),p("dayMarkers",n,this.injectedModules,a),p("contextMenu",this.enableContextMenu,this.injectedModules,a),p("columnMenu",this.showColumnMenu,this.injectedModules,a),p("pdfExport",this.allowPdfExport,this.injectedModules,a),p("virtualScroll",this.enableVirtualization,this.injectedModules,a);var g=Array.isArray(this.columns)&&this.columns.some(function(e){return!!e.freeze});if((this.frozenColumns||g||this.getFrozenColumnsCount())&&(r=!0),p("freeze",r,this.injectedModules,a),a.length>0){var y={error:{}};a.forEach(function(e,t){y.error[parseInt(t,10)]=e}),this.trigger("actionFailure",y)}},t.prototype.hideMaskRow=function(){var e=this.element.querySelectorAll(".e-masked-table").length;if(!(0,o.hX)(this.contentMaskTable)&&(0!==e||this.contentMaskTable)){var t=this.contentMaskTable;(0,o.TF)(t),this.contentMaskTable=null}if(e=this.element.querySelectorAll(".e-masked-table").length,!(0,o.hX)(this.headerMaskTable)&&(0!==e||this.headerMaskTable)){var t=this.headerMaskTable;(0,o.TF)(t),this.headerMaskTable=null}for(;0!==this.element.querySelectorAll(".e-table-background").length;)this.element.querySelectorAll(".e-table-background")[0].remove();for(;0!==this.element.querySelectorAll(".e-temp-timeline").length;)this.element.querySelectorAll(".e-temp-timeline")[0].remove();if(0!==this.element.querySelectorAll("."+x.qE).length)for(var i=0;i<this.singleTier;i++)(0,o.hX)(this.element.querySelectorAll("."+x.qE)[parseInt(i.toString(),10)])||(this.element.querySelectorAll("."+x.qE)[parseInt(i.toString(),10)].style.visibility="visible");(0,o.hX)(this.element.querySelector("."+x.iv))||(this.element.querySelector("."+x.iv).style.position="relative"),(0,o.hX)(this.element.getElementsByClassName(x.UD)[0])||(this.element.getElementsByClassName(x.UD)[0].style.visibility="visible")},t.prototype.showMaskRow=function(){var e=this.chartPane.childNodes[0].childNodes[0];this.scrollLeftValue=this.chartPane.childNodes[0].childNodes[0].scrollLeft;var t=this.chartPane.childNodes[0].childNodes[1];if(this.treeGrid.element&&this.ganttChartModule.setVirtualHeight(),!this.contentMaskTable){if(t){var i=t;if(this.renderBackGround(i),this.ganttChartModule.scrollObject.isSetScrollLeft){if(0!==this.element.querySelectorAll("."+x.qE).length){this.singleTier=this.timelineModule.isSingleTier?1:2;for(var o=0;o<this.singleTier;o++)this.element.querySelectorAll("."+x.qE)[parseInt(o.toString(),10)].style.visibility="hidden"}0===this.singleTier&&(this.singleTier=2)}this.element.getElementsByClassName(x.UD)[0].style.visibility="hidden",this.contentMaskTable=this.contentMaskTable=this.createMaskTable(i)}if(e&&this.ganttChartModule.scrollObject.isSetScrollLeft){this.element.querySelector("."+x.iv).style.position="static";var i=e;this.renderHeaderBackground(i),this.headerMaskTable=this.headerMaskTable=this.createMaskTable(i)}}},t.prototype.convertToWBSPredecessor=function(e,t){var i=this;return e.split(",").map(function(e){var t=e.trim().match(/^(.*?)(FS|SS|FF|SF|\+|\s|$)(.*)/i);return t?i.connectorLineModule.getRecordByID(t[1]).ganttProperties.wbsCode+(t[2]+t[3]).trim():e.trim()}).join(",")},t.prototype.updateWBSPredecessor=function(e){var t=e[this.taskFields.dependency]&&""!==e[this.taskFields.dependency]?this.convertToWBSPredecessor(e[this.taskFields.dependency],e):null;e.WBSPredecessor=t,e.ganttProperties.wbsPredecessor=t},t.prototype.updateWBSCodes=function(e,t,i,o){var s,n=this.getParentTask(e.parentItem),r=(i.get(n)||0)+1;return i.set(n,r),s=n?t.get(n)+"."+r:""+r,t.set(e,s),o||(e.WBSCode=s.toString(),e.ganttProperties.wbsCode=s.toString()),{wbsMap:t,siblingCountMap:i}},t.prototype.getMaxRootWBSCode=function(e,t){for(var i="",o=0;o<e.length;o++){var s=e[o].ganttProperties.wbsCode;if(s){for(var n=i.split(".").map(Number),r=s.split(".").map(Number),a=Math.max(n.length,r.length),l=!1,d=0;d<a;d++){var h=r[d]?r[d]:0,u=n[d]?n[d]:0;if(h>u){l=!0;break}if(h<u)break}(!i||l)&&(i=s)}}if(!i)return t.ganttProperties.wbsCode+".1";var c=i.split(".").map(Number);return c[c.length-1]++,c.join(".")},t.prototype.generateWBSCodes=function(e){for(var t=new Map,i=[],o=new Map,s=0;s<e.length;s++){var n=e[s];if(this.enableAutoWbsUpdate||this.isLoad){var r=this.updateWBSCodes(n,t,o);t=r.wbsMap,o=r.siblingCountMap}else if(!n.ganttProperties.wbsCode){var a=void 0;if(n.parentItem){var l=this.getParentTask(n.parentItem);a=l.ganttProperties.wbsCode,a=this.getMaxRootWBSCode(l.childRecords,l)}else a=this.getMaxRootWBSCode(this.treeGrid.parentData);
vendor: 16,508 bytes, line 1
1n.WBSCode=a,n.ganttProperties.wbsCode=a}n[this.taskFields.dependency]?i.push(n):(n.WBSPredecessor=null,n.ganttProperties.wbsPredecessor=null)}for(var d=0;d<i.length;d++){var n=i[d];this.updateWBSPredecessor(n)}},t.prototype.renderHeaderBackground=function(e){if((0,o.kp)(e,"."+x.iv)){for(var t=this.createElement("div",{className:"e-table-background"}),i=0,s=Math.round(e.getBoundingClientRect().width),n=0;n<3;n++)this.enableRtl?t.appendChild(this.createElement("div",{className:"e-div-background",attrs:{style:"left: "+(s-=160)+"px; top:0px;"}})):t.appendChild(this.createElement("div",{className:"e-div-background",attrs:{style:"left: "+(i+=160)+"px; top:0px;"}}));e.insertBefore(t,e.firstChild)}},t.prototype.assignTimeToDate=function(e,t){var i=new Date(e),o=Math.floor(t/3600),s=Math.floor(t%3600/60);return i.setHours(o,s,t%60,0),i},t.prototype.renderBackGround=function(e){if((0,o.kp)(e,"."+x.Ec)){for(var t=this.createElement("div",{className:"e-table-background"}),i=0,s=Math.round(e.getBoundingClientRect().width),n=0;n<3;n++)this.enableRtl?t.appendChild(this.createElement("div",{className:"e-div-background",attrs:{style:"left: "+(s-=160)+"px;z-index:1;"}})):t.appendChild(this.createElement("div",{className:"e-div-background",attrs:{style:"left: "+(i+=160)+"px;z-index:1;"}}));e.insertBefore(t,e.firstChild)}},t.prototype.createMaskTable=function(e){var t,i=e.getBoundingClientRect().height,s=!!(0,o.kp)(e,"."+x.iv);if(s?((t=this.createEmptyTimeLineTable(i)).style.position="sticky",t.style.left="0px",this.enableRtl&&t.style.removeProperty("left")):((t=this.createEmptyMaskTable(i)).style.position="absolute",t.style.zIndex=1),s){t.style.height=e.getBoundingClientRect().height+"px";var n=this.createElement("div",{className:"e-temp-timeline"});n.style.width=this.element.getElementsByClassName("e-timeline-header-container")[0].offsetWidth+"px",n.style.position="sticky",this.enableRtl?n.style["margin-right"]=Math.abs(this.scrollLeftValue)+"px":n.style["margin-left"]=this.scrollLeftValue+"px",n.appendChild(t),e.insertBefore(n,e.firstChild)}else t.style.height=e.getBoundingClientRect().height+"px",e.insertBefore(t,e.firstChild);return e.style.height=i+"px",t},t.prototype.createEmptyTimeLineTable=function(e){for(var t=this.createElement("table",{className:"e-table e-masked-table"}),i=this.createElement("tbody",{className:"e-masked-tbody"}),o=[],s=this.createElement("tr",{className:"e-masked-row e-row",attrs:{style:"height: "+e/2+"px;"}}),n=0;n<this.singleTier;n++)o.push(s.cloneNode(!0));this.topBottomHeader=0;for(var n=0;n<o.length;n++)i.appendChild(this.applyTimelineMaskRow(o[parseInt(n.toString(),10)])),this.topBottomHeader=this.topBottomHeader+1;return t.appendChild(i),t.style.width="100%",t},t.prototype.applyTimelineMaskRow=function(e){var t=4;this.element.getElementsByClassName("e-timeline-header-container")[0].offsetWidth/166>4&&(t=this.element.getElementsByClassName("e-timeline-header-container")[0].offsetWidth/166);for(var i=0;i<t;i++)e.appendChild(this.createElement("td",{className:"e-timeline-masked-top-header-cell"}));for(var i=0;i<e.childNodes.length-1;i++)e.childNodes[parseInt(i.toString(),10)].style.width="166px";for(var o=[].slice.call(e.childNodes),i=0;i<o.length;i++){var s=o[parseInt(i.toString(),10)];switch(this.topBottomHeader){case 0:this.enableRtl?(s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-timelineHeader"></span>',s.children[0].style.left="-20px"):s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-timelineHeader"></span>';break;case 1:s.appendChild(this.createElement("td",{className:"e-timeline-masked-top-header-cell"})),s.appendChild(this.createElement("td",{className:"e-timeline-masked-top-header-cell"})),s.appendChild(this.createElement("td",{className:"e-timeline-masked-top-header-cell"}));for(var n=[].slice.call(s.childNodes),r=0;r<n.length;r++){var a=n[parseInt(r.toString(),10)];0===r?this.enableRtl?(a.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-innerHTML"></span>',a.children[0].style.left="-14px"):a.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-innerHTML"></span>':1===r?this.enableRtl?(a.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-innerHTML1"></span>',a.children[0].style.left="-30px"):a.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-innerHTML1"></span>':this.enableRtl?(a.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-innerHTML2"></span>',a.children[0].style.left="-60px"):a.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-innerHTML2"></span>'}}}return e},t.prototype.createEmptyMaskTable=function(e){var t=this.createElement("table",{className:"e-table e-masked-table"}),i=this.createElement("tbody",{className:"e-masked-tbody"}),o=[],s=this.createElement("tr",{className:"e-masked-row e-row",attrs:{style:"height: "+e/7+"px;"}});this.columnLoop=0;for(var n=0;n<6;n++)o.push(s.cloneNode(!0));for(var r=0;r<o.length;r++)this.columnLoop<4?this.columnLoop=this.columnLoop+1:4===this.columnLoop&&(this.columnLoop=1),i.appendChild(this.applyMaskRow(o[parseInt(r.toString(),10)]));t.appendChild(i),t.style.width="100%";var a=this.createElement("div",{className:"e-temp-container"});return a.style.width="calc(100% - 17px)",a.style.overflow="hidden",a.appendChild(t),a},t.prototype.applyMaskRow=function(e){if(this.columnLoop<4){var t=2;this.element.getElementsByClassName("e-timeline-header-container")[0].offsetWidth/300>2&&(t=this.element.getElementsByClassName("e-timeline-header-container")[0].offsetWidth/300);for(var i=0;i<t;i++)e.appendChild(this.createElement("td",{className:"e-masked-cell e-rowcell"}))}else e.appendChild(this.createElement("td",{className:"e-masked-cell e-rowcell"}));for(var o=[].slice.call(e.childNodes),i=0;i<o.length;i++){var s=o[parseInt(i.toString(),10)];switch(this.columnLoop){case 1:0===i?this.enableRtl?(s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell01"></span>',s.children[0].style.left="-14px"):s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell01"></span>':s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell02"></span>';break;case 2:0===i?this.enableRtl?(s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell03"></span>',s.children[0].style.left="-14px"):s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell03"></span>':s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell04"></span>';break;case 3:0===i?this.enableRtl?(s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell05"></span>',s.children[0].style.left="-64px"):s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell05"></span>':this.enableRtl?(s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell06"></span>',s.children[0].style.left="-192px"):s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell06"></span>';break;case 4:this.enableRtl?(s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell07"></span>',s.children[0].style.left="-388px"):s.innerHTML='<span class="e-mask e-skeleton e-skeleton-text e-shimmer-wave e-maskcell07"></span>'}}return e},t.prototype.showSpinner=function(){(0,s.xc)(this.element)},t.prototype.hideSpinner=function(){(0,s.W$)(this.element)},t.prototype.processTimeline=function(){this.timelineModule.processTimelineUnit(),this.timelineModule.calculateZoomingLevelsPerDayWidth()},t.prototype.renderGantt=function(e){e&&(this.isFromOnPropertyChange=e),this.enableValidation&&(this.dataOperation.calculateProjectDates(),this.timelineModule.validateTimelineProp());var t=new Map;if(this.cyclicValidator=new G.e(this,t),this.allowParentDependency){if(this.cyclicValidator.resolve(),this.cyclicValidator.cycles.length>0){var i=this.cyclicValidator.getCyclesWithDetails(this.cyclicValidator.cycles);this.trigger("actionFailure",{error:i})}this.predecessorModule.updateParentPredecessor(t)}if(this.predecessorModule&&this.taskFields.dependency&&(this.predecessorModule.parentIds=[],this.predecessorModule.parentRecord=[],this.predecessorModule.updatePredecessors(t),this.isInPredecessorValidation&&this.enableValidation&&this.autoCalculateDateScheduling&&!(this.isLoad&&!this.treeGrid.loadChildOnDemand&&this.taskFields.hasChildMapping)&&this.predecessorModule.updatedRecordsDateByPredecessor(t)),this.enableValidation&&(this.dataOperation.calculateProjectDates(),this.timelineModule.validateTimelineProp(),this.dataOperation.updateGanttData()),e){if(this.dataSource instanceof Object&&(0,F.h)(this)){var s=(0,o._W)("count",this.dataSource);this.treeGrid.dataSource={result:this.flatData,count:s}}else this.treeGrid.setProperties({dataSource:this.flatData},!1);(0,o.hX)(this.selectionModule)||this.treeGrid.setProperties({selectedRowIndex:this.selectedRowIndex},!1)}else{this.treeGridPane.classList.remove("e-temp-content"),(0,o.hX)(this.treeGridPane.querySelector(".e-gantt-temp-header"))||(0,o.TF)(this.treeGridPane.querySelector(".e-gantt-temp-header")),this.notify("dataReady",{}),this.enableContextMenu&&this.notify("initiate-contextMenu",{});var n=!(0,o.hX)(document.body.className)&&document.body.className.includes("e-bigger")&&36===this.rowHeight?46:this.rowHeight;this.rowHeight=(0,o.hX)(this.rowHeight)?36:n,this.renderTreeGrid(),this.wireEvents(),this.notify("initPredessorDialog",{})}this.isFromOnPropertyChange||this.splitterModule.updateSplitterPosition(),"Vertical"!==this.gridLines&&"Both"!==this.gridLines||this.dayMarkersModule||this.renderChartVerticalLines()},t.prototype.removeCriticalPathStyles=function(){var e=this.ganttChartModule.chartElement;(0,o.vy)(e.querySelectorAll(".e-gantt-child-taskbar-inner-div"),x.Pg),(0,o.vy)(e.querySelectorAll(".e-gantt-child-progressbar-inner-div"),x.hM),(0,o.vy)(e.querySelectorAll(".e-critical-milestone"),x.kY),(0,o.vy)(this.element.querySelectorAll(".e-connector-line"),x.T$),(0,o.vy)(this.element.querySelectorAll(".e-connector-line-arrow"),x.E2)},t.prototype.wireEvents=function(){this.allowKeyboard&&(this.keyboardModule=new o.j9(this.element,{keyAction:this.keyActionHandler.bind(this),keyConfigs:this.keyConfig,eventName:"keydown"})),o.Jm.add(window,"resize",this.windowResize,this),o.Jm.add(document.body,"keydown",this.keyDownHandler,this)},t.prototype.unwireEvents=function(){this.keyboardModule&&(this.keyboardModule.destroy(),this.keyboardModule=null),o.Jm.remove(window,"resize",this.windowResize),o.Jm.remove(document.body,"keydown",this.keyDownHandler)},t.prototype.keyDownHandler=function(e){e.altKey&&74===e.keyCode&&(this.ganttChartModule.manageFocus(this.treeGrid.element.childNodes[1],"remove",!1),this.ganttChartModule.manageFocus(this.element,"add",!1)),"Enter"===e.key&&!this.allowKeyboard&&(0,F.oC)(e.target,"e-editedbatchcell")&&e.preventDefault()},t.prototype.windowResize=function(){var e=this;if(!(0,o.hX)(this.element)){this.updateContentHeight(),this.ganttChartModule.updateWidthAndHeight(),this.treeGridModule.ensureScrollBar(),this.predecessorModule&&this.taskFields.dependency&&(this.updateRowHeightInConnectorLine(this.updatedConnectorLineCollection),this.connectorLineModule.renderConnectorLines(this.updatedConnectorLineCollection));var t=this.criticalPathModule;this.enableCriticalPath&&t&&t.criticalPathCollection&&this.criticalPathModule.criticalConnectorLine(t.criticalPathCollection,t.detailPredecessorCollection,!0,t.predecessorCollectionTaskIds),this.calculateDimensions();var i=this.splitterModule.splitterObject.element.querySelectorAll(".e-pane")[0],s=this.splitterModule.splitterObject.element.querySelectorAll(".e-pane")[1];this.splitterModule.splitterPreviousPositionGrid=i.scrollWidth+1+"px",this.splitterModule.splitterPreviousPositionChart=s.scrollWidth+1+"px",this.timelineModule.isZoomedToFit&&setTimeout(function(){e.timelineModule.processZoomToFit()},0)}this.dayMarkersModule&&this.dayMarkersModule.eventMarkerRender&&this.dayMarkersModule.eventMarkerRender.updateContainerHeight(),this.enableTimelineVirtualization&&this.timelineModule.refreshTimeline()},t.prototype.keyActionHandler=function(e){if(this.enableContextMenu&&this.contextMenuModule&&("downArrow"===e.action||"upArrow"===e.action)&&document.getElementById(this.element.id+"_contextmenu")&&this.args){var t=this.args;(0,o.hX)(t)||t.focus()}e.target&&("downArrow"===e.action||"upArrow"===e.action)&&e.target===this.element.querySelector(".e-rowcell")||e.target&&"escape"===e.action&&this.treeGrid.grid.columnMenuModule&&"block"===this.treeGrid.grid.columnMenuModule.columnMenu.element.style.display?this.treeGrid.grid.notify("key-pressed",e):this.focusModule.onKeyPress(e)},t.prototype.updateRowHeightInConnectorLine=function(e){if(e&&e.length){var t=!(0,o.hX)(this.ganttChartModule)&&this.ganttChartModule.getChartRows()[0]&&this.ganttChartModule.getChartRows()[0].getBoundingClientRect().height;if(t&&!isNaN(t))for(var i=0;i<e.length;i++)e[i].rowHeight=t}},t.prototype.renderToolbar=function(){(0,o.hX)(this.toolbarModule)||(this.toolbarModule.renderToolbar(),this.toolbarModule.refreshToolbarItems())},t.prototype.renderTreeGrid=function(){this.treeGridModule.renderTreeGrid()},t.prototype.updateCurrentViewData=function(){var e=this;if(this.currentViewData=this.treeGrid.getCurrentViewRecords().slice(),this.currentViewData.length>0&&this.loadChildOnDemand&&this.taskFields.hasChildMapping){this.isLoad=!0,this.flatData=[],this.dataOperation.taskIds={},this.ids=[],this.dataOperation.recordIndex=0,this.dataOperation.dataArray=this.currentViewData,this.dataOperation.cloneDataSource(),this.predecessorModule&&this.taskFields.dependency&&(this.predecessorModule.parentIds=[],this.predecessorModule.parentRecord=[],this.predecessorModule.updatePredecessors());for(var t=this.treeGrid.grid.contentModule.rows.filter(function(t){if(t.data[e.taskFields.id]===e.flatData[0].ganttProperties.taskId)return t})[0].index,i=0;i<this.flatData.length;i++)this.flatData[i].index=t,t++;this.currentViewData=this.flatData,this.treeGrid.grid.currentViewData=this.flatData,(0,o.hX)(this.treeGrid.virtualScrollModule)||(this.treeGrid.virtualScrollModule.visualData=this.flatData,this.updatedRecords=this.flatData)}var s=this.expandedRecords;this.expandedRecords=this.getExpandedRecords(this.currentViewData),this.isOnAddOrDelete=s.length!==this.expandedRecords.length&&!this.isLoad},t.prototype.getRecordFromFlatdata=function(e){for(var t=[],i=0;i<e.length;i++)t.push(this.getTaskByUniqueID(e[i].uniqueID));return t},t.prototype.updateContentHeight=function(e){if(this.allowTaskbarOverlap||this.ganttChartModule.isCollapseAll||this.ganttChartModule.isExpandAll||this.isOnAddOrDelete||this.isLoad)if(this.virtualScrollModule&&this.enableVirtualization&&!(0,o.hX)(e)){var t=(0,o._W)("result.length",e);this.contentHeight=t*this.rowHeight}else{var i=this.virtualScrollModule&&this.enableVirtualization?this.currentViewData:this.expandedRecords;this.expandedRecords=i;var s=void 0,n=(0,o.hX)(this.ganttChartModule)||(0,o.hX)(this.ganttChartModule.getChartRows())?null:this.ganttChartModule.getChartRows()[0];s=!(0,o.hX)(n)&&n.offsetHeight>0?n.offsetHeight:this.rowHeight,this.contentHeight=i.length*s,this.isOnAddOrDelete=!1}},t.prototype.getExpandStatus=function(e){var t=this.getParentTask(e.parentItem);return!!(0,o.hX)(t)||!1!==t.expanded&&(!t.parentItem||!1!==this.getParentTask(t.parentItem).expanded&&this.getExpandStatus(this.getParentTask(t.parentItem)))},t.prototype.getExpandedRecords=function(e){if(!e||0===e.length)return this.expandedRecords=[],[];for(var t=new Map,i=new Map,o=new Map,s=0;s<e.length;s++){var n=e[s],r=n.uniqueID;if(t.set(r,n),n.parentItem){var a=n.uniqueID;i.has(a)||i.set(a,[]),i.get(a).push(r)}}for(var l=[],d=new Set,h=0;h<e.length;h++){var n=e[h],r=n.uniqueID;if(d.has(r)){o.get(r)&&l.push(n);continue}d.add(r);var u=!1!==n.expanded;if(u&&n.parentItem)for(var c=n;c.parentItem;){var a=c.parentItem.uniqueID,p=this.getParentTask(c.parentItem,t);if(d.has(a))if(o.has(a)&&p&&p.expanded){u=o.get(a);break}else{u=!1;break}if(d.add(a),p&&-1===e.indexOf(p)&&p.expanded&&!o.get(a)&&o.set(a,!0),!p||!1===p.expanded){u=!1;break}c=p}else if(!u){for(var m=!0,c=n;c.parentItem;){var g=this.getParentTask(c.parentItem,t);if(!g||!1===g.expanded){m=!1;break}c=g}u=m}o.set(r,u),u&&l.push(n)}return this.expandedRecords=l,l},t
vendor: 5,783 bytes, line 1
1.prototype.getZoomingLevels=function(){var e=this.timelineSettings.weekStartDay,t=this.timelineSettings.weekendBackground;return[{topTier:{unit:"Year",format:"yyyy",count:50},bottomTier:{unit:"Year",format:"yyyy",count:10},timelineUnitSize:99,level:0,timelineViewMode:"Year",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Year",format:"yyyy",count:20},bottomTier:{unit:"Year",format:"yyyy",count:5},timelineUnitSize:99,level:1,timelineViewMode:"Year",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Year",format:"yyyy",count:5},bottomTier:{unit:"Year",format:"yyyy",count:1},timelineUnitSize:99,level:2,timelineViewMode:"Year",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Year",format:"MMM, yy",count:1},bottomTier:{unit:"Month",formatter:this.displayHalfValue,count:6},timelineUnitSize:66,level:3,timelineViewMode:"Year",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Year",format:"MMM, yy",count:1},bottomTier:{unit:"Month",formatter:this.displayHalfValue,count:6},timelineUnitSize:99,level:4,timelineViewMode:"Year",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Year",format:"MMM, yy",count:1},bottomTier:{unit:"Month",formatter:this.displayQuarterValue,count:3},timelineUnitSize:66,level:5,timelineViewMode:"Year",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Year",format:"yyyy",count:1},bottomTier:{unit:"Month",formatter:this.displayQuarterValue,count:3},timelineUnitSize:99,level:6,timelineViewMode:"Year",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Year",format:"yyyy",count:1},bottomTier:{unit:"Month",format:"MMM yyyy",count:1},timelineUnitSize:99,level:7,timelineViewMode:"Year",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Month",format:"MMM, yy",count:1},bottomTier:{unit:"Week",format:"dd",count:1},timelineUnitSize:33,level:8,timelineViewMode:"Month",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Month",format:"MMM, yyyy",count:1},bottomTier:{unit:"Week",format:"dd MMM",count:1},timelineUnitSize:66,level:9,timelineViewMode:"Month",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Month",format:"MMM, yyyy",count:1},bottomTier:{unit:"Week",format:"dd MMM",count:1},timelineUnitSize:99,level:10,timelineViewMode:"Month",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Week",format:"MMM dd, yyyy",count:1},bottomTier:{unit:"Day",format:"d",count:1},timelineUnitSize:33,level:11,timelineViewMode:"Week",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Week",format:"MMM dd, yyyy",count:1},bottomTier:{unit:"Day",format:"d",count:1},timelineUnitSize:66,level:12,timelineViewMode:"Week",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Week",format:"MMM dd, yyyy",count:1},bottomTier:{unit:"Day",format:"d",count:1},timelineUnitSize:99,level:13,timelineViewMode:"Week",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Day",format:"E dd yyyy",count:1},bottomTier:{unit:"Hour",format:"hh a",count:12},timelineUnitSize:66,level:14,timelineViewMode:"Day",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Day",format:"E dd yyyy",count:1},bottomTier:{unit:"Hour",format:"hh a",count:12},timelineUnitSize:99,level:15,timelineViewMode:"Day",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Day",format:"E dd yyyy",count:1},bottomTier:{unit:"Hour",format:"hh a",count:6},timelineUnitSize:66,level:16,timelineViewMode:"Day",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Day",format:"E dd yyyy",count:1},bottomTier:{unit:"Hour",format:"hh a",count:6},timelineUnitSize:99,level:17,timelineViewMode:"Day",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Day",format:"E dd yyyy",count:1},bottomTier:{unit:"Hour",format:"hh a",count:2},timelineUnitSize:66,level:18,timelineViewMode:"Day",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Day",format:"E dd yyyy",count:1},bottomTier:{unit:"Hour",format:"hh a",count:2},timelineUnitSize:99,level:19,timelineViewMode:"Day",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Day",format:"E dd yyyy",count:1},bottomTier:{unit:"Hour",format:"hh a",count:1},timelineUnitSize:66,level:20,timelineViewMode:"Day",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Day",format:"E dd yyyy",count:1},bottomTier:{unit:"Hour",format:"hh a",count:1},timelineUnitSize:99,level:21,timelineViewMode:"Day",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Hour",format:"ddd MMM, h a",count:1},bottomTier:{unit:"Minutes",format:"mm",count:30},timelineUnitSize:66,level:22,timelineViewMode:"Hour",weekStartDay:0,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Hour",format:"ddd MMM, h a",count:1},bottomTier:{unit:"Minutes",format:"mm",count:15},timelineUnitSize:66,level:23,timelineViewMode:"Hour",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0},{topTier:{unit:"Hour",format:"ddd MMM, h a",count:1},bottomTier:{unit:"Minutes",format:"mm",count:1},timelineUnitSize:66,level:24,timelineViewMode:"Hour",weekStartDay:e,updateTimescaleView:!0,weekendBackground:t,showTooltip:!0}]},
vendor: 59,583 bytes, line 1
1t.prototype.displayQuarterValue=function(e){var t=e.getMonth();return t>=0&&t<=2?"Q1":t>=3&&t<=5?"Q2":t>=6&&t<=8?"Q3":"Q4"},t.prototype.displayHalfValue=function(e){var t=e.getMonth();return t>=0&&t<=5?"H1":"H2"},t.prototype.getFormatedDate=function(e,t){return(0,o.hX)(e)?null:((0,o.hX)(t)&&(t=this.getDateFormat()),this.globalize.formatDate(e,{format:t}))},t.prototype.getDurationString=function(e,t){return this.dateValidationModule.getDurationString(e,t)},t.prototype.getWorkString=function(e,t){return this.dateValidationModule.getWorkString(e,t)},t.prototype.updateTreeColumns=function(){var e,t,i=this.treeGrid.grid.getColumns();-1!==this.treeColumnIndex&&this.columns[this.treeColumnIndex]&&!(0,o.hX)(this.columns[this.treeColumnIndex].template)&&(e=this.columns[this.treeColumnIndex].template);for(var s=0;s<i.length;s++){t={};for(var n=0;n<this.columns.length;n++)if(this.columns[n].field===i[s].field){for(var r=0,a=Object.keys(this.columns[n]);r<a.length;r++){var l=a[r];(0,o.b0)(this.columns[n][l])||(t[l]=i[s][l]),t.visible=i[s].visible,t.width=i[s].width}this.columns[n]=t,"checkbox"===this.columns[n].type||(0,o.hX)(e)||""===e||(this.columns[n].template=e)}}this.columns.length>0&&this.treeGrid.setProperties({columns:this.columns},!0)},t.prototype.validateCycles=function(){if(this.cyclicValidator.buildMaps(),this.cyclicValidator.resolve(),this.cyclicValidator.cycles.length>0){var e=this.cyclicValidator.getCyclesWithDetails(this.cyclicValidator.cycles);this.trigger("actionFailure",{error:e})}this.regenerateCycles=!1},t.prototype.treeDataBound=function(e){var t=this;this.isLoad&&this.undoRedoModule&&(this.sortSettings.columns.length>0?this.undoRedoModule.previousSortedColumns=this.sortSettings.columns:""!==this.searchSettings.key&&(this.undoRedoModule.searchString=this.searchSettings.key)),this.chartRowsModule.isGridRowRefreshed=!1,this.element.getElementsByClassName("e-chart-root-container")[0].style.height="100%";var i=this.element.getElementsByClassName("e-gridcontent")[0].childNodes[0];i.setAttribute("tabindex","0"),i.classList.add("e-yscroll"),this.element.getElementsByClassName("e-gridcontent")[0].childNodes[0].childNodes[0].setAttribute("role","treegrid");var s=this.element.getElementsByClassName("e-timeline-header-container")[0].offsetHeight,n=this.element.getElementsByClassName("e-chart-scroll-container e-content")[0];if(n.style.height="calc(100% - "+s+"px)",n.setAttribute("tabindex","0"),this.filterSettings&&this.filterSettings.properties&&this.filterSettings.properties.columns&&this.filterSettings.properties.columns.forEach(function(e){for(var i=e.properties.field,o=null,s=0;s<t.treeGrid.columns.length;s++){var n=t.treeGrid.columns[s];if(n.field===i){o=n;break}}o&&e.properties.uid!==o.uid&&(e.properties.uid=o.uid)}),this.regenerateCycles&&"ProjectView"===this.viewType&&this.allowParentDependency&&this.validateCycles(),this.isLoad){if(this.enablePersistence&&this.updateTreeColumns(),this.updateCurrentViewData(),this.enableVirtualization?this.virtualScrollModule&&this.enableVirtualization&&(this.ganttChartModule.virtualRender.adjustTable(),this.ganttChartModule.scrollObject.updateTopPosition()):this.updateContentHeight(),!this.isTreeGridRendered){this.isTreeGridRendered=!0,this.timelineModule.isSingleTier?this.element.classList.add(x.Qe):this.element.classList.remove(x.Qe);var r=this.element.getElementsByClassName("e-timeline-header-container")[0].offsetHeight;n.style.height="calc(100% - "+r+"px)",this.treeGrid.setProperties({height:"100%"},!1),this.notify("tree-grid-created",{}),this.createGanttPopUpElement(),this.hideLoadingIndicator(),(0,o.KY)("isGanttCreated",!0,e),this.renderComplete()}}else this.getCurrentRecords(e);this.loadChildOnDemand&&this.taskFields.hasChildMapping&&this.updateContentHeight(),this.enableCriticalPath&&this.criticalPathModule&&this.criticalPathModule.showCriticalPath(this.enableCriticalPath),this.notify("recordsUpdated",{});for(var a=0;a<document.getElementsByClassName("e-timeline-header-table-container").length;a++)for(var l=0;l<document.getElementsByClassName("e-timeline-header-table-container")[a].children[0].children[0].children.length;l++){var d=document.getElementsByClassName("e-timeline-header-table-container")[a].children[0].children[0].children[l].children[0];d&&d.setAttribute("tabindex","-1")}var h=this.criticalPathModule;if(this.enableCriticalPath&&h&&h.criticalPathCollection&&this.criticalPathModule.criticalConnectorLine(h.criticalPathCollection,h.detailPredecessorCollection,!0,h.predecessorCollectionTaskIds),this.initialChartRowElements=this.ganttChartModule.getChartRows(),this.isExpandPerformed=!!this.enableVirtualization&&this.isExpandPerformed,this.isExpandPerformed||this.isVirtualScroll||!this.undoRedoModule||(this.previousFlatData=(0,o.X$)([],this.flatData,[],!0)),this.undoRedoModule&&0!==Object.keys(this.undoRedoModule.undoActionDetails).length){var u=this.undoRedoModule.undoActionDetails;"RowDragAndDrop"===u.action||"TaskbarDragAndDrop"===u.action?(this.undoRedoModule.isUndoRedoPerformed=!0,u.beforeDrop.forEach(function(e){t.updateRecordByID(e.data)}),"child"===u.afterDrop.dropPosition&&this.updateRecordByID(u.afterDrop.dropRecord)):("Outdent"===u.action||"Indent"===u.action)&&this.updateRecordByID(u.droppedRecord),this.undoRedoModule.undoActionDetails={}}this.undoRedoModule&&this.undoRedoModule.isPreventRowDeselectOnUndoRedo&&(this.undoRedoModule.isPreventRowDeselectOnUndoRedo=!1),this.undoRedoModule&&this.undoRedoModule.isUndoRedoPerformed&&(this.undoRedoModule.isUndoRedoPerformed=!1),this.trigger("dataBound",e)},t.prototype.getCurrentRecords=function(e){this.predecessorModule&&this.taskFields.dependency&&this.connectorLineModule.removePreviousConnectorLines(this.currentViewData),this.updateCurrentViewData(),this.enableVirtualization||this.updateContentHeight(),this.virtualScrollModule&&this.enableVirtualization&&(this.ganttChartModule.virtualRender.adjustTable(),this.ganttChartModule.scrollObject.updateTopPosition())},t.prototype.handleTaskSchedulingChanges=function(e,t,i){var o=!1;"calendarSettings"===e&&t[e].projectCalendar&&(t[e].projectCalendar.workingTime||t[e].projectCalendar.exceptions)&&(o=!0),"calendarSettings"===e&&Array.isArray(t[e].taskCalendars)&&(o=!0),("dayWorkingTime"===e||"weekWorkingTime"===e||"enableHover"===e||o)&&(i.isRefresh=!0);var s=!1;"calendarSettings"===e&&t[e].projectCalendar&&t[e].projectCalendar.holidays&&(s=!0),("includeWeekend"===e||"allowUnscheduledTasks"===e||"holidays"===e||s)&&(this.isLoad=!0,("holidays"===e||s)&&(this.totalHolidayDates=this.dataOperation.getHolidayDates(e),s&&(t.holidays=t[e].projectCalendar.holidays),this.notify("ui-update",{module:"day-markers",properties:t})),this.dataOperation.reUpdateGanttData(),this.treeGrid.refreshColumns(),this.chartRowsModule.initiateTemplates(),this.chartRowsModule.refreshGanttRows(),this.isLoad=!1,this.taskFields.dependency&&(this.predecessorModule.updatedRecordsDateByPredecessor(),this.treeGrid.refreshColumns(),this.chartRowsModule.refreshGanttRows()))},t.prototype.onPropertyChanged=function(e,t){for(var i={isRefresh:!1},s=0,n=Object.keys(e);s<n.length;s++){var r=n[s];switch(r){case"allowSelection":case"allowRowDragAndDrop":case"allowFiltering":case"showColumnMenu":case"allowResizing":case"allowReordering":case"allowSorting":case"enableImmutableMode":this.treeGrid[r]=this[r],this.treeGrid.dataBind();break;case"enableVirtualization":this.enableVirtualization&&(this.treeGrid.grid.enableSeamlessScrolling=!1),i.isRefresh=!0;break;case"workWeek":this.dataOperation.getNonWorkingDayIndex(),this.dataOperation.reUpdateGanttData(),this.chartRowsModule.initiateTemplates(),this.taskFields.dependency&&this.predecessorModule.updatedRecordsDateByPredecessor(),this.chartRowsModule.refreshGanttRows(),this.treeGrid.refreshColumns(),this.timelineModule.refreshTimeline();break;case"toolbar":this.notify("ui-toolbarupdate",{module:"toolbar",properties:e});break;case"columnMenuItems":this.treeGrid.grid.columnMenuItems=(0,A.yo)(this.columnMenuItems);break;case"eventMarkers":case"highlightWeekends":this.notify("ui-update",{module:"day-markers",properties:e});break;case"sortSettings":this.treeGrid.sortSettings=(0,A.yo)(this.sortSettings),this.treeGrid.dataBind();break;case"timelineSettings":this.isTimelineRoundOff=!this.timelineModule.isZoomToFit&&"auto"===this.timelineSettings.viewEndDate&&"auto"===this.timelineSettings.viewStartDate&&!!(0,o.hX)(this.projectStartDate),this.timelineModule.refreshTimeline(),this.enableTimelineVirtualization&&(!this.undoRedoModule||this.undoRedoModule&&!this.undoRedoModule.isZoomingUndoRedoProgress)&&(i.isRefresh=!0),this.undoRedoModule&&this.undoRedoModule.isZoomingUndoRedoProgress&&(this.undoRedoModule.isZoomingUndoRedoProgress=!1);break;case"rowHeight":case"taskbarHeight":this.treeGrid.rowHeight=this.rowHeight,this.treeGrid.dataBind(),this.chartRowsModule.initiateTemplates(),this.timelineModule.updateChartByNewTimeline(),this.taskFields.dependency&&this.ganttChartModule.reRenderConnectorLines();break;case"timezone":case"durationUnit":this.isLoad=!0,this.dataOperation.checkDataBinding(!0);break;case"enableCriticalPath":if(this.hideLoadingIndicator(),this.enableCriticalPath&&this.criticalPathModule){this.criticalPathModule.showCriticalPath(this.enableCriticalPath);var a=this.criticalPathModule;a.criticalPathCollection&&this.criticalPathModule.criticalConnectorLine(a.criticalPathCollection,a.detailPredecessorCollection,!0,a.predecessorCollectionTaskIds)}else this.removeCriticalPathStyles();break;case"filterSettings":(0,o.hX)(e.filterSettings)&&(this.filterSettings.columns=[]),this.treeGrid.filterSettings=(0,A.yo)(this.filterSettings),this.treeGrid.dataBind();break;case"gridLines":this.treeGrid.gridLines=this.gridLines,this.treeGrid.dataBind(),this.renderChartGridLines();break;case"tooltipSettings":this.tooltipModule.toolTipObj&&this.tooltipModule.toolTipObj.destroy(),this.tooltipModule.createTooltip();break;case"splitterSettings":e.splitterSettings.position?this.splitterUpdateType="position":e.splitterSettings.columnIndex&&(this.splitterUpdateType="columnIndex"),this.splitterModule.updateSplitterPosition(),this.splitterUpdateType=null;break;case"selectionSettings":this.treeGrid.selectionSettings=(0,A.yo)(this.selectionSettings),this.treeGrid.grid.selectionSettings.enableToggle=this.selectionSettings.enableToggle,this.treeGrid.dataBind();break;case"searchSettings":void 0!==e.searchSettings.key&&(this.treeGrid.grid.searchSettings=(0,A.yo)(this.searchSettings),this.treeGrid.grid.dataBind()),this.treeGrid.searchSettings=(0,A.yo)(this.searchSettings),this.treeGrid.dataBind(),this.toolbarModule&&this.toolbarModule.updateSearchTextBox();break;case"labelSettings":case"renderBaseline":case"baselineColor":this.isFromRenderBaseline=!0,this.chartRowsModule.initiateTemplates(),this.chartRowsModule.refreshGanttRows(),this.isFromRenderBaseline=!1;break;case"resourceIDMapping":case"resourceNameMapping":case"resources":this.dataOperation.reUpdateResources(),this.treeGrid.refreshColumns(),this.chartRowsModule.initiateTemplates(),this.chartRowsModule.refreshGanttRows();break;case"includeWeekend":case"allowUnscheduledTasks":case"holidays":case"calendarSettings":case"dayWorkingTime":case"weekWorkingTime":case"enableHover":this.skipOffsetUpdate=!0,this.handleTaskSchedulingChanges(r,e,i);break;case"addDialogFields":case"editDialogFields":this.editModule&&this.editModule.dialogModule&&this.editModule.dialogModule.processDialogFields();break;case"columns":this.isFrozenGrid()?i.isRefresh=!0:(this.treeGridModule.treeGridColumns=[],this.treeGridModule.validateGanttColumns(),this.editModule&&this.editModule.updateDefaultColumnEditors(),this.treeGrid.columns=this.treeGridModule.treeGridColumns,this.treeGrid.refreshColumns(),this.chartRowsModule.initiateTemplates(),this.timelineModule.updateChartByNewTimeline());break;case"width":case"height":this.reUpdateDimention(r);break;case"editSettings":this.treeGrid.editSettings.allowAdding=this.editSettings.allowAdding,this.treeGrid.editSettings.allowDeleting=this.editSettings.allowDeleting,this.treeGrid.editSettings.showDeleteConfirmDialog=this.editSettings.showDeleteConfirmDialog,this.treeGrid.editSettings.allowEditing=this.editSettings.allowEditing,this.treeGrid.editSettings.allowNextRowEdit=this.editSettings.allowNextRowEdit,(0,o.hX)(this.editModule)||this.editModule.reUpdateEditModules(),(0,o.hX)(this.toolbarModule)||this.toolbarModule.refreshToolbarItems();break;case"allowPdfExport":case"allowExcelExport":(0,o.hX)(this.toolbarModule)||this.toolbarModule.refreshToolbarItems();break;case"connectorLineBackground":case"connectorLineWidth":this.taskFields.dependency&&(this.connectorLineModule.initPublicProp(),this.ganttChartModule.reRenderConnectorLines());break;case"treeColumnIndex":this.treeGrid.treeColumnIndex=this.treeColumnIndex;break;case"projectStartDate":case"projectEndDate":this.timelineModule.isZoomToFit=!1,this.dataOperation.calculateProjectDates(),this.isTimelineRoundOff=!this.timelineModule.isZoomToFit&&"auto"===this.timelineSettings.viewEndDate&&"auto"===this.timelineSettings.viewStartDate&&!!(0,o.hX)(this.projectStartDate),this.updateProjectDates(this.cloneProjectStartDate,this.cloneProjectEndDate,this.isTimelineRoundOff);break;case"selectedRowIndex":(0,o.hX)(this.selectionModule)||this.selectionModule.selectRowByIndex();break;case"dataSource":if(this.isLoad=!0,this.isReact&&this.clearTemplate(["TaskbarTemplate","ParentTaskbarTemplate","MilestoneTemplate","BaselineTemplate","TaskLabelTemplate","RightLabelTemplate","LeftLabelTemplate"]),this.closeGanttActions(),this.dataSource instanceof Object&&(0,F.h)(this)){this.treeGrid.hasChildMapping="isParent";var l=(0,o._W)("count",this.dataSource);this.treeGrid.dataSource={result:this.flatData,count:l}}else this.treeGrid.hasChildMapping=null;this.isDynamicDataUpdate=!0,this.dataOperation.checkDataBinding(!0);break;case"enableContextMenu":case"contextMenuItems":this.enableContextMenu||"contextMenuItems"===r?this.notify("reRender-contextMenu",{module:"contextMenu",enable:!0}):this.treeGrid.contextMenuItems=[],this.treeGrid.dataBind();break;case"currencyCode":case"locale":case"enableRtl":case"readOnly":case"viewType":case"taskFields":case"allowTaskbarDragAndDrop":case"allowTaskbarOverlap":case"allowParentDependency":case"enableMultiTaskbar":case"autoUpdatePredecessorOffset":if("locale"===r&&(this.isLocaleChanged=!0),"taskFields"===r&&!(0,o.hX)(e.taskFields.child))return;"allowTaskbarDragAndDrop"!==r&&(i.isRefresh=!0);break;case"validateManualTasksOnLinking":this.validateManualTasksOnLinking=e.validateManualTasksOnLinking;break;case"showOverAllocation":this.updateOverAllocationCotainer();break;case"emptyRecordTemplate":this.treeGrid.emptyRecordTemplate=this.emptyRecordTemplate;break;case"frozenColumns":this.treeGrid.frozenColumns=this.frozenColumns,i.isRefresh=!0}}i.isRefresh&&(this.isLoad&&this.contentMaskTable&&(this.contentMaskTable=null),this.refresh())},t.prototype.updateOverAllocationCotainer=function(){if(this.showOverAllocation)this.ganttChartModule.renderOverAllocationContainer();else{var e=this.element.querySelector("."+x.Pp);e&&(e.innerHTML="")}},t.prototype.getPersistData=function(){for(var e=["sortSettings","filterSettings","columns","searchSettings","selectedRowIndex","treeColumnIndex","currentZoomingLevel","cloneProjectStartDate","cloneProjectEndDate","splitterSettings","cloneTimelineStartDate","cloneTimelineEndDate"],t={filterSettings:["type","mode","showFilterBarStatus","immediateModeDelay","ignoreAccent","hierarchyMode"],searchSettings:["fields","operator","ignoreCase"],sortSettings:[],columns:[],selectedRowIndex:[]},i=0;i<e.length;i++)for(var s=this[e[i]],n=0,r=t[e[i]];!(0,o.hX)(r)&&n<r.length;n++){var a=r[n];delete s[a]}return this.ignoreInArrays(["filter","edit","filterBarTemplate","headerTemplate","template","commandTemplate","commands","dataSource"],this.columns),this.addOnPersist(e)},t.prototype.ignoreInArrays=function(e,t){for(var i=0;i<t.length;i++)this.ignoreInColumn(e,t[i])},t.prototype.ignoreInColumn=function(e,t){for(var i=0;i<e.length;i++)delete t[e[i]],t.filter={}},t.prototype.destroy=function(){this.notify("destroy",{}),this.unwireEvents(),(0,o.hX)(this.validationDialogElement)||this.validationDialogElement.isDestroyed||this.validationDialogElement.destroy();for(var t=["ganttChartModule","timelineModule","chartRowsModule","treeGridModule","ganttDataUpdatesModule","dateValidationModule","tooltipModule"],i=0;i<t.length;i++)this[t[i]]&&(this[t[i]]=null);this.keyboardModule&&this.keyboardModule.destroy(),this.editModule&&this.editModule.dialogModule&&this.editModule.dialogModule.destroy(),this.splitterModule&&this.splitterModule.destroy(),this.toolbarModule&&this.toolbarModule.toolbar&&this.toolbarModule.toolbar.destroy(),(0,o.hX)(this.dayMarkersModule)||((0,o.hX)(this.dayMarkersModule.eventMarkerRender)||(0,o.hX)(this.dayMarkersModule.eventMarkerRender.eventMarkersContainer)||(this.dayMarkersModule.eventMarkerRender.eventMarkersContainer=null),!(0,o.hX)(this.dayMarkersModule.nonworkingDayRender)&&((0,o.hX)(this.dayMarkersModule.nonworkingDayRender.nonworkingContainer)||(this.dayMarkersModule.nonworkingDayRender.nonworkingContainer=null),(0,o.hX)(this.dayMarkersModule.nonworkingDayRender.weekendContainer)||(this.dayMarkersModule.nonworkingDayRender.weekendContainer=null),(0,o.hX)(this.dayMarkersModule.nonworkingDayRender.holidayContainer)||(this.dayMarkersModule.nonworkingDayRender.holidayContainer=null))),this.connectorLineModule&&(this.connectorLineModule.dependencyViewContainer=null,this.connectorLineModule.svgObject=null,this.connectorLineModule.renderer=null,this.connectorLineModule.tooltipTable=null),this.treeGridPane=null,this.chartPane=null,this.initialChartRowElements=null,e.prototype.destroy.call(this),this.chartVerticalLineContainer=null,this.element.innerHTML="",(0,o.vy)([this.element],x.zr),this.element.innerHTML="",this.isTreeGridRendered=!1,this.dataOperation.isHavingUnscheduledTaskOnLoad=!1,this.resetTemplates(),this.dataOperation.uid=null},t.prototype.getTaskbarHeight=function(){return this.chartRowsModule.taskBarHeight},t.prototype.requiredModules=function(){var e=[],t=this.calendarModule.holidays;if(this.isDestroyed)return e;this.allowSorting&&e.push({member:"sort",args:[this]}),(this.allowFiltering||this.toolbar&&-1!==this.toolbar.indexOf("Search"))&&e.push({member:"filter",args:[this]}),this.allowReordering&&e.push({member:"reorder",args:[this]}),this.allowExcelExport&&e.push({member:"excelExport",args:[this]}),(this.allowRowDragAndDrop||this.allowTaskbarDragAndDrop)&&e.push({member:"rowDragAndDrop",args:[this]}),this.enableCriticalPath&&e.push({member:"criticalPath",args:[this]}),this.enableUndoRedo&&e.push({member:"undoRedo",args:[this]}),this.allowResizing&&e.push({member:"resize",args:[this]}),this.toolbar&&this.toolbar.length>0&&e.push({member:"toolbar",args:[this]}),(this.editSettings.allowAdding||this.editSettings.allowEditing||this.editSettings.allowDeleting||this.editSettings.allowTaskbarEditing||this.allowRowDragAndDrop)&&e.push({member:"edit",args:[this]}),this.allowSelection&&e.push({member:"selection",args:[this]}),this.tooltipSettings.showTooltip&&e.push({member:"tooltip",args:[this]}),(this.highlightWeekends||t&&t.length>0||this.eventMarkers&&this.eventMarkers.length>0)&&e.push({member:"dayMarkers",args:[this]}),this.enableContextMenu&&e.push({member:"contextMenu",args:[this]}),this.showColumnMenu&&e.push({member:"columnMenu",args:[this]}),this.allowPdfExport&&e.push({member:"pdfExport",args:[this]}),this.enableVirtualization&&e.push({member:"virtualScroll",args:[this]});var i=Array.isArray(this.columns)&&this.columns.some(function(e){return!!e.freeze});return(this.frozenColumns||i||this.getFrozenColumnsCount())&&e.push({member:"freeze",args:[this]}),e},t.prototype.sortColumn=function(e,t,i){this.sortModule&&this.allowSorting&&this.sortModule.sortColumn(e,t,i)},t.prototype.mergePersistGanttData=function(){this.treeGrid||(this.treeGrid=new P.T),this.treeGrid.grid.mergePersistGridData.apply(this)},t.prototype.mergeColumns=function(e,t){this.treeGrid.grid.mergeColumns.apply(this,[e,t])},t.prototype.setFrozenCount=function(){this.treeGrid.grid.setFrozenCount.apply(this)},t.prototype.splitFrozenCount=function(e){this.treeGrid.grid.splitFrozenCount.apply(this,[e])},t.prototype.isFrozenGrid=function(){var e,t=Array.isArray(this.columns)&&this.columns.some(function(e){return!!e.freeze});return(this.frozenColumns||t||this.getFrozenColumnsCount())&&(e=!0),e},t.prototype.removeBorder=function(e){this.treeGrid.grid.removeBorder.apply(this,[e])},t.prototype.frozenLeftBorderColumns=function(e){this.treeGrid.grid.frozenLeftBorderColumns.apply(this,[e])},t.prototype.frozenRightBorderColumns=function(e){this.treeGrid.grid.frozenRightBorderColumns.apply(this,[e])},t.prototype.clearSorting=function(){this.sortModule.clearSorting()},t.prototype.renderChartGridLines=function(){var e="e-chart-row-border",t=this.chartVerticalLineContainer,i=document.getElementById(this.element.id+"GanttTaskTableBody").querySelectorAll("td");if("Vertical"===this.gridLines){if((0,o.hX)(t)||this.enableInfiniteTimelineScroll?this.renderChartVerticalLines():"none"===window.getComputedStyle(t).display&&(t.style.display="block"),i&&i.length>0&&i[0].classList.contains(e))for(var s=0;s<i.length;s++)(0,o.vy)([i[s]],e)}else if("Horizontal"===this.gridLines){if((0,o.hX)(t)||(t.style.display="none"),i&&i.length>0&&!i[0].classList.contains(e))for(var s=0;s<i.length;s++)(0,o.iQ)([i[s]],e)}else if("Both"===this.gridLines){if((0,o.hX)(t)||this.enableInfiniteTimelineScroll?this.renderChartVerticalLines():"none"===window.getComputedStyle(t).display&&(t.style.display="block"),i&&i.length>0&&!i[0].classList.contains(e))for(var s=0;s<i.length;s++)(0,o.iQ)([i[s]],e)}else if("None"===this.gridLines&&((0,o.hX)(t)||"none"===window.getComputedStyle(t).display||(t.style.display="none"),i&&i.length>0&&i[0].classList.contains(e)))for(var s=0;s<i.length;s++)(0,o.vy)([i[s]],e)},t.prototype.updateGridLineContainerHeight=function(){this.chartVerticalLineContainer&&(this.chartVerticalLineContainer.style.height=(0,o.IV)(this.getContentHeight()))},t.prototype.getContentHeight=function(){var e=this.ganttChartModule.scrollElement.offsetHeight-16,t=this.ganttChartModule.chartBodyContent.offsetHeight;return t<e?t:e},t.prototype.reUpdateDimention=function(e){var t=0;if(this.calculateDimensions(),(0,o.hX)(this.toolbarModule)||(0,o.hX)(this.toolbarModule.element)||(this.toolbarModule.refreshToolbarItems(),t=this.toolbarModule.element.offsetHeight),this.treeGrid.height=this.ganttHeight-t-this.treeGrid.grid.getHeaderContent().offsetHeight,this.splitterModule.splitterObject.height=(this.ganttHeight-t).toString(),(0,o.hX)(this.chartVerticalLineContainer)||(this.chartVerticalLineContainer.style.height=this.ganttHeight+"px"),!(0,o.hX)(this.dayMarkersModule)){var i=(0,o._W)("nonworkingDayRender.holidayContainer",this.dayMarkersModule),s=(0,o._W)("nonworkingDayRender.weekendContainer",this.dayMarkersModule),n=(0,o._W)("eventMarkerRender.eventMarkersContainer",this.dayMarkersModule);i&&(i.style.height=this.ganttHeight+"px"),s&&(s.style.height=this.ganttHeight+"px"),n&&(n.style.height=this.ganttHeight+"px")}"width"===e&&(this.splitterModule.splitterObject.width=this.ganttWidth.toString()),this.ganttChartModule.scrollObject.setHeight(this.ganttHeight-this.ganttChartModule.chartTimelineContainer.offsetHeight-t)},t.prototype.renderChartVerticalLines=function(){this.element.contains(this.chartVerticalLineContainer)||(this.chartVerticalLineContainer=(0,o.n)("div",{id:this.element.id+"line-container",styles:"position:absolute;height:100%;"}),this.ganttChartModule.chartBodyContent.insertBefore(this.chartVerticalLineContainer,this.ganttChartModule.chartBodyContent.lastChild)),this.chartVerticalLineContainer.innerHTML="";var e,t=this.element.getElementsByClassName("e-timeline-header-table-container")[1];(0,o.hX)(t)&&(t=this.element.getElementsByClassName("e-timeline-header-table-container")[0]);for(var i=t.getElementsByTagName("th"),s=i.length,n=0,r=(0,o.n)("div"),a=0;a<s;a++){n=0===a?-1:n+parseFloat(e),e=i[a].style.width;var l=(0,o.n)("div",{className:"e-line-container-cell",styles:(this.enableRtl?"right:"+(n+1):"left:"+(-1!==n?n+.3:n))+"px"});r.appendChild(l)}for(;r.firstChild;)this.chartVerticalLineContainer.appendChild(r.firstChild)},t.prototype.getDefaultLocale=function(){return{emptyRecord:"No records to display",id:"ID",name:"Name",startDate:"Start Date",endDate:"End Date",constraintDate:"Constraint Date",constraintType:"Constraint Type",advancedTab:"Advanced",duration:"Duration",progress:"Progress",dependency:"Dependency",notes:"Notes",criticalPath:"Critical Path",undo:"Undo",redo:"Redo",baselineStartDate:"Baseline Start Date",baselineEndDate:"Baseline End Date",baselineDuration:"Baseline Duration",taskMode:"Task Mode",changeScheduleMode:"Change Schedule Mode",subTasksStartDate:"SubTasks Start Date",subTasksEndDate:"SubTasks End Date",scheduleStartDate:"Schedule Start Date",scheduleEndDate:"Schedule End Date",auto:"Auto",manual:"Manual",type:"Type",offset:"Offset",resourceName:"Resources",resourceID:"Resource ID",day:"day",hour:"hour",minute:"minute",days:"days",hours:"hours",minutes:"minutes",generalTab:"General",customTab:"Custom Columns",writeNotes:"Write Notes",addDialogTitle:"New Task",editDialogTitle:"Task Information",add:"Add",edit:"Edit",update:"Update",delete:"Delete",cancel:"Cancel",search:"Search",task:" task",tasks:" tasks",zoomIn:"Zoom in",zoomOut:"Zoom out",zoomToFit:"Zoom to fit",excelExport:"Excel export",csvExport:"CSV export",pdfExport:"PDF export",expandAll:"Expand all",collapseAll:"Collapse all",nextTimeSpan:"Next timespan",prevTimeSpan:"Previous timespan",saveButton:"Save",cancelLink:"Cancel, keep the existing link",removeLink:'Remove the link and move "{0}" to start on "{1}".',removeConstraint:'Remove {0} constraint of task "{1}"',preserveLink:'Move the "{0}" to start on "{1}" and keep the link.',removeDependency:'Remove dependency from "{0}" to "{1}"',cancelChange:"Cancel the change and do nothing",validateEditing:"Validate Editing",schedulingConflicts:"Scheduling conflict",constraintTypeAsSoonAsPossible:"As Soon As Possible",constraintTypeAsLateAsPossible:"As Late As Possible",constraintTypeMustStartOn:"Must Start On",constraintTypeMustFinishOn:"Must Finish On",constraintTypeStartNoEarlierThan:"Start No Earlier Than",constraintTypeStartNoLaterThan:"Start No Later Than",constraintTypeFinishNoEarlierThan:"Finish No Earlier Than",constraintTypeFinishNoLaterThan:"Finish No Later Than",taskBeforePredecessorFS:'You moved "{0}" to start before "{1}" finishes and the two tasks are linked.As the result, the links cannot be honored. Select one action below to perform',taskAfterPredecessorFS:'You moved "{0}" away from "{1}" and the two tasks are linked.As the result, the links cannot be honored. Select one action below to perform',taskBeforePredecessorSS:'You moved "{0}" to start before "{1}" starts and the two tasks are linked.As the result, the links cannot be honored. Select one action below to perform',taskAfterPredecessorSS:'You moved "{0}" to start after "{1}" starts and the two tasks are linked.As the result, the links cannot be honored. Select one action below to perform',taskBeforePredecessorFF:'You moved "{0}" to finish before "{1}" finishes and the two tasks are linked.As the result, the links cannot be honored. Select one action below to perform',taskAfterPredecessorFF:'You moved "{0}" to finish after "{1}" finishes and the two tasks are linked.As the result, the links cannot be honored. Select one action below to perform',taskBeforePredecessorSF:'You moved "{0}" away from "{1}" to starts and the two tasks are linked.As the result, the links cannot be honored. Select one action below to perform',taskAfterPredecessorSF:'You moved "{0}" to finish after "{1}" starts and the two tasks are linked.As the result, the links cannot be honored. Select one action below to perform',okText:"OK",confirmDelete:"Are you sure you want to Delete Record?",from:"From",to:"To",taskLink:"Task Link",lag:"Lag",start:"Start",finish:"Finish",enterValue:"Enter the value",taskInformation:"Task Information",deleteTask:"Delete Task",deleteDependency:"Delete Dependency",convert:"Convert",save:"Save",above:"Above",below:"Below",child:"Child",milestone:"Milestone",toTask:"To Task",toMilestone:"To Milestone",eventMarkers:"Event markers",leftTaskLabel:"Left task label",rightTaskLabel:"Right task label",timelineCell:"Timeline cell",confirmPredecessorDelete:"Are you sure you want to remove dependency link?",unit:"Unit",work:"Work",taskType:"Task Type",unassignedTask:"Unassigned Task",group:"Group",indent:"Indent",outdent:"Outdent",segments:"Segments",splitTask:"Split Task",mergeTask:"Merge Task",left:"Left",right:"Right",FF:"FF",FS:"FS",SF:"SF",SS:"SS"}},t.prototype.removeSortColumn=function(e){this.sortModule.removeSortColumn(e)},t.prototype.actionBeginTask=function(e){this.trigger("actionBegin",e),(0,o._W)("cancel",e)||this.showLoadingIndicator()},t.prototype.scrollToDate=function(e){var t=this.dateValidationModule.getDateFromFormat(e),i=this.dataOperation.getTaskLeft(t,!1,this.defaultCalendarContext);this.ganttChartModule.updateScrollLeft(i)},t.prototype.scrollToTask=function(e){if(-1!==this.ids.indexOf(e)){var t=this.flatData[this.ids.indexOf(e)].ganttProperties.left;this.ganttChartModule.updateScrollLeft(t)}},t.prototype.updateChartScrollOffset=function(e,t){(0,o.hX)(e)||(e=this.ganttChartModule.scrollElement.scrollWidth<=e?this.ganttChartModule.scrollElement.scrollWidth:e,this.ganttChartModule.scrollObject.setScrollLeft(e,this.enableRtl?-1:0)),(0,o.hX)(t)||(t=this.ganttChartModule.scrollElement.scrollHeight<=t?this.ganttChartModule.scrollElement.scrollHeight:t,this.ganttChartModule.scrollObject.setScrollTop(t))},t.prototype.getParentTask=function(e,t){if((0,o.hX)(e))return null;if(t&&t.size>0){var i=t.get(e.uniqueID);if(i)return i}if(!this.autoCalculateDateScheduling&&this.dataMap&&this.dataMap.size>0&&!this.taskFields.hasChildMapping&&this.isLoad){var s=this.dataMap.get(e.uniqueID);if(s)return s}return this.flatData.find(function(t){return e.uniqueID===t.uniqueID})||null},t.prototype.getRootParent=function(e,t){return e.level===t?e:this.getRootParent(this.getParentTask(e.parentItem),t)},t.prototype.filterByColumn=function(e,t,i,o,s,n){this.closeGanttActions(),this.treeGrid.filterByColumn(e,t,i,o,s,n)},t.prototype.refreshColumns=function(e){this.treeGrid.refreshColumns(e)},t.prototype.excelExport=function(e,t,i,o){return this.excelExportModule?this.treeGrid.excelExport(e,t,i,o):null},t.prototype.csvExport=function(e,t,i,o){return this.excelExportModule?this.treeGrid.csvExport(e,t,i,o):null},t.prototype.pdfExport=function(e,t,i,o){return this.pdfExportModule?this.pdfExportModule.export(e,t,i,o):null},t.prototype.clearFiltering=function(e){this.closeGanttActions(),this.treeGrid.grid.clearFiltering(e)},t.prototype.removeFilteredColsByField=function(e){this.treeGrid.removeFilteredColsByField(e,!1)},t.prototype.renderWorkingDayCell=function(e){var t,i=!1,o=!1;if(i="Auto"!==this.taskMode&&"Custom"!==this.taskMode||!!this.includeWeekend||!this.autoCalculateDateScheduling,"Custom"===this.taskMode&&this.taskFields.manual){var s=this.editModule;s&&s.cellEditModule&&s.cellEditModule.isCellEdit?o=s.cellEditModule.currentEditedRowData[this.taskFields.manual]:s&&s.dialogModule&&s.dialogModule.isEdit&&(o=s.dialogModule.editedRecord[this.taskFields.manual]),i=o||this.includeWeekend||!this.autoCalculateDateScheduling}var n=i?[]:this.nonWorkingDayIndex,r=null,a=this.editModule;a&&(a.cellEditModule&&a.cellEditModule.isCellEdit&&a.cellEditModule.currentEditedRowData&&a.cellEditModule.currentEditedRowData.ganttProperties&&a.cellEditModule.currentEditedRowData.ganttProperties.calendarContext?(t=a.cellEditModule.currentEditedRowData.ganttProperties,r=a.cellEditModule.currentEditedRowData.ganttProperties.calendarContext):a.dialogModule&&a.dialogModule.editedRecord&&a.dialogModule.editedRecord.ganttProperties&&a.dialogModule.editedRecord.ganttProperties.calendarContext&&(t=a.dialogModule.editedRecord.ganttProperties,r=a.dialogModule.editedRecord.ganttProperties.calendarContext));var l=r?r.defaultHolidays:this.defaultCalendarContext.defaultHolidays;if(n.length>0&&-1!==n.indexOf(e.date.getDay()))e.isDisabled=!0;else if(l.length>0){var d=new Date(e.date.getTime());d.setHours(0,0,0),-1!==l.indexOf(d.getTime())&&(!this.autoCalculateDateScheduling||this.isLoad&&!this.treeGrid.loadChildOnDemand&&this.taskFields.hasChildMapping?e.isDisabled=!1:e.isDisabled=!0)}r&&(r.getExceptionForDate(e.date)||t.isMilestone&&e.isDisabled&&t.startDate&&t.startDate.getTime()===e.date.getTime())&&(e.isDisabled=!1)},t.prototype.previousTimeSpan=function(e){if(this.isReact&&this.clearTemplate(["TaskbarTemplate","ParentTaskbarTemplate","MilestoneTemplate","BaselineTemplate","TaskLabelTemplate","RightLabelTemplate","LeftLabelTemplate"]),this.undoRedoModule&&this.isUndoRedoItemPresent("PreviousTimeSpan")){this.undoRedoModule.redoEnabled&&this.undoRedoModule.disableRedo(),this.undoRedoModule.createUndoCollection();var t={};t.action="PreviousTimeSpan",t.previousTimelineStartDate=(0,o.X$)([],[],[this.timelineModule.timelineStartDate],!0)[0],t.previousTimelineEndDate=(0,o.X$)([],[],[this.timelineModule.timelineEndDate],!0)[0],this.undoRedoModule.getUndoCollection[this.undoRedoModule.getUndoCollection.length-1]=t}this.timelineModule.performTimeSpanAction("prevTimeSpan","publicMethod",new Date(this.timelineModule.timelineStartDate.getTime()),new Date(this.timelineModule.timelineEndDate.getTime()),e)},t.prototype.nextTimeSpan=function(e){if(this.isReact&&this.clearTemplate(["TaskbarTemplate","ParentTaskbarTemplate","MilestoneTemplate","BaselineTemplate","TaskLabelTemplate","RightLabelTemplate","LeftLabelTemplate"]),this.undoRedoModule&&this.isUndoRedoItemPresent("NextTimeSpan")){this.undoRedoModule.redoEnabled&&this.undoRedoModule.disableRedo(),this.undoRedoModule.createUndoCollection();var t={};t.action="NextTimeSpan",t.previousTimelineStartDate=(0,o.X$)([],[],[this.timelineModule.timelineStartDate],!0)[0],t.previousTimelineEndDate=(0,o.X$)([],[],[this.timelineModule.timelineEndDate],!0)[0],this.undoRedoModule.getUndoCollection[this.undoRedoModule.getUndoCollection.length-1]=t}this.timelineModule.performTimeSpanAction("nextTimeSpan","publicMethod",new Date(this.timelineModule.timelineStartDate.getTime()),new Date(this.timelineModule.timelineEndDate.getTime()),e)},t.prototype.removeCalendarContext=function(e){return e?(e.calendarContext,X(e,["calendarContext"])):e},t.prototype.updateProjectDates=function(e,t,i,o){this.timelineModule.totalTimelineWidth=0,this.cloneProjectStartDate=e,this.cloneProjectEndDate=t,this.isTimelineRoundOff=i,this.updateTimelineDates(this.cloneProjectStartDate,this.cloneProjectEndDate,i,o)},t.prototype.updateTimelineDates=function(e,t,i,s){if(this.timelineModule.totalTimelineWidth=0,this.cloneTimelineStartDate=new Date(e),this.cloneTimelineEndDate=new Date(t),this.isTimelineRoundOff=i,this.timelineModule.refreshTimelineByTimeSpan(),this.dataOperation.reUpdateGanttDataPosition(),!this.pdfExportModule||this.pdfExportModule&&!this.pdfExportModule.isPdfExport||this.pdfExportModule&&this.pdfExportModule.isPdfExport&&this.pdfExportModule.helper.exportProps&&this.pdfExportModule.helper.exportProps.fitToWidthSettings&&!this.pdfExportModule.helper.exportProps.fitToWidthSettings.isFitToWidth){this.timelineModule.updateChartByNewTimeline();var n=window.outerWidth/window.innerWidth;if(this.timelineModule.isZoomToFit&&!this.enableTimelineVirtualization&&n<1){var r=void 0;r=this.enableVirtualization?Math.abs(this.timelineModule.totalTimelineWidth-this.element.getElementsByClassName("e-chart-scroll-container e-content")[0].clientWidth)+1:Math.abs(this.timelineModule.totalTimelineWidth-this.ganttChartModule.chartBodyContent.parentElement.clientWidth),this.ganttChartModule.chartBodyContent.style.width=(0,o.IV)(this.timelineModule.totalTimelineWidth-r)}else this.ganttChartModule.chartBodyContent.style.width=(0,o.IV)(this.timelineModule.totalTimelineWidth);this.ganttChartModule.updateLastRowBottomWidth(),this.taskFields.dependency&&this.ganttChartModule.reRenderConnectorLines(),"beforeAdd"!==s&&this.notify("selectRowByIndex",{})}},t.prototype.splitTask=function(e,t){this.isEdit=!0,this.chartRowsModule.splitTask(e,t)},t.prototype.mergeTask=function(e,t){this.chartRowsModule.mergeTask(e,t)},t.prototype.reorderColumns=function(e,t){this.treeGrid.reorderColumns(e,t)},t.prototype.initiateEditAction=function(e){this.isOnEdit=e,this.previousRecords={},this.editedRecords=[]},t.prototype.setRecordValue=function(e,t,i,s){if(t=(0,o.b0)(t)?null:t,this.isOnEdit||this.isOnDelete){this.makeCloneData(e,i,s);var n=s?i:i.ganttProperties,r=e.includes(".")?e.split(".")[1]:e,a=n.rowUniqueID,l=this.getRecordByID(a),d=!1,h=[];if("childRecords"===e)for(var u=0;u<i.childRecords.length;u++)h[u]=this.removeCalendarContext(i.childRecords[u].ganttProperties);else h=i;if(d=!(!((0,o.hX)(t)||(0,o.hX)(i[""+r]))&&((0,o.hX)(t)||(0,o.hX)(i[""+r])||(t instanceof Date&&i[""+r]instanceof Date?t.getTime()===i[""+r].getTime():Array.isArray(t)||"object"==typeof t?JSON.stringify(t)===JSON.stringify(i[""+r]):i[""+r]===t)))||d,"totalDuration"===r&&l&&(d=i.progress!==l.ganttProperties.progress),this.treeGridModule.isDateColumnCellEdit&&(d=!0),l&&d&&(-1===this.editedRecords.indexOf(l)||0===this.editedRecords.length)){if(this.editModule.draggedRecord&&this.editModule.draggedRecord.ganttProperties.taskId===n.taskId?this.editedRecords.splice(0,0,l):this.editedRecords.push(l),this.undoRedoModule){-1===this.undoRedoModule.changedRecords.indexOf(l)&&this.undoRedoModule.changedRecords.push((0,o.X$)({},{},l,!0));var c=this.undoRedoModule.getUndoCollection,p=c.length>0?c[c.length-1].action:null;if(this.editModule&&this.editSettings.allowEditing&&!this.undoRedoModule.isUndoRedoPerformed&&!this.isOnDelete&&!this.isOnAdded&&"outdent"!==p&&"indent"!==p&&"RowDragAndDrop"!==p&&"TaskbarDragAndDrop"!==p){var m=this.previousFlatData.filter(function(e){return e.ganttProperties.taskId===l.ganttProperties.taskId})[0];m&&c[c.length-1]&&c[c.length-1].modifiedRecords&&-1===c[c.length-1].modifiedRecords.indexOf(m)&&c[c.length-1].modifiedRecords.push(m)}}this.enableImmutableMode&&this.modifiedRecords.push(l)}}(0,o.KY)(e,t,i)},t.prototype.makeCloneData=function(e,t,i){var s,n,r,a=(0,o._W)(e,t);i&&(e="ganttProperties."+e),(0,o.hX)(this.previousRecords[t.uniqueID])&&(this.previousRecords[t.uniqueID]={}),s=this.previousRecords[t.uniqueID],n=(0,o._W)(e,s),(0,o.b0)(n)&&(r=a instanceof Date?new Date(a.getTime()):(0,o.Rr)(a)?(0,o.X$)([],a,[],!0):(0,o.Gv)(a)?(0,o.X$)({},{},a,!0):a,(0,o.b0)(r)?(0,o.KY)(e,null,s):(0,o.KY)(e,r,s))},t.prototype.closeGanttActions=function(){this.editModule&&(this.editModule.cellEditModule&&this.editModule.cellEditModule.isCellEdit?(this.treeGrid.closeEdit(),this.editModule.cellEditModule.isCellEdit=!1,(0,o.hX)(this.toolbarModule)||this.toolbarModule.refreshToolbarItems()):this.editModule.dialogModule&&this.editModule.dialogModule.dialogObj&&this.editModule.dialogModule.dialogObj.visible&&(this.editModule.dialogModule.dialogObj.hide(),this.editModule.dialogModule.dialogClose()))},t.prototype.getTaskByUniqueID=function(e){var t=this.flatData.filter(function(t){return t.uniqueID===e});return t.length>0?t[0]:null},t.prototype.getRecordByID=function(e){return(0,o.hX)(e)?null:this.flatData[this.ids.indexOf(e.toString())]},t.prototype.setSplitterPosition=function(e,t){var i={};i[t]=e,"position"===t?this.splitterUpdateType="position":"columnIndex"===t&&(this.splitterUpdateType="columnIndex");var o=this.splitterModule.calculateSplitterPosition(i);switch(t){case"view":this.splitterSettings.view=i[t];break;case"columnIndex":this.splitterModule.isSplitterResized=!0,this.splitterSettings.columnIndex=i[t];break;case"position":this.splitterModule.isSplitterResized=!0,this.splitterSettings.position=i[t]}var s=this.splitterModule.splitterObject.element.querySelectorAll(".e-pane")[0],n=this.splitterModule.splitterObject.element.querySelectorAll(".e-pane")[1];this.splitterModule.splitterPreviousPositionGrid=s.scrollWidth+1+"px",this.splitterModule.splitterPreviousPositionChart=n.scrollWidth+1+"px",this.splitterModule.splitterObject.paneSettings[0].size=o,this.splitterModule.splitterObject.paneSettings[1].size=parseFloat("99.75%")-parseFloat(o)+"%",this.splitterModule.triggerCustomResizedEvent()},t.prototype.expandByIndex=function(e){if("number"==typeof e){var t=this.contructExpandCollapseArgs(null,e);this.ganttChartModule.isExpandCollapseFromChart=!0,this.ganttChartModule.expandGanttRow(t)}else for(var i=0;i<e.length;i++)if("number"==typeof e[i]){var o=e[i],t=this.contructExpandCollapseArgs(null,o);this.ganttChartModule.isExpandCollapseFromChart=!0,this.ganttChartModule.expandGanttRow(t)}},t.prototype.expandByID=function(e){this.enableVirtualization&&(this.isExpandPerformed=!0);var t=this.contructExpandCollapseArgs(e);this.ganttChartModule.isExpandCollapseFromChart=!0,this.ganttChartModule.expandGanttRow(t)},t.prototype.collapseByIndex=function(e){var t=this.contructExpandCollapseArgs(null,e);this.ganttChartModule.isExpandCollapseFromChart=!0,this.ganttChartModule.collapseGanttRow(t)},t.prototype.collapseByID=function(e){var t=this.contructExpandCollapseArgs(e);this.ganttChartModule.isExpandCollapseFromChart=!0,this.ganttChartModule.collapseGanttRow(t)},t.prototype.addRecord=function(e,t,i){if(this.editModule&&this.editSettings.allowAdding)if("ResourceView"===this.viewType){this.editModule.addRowPosition=t,this.editModule.addRowIndex=i;var s=void 0;(0,o.hX)(e)||(s=this.undoRedoModule&&this.undoRedoModule.isUndoRedoPerformed?e.ganttProperties.resourceInfo:e[this.taskFields.resourceInfo]);var n=void 0,r=void 0;if(!(0,o.hX)(s)&&s.length){for(var a=0;a<s.length&&(n="object"==typeof s[a]?s[a][this.resourceFields.id]:s[0],!(r=this.flatData[this.getTaskIds().indexOf("R"+n)]));a++);if(r&&(0===r.level||r.childRecords.length)){var l=r.childRecords[i];if("ResourceView"===this.viewType&&this.undoRedoModule&&this.undoRedoModule.isUndoRedoPerformed)this.editModule.addRecord(e,t,i);else if(l){var d="Above"===t||"Below"===t?t:"Child";"Child"===d?this.editModule.addRecord(e,d,this.getTaskIds().indexOf("R"+n)):this.editModule.addRecord(e,d,this.flatData.indexOf(l))}else this.editModule.addRecord(e,"Child",this.getTaskIds().indexOf("R"+n))}else this.editModule.addRecord(e,"Bottom")}else this.undoRedoModule&&this.undoRedoModule.isUndoRedoPerformed?this.editModule.addRecord(e,t,i):this.editModule.addRecord(e,"Bottom");this.editModule.addRowPosition=null,this.editModule.addRowIndex=null}else this.editModule.addRecord(e,t,i),"Bottom"===t&&(this.selectedRowIndex=i)},t.prototype.updateRecordByID=function(e){this.editModule&&this.editSettings.allowEditing&&(this.updateDuration=!0,this.editModule.updateRecordByID(e),this.updateDuration=!1)},t.prototype.getCurrentViewData=function(){return this.treeGrid.getCurrentViewRecords().map(function(e){return e.taskData})},t.prototype.autoFitColumns=function(e){this.treeGrid.autoFitColumns(e)},t.prototype.getTaskInfo=function(e){var t=this.getRecordByID(e),i={};if(t&&t.ganttProperties){var s=t.ganttProperties,n=this.taskFields,r={baseline:this.renderBaseline,isCritical:this.enableCriticalPath,progressWidth:n.progress,segments:n.segments,isAutoSchedule:s.isAutoSchedule,wbs:this.enableWBS};for(var a in r)if(Object.prototype.hasOwnProperty.call(r,a))switch(a){case"baseline":s.baselineStartDate&&s.baselineEndDate&&((0,o.hX)(s.baselineLeft)||(i.baselineLeft=s.baselineLeft),(0,o.hX)(s.baselineWidth)||(i.baselineWidth=s.baselineWidth));break;case"isCritical":s.isCritical&&(i.isCritical=s.isCritical,i.slack=s.slack);break;case"progressWidth":s.progressWidth&&(i.progressWidth=s.progressWidth);break;case"segments":s.segments&&(i.segments=s.segments);break;case"wbs":s.wbsCode&&(i.wbsCode=s.wbsCode),s.wbsPredecessor&&(i.wbsPredecessor=s.wbsPredecessor);break;case"isAutoSchedule":i.isAutoSchedule=s.isAutoSchedule,s.isAutoSchedule?(i.autoTaskLeft=s.left,i.autoTaskWidth=s.width):(!s.isAutoSchedule&&t.hasChildRecords&&(i.manualTaskAutoLeft=s.autoLeft,i.manualTaskAutoWidth=s.autoWidth),i.manualTaskLeft=s.left,i.manualTaskWidth=s.width)}}return i},t.prototype.updateTaskId=function(e,t){this.editModule&&this.editSettings.allowEditing&&this.editModule.updateTaskId(e,t)},t.prototype.expandAtLevel=function(e){this.enableVirtualization&&(this.isExpandCollapseLevelMethod=!0),this.ganttChartModule.expandAtLevel(e)},t.prototype.indent=function(){this.editModule&&this.editSettings.allowEditing&&this.editModule.indent()},t.prototype.outdent=function(){this.editModule&&this.editSettings.allowEditing&&this.editModule.outdent()},t.prototype.getUndoActions=function(){return this.undoRedoModule?this.undoRedoModule.getUndoCollection:[]},t.prototype.getRedoActions=function(){return this.undoRedoModule?this.undoRedoModule.getRedoCollection:[]},t.prototype.clearUndoCollection=function(){this.undoRedoModule&&(this.undoRedoModule.getUndoCollection=[],this.toolbarModule&&this.toolbarModule.enableItems([this.controlId+"_undo"],!1))},t.prototype.clearRedoCollection=function(){this.undoRedoModule&&(this.undoRedoModule.getRedoCollection=[],this.toolbarModule&&this.toolbarModule.enableItems([this.controlId+"_redo"],!1))},t.prototype.undo=function(){this.undoRedoModule&&this.undoRedoModule.undoAction()},t.prototype.redo=function(){this.undoRedoModule&&this.undoRedoModule.redoAction()},t.prototype.showCriticalPath=function(e){if(this.criticalPathModule){this.criticalPathModule.showCriticalPath(e);var t=this.criticalPathModule;this.criticalPathModule.criticalConnectorLine(t.criticalPathCollection,t.detailPredecessorCollection,!0,t.predecessorCollectionTaskIds)}},t.prototype.getCriticalTasks=function(){return!(0,o.hX)(this.criticalPathModule)&&this.enableCriticalPath?this.criticalPathModule.getCriticalTasks():null},t.prototype.zoomIn=function(){this.timelineModule.processZooming(!0)},t.prototype.zoomOut=function(){this.timelineModule.processZooming(!1)},t.prototype.fitToProject=function(){this.timelineModule.isZoomIn=!1,this.timelineModule.processZoomToFit(),this.ganttChartModule.updateScrollLeft(0)},t.prototype.reorderRows=function(e,t,i){this.rowDragAndDropModule.reorderRows(e,t,i)},t.prototype.updateRecordByIndex=function(e,t){if(this.editModule&&this.editSettings.allowEditing){var i=this.taskFields,s=this.updatedRecords.length>0?(0,o.hX)(this.updatedRecords[e])?null:this.updatedRecords[e]:null;(0,o.hX)(s)||(t[i.id]=s[i.id],this.editModule.updateRecordByID(t))}},t.prototype.addPredecessor=function(e,t){if(this.connectorLineModule){var i=this.connectorLineModule.getRecordByID(e.toString());this.editModule&&!(0,o.hX)(i)&&this.editSettings.allowTaskbarEditing&&this.connectorLineEditModule.addPredecessor(i,t)}},t.prototype.removePredecessor=function(e){if(this.connectorLineModule){var t=this.connectorLineModule.getRecordByID(e.toString());this.editModule&&!(0,o.hX)(t)&&this.editSettings.allowTaskbarEditing&&this.connectorLineEditModule.removePredecessor(t)}},t.prototype.updatePredecessor=function(e,t){if(this.connectorLineModule){var i=this.taskFields.dependency,s=this.connectorLineModule.getRecordByID(e.toString());if(this.editModule&&!(0,o.hX)(s)&&this.editSettings.allowTaskbarEditing){var n=t.split(","),r=this.treeGridModule.maxLimits(this.durationUnit),a=this.treeGridModule.updatePredecessorLimits(n,s[i],r);this.connectorLineEditModule.updatePredecessor(s,a)}}},t.prototype.openAddDialog=function(){this.editModule&&this.editModule.dialogModule&&this.editSettings.allowAdding&&this.editModule.dialogModule.openAddDialog()},t.prototype.openEditDialog=function(e){this.editModule&&this.editModule.dialogModule&&this.editSettings.allowEditing&&this.editModule.dialogModule.openEditDialog(e)},t.prototype.contructExpandCollapseArgs=function(e,t){if((0,o.hX)(t)&&e)i=this.getRecordByID(e.toString()),n=this.getRowByID(e),(0,o.hX)(n)||(s=(0,o._W)("rowIndex",n));else if(!(0,o.hX)(t)){var i,s,n=this.getRowByIndex(t),r=this.focusModule.isFromKeyboardAction;s=r?(0,o._W)("rowIndex",n):t,i=r?this.currentViewData[s]:this.flatData[s]}return{data:i,gridRow:this.treeGrid.getRows()[s],chartRow:n,cancel:!1}},t.prototype.getRowByIndex=function(e){try{var t=this.element.querySelectorAll(".e-chart-row");if(!(0,o.hX)(e))return t[e];return null}catch(e){return null}},t.prototype.getRowByID=function(e){var t,i=this,o=this.getRecordByID(e.toString());return -1!==(t=this.loadChildOnDemand&&this.taskFields.hasChildMapping?this.updatedRecords.map(function(e){return e[i.taskFields.id]}).indexOf(o.ganttProperties.taskId):this.enableVirtualization?this.currentViewData.indexOf(o):this.updatedRecords.indexOf(o))?this.getRowByIndex(t):null},t.prototype.getUnscheduledTaskClass=function(e){return(0,o.hX)(e.startDate)&&(0,o.hX)(e.endDate)&&(0,o.hX)(e.duration)||(0,o.hX)(e.startDate)||(0,o.hX)(e.endDate)||(0,o.hX)(e.duration)?" "+x.Zc:""},t.prototype.isUnscheduledTask=function(e){return!!((0,o.hX)(e.startDate)||(0,o.hX)(e.endDate)||(0,o.hX)(e.duration))},t.prototype.createGanttPopUpElement=function(){var e=this.createElement("div",{className:"e-ganttpopup",styles:"display:none;"}),t=this.createElement("div",{className:"e-content",attrs:{tabIndex:"-1"}});(0,o.BC)([t,this.createElement("div",{className:"e-uptail e-tail"})],e),t.appendChild(this.createElement("span")),(0,o.BC)([t,this.createElement("div",{className:"e-downtail e-tail"})],e),document.getElementById(this.element.id+"GanttChart").appendChild(e)},t.prototype.getPredecessorTextValue=function(e){var t;switch(e){case"SS":t=this.localeObj.getConstant("start")+"-"+this.localeObj.getConstant("start");break;case"FF":t=this.localeObj.getConstant("finish")+"-"+this.localeObj.getConstant("finish");break;case"SF":t=this.localeObj.getConstant("start")+"-"+this.localeObj.getConstant("finish");break;case"FS":t=this.localeObj.getConstant("finish")+"-"+this.localeObj.getConstant("start")}return t},t.prototype.search=function(e){this.filterModule&&(this.searchSettings.key=e,this.dataBind())},t.prototype.getOffsetRect=function(e){var t=e.getBoundingClientRect(),i=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,o=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft,s=document.documentElement.clientTop||document.body.clientTop||0,n=document.documentElement.clientLeft||document.body.clientLeft||0;return{top:Math.round(t.top+i-s),left:Math.round(this.enableRtl?t.right+o-n:t.left+o-n),width:t.width,height:t.height}},t.prototype.expandAll=function(){this.ganttChartModule.expandCollapseAll("expand")},t.prototype.updateDataSource=function(e,t){if(this.isDynamicData=!0,!(0,o.hX)(t))for(var i=0,s=Object.keys(t);i<s.length;i++){var n=s[i];switch(n){case"projectStartDate":this.setProperties({projectStartDate:t[n]},!0);break;case"projectEndDate":this.setProperties({projectEndDate:t[n]},!0)}}this.ganttChartModule.scrollObject.element.scrollLeft=0,this.dataSource=e},t.prototype.collapseAll=function(){this.ganttChartModule.expandCollapseAll("collapse")},t.prototype.getGridColumns=function(){return this.treeGrid.getColumns()},t.prototype.getColumnByField=function(e,t){var i=t.filter(function(t){return t.field===e});return i.length>0?i[0]:null},t.prototype.getGanttColumns=function(){return this.updateColumnModel(this.getGridColumns()),this.ganttColumns},t.prototype.updateColumnModel=function(e){var t,i,s=(0,o.hX)(e)?this.getGridColumns():e;if(-1!==this.treeColumnIndex&&this.ganttColumns[this.treeColumnIndex]&&!(0,o.hX)(this.ganttColumns[this.treeColumnIndex].template)&&(t=this.ganttColumns[this.treeColumnIndex].template,i=this.ganttColumns[this.treeColumnIndex].field),this.ganttColumns.length===s.length)for(var n=0;n<s.length;n++){for(var r=0,a=Object.keys(this.ganttColumns[parseInt(n.toString(),10)]);r<a.length;r++){var l=a[r];this.ganttColumns[parseInt(n.toString(),10)][""+l]=s[parseInt(n.toString(),10)][""+l]}i!==this.ganttColumns[parseInt(n.toString(),10)].field||"checkbox"===this.ganttColumns[parseInt(n.toString(),10)].type||(0,o.hX)(t)||""===t||(this.ganttColumns[parseInt(n.toString(),10)].template=t)}return this.ganttColumns},t.prototype.showColumn=function(e,t){this.treeGrid.showColumns(e,t),this.updateTreeColumns()},t.prototype.hideColumn=function(e,t){this.treeGrid.hideColumns(e,t),this.updateTreeColumns()},t.prototype.setScrollTop=function(e){this.ganttChartModule.scrollObject.setScrollTop(e)},t.prototype.cancelEdit=function(){this.isCancelled=!0,this.closeGanttActions()},t.prototype.selectCell=function(e,t){this.selectionModule&&this.selectionModule.selectCell(e,t)},t.prototype.selectCells=function(e){this.selectionModule&&this.selectionModule.selectCells(e)},t.prototype.selectRow=function(e,t){this.selectionModule&&this.selectionModule.selectRow(e,t)},t.prototype.selectRows=function(e){this.selectionModule&&this.selectionModule.selectRows(e)},t.prototype.deleteRecord=function(e){this.editModule&&this.editModule.deleteRecord(e)},t.prototype.enableItems=function(e,t){this.toolbarModule&&this.toolbarModule.enableItems(e,t)},t.prototype.clearSelection=function(){this.selectionModule&&this.selectionModule.clearSelection()},t.prototype.updateDataArgs=function(e){if(!Array.isArray(e.data)){var t=[];t.push(e.data),(0,o.KY)("data",t,e)}return e},t.prototype.convertToMilestone=function(e){var t=this.getRecordByID(e);if(!(0,o.hX)(t)){var i=(0,o.X$)({},{},t.taskData,!0),s=this.taskFields;if(i[s.startDate]&&this.setRecordValue(s.startDate,t.ganttProperties.startDate,i,!0),(0,o.hX)(s.duration)?(i[s.startDate]=new Date(t.ganttProperties.startDate),i[s.endDate]=new Date(t.ganttProperties.endDate)):i[s.duration]=0,(0,o.hX)(s.work)||(i[s.work]=null),(0,o.hX)(s.milestone)||!1!==i[s.milestone]||(i[s.milestone]=!0),(0,o.hX)(s.progress)||(i[s.progress]=0),!(0,o.hX)(s.child)&&i[s.child]&&(i[s.child]=[]),!(0,o.hX)(s.parentID)&&i[s.parentID]&&(i[s.parentID]=null),(0,o.hX)(s.segments)||((0,F.x$)(this.dataSource)?i[s.segments]=[]:i[s.segments]=null),"FixedWork"===((0,o.hX)(t.ganttProperties.taskType)?this.taskType:t.ganttProperties.taskType)&&((0,o.hX)(i[s.work])?t.ganttProperties.work=0:i[s.work]=0),!(0,o.hX)(this.contextMenuModule)&&this.contextMenuModule.isOpen&&"Milestone"===this.contextMenuModule.item){(0,o.hX)(s.dependency)||(i[s.dependency]=null);var n=this.editSettings.newRowPosition;this.addRecord(i,n,this.selectedRowIndex)}else t.hasChildRecords||t.ganttProperties.isMilestone||(this.isConvertedMilestone=!0,this.updateRecordByID(i),this.isConvertedMilestone=!1)}},t.prototype.changeTaskMode=function(e){if(this.undoRedoModule&&!this.undoRedoModule.isUndoRedoPerformed){this.undoRedoModule.redoEnabled&&this.undoRedoModule.disableRedo(),this.undoRedoModule.createUndoCollection();var t={};t.action="TaskMode",t.modifiedRecords=(0,o.X$)([],[e],[],!0),this.undoRedoModule.getUndoCollection[this.undoRedoModule.getUndoCollection.length-1]=t}var i=this.taskFields,s=this.getRecordByID(e[i.id]),n=s.ganttProperties;this.isOnEdit=!0,this.setRecordValue("isAutoSchedule",!n.isAutoSchedule,n,!0),(0,o.hX)(this.taskFields.manual)||(this.setRecordValue("taskData."+i.manual,!n.isAutoSchedule,s),this.setRecordValue(i.manual,!n.isAutoSchedule,s)),this.editModule.updateTaskScheduleModes(s),this.editModule.initiateUpdateAction({data:s})},t.prototype.getTaskIds=function(){return this.taskIds},t.prototype.setTaskIds=function(e){if("ProjectView"!==this.viewType){var t=e.ganttProperties.taskId;t=0===e.level?"R"+t:"T"+t,this.taskIds.push(t)}},t.prototype.renderTemplates=function(){this.isReact&&this.renderReactTemplates()},t.prototype.resetTemplates=function(){this.isReact&&this.clearTemplate(["TaskbarTemplate","ParentTaskbarTemplate","MilestoneTemplate","BaselineTemplate","TaskLabelTemplate","RightLabelTemplate","LeftLabelTemplate","TooltipTaskbarTemplate","TooltipBaselineTemplate","TooltipConnectorLineTemplate","TimelineTemplate"])},t.prototype.getFrozenColumnsCount=function(){return this.getFrozenCount(!(0,o.hX)(this.columns)&&this.columns,0)+this.frozenColumns},t.prototype.getFrozenCount=function(e,t){for(var i=0,o=e.length;i<o;i++)e[parseInt(i.toString(),10)].isFrozen&&t++;return t},t.prototype.normalizeTranslate=function(e){return!e.includes(",")&&navigator.userAgent.includes("Firefox")&&(e="translate("+e.substring(e.lastIndexOf("(")+1,e.lastIndexOf(")"))+", 0px)"),e},t.prototype.getTranslateY=function(e){return e.length>1?e[1].trim():e[0].trim()},z([(0,o.mA)(!1)],t.prototype,"autoUpdatePredecessorOffset",void 0),z([(0,o.mA)(!0)],t.prototype,"allowKeyboard",void 0),z([(0,o.mA)(!1)],t.prototype,"enableImmutableMode",void 0),z([(0,o.mA)(!0)],t.prototype,"allowParentDependency",void 0),z([(0,o.mA)(!0)],t.prototype,"enableHtmlSanitizer",void 0),z([(0,o.mA)(!0)],t.prototype,"disableHtmlEncode",void 0),z([(0,o.pr)({},u.I)],t.prototype,"loadingIndicator",void 0),z([(0,o.mA)(!0)],t.prototype,"enableVirtualMaskRow",void 0),z([(0,o.mA)(!1)],t.prototype,"enableInfiniteTimelineScroll",void 0),z([(0,o.mA)(!0)],t.prototype,"loadChildOnDemand",void 0),z([(0,o.mA)(!0)],t.prototype,"updateOffsetOnTaskbarEdit",void 0),z([(0,o.mA)(!0)],t.prototype,"autoCalculateDateScheduling",void 0),z([(0,o.mA)(!0)],t.prototype,"autoFocusTasks",void 0),z([(0,o.mA)(!1)],t.prototype,"enableAdaptiveUI",void 0),z([(0,o.mA)(!1)],t.prototype,"enableWBS",void 0),z([(0,o.mA)(!1)],t.prototype,"enableAutoWbsUpdate",void 0),z([(0,o.mA)(!0)],t.prototype,"allowSelection",void 0),z([(0,o.mA)(!1)],t.prototype,"enableHover",void 0),z([(0,o.mA)(!1)],t.prototype,"allowSorting",void 0),z([(0,o.mA)(!0)],t.prototype,"enablePredecessorValidation",void 0),z([(0,o.mA)(!1)],t.prototype,"showColumnMenu",void 0),z([(0,o.mA)()],t.prototype,"columnMenuItems",void 0),z([(0,o.mA)(["Sorting","Add","ColumnReorder","ColumnResize","ColumnState","Delete","Edit","Filtering","Indent","Outdent","NextTimeSpan","PreviousTimeSpan","RowDragAndDrop","TaskbarDragAndDrop","Search","ZoomIn","ZoomOut","ZoomToFit"])],t.prototype,"undoRedoActions",void 0),z([(0,o.mA)(null)],t.prototype,"timezone",void 0),z([(0,o.mA)(!1)],t.prototype,"collapseAllParentTasks",void 0),z([(0,o.mA)(!1)],t.prototype,"highlightWeekends",void 0),z([(0,o.mA)(0)],t.prototype,"treeColumnIndex",void 0),z([(0,o.mA)([])],t.prototype,"dataSource",void 0),z([(0,o.mA)("day")],t.prototype,"durationUnit",void 0),z([(0,o.mA)(null)],t.prototype,"query",void 0),z([(0,o.mA)(null)],t.prototype,"dateFormat",void 0),z([(0,o.mA)("auto")],t.prototype,"height",void 0),z([(0,o.mA)(!1)],t.prototype,"renderBaseline",void 0),z([(0,o.mA)(null)],t.prototype,"baselineTemplate",void 0),z([(0,o.pr)({},d.g)],t.prototype,"calendarSettings",void 0),z([(0,o.mA)(!1)],t.prototype,"allowTaskbarDragAndDrop",void 0),z([(0,o.mA)(!0)],t.prototype,"allowTaskbarOverlap",void 0),z([(0,o.mA)("Horizontal")],t.prototype,"gridLines",void 0),z([(0,o.pr)({},k.g)],t.prototype,"labelSettings",void 0),z([(0,o.mA)(null)],t.prototype,"taskbarTemplate",void 0),z([(0,o.mA)(null)],t.prototype,"parentTaskbarTemplate",void 0),z([(0,o.mA)(null)],t.prototype,"timelineTemplate",void 0),z([(0,o.mA)(null)],t.prototype,"milestoneTemplate",void 0),z([(0,o.mA)()],t.prototype,"baselineColor",void 0),z([(0,o.mA)("auto")],t.prototype,"width",void 0),z([(0,o.mA)(!1)],t.prototype,"enableVirtualization",void 0),z([(0,o.mA)(!1)],t.prototype,"enableTimelineVirtualization",void 0),z([(0,o.mA)()],t.prototype,"toolbar",void 0),z([(0,o.mA)(["Monday","Tuesday","Wednesday","Thursday","Frid
1ay"])],t.prototype,"workWeek",void 0),z([(0,o.mA)(!1)],t.prototype,"includeWeekend",void 0),z([(0,o.mA)(!1)],t.prototype,"allowUnscheduledTasks",void 0),z([(0,o.mA)(!1)],t.prototype,"showInlineNotes",void 0),z([(0,o.mA)(36)],t.prototype,"rowHeight",void 0),z([(0,o.mA)(null)],t.prototype,"taskbarHeight",void 0),z([(0,o.mA)(null)],t.prototype,"projectStartDate",void 0),z([(0,o.mA)(null)],t.prototype,"projectEndDate",void 0),z([(0,o.mA)(null)],t.prototype,"resourceIDMapping",void 0),z([(0,o.mA)(null)],t.prototype,"resourceNameMapping",void 0),z([(0,o.mA)([])],t.prototype,"resources",void 0),z([(0,o.mA)([])],t.prototype,"segmentData",void 0),z([(0,o.mA)(null)],t.prototype,"connectorLineBackground",void 0),z([(0,o.mA)(1)],t.prototype,"connectorLineWidth",void 0),z([(0,o.mA)([])],t.prototype,"columns",void 0),z([(0,o.mA)([])],t.prototype,"addDialogFields",void 0),z([(0,o.mA)([])],t.prototype,"editDialogFields",void 0),z([(0,o.mA)(-1)],t.prototype,"selectedRowIndex",void 0),z([(0,o.mA)("hour")],t.prototype,"workUnit",void 0),z([(0,o.mA)("FixedUnit")],t.prototype,"taskType",void 0),z([(0,o.mA)("ProjectView")],t.prototype,"viewType",void 0),z([(0,o.pM)([{from:8,to:12},{from:13,to:17}],c.f)],t.prototype,"dayWorkingTime",void 0),z([(0,o.pM)([],V.J)],t.prototype,"weekWorkingTime",void 0),z([(0,o.pM)([],p.V)],t.prototype,"holidays",void 0),z([(0,o.pM)([],m.h)],t.prototype,"eventMarkers",void 0),z([(0,o.pr)({},g.L)],t.prototype,"taskFields",void 0),z([(0,o.pr)({},b.u)],t.prototype,"resourceFields",void 0),z([(0,o.pr)({},y.F)],t.prototype,"timelineSettings",void 0),z([(0,o.mA)([])],t.prototype,"zoomingLevels",void 0),z([(0,o.pr)({},h.K)],t.prototype,"sortSettings",void 0),z([(0,o.pr)({},f.g)],t.prototype,"editSettings",void 0),z([(0,o.pr)({},v.N)],t.prototype,"tooltipSettings",void 0),z([(0,o.pr)({},M.s)],t.prototype,"selectionSettings",void 0),z([(0,o.mA)(!1)],t.prototype,"allowFiltering",void 0),z([(0,o.mA)(!1)],t.prototype,"allowExcelExport",void 0),z([(0,o.mA)(!1)],t.prototype,"allowRowDragAndDrop",void 0),z([(0,o.mA)(!1)],t.prototype,"allowReordering",void 0),z([(0,o.mA)(!1)],t.prototype,"readOnly",void 0),z([(0,o.mA)(!1)],t.prototype,"allowResizing",void 0),z([(0,o.mA)(!1)],t.prototype,"enableContextMenu",void 0),z([(0,o.mA)(!1)],t.prototype,"enableCriticalPath",void 0),z([(0,o.mA)(!1)],t.prototype,"enableUndoRedo",void 0),z([(0,o.mA)(10)],t.prototype,"undoRedoStepsCount",void 0),z([(0,o.mA)()],t.prototype,"contextMenuItems",void 0),z([(0,o.mA)(!1)],t.prototype,"allowPdfExport",void 0),z([(0,o.mA)(!1)],t.prototype,"validateManualTasksOnLinking",void 0),z([(0,o.mA)(!1)],t.prototype,"enableMultiTaskbar",void 0),z([(0,o.mA)(!1)],t.prototype,"showOverAllocation",void 0),z([(0,o.mA)("Auto")],t.prototype,"taskMode",void 0),z([(0,o.mA)(0)],t.prototype,"frozenColumns",void 0),z([(0,o.mA)()],t.prototype,"emptyRecordTemplate",void 0),z([(0,o.pr)({},w.U)],t.prototype,"filterSettings",void 0),z([(0,o.pr)({},C.i)],t.prototype,"searchSettings",void 0),z([(0,o.pr)({},T.R)],t.prototype,"splitterSettings",void 0),z([(0,o.Jh)()],t.prototype,"queryTaskbarInfo",void 0),z([(0,o.Jh)()],t.prototype,"beforeExcelExport",void 0),z([(0,o.Jh)()],t.prototype,"excelExportComplete",void 0),z([(0,o.Jh)()],t.prototype,"excelQueryCellInfo",void 0),z([(0,o.Jh)()],t.prototype,"excelHeaderQueryCellInfo",void 0),z([(0,o.Jh)()],t.prototype,"rowDrag",void 0),z([(0,o.Jh)()],t.prototype,"rowDragStart",void 0),z([(0,o.Jh)()],t.prototype,"rowDragStartHelper",void 0),z([(0,o.Jh)()],t.prototype,"rowDrop",void 0),z([(0,o.Jh)()],t.prototype,"collapsing",void 0),z([(0,o.Jh)()],t.prototype,"collapsed",void 0),z([(0,o.Jh)()],t.prototype,"expanding",void 0),z([(0,o.Jh)()],t.prototype,"expanded",void 0),z([(0,o.Jh)()],t.prototype,"actionBegin",void 0),z([(0,o.Jh)()],t.prototype,"cellSave",void 0),z([(0,o.Jh)()],t.prototype,"actionComplete",void 0),z([(0,o.Jh)()],t.prototype,"actionFailure",void 0),z([(0,o.Jh)()],t.prototype,"dataStateChange",void 0),z([(0,o.Jh)()],t.prototype,"dataSourceChanged",void 0),z([(0,o.Jh)()],t.prototype,"taskbarEdited",void 0),z([(0,o.Jh)()],t.prototype,"endEdit",void 0),z([(0,o.Jh)()],t.prototype,"cellEdit",void 0),z([(0,o.Jh)()],t.prototype,"load",void 0),z([(0,o.Jh)()],t.prototype,"created",void 0),z([(0,o.Jh)()],t.prototype,"destroyed",void 0),z([(0,o.Jh)()],t.prototype,"taskbarEditing",void 0),z([(0,o.Jh)()],t.prototype,"dataBound",void 0),z([(0,o.Jh)()],t.prototype,"beforeDataBound",void 0),z([(0,o.Jh)()],t.prototype,"resizeStart",void 0),z([(0,o.Jh)()],t.prototype,"resizing",void 0),z([(0,o.Jh)()],t.prototype,"resizeStop",void 0),z([(0,o.Jh)()],t.prototype,"splitterResizeStart",void 0),z([(0,o.Jh)()],t.prototype,"splitterResizing",void 0),z([(0,o.Jh)()],t.prototype,"splitterResized",void 0),z([(0,o.Jh)()],t.prototype,"columnDragStart",void 0),z([(0,o.Jh)()],t.prototype,"columnDrag",void 0),z([(0,o.Jh)()],t.prototype,"columnDrop",void 0),z([(0,o.Jh)()],t.prototype,"beforeTooltipRender",void 0),z([(0,o.Jh)()],t.prototype,"rowSelecting",void 0),z([(0,o.Jh)()],t.prototype,"rowSelected",void 0),z([(0,o.Jh)()],t.prototype,"rowDeselecting",void 0),z([(0,o.Jh)()],t.prototype,"rowDeselected",void 0),z([(0,o.Jh)()],t.prototype,"cellSelecting",void 0),z([(0,o.Jh)()],t.prototype,"cellSelected",void 0),z([(0,o.Jh)()],t.prototype,"cellDeselecting",void 0),z([(0,o.Jh)()],t.prototype,"cellDeselected",void 0),z([(0,o.Jh)()],t.prototype,"queryCellInfo",void 0),z([(0,o.Jh)()],t.prototype,"headerCellInfo",void 0),z([(0,o.Jh)()],t.prototype,"rowDataBound",void 0),z([(0,o.Jh)()],t.prototype,"columnMenuOpen",void 0),z([(0,o.Jh)()],t.prototype,"toolbarClick",void 0),z([(0,o.Jh)()],t.prototype,"columnMenuClick",void 0),z([(0,o.Jh)()],t.prototype,"contextMenuOpen",void 0),z([(0,o.Jh)()],t.prototype,"contextMenuClick",void 0),z([(0,o.Jh)()],t.prototype,"onTaskbarClick",void 0),z([(0,o.Jh)()],t.prototype,"recordDoubleClick",void 0),z([(0,o.Jh)()],t.prototype,"onMouseMove",void 0),z([(0,o.Jh)()],t.prototype,"beforePdfExport",void 0),z([(0,o.Jh)()],t.prototype,"pdfExportComplete",void 0),z([(0,o.Jh)()],t.prototype,"pdfQueryCellInfo",void 0),z([(0,o.Jh)()],t.prototype,"pdfQueryTaskbarInfo",void 0),z([(0,o.Jh)()],t.prototype,"pdfQueryTimelineCellInfo",void 0),z([(0,o.Jh)()],t.prototype,"pdfColumnHeaderQueryCellInfo",void 0),t=z([o.kc],t)}(o.uA)}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.