// [AIV_SHORT]  Build version: 5.6.10rc6 - Monday, May 11th, 2026, 12:50:15 PM  
 (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[64],{3646:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t._self._c;return e("q-page",{attrs:{padding:""}},[e("q-breadcrumbs",{staticClass:"q-mb-md"},[e("q-breadcrumbs-el",{attrs:{label:t.$t("menu.multiprojectmanagement"),icon:"mdi-bank"}}),e("q-breadcrumbs-el",{attrs:{label:t.$tc("common.dashboard",1)}})],1),e("q-toolbar",[e("q-space"),e("q-btn",{attrs:{flat:"",round:"",dense:"",icon:"mdi-cached"},on:{click:function(e){return t.load()}}})],1),e("ApexChart",{ref:"actions",staticClass:"col q-mt-md shadow-5",attrs:{height:"200",type:"bar",options:t.charts.actionsPerProject.options,series:t.charts.actionsPerProject.series}}),e("ApexChart",{ref:"scheduling",staticClass:"col q-mt-md shadow-5",attrs:{height:"200",type:"bar",options:t.charts.scheduling.options,series:t.charts.scheduling.series}})],1)},o=[],n=s("ded3"),i=s.n(n),r=s("278c"),c=s.n(r),l=(s("d81d"),s("14d9"),s("b0c0"),s("b64b"),s("d3b7"),s("159b"),s("61c0")),d={methods:{load:function(){var t=this;this.$reposyd.all([["get","/api/multiprojectmanagement/:solution/actiontracking/statistics"]]).then((function(e){var s=c()(e,1),a=s[0],o=[],n=[];Object.keys(a.byProject.categories).forEach((function(e){"aborted"===e?o.push("#c0c0c0"):"done"===e?o.push("#4682B4"):"inprogress"===e?o.push("#6B8E23"):"notstarted"===e?o.push("#B22222"):"onhold"===e&&o.push("#DAA520"),n.push({name:t.$tc("states.action.".concat(e)),data:a.byProject.categories[e]})})),t.charts.actionsPerProject.options=i()(i()({},t.charts.actionsPerProject.options),{colors:o,xaxis:{categories:a.byProject.projects.map((function(t){return t.name}))},series:n}),o=["#6B8E23","#B22222","#C0C0C0"],n=[{name:t.$tc("label.asplanned"),data:a.scheduling.categories.asplanned},{name:t.$tc("label.overdue"),data:a.scheduling.categories.overdue},{name:t.$tc("label.unplanned"),data:a.scheduling.categories.unplanned}],t.charts.scheduling.options=i()(i()({},t.charts.scheduling.options),{colors:o,xaxis:{categories:a.scheduling.projects.map((function(t){return t.name}))},series:n})})).catch((function(e){t.notifyError(e)}))}},mounted:function(){this.load()},name:"MultiProjectManagementDashboard",extends:l["a"],data:function(){return{charts:{actionsPerProject:{options:{colors:["#F44336","#E91E63","#9C27B0","#F44336","#E91E63","#9C27B0"],chart:{type:"bar",height:350,stacked:!0,stackType:"100%"},responsive:[{breakpoint:480,options:{legend:{position:"bottom",offsetX:-10,offsetY:0}}}],title:{text:this.$tc("chart.title.summaryactionsbyproject"),align:"center"},xaxis:{categories:[]},fill:{opacity:1},legend:{position:"right",offsetX:0,offsetY:50}},series:[]},preview:{options:{chart:{height:450,type:"rangeBar"},plotOptions:{bar:{horizontal:!0,barHeight:"80%"}},xaxis:{type:"datetime"},stroke:{width:1},fill:{type:"solid",opacity:.6},legend:{position:"top",horizontalAlign:"left"}},series:[]},scheduling:{options:{colors:["#F44336","#E91E63","#9C27B0","#F44336","#E91E63","#9C27B0"],chart:{type:"bar",height:350,stacked:!0,stackType:"100%"},responsive:[{breakpoint:480,options:{legend:{position:"bottom",offsetX:-10,offsetY:0}}}],title:{text:this.$tc("chart.title.summaryscheduling"),align:"center"},xaxis:{categories:[]},fill:{opacity:1},legend:{position:"right",offsetX:0,offsetY:50}},series:[]}},preview:[]}}},p=d,h=s("2877"),u=s("9989"),g=s("ead5"),b=s("079e"),m=s("65c6"),f=s("2c91"),y=s("9c40"),j=s("eebe"),x=s.n(j),P=Object(h["a"])(p,a,o,!1,null,null,null);e["default"]=P.exports;x()(P,"components",{QPage:u["a"],QBreadcrumbs:g["a"],QBreadcrumbsEl:b["a"],QToolbar:m["a"],QSpace:f["a"],QBtn:y["a"]})}}]); 