UNPKG

graphdb-workbench

Version:
2 lines 1.43 kB
export const __webpack_esm_id__=93165;export const __webpack_esm_ids__=[21466,93165];export const __webpack_esm_modules__={21466:(e,t,r)=>{r.d(t,{DP:()=>o,Yn:()=>n,aV:()=>a,fe:()=>i,pw:()=>l,vu:()=>s});const l="updateCluster",i="deleteCluster",o="clickInView",s="nodeSelected",n="createCluster",a="modelUpdated"},93165:(e,t,r)=>{var l=r(21466),i=r(57154);function o(e,t){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration/cluster-properties.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:e=>{const r=(0,i.service)(i.AuthorizationService),o=(0,i.service)(i.AuthenticationService);e.isAdmin=!1,e.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:e.clusterConfiguration})}}).result.finally(function(){e.$emit(l.pw,{force:!0})})},e.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(t=>{e.$emit(l.fe,{force:t})})},e.isAdmin=o.isAuthenticated()&&r.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration.cluster-properties",[]).directive("clusterProperties",o),o.$inject=["$jwtAuth","$uibModal"]}}; //# sourceMappingURL=93165.7e51ae3cce40fe4e5b26.bundle.js.map