export const __webpack_esm_id__=51609;export const __webpack_esm_ids__=[51609];export const __webpack_esm_modules__={51609(){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",n),n.$inject=["$http"];const e="rest/class-hierarchy",t="rest/domain-range",a="rest/dependencies",r="rest/explore-graph";function n(n){return{getClassHierarchyData:function(t){return n.get(e,{params:{graphURI:t}})},reloadClassHierarchy:function(t){return n.get(e,{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return n.get(`${e}/class-instances`,{params:{targetUri:t}})},getDomainRangeData:function(e,a){return n.get(t,{params:{targetUri:e,collapsed:a}})},checkDomainRangeData:function(e){return n.head(t,{params:{targetUri:e}})},getRelationshipsData:function(e,t,r){return n.get(`${a}/matrix`,{params:{mode:t,classes:_.map(e,function(e){return e.name}),graphURI:r}})},getRelationshipsClasses:function(e,t){return n.get(`${a}/classes`,{params:{mode:e,graphURI:t}})},getRelationshipsStatus:function(e){return n.get(`${a}/status`,{params:{graphURI:e}})},calculateRelationships:function(e){return n.get(`${a}/update`,{params:{graphURI:e}})},getPredicates:function(e,t,r){return n.get(`${a}/predicates`,{params:{from:e,to:t,mode:"all",graphURI:r}})},getInstanceNode:function(e){return n.get(`${r}/node`,{params:e})},getInstanceNodeLinks:function(e){return n.get(`${r}/links`,{params:e})},getProperties:function(e){return n.get(`${r}/properties`,{params:e})},updateGraph:function(e){let t={headers:{"Content-Type":"application/json"}};return t=Object.assign(t,e),n.post(`${r}/graph`,t)},getRdfsLabelAndComment:function(e,t,a){const r=a||{};return n({url:"rest/explore/details",method:"GET",params:_.extend(r,{uri:e,languages:t}),headers:{Accept:"application/json"}})}}}}};
//# sourceMappingURL=51609.4198febfc3830f7abdc6.bundle.js.map