// [AIV_SHORT]  Build version: 5.6.6 - Monday, November 24th, 2025, 8:48:15 PM  
 (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[17],{4138:function(t,e,a){},4389:function(t,e,a){"use strict";a("4138")},"76c3":function(t,e,a){"use strict";a.r(e);var n=function(){var t=this,e=t._self._c;return e("q-page",{attrs:{padding:""}},[e("design-data-toolbar",{staticClass:"q-mb-xs",attrs:{actions:[{id:"print",label:"print"}],breadcrumbs:[{label:t.$t("common.projectmanagement"),icon:"bi-bar-chart-steps"},{label:t.$t("common.ganttchart"),icon:"bi-calendar3-range"}]},on:{print:t.onPrint}}),e("div",{staticClass:"fit row items-start no-wrap"},[e("div",{staticClass:"col-12 reposyd-ba-xs",staticStyle:{height:"calc(100vh - 150px)"}},[e("div",{ref:"chart",staticClass:"fit gantt",staticStyle:{position:"relative"},attrs:{id:"chart"}})])]),e("processing-spinner",{attrs:{processing:t.processing}})],1)},o=[],i=a("278c"),s=a.n(i),r=a("7ec2"),c=a.n(r),d=a("c973"),u=a.n(d),l=(a("b0c0"),a("e9c4"),a("b64b"),a("d3b7"),a("e6cf"),a("a79d"),a("159b"),a("61c0")),p=a("b6bd"),g=a("c76f"),h=a("233c"),m=a("a9f3"),f=a.n(m),b=a("1d2d"),y=a("065a"),v={components:{ProcessingSpinner:b["a"],DesignDataToolbar:y["a"]},methods:{export2xml:function(){},onPrint:function(t){this.$simplePrint("#chart",{useExistingStylesheets:!0,windowTitle:"".concat(this.project().name)})},load:function(){},rowClicked:function(t){var e=this;this.$q.dialog({component:p["a"],dd:t.getDataObject().ddo.definition.id,ddo:t.getDataObject().ddo,parent:this,teams:this.teams,title:this.$tc("dialog.ddo.edit",1,{ddo_title:this.$profile().translate(t.getDataObject().ddo.definition.title)}),values:t.getDataObject().ddo.attributes}).onOk((function(a){e.processing=!0,e.$reposyd.put("/api/solution/:solution/designdataobjects/:uuid",{uuid:t.getDataObject().ddo.uuid},a).then((function(a){t.setName(a.attributes.title),t.getDataObject().ddo=a,e.g.Draw(),e.notifySuccess(e.$t("message.ddo.changed",{title:a.attributes.title,puid:a.puid}))})).catch((function(t){h["ErrorHandling"].isVersionConflict(t)?(e.processing=!1,e.$q.dialog({component:g["a"],conflicts:t.response.data,parent:e}).onOk(function(){var t=u()(c()().mark((function t(a){var n,o,i,s;return c()().wrap((function(t){while(1)switch(t.prev=t.next){case 0:for(n=JSON.parse(JSON.stringify(a)),o=0,i=Object.keys(a.diff);o<i.length;o++)s=i[o],n.attributes[s]=a.diff[s].diff;n.cm=a.left.cm,e.saveObject(n);case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}())):e.notifyError(t)})).finally((function(){e.processing=!1}))}))}},mounted:function(){var t=this;this.load(),this.g=new f.a.GanttChart(document.getElementById("chart"),"week"),this.g.addLang("de-DE",{january:"Januar",february:"Februar",march:"März",april:"April",maylong:"Mai",june:"Juni",july:"Juli",august:"August",september:"September",october:"Oktober",november:"November",december:"Dezmber",jan:"Jan.",feb:"Feb.",mar:"März",apr:"Apr.",may:"Mai",jun:"Jun.",jul:"Jul.",aug:"Aug.",sep:"Sep.",oct:"Okt.",nov:"Nov.",dec:"Dez.",sunday:"Sonntag",monday:"Montag",tuesday:"Dienstag",wednesday:"Mittwoch",thursday:"Donnerstag",friday:"Freitag",saturday:"Samstag",sun:"So",mon:"Mo",tue:"Di",wed:"Mi",thu:"Do",fri:"Fr",sat:"Sa",comp:"% Fertig",completion:"Fertig",day:"Tag",days:"Tage",duration:"Dauer",dy:"Tag",format:"Skala",hour:"Stunde",hours:"Stunden",hr:"Std",hrs:"Std",enddate:"Ende",startdate:"Beginn",month:"Monat",months:"Monate",moreinfo:"Weitere Informationen",notes:"Beschreibung",planenddate:"Geplantes Ende",planstartdate:"Geplanter Beginn",qtr:"Quartal",qtrs:"Quartale",quarter:"Quartal",quarters:"Quartale",resource:"Ressource",week:"Woche",weeks:"Wochen",wk:"Woche",wks:"Wochen"}),this.g.setOptions({vCaptionType:"Complete",vQuarterColWidth:36,vDateTaskDisplayFormat:"day dd month yyyy",vDayMajorDateDisplayFormat:"mon yyyy - Week ww",vWeekMinorDateDisplayFormat:"dd mon",vLang:this.$profile().displayLanguage.substr(0,2),vRowHeight:40,vShowComp:0,vShowPlanStartDate:1,vShowPlanEndDate:1,vShowRes:1,vShowTaskInfoLink:1,vShowEndWeekDate:0,vUseSingleCell:1e4,vUseSort:0,vFormatArr:["Day","Week","Month","Quarter"],vEventClickRow:this.rowClicked,vAdditionalHeaders:{puid:{title:"PUID"}}}),this.g.setTotalHeight("calc(100vh - 152px)"),this.processing=!0,this.$reposyd.all([["get","/api/solution/:solution/wbs/gantt?format=jsgantt"],["get","/api/accesscontrol/:project/teams"]]).then((function(e){var a=s()(e,2),n=a[0],o=a[1];t.teams=o,n.forEach((function(e){e.pGroup,e.pGantt=t.g,e.pLink="/#/designdata/designdataobject/".concat(e.ddo.uuid),t.g.AddTaskItemObject(e)})),t.g.Draw(),t.processing=!1})).catch((function(e){t.notifyError(e),t.processing=!1}))},name:"PageGantt",data:function(){return{g:null,processing:!1,teams:[]}},extends:l["a"]},w=v,D=(a("4389"),a("2877")),S=a("9989"),k=a("eebe"),j=a.n(k),O=Object(D["a"])(w,n,o,!1,null,null,null);e["default"]=O.exports;j()(O,"components",{QPage:S["a"]})}}]); 