// [AIV_SHORT]  Build version: 5.6.6 - Monday, November 24th, 2025, 8:48:15 PM  
 (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[79],{d70e2:function(t,e,n){"use strict";n.r(e);n("4de4"),n("d3b7");var i=function(){var t=this,e=t._self._c;return e("q-page",{attrs:{padding:""}},[e("div",{staticClass:"column no-wrap",staticStyle:{height:"calc(100vh - 100px)"}},[e("div",{staticClass:"col-auto"},[e("design-data-toolbar",{staticClass:"q-mb-xs",attrs:{actions:[{id:"settings",label:t.$tc("common.setting",2)},"separator",{type:"help",url:"help:manual?chapter=actiontracking"}],breadcrumbs:[{icon:"bi-bar-chart-steps",label:t.$t("common.projectmanagement")},{label:t.$tc("common.actiontracking",2),icon:"bi-signpost"}],buttons:[{dense:!0,flat:!0,icon:"bi-plus-circle",id:"add",label:t.$tc("common.addaction"),noCaps:!0},{dense:!0,flat:!0,icon:"bi-arrow-clockwise",id:"reload",label:t.$tc("button.reload"),noCaps:!0,tooltip:t.$tc("button.reload")}]},on:{"action:click":t.onToolbarActionClick,"button:click":t.onButtonClick}})],1),e("div",{staticClass:"col-auto"},[e("div",{staticClass:"fit row items-center justify-center reposyd-bb-xs q-py-xs"},[e("div",{staticClass:"col"}),e("div",{staticClass:"col-auto"},[e("action-tracking-filter-input",{attrs:{helpUrl:"help:manual?chapter=actiontracking&chapter=search",recentFilters:t.settings.filter.recent},on:{"update:active":t.onUpdateActive,"update:recent":t.onUpdateRecent},model:{value:t.filterTerms,callback:function(e){t.filterTerms=e},expression:"filterTerms"}})],1),e("div",{staticClass:"col"})])]),e("div",{staticClass:"col-grow q-mt-xs"},[e("kanban-board",{ref:"board",staticClass:"fit",attrs:{filter:t.filterTerms}})],1)])])},a=[],s=n("ded3"),o=n.n(s),c=(n("b64b"),n("e6cf"),n("2ef0")),r=n("065a"),l=n("040a"),u=n("3530"),d=n("1b62"),f={beforeRouteLeave:function(t,e,n){var i=this;this.saveSettings().then((function(){n()})).catch((function(t){i.showErrorMessage(t),n()}))},components:{DesignDataToolbar:r["a"],KanbanBoard:u["a"],ActionTrackingFilterInput:l["a"]},methods:{saveSettings:function(){var t=this;return new Promise((function(e,n){t.settings.default?t.requestHandler().onError((function(t){return n(t)})).onSuccess((function(){return e()})).onProcessing((function(e){t.processing=e})).post("/api/OData/:solution/TeamMemberSettings",{Key:"page.pm.actiontracking",Value:{filter:t.settings.filter}}):t.requestHandler().onError((function(t){return n(t)})).onSuccess((function(){return e()})).onProcessing((function(e){t.processing=e})).put("/api/OData/:solution/TeamMemberSettings/page.pm.actiontracking",{Value:{filter:t.settings.filter}})}))},loadSettings:function(){var t=this;this.requestHandler().onError((function(e){t.showErrorMessage(e)})).onSuccess((function(e){if(!Object(c["isNull"])(e)&&!Object(c["isEmpty"])(e)){var n=JSON.parse(e.Value);t.settings=o()(o()({},t.settings),n),delete t.settings.default}})).get("/api/OData/:solution/TeamMemberSettings/page.pm.actiontracking")},onButtonClick:function(t){"add"===t?this.$refs.board.addAction():"reload"===t&&this.reload()},onToolbarActionClick:function(t){"settings"===t&&this.$refs.board.openSettingsDialog()},onUpdateActive:function(t){this.settings.filter.active=t},onUpdateRecent:function(t){this.settings.filter.recent=t},reload:function(){this.$refs.board.getActions()}},mounted:function(){this.loadSettings()},mixins:[d["a"],d["G"]],name:"PageActionTracking",data:function(){return{filterTerms:null,processing:!1,settings:{filter:{active:-1,recent:[]},default:!0},recent:null}}},p=f,g=n("2877"),b=n("9989"),m=n("eebe"),h=n.n(m),v=Object(g["a"])(p,i,a,!1,null,null,null);e["default"]=v.exports;h()(v,"components",{QPage:b["a"]})}}]); 