// [AIV_SHORT]  Build version: 5.6.6 - Monday, November 24th, 2025, 8:48:15 PM  
 (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[36],{e7aa:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t._self._c;return e("q-page",{attrs:{padding:""}},[e("design-data-toolbar",{staticClass:"q-mb-xs",attrs:{actions:["reload"],breadcrumbs:[{icon:"bi-tools",label:t.$t("common.administration")},{icon:"bi-lock",label:t.$t("common.lockeddesigndata")}]},on:{reload:t.getLockedDesignData}}),e("div",{staticClass:"row fit"},[e("div",{staticClass:"col-12 reposyd-ba-xs",staticStyle:{height:"86vh"}},[e("q-table",{staticClass:"reposyd-sticky-header-table fit",attrs:{columns:t.columns,data:t.designData,dense:"",flat:""},scopedSlots:t._u([{key:"body-cell-actions",fn:function(n){return[e("q-td",{attrs:{props:n}},[e("q-btn",{attrs:{dense:"",flat:"",icon:"bi-unlock",size:"12px"},on:{click:function(e){return t.unlock(n.row.Uuid)}}})],1)]}}])})],1)]),e("processing-spinner",{attrs:{processing:t.processing}})],1)},i=[],c=n("ded3"),o=n.n(c),s=(n("99af"),n("4de4"),n("c740"),n("d81d"),n("a434"),n("d3b7"),n("e6cf"),n("a79d"),n("61c0")),r=n("065a"),l=n("1d2d"),d=n("1b62"),u=n("607e");function f(t){var e=Object(u["get"])(t,"MetaData.Type","");return"DesignDataLink"===e?"".concat(Object(u["get"])(t,"Left.Puid"),"->").concat(Object(u["get"])(t,"MetaData.Id"),"->").concat(Object(u["get"])(t,"Right.Puid")):"DesignDataObject"===e?Object(u["get"])(t,"Puid"):"Document"===e?"".concat(Object(u["get"])(t,"Number")," ").concat(Object(u["get"])(t,"Title")):"IntegratedProductTeam"===e?t.Name:"TeamMember"===e?"".concat(t.LastName,", ").concat(t.FirstName," (").concat(t.Account,")"):e}var g={components:{ProcessingSpinner:l["a"],DesignDataToolbar:r["a"]},data:function(){var t=this;return{columns:[{align:"left",label:this.$tc("label.actions"),name:"actions",required:!0},{align:"left",label:this.$tc("label.type"),field:function(t){return Object(u["get"])(t,"DesignData.MetaData.Type")},name:"type"},{align:"left",label:this.$tc("label.id"),field:function(t){return Object(u["get"])(t,"DesignData")},format:function(t){return f(t)},name:"id"},{label:this.$t("label.timestamp"),align:"left",name:"timestamp",field:function(t){return Object(u["get"])(t,"Timestamp",null)},format:function(e){return t.dateTimeLong(e)},required:!0},{align:"left",label:this.$tc("common.lockedby"),field:function(t){return Object(u["get"])(t,"Member")},format:function(t){return"".concat(t.LastName,", ").concat(t.FirstName)},name:"lockedby"}],designData:[],processing:!1,filter:"",pagination:{sortBy:"",descending:!1,page:1,rowsPerPage:25},visibleColumns:[]}},extends:s["a"],methods:{getLockedDesignData:function(){var t=this;this.requestHandler().onSuccess((function(e){t.designData=e})).get("/api/OData/:solution/DesignDataLocks")},reload:function(){var t=this;this.processing=!0,this.$reposyd.get("/api/accesscontrol/:project/locks",{}).then((function(e){t.table.data=e,t.nodes=[{children:e.filter((function(t){return"ddl"===t.type})).map((function(t){return o()(o()({},t),{key:t.uuid})})),label:t.$tc("common.designdatalink",2),key:"ddl"},{children:e.filter((function(t){return"ddo"===t.type})).map((function(t){return o()(o()({},t),{key:t.ddo.uuid,label:t.ddo.puid})})),label:t.$tc("common.designdataobject",2),key:"ddo"}]})).catch((function(e){t.notifyError(e)})).finally((function(){t.processing=!1}))},unlock:function(t){var e=this;this.$reposyd.delete("/api/accesscontrol/:project/locks/:uuid?force=true",{uuid:t},{force:!0}).then((function(){var n=e.designData.findIndex((function(e){return e.Uuid===t}));e.designData.splice(n,1)})).catch((function(t){e.notifyError(t)}))}},mixins:[d["d"],d["G"]],mounted:function(){this.getLockedDesignData()},name:"PageLockedDesignData"},b=g,m=n("2877"),p=n("9989"),D=n("eaac"),h=n("db86"),k=n("9c40"),y=n("05c0"),j=n("eebe"),O=n.n(j),v=Object(m["a"])(b,a,i,!1,null,null,null);e["default"]=v.exports;O()(v,"components",{QPage:p["a"],QTable:D["a"],QTd:h["a"],QBtn:k["a"],QTooltip:y["a"]})}}]); 