graphdb-workbench
Version:
The web application for GraphDB APIs
2 lines • 1.43 kB
JavaScript
export const __webpack_id__=93165;export const __webpack_ids__=[21466,93165];export const __webpack_modules__={21466:(e,t,r)=>{r.r(t),r.d(t,{CLICK_IN_VIEW:()=>a,CREATE_CLUSTER:()=>n,DELETE_CLUSTER:()=>o,MODEL_UPDATED:()=>s,NODE_SELECTED:()=>i,UPDATE_CLUSTER:()=>l});const l="updateCluster",o="deleteCluster",a="clickInView",i="nodeSelected",n="createCluster",s="modelUpdated"},93165:(e,t,r)=>{r.r(t);var l=r(21466);function o(e,t){return{restrict:"E",templateUrl:"js/angular/clustermanagement/templates/cluster-configuration/cluster-properties.html",scope:{currentNode:"=",clusterModel:"=",clusterConfiguration:"="},link:r=>{r.isAdmin=!1,r.showEditConfigurationDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-edit-dialog.html",controller:"EditClusterCtrl",size:"lg",resolve:{data:()=>({clusterConfiguration:r.clusterConfiguration})}}).result.finally(function(){r.$emit(l.UPDATE_CLUSTER,{force:!0})})},r.showDeleteDialog=()=>{t.open({templateUrl:"js/angular/clustermanagement/templates/modal/cluster-delete-dialog.html",controller:"DeleteClusterCtrl"}).result.then(e=>{r.$emit(l.DELETE_CLUSTER,{force:e})})},r.isAdmin=e.isAuthenticated()&&e.isAdmin()}}}angular.module("graphdb.framework.clustermanagement.directives.cluster-configuration.cluster-properties",[]).directive("clusterProperties",o),o.$inject=["$jwtAuth","$uibModal"]}};
//# sourceMappingURL=93165.47ee4ba5aff0da5aee39.bundle.js.map