graphdb-workbench 2.7.2-TR1 → 2.7.2-TR2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/148.28bebc68de5695208221.bundle.js +1 -1
- package/dist/17.6b19268cbe8c346e7bf5.bundle.js +1 -1
- package/dist/28.9085645e020f2ffa41ae.bundle.js +1 -1
- package/dist/29.15213e151364f5ecfcd5.bundle.js +1 -1
- package/dist/300.cef8eccb11324bcfdb36.bundle.js +1 -1
- package/dist/302.7a5d2ba28bd6479a77be.bundle.js +1 -1
- package/dist/303.e817b957f010153de97a.bundle.js +1 -1
- package/dist/304.fd2e766c67cd966f6751.bundle.js +1 -1
- package/dist/333.9f051c77b4c6747b320c.bundle.js +1 -1
- package/dist/42.52befbab22e69bb433f4.bundle.js +1 -1
- package/dist/51.9f47ca86da95b07bc239.bundle.js +1 -1
- package/dist/8.140aa30d51b594f66038.bundle.js +1 -0
- package/dist/{bundle.8508e55f3d29666d5379.bundle.js → bundle.60a6d2c8f8cbeb8159df.bundle.js} +2 -2
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/license-checker.json +2 -2
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger5/index.html +12 -12
- package/package.json +1 -1
- package/dist/8.fc4fa16019a7d576eeb2.bundle.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{182:function(t,e,r){"use strict";r.r(e);var n=r(455),a=r(454);r(10);function o(t,e,r,o,s,c,i,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=n.a.Export.getCSSRules("css/domain-range-graph.css?v=2.7.2-TR1");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=n.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name;const k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){c.set(i.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(c.set(i.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==c.get(i.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),c.remove(i.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const P=r.nodes,j=r.links;g.nodes(P).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(j).distance(1200/3.5));var n=p.selectAll(".link").data(j).enter().append("g");function o(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")}var c,i,d=0;n.each((function(t){if(t.objectPropNodeClassUri!==m)c=n.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?o(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(i)){i=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(d+=t.targetNodeEdgeCount)>1&&o(d3.select(".loop-link"))}}));var x={};function k(){$.isEmptyObject(x)||(x.text.style("fill","black"),x.background.style("fill","#f0f0f0"))}function b(t,e){k(),x.text=d3.select(this),x.background=d3.select(this.previousSibling),x.text.style("fill","white"),x.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()}$("document").ready((function(){$("#domain-range").bind("click",k)}));var w=n.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));w.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",b):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var E=n.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2})).attr("transform",(function(t){var e=2-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),N=p.selectAll(".node").data(P).enter().append("g"),R=N.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,n){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,n)}))})),N.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var C=N.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return a.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var T=p.select(".class-node + text"),A=d3.select(".class-node"),L=d3.selectAll(".loop-link-background"),M=d3.selectAll(".loop-link-property-name");if(w=d3.selectAll(".property-name"),!angular.isUndefined(i)){var U=[];L.each((function(t,e){d3.select(this);U.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var n=[];L.each((function(a,o){n.push(a),o<h?function(n,a){var o=$.grep(U,(function(t){return t.idx==a}));a>0&&(e+=parseFloat(a*(o[0].height/(a/1.4)))),n.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",b),d3.select(".view-more-preds-rect").attr("height",e+4)}(n)}c.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),R.each((function(t){"main"!==t.classPosition||angular.isUndefined(i)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var n=$.grep(U,(function(t){return t.idx==r})),a=0;r>0&&(a=parseFloat(2*r*(n[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-a;e.attrs({x:o,y:s}).moveToFront()}M.each((function(t,r){var n=d3.select(this),a=M.size()-h;a<0?e(n,r):(0==r&&!u.collapseEdges&&a>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(n,d3.select(this.nextSibling),a),e(n,r)),r<h?e(n,r):n.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=A.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),T.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),E.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),w.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),C.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));let b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},444:function(t,e,r){var n,a;n=[r(452)],void 0===(a=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var n in t)r.attr(n,t[n])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(452)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,n))||(t.exports=a)},454:function(t,e,r){"use strict";r(444);var n=n||{};n.Text=function(){function t(t,e,r,n){r=r||10;var a=e/3;return"string"==typeof t?(a*=10/(t.substring(0,e/3).length+1.5),a+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(a*=.6),a<r&&(a=r),Math.round(a)):(a<r&&(a=r),Math.round(a))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,n,a){return t(e,r,n)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),n.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},n.Click=function(){const t=function(t,r){let n,a=1,o=arguments.length;for(;++a<o;)n=arguments[a],t[n]=e(t,r,r[n]);return t};function e(t,e,r){return function(){var n=r.apply(e,arguments);return n===e?t:n}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,n=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,a){var o,s,c;(s=r,c=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-c[0],2),Math.pow(s[1]-c[1],2))>5)||(n?(window.clearTimeout(n),n=null,e.call("dblclick",t,t,a)):n=window.setTimeout((o=t,function(){e.call("click",o,o,a),n=null}),250))}))}),e,"on")}}}(),e.a=n},455:function(t,e,r){"use strict";r(444);var n=n||{};n.Export={getCSSRules:function(t){const e=$('link[href="'+t+'"]')[0].sheet.rules;let r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");const e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=n}}]);
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[42],{182:function(t,e,r){"use strict";r.r(e);var n=r(455),a=r(454);r(10);function o(t,e,r,o,s,c,i,l,d,u,p,f,h){return{restrict:"AE",template:'<div id="domain-range"></div>',scope:{showPredicatesInfoPanel:"=",selectedPredicate:"=",collapseEdges:"="},link:function(u){const p=l((function(){!function(u){var p=d3.select("#domain-range").append("svg").attr("viewBox","0 0 1200 600").attr("preserveAspectRatio","xMidYMid meet").on("dblclick.zoom",null),g=d3.forceSimulation(),y=d3.drag().subject((function(t){return t})).on("start",(function(t,e){g.stop(),e.fx=t.x,e.fy=t.y,d3.select(this).classed("selected",!0)})).on("end",(function(t,e){e.fx=null,e.fy=null,d3.select(this).classed("selected",!1),b?(g.alpha(.2).restart(),b=!1):g.restart()})).on("drag",(function(t,e){b=!0,g.alphaTarget(0).restart(),e.fx=t.x,e.fy=t.y})),x=p.append("defs");x.append("marker").attrs({id:"arrow",viewBox:"0 -5 10 10",refX:10,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"collapsed-arrow",viewBox:"0 -5 10 10",refX:9,refY:0,markerUnits:"strokeWidth",markerWidth:4,markerHeight:4,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),x.append("marker").attrs({id:"arrow-loop",viewBox:"0 -5 10 10",refX:7,refY:0,markerUnits:"strokeWidth",markerWidth:5,markerHeight:5,orient:"auto",fill:f}).append("path").attrs({d:"M0,-5L10,0L0,5",class:"arrowHead"}),d3.select("#download-svg").on("mouseover",(function(){var t=n.a.Export.getCSSRules("css/domain-range-graph.css?v=2.7.2-TR2");$("defs").append('<style type="text/css"><![CDATA['+t+"]]></style>");var e=n.a.Export.generateBase64ImageSource("#domain-range svg");d3.select(this).attrs({href:e,download:"domain-range-graph-"+r.getActiveRepository()+".svg"})})),function(){var t=d3.select(".legend-container").append("svg").attr("viewBox","0 0 "+1200/7+" "+1200/7*1.2).attr("preserveAspectRatio","xMidYMid meet");t.append("rect").attrs({width:1200/7,height:1200/7*1.2}).style("fill","rgba(235, 235, 235, 0.9)");var e=16+1200/18/2.5,r=e+1200/90;t.append("circle").attrs({class:"legend-class-node",cx:(16+e)/2,cy:30,r:1200/18/4.5}),t.append("text").attrs({x:r,y:30+1200/370}).style("font-size",1200/90/1.1+"px").text("main class node"),t.append("circle").attrs({class:"legend-object-node",cx:(16+e)/2,cy:70,r:1200/110/1.25}),t.append("text").attrs({x:r,y:30+1200/370+40}).style("font-size",1200/90/1.1+"px").text("class node"),t.append("circle").attrs({class:"legend-datatype-node",cx:(16+e)/2,cy:70+1200/45,r:1200/110/2}),t.append("text").attrs({x:r,y:99.90990990990991}).style("font-size",1200/90/1.1+"px").text("datatype node"),t.append("line").attrs({class:"property-arrow",x1:16,y1:123.33333333333334,x2:e,y2:123.33333333333334}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:126.57657657657658}).style("font-size",1200/90/1.1+"px").text("explicit property"),t.append("line").attrs({class:"implicit-property-arrow",x1:16,y1:150,x2:e,y2:150}).style("stroke-width",1.2).attr("marker-end","url("+s.absUrl()+"#arrow)"),t.append("text").attrs({x:r,y:150+1200/370}).style("font-size",1200/90/1.1+"px").text("implicit property"),t.append("line").attrs({class:"collapsed-property-arrow",x1:16,y1:150+1200/45,x2:e,y2:150+1200/45}).style("stroke-width",2).attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)"),t.append("text").attrs({x:r,y:179.9099099099099}).style("font-size",1200/90/1.1+"px").text("collapsed property")}();var m=s.search().uri,v=s.search().name;const k=s.search().collapsed;(function(t,e){o.getDomainRangeData(t,e).success((function(t,e,r){u.domainRangeGraphData=t})).error((function(t){d.error("Request for "+v+" failed!")}))})(m,k),$(window).on("popstate",(function(){c.set(i.DOMAIN_RANGE_WENT_BACK,!0)})),e.onpopstate=function(e){e.state&&t.$broadcast("changeCollapsedEdgesState",e.state.collapsed)},u.$watch("collapseEdges",(function(){angular.isUndefined(u.collapseEdges)||(c.set(i.DOMAIN_RANGE_COLLAPSE_EDGES,u.collapseEdges),"true"!==c.get(i.DOMAIN_RANGE_WENT_BACK)&&function(e){t.$broadcast("switchEdgeMode",{uri:m,name:v,collapsed:e})}(u.collapseEdges),c.remove(i.DOMAIN_RANGE_WENT_BACK))})),u.$watch("domainRangeGraphData",(function(){if(u.domainRangeGraphData){var r=_.cloneDeep(u.domainRangeGraphData);const P=r.nodes,j=r.links;g.nodes(P).force("x",d3.forceX(600)).force("y",d3.forceY(300)).force("charge",d3.forceManyBody().strength(-800)).force("link",d3.forceLink(j).distance(1200/3.5));var n=p.selectAll(".link").data(j).enter().append("g");function o(t){t.style("stroke",f),t.style("stroke-width",2),t.attr("marker-end","url("+s.absUrl()+"#collapsed-arrow)")}var c,i,d=0;n.each((function(t){if(t.objectPropNodeClassUri!==m)c=n.append("line").attrs({class:"link","marker-end":"url("+s.absUrl()+"#arrow)"}).style("stroke-width",1.2).each((function(t){switch(t.propertyType){case"objectLeft":t.targetRadius=1200/18;break;case"objectRight":t.targetRadius=1200/110;break;case"datatype":t.targetRadius=1200/110/2;break;default:t.targetRadius=0}var e=d3.select(this);t.targetNodeEdgeCount>1?o(e):t.implicit&&e.style("stroke-dasharray","3, 3")}));else{if(angular.isUndefined(i)){i=d3.select(this).append("path").attrs({d:"M 0 0 A "+1200/18/2+" "+1200/18/2+" 0 1 1 0 "+1200/18/2,class:"loop-link",fill:"none","marker-end":"url("+s.absUrl()+"#arrow-loop)"}).style("stroke-width",1.2)}(d+=t.targetNodeEdgeCount)>1&&o(d3.select(".loop-link"))}}));var x={};function k(){$.isEmptyObject(x)||(x.text.style("fill","black"),x.background.style("fill","#f0f0f0"))}function b(t,e){k(),x.text=d3.select(this),x.background=d3.select(this.previousSibling),x.text.style("fill","white"),x.background.style("fill",f),l((function(){u.showPredicatesInfoPanel=!0,u.selectedPredicate=e})),t.stopPropagation()}$("document").ready((function(){$("#domain-range").bind("click",k)}));var w=n.append("text").attr("class",(function(t){return t.objectPropNodeClassUri===m?"loop-link-property-name":"property-name"})).attr("dx",(function(t){return 1200/18/2*("objectLeft"===t.propertyType?1:-1)})).style("text-anchor",(function(t){return"objectLeft"===t.propertyType?"end":"start"})).style("font-size",1200/90).text((function(t){return t.targetNodeEdgeCount>1?t.targetNodeEdgeCount+" predicates":t.name}));w.each((function(t){var r=d3.select(this);/\d\spredicates/.test(r.text())?r.style("font-weight","bold").on("click",b):r.on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.uri),"_blank")}))}));var E=n.append("rect").attr("class",(function(t){return t.objectPropNodeClassUri!==m?"link-background":"loop-link-background"})).attr("width",(function(t){return t.calculatedWidth=this.previousSibling.getBBox().width,t.calculatedWidth+4})).attr("height",(function(t){return t.calculatedHeight=this.previousSibling.getBBox().height,t.calculatedHeight+2})).attr("transform",(function(t){var e=2-1200/18/2*("objectLeft"===t.propertyType?1:-1);return"objectLeft"===t.propertyType&&(e+=t.calculatedWidth),"translate(-"+e+",-"+(2+t.calculatedHeight/2)+")"})).on("click",(function(t){t.stopPropagation()})),N=p.selectAll(".node").data(P).enter().append("g"),R=N.filter((function(t){return t.objectPropClassUri!==m})).append("circle").each((function(t){var e=d3.select(this);"main"===t.classPosition?e.attrs({class:"class-node",r:1200/18}).attr("marker-end","url("+s.absUrl()+"#loop-link)"):null===t.objectPropClassName?e.attrs({class:"datatype-node",r:1200/110/2}):e.attrs({class:"object-prop-node",r:1200/110})})).call(y);d3.selectAll(".object-prop-node").on("dblclick",(function(e,r,n){u.$apply((function(){t.$broadcast("reloadDomainRangeGraphView",r,n)}))})),N.filter((function(t){return t.objectPropClassName&&t.objectPropClassUri!==m})).append("text").attr("class",(function(t){return t.classPosition+"-class-label"})).style("font-size",1200/90).text((function(t){return t.objectPropClassName})).on("click",(function(t,r){e.open("resource?uri="+encodeURIComponent(r.objectPropClassUri),"_blank")}));var C=N.select("text");p.select(".class-node").each((function(){d3.select(this.parentNode).append("text").attr("class","rdf-class-label").style("font-size",(function(t){return a.a.Text.calcFontSize(v,1200/18)})).text(v).on("click",(function(){e.open("resource?uri="+encodeURIComponent(m),"_blank")}))}));var T=p.select(".class-node + text"),A=d3.select(".class-node"),L=d3.selectAll(".loop-link-background"),M=d3.selectAll(".loop-link-property-name");if(w=d3.selectAll(".property-name"),!angular.isUndefined(i)){var U=[];L.each((function(t,e){d3.select(this);U.push({idx:e,width:t.calculatedWidth,height:t.calculatedHeight})}))}g.on("tick",(function(t){var e=8*g.alpha();function r(t){var e=t.x+1200/18*2,r=t.y-1200/18/1.9;var n=[];L.each((function(a,o){n.push(a),o<h?function(n,a){var o=$.grep(U,(function(t){return t.idx==a}));a>0&&(e+=parseFloat(a*(o[0].height/(a/1.4)))),n.attrs({transform:"rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")",width:o[0].height,height:o[0].width})}(d3.select(this),o):d3.select(this).remove()})),function(t){var e;d3.select(".view-more-preds-label").style("font-weight","bold").each((function(r){r.target.allEdges=t,e=this.getComputedTextLength()})).on("click",b),d3.select(".view-more-preds-rect").attr("height",e+4)}(n)}c.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x1",(function(t){return t.source.x})).attr("y1",(function(t){return t.source.y})).attr("x2",(function(t){return t.targetX})).attr("y2",(function(t){return t.targetY})).each((function(t){!function(t){"objectLeft"===t.propertyType?(t.source.x-=8*e,t.source.y-=e/9):(t.target.x+=8*e,t.target.y-=e/9)}(t);var r=Math.atan2(t.target.y-t.source.y,t.target.x-t.source.x);t.targetX=t.target.x-Math.cos(r)*t.targetRadius,t.targetY=t.target.y-Math.sin(r)*t.targetRadius})),R.each((function(t){"main"!==t.classPosition||angular.isUndefined(i)||(!function(t){var e=t.x+64,r=t.y-1200/18/5.7-5;i.attr("transform","rotate(270, "+t.x+","+t.y+") translate("+e+","+r+")")}(t),function(t){function e(e,r){var n=$.grep(U,(function(t){return t.idx==r})),a=0;r>0&&(a=parseFloat(2*r*(n[0].height/1.4)));var o=t.x,s=t.y-1200/18*2.1-a;e.attrs({x:o,y:s}).moveToFront()}M.each((function(t,r){var n=d3.select(this),a=M.size()-h;a<0?e(n,r):(0==r&&!u.collapseEdges&&a>1&&(!function(t,e,r){t.classed("view-more-preds-label",!0).text(r+" predicates more ..."),null!==this.nextSibling&&e.classed("view-more-preds-rect",!0)}(n,d3.select(this.nextSibling),a),e(n,r)),r<h?e(n,r):n.remove())}))}(t),r(t)),t.objectPropClassUri!==m&&d3.select(this).attr("cx",(function(t){return"main"===t.classPosition?function(t){!window.ActiveXObject&&"ActiveXObject"in window&&(Math.log10=function(t){return Math.log(t)/Math.LN10});var e=A.attr("cx")-600,r=.5*Math.log10(Math.abs(e));return t.x+=e>0?-r:r,t.x}(t):t.x})).attr("cy",(function(t){return t.y}))})),T.attr("x",(function(t){return t.x})).attr("y",(function(t){return t.y})).moveToFront(),E.filter((function(t){return t.objectPropNodeClassUri!==m})).attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),w.attr("x",(function(t){return t.target.x>t.source.x?t.source.x+(t.target.x-t.source.x)/2:t.target.x+(t.source.x-t.target.x)/2})).attr("y",(function(t){return t.target.y>t.source.y?t.source.y+(t.target.y-t.source.y)/2:t.target.y+(t.source.y-t.target.y)/2})).moveToFront(),C.attr("x",(function(t){return"right"===t.classPosition?t.x+1200/110*1.2:t.x-1200/110*1.2})).attr("y",(function(t){return t.y})).moveToFront()}))}}));let b=!1}(u)}),50);u.$on("$destroy",(function(){l.cancel(p)}))}}}angular.module("graphdb.framework.graphexplore.directives.domainrange",["graphdb.framework.graphexplore.controllers.domainrange","graphdb.framework.utils.localstorageadapter"]).constant("ONTO_RED","var(--primary-color)").constant("ONTO_GREEN","var(--tertiary-color)").constant("ONTO_BLUE","var(--secondary-color)").constant("NON_COLLAPSED_REFLEXIVE_LINK_LIMIT",6).directive("domainRangeGraph",o),o.$inject=["$rootScope","$window","$repositories","GraphDataRestService","$location","LocalStorageAdapter","LSKeys","$timeout","toastr","ONTO_RED","ONTO_GREEN","ONTO_BLUE","NON_COLLAPSED_REFLEXIVE_LINK_LIMIT"]},444:function(t,e,r){var n,a;n=[r(452)],void 0===(a=function(){function t(t,e){return t.each((function(){var t=e.apply(this,arguments),r=select(this);for(var n in t)r.attr(n,t[n])}))}function e(t,e){for(var r in e)t.attr(r,e[r]);return t}return"undefined"==typeof d3&&(d3=r(452)),d3.selection.prototype.attrs=function(r){return("function"==typeof r?t:e)(this,r)},d3.selection.prototype.moveToFront=function(){return this.each((function(){d3.select(this.parentNode.appendChild(this))}))},d3.selection.prototype.moveToBack=function(){return this.each((function(){const t=this.parentNode.firstChild;t&&this.parentNode.insertBefore(this,t)}))},d3}.apply(e,n))||(t.exports=a)},454:function(t,e,r){"use strict";r(444);var n=n||{};n.Text=function(){function t(t,e,r,n){r=r||10;var a=e/3;return"string"==typeof t?(a*=10/(t.substring(0,e/3).length+1.5),a+=1,t.match(/[\u0900-\u0DFF\u1100-\u11FF\u2E80-\u2EFF\u3000-\u9FFF]/)&&(a*=.6),a<r&&(a=r),Math.round(a)):(a<r&&(a=r),Math.round(a))}return{calcFontSizeRaw:t,calcFontSize:function(e,r,n,a){return t(e,r,n)+"px"},getTextWithElipsisIfNeeded:function(t,e){return"string"==typeof t&&t.length>e?t.substring(0,e-3)+"...":t}}}(),n.Transition={fadeIn:function(t,e){t.style("opacity",0).transition().duration(e).style("opacity",1)},fadeOut:function(t,e){t.style("opacity",1).transition().duration(e).style("opacity",0)}},n.Click=function(){const t=function(t,r){let n,a=1,o=arguments.length;for(;++a<o;)n=arguments[a],t[n]=e(t,r,r[n]);return t};function e(t,e,r){return function(){var n=r.apply(e,arguments);return n===e?t:n}}return{delayDblClick:function(){var e=d3.dispatch("click","dblclick");return t((function(t){var r,n=null;t.on("mousedown",(function(){r=d3.pointer(document.body),+new Date})),t.on("mouseup",(function(t,a){var o,s,c;(s=r,c=d3.pointer(document.body),Math.sqrt(Math.pow(s[0]-c[0],2),Math.pow(s[1]-c[1],2))>5)||(n?(window.clearTimeout(n),n=null,e.call("dblclick",t,t,a)):n=window.setTimeout((o=t,function(){e.call("click",o,o,a),n=null}),250))}))}),e,"on")}}}(),e.a=n},455:function(t,e,r){"use strict";r(444);var n=n||{};n.Export={getCSSRules:function(t){const e=$('link[href="'+t+'"]')[0].sheet.rules;let r="";return _.each(e,(function(t){r+=t.cssText})),r},generateBase64ImageSource:function(t){t||(t="svg");const e=d3.selectAll(t).attr("version","1.1").attr("xmlns","http://www.w3.org/2000/svg").node().parentNode.innerHTML;return"data:image/svg+xml;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(e)))}},e.a=n}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[51,148,150],{200:function(r,i){function e(r){return{restrict:"A",require:"ngModel",link:function(i,e,t,o){o.$parsers.unshift((function(i){const e=r.isValidIri(i,i.toString());return o.$setValidity("validateUri",e),i}))}}}angular.module("graphdb.framework.import.directives.validate-uri",[]).directive("validateUri",e),e.$inject=["UriUtils"]},201:function(r,i){function e(){return{link:function(r,i,e){r.$watch("file.status",(function(){"IMPORTING"!==r.file.status&&"UPLOADING"!==r.file.status||!$(i).has("object").length>0&&$(i).append('<object width="'+e.size+'" height="'+e.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.7.2-
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[51,148,150],{200:function(r,i){function e(r){return{restrict:"A",require:"ngModel",link:function(i,e,t,o){o.$parsers.unshift((function(i){const e=r.isValidIri(i,i.toString());return o.$setValidity("validateUri",e),i}))}}}angular.module("graphdb.framework.import.directives.validate-uri",[]).directive("validateUri",e),e.$inject=["UriUtils"]},201:function(r,i){function e(){return{link:function(r,i,e){r.$watch("file.status",(function(){"IMPORTING"!==r.file.status&&"UPLOADING"!==r.file.status||!$(i).has("object").length>0&&$(i).append('<object width="'+e.size+'" height="'+e.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.7.2-TR2">{{\'common.loading\' | translate}}</object>')}))}}}angular.module("graphdb.framework.import.directives.import-progress-indicator",[]).directive("ImportProgressIndicator",e),e.$inject=[]},280:function(r,i,e){"use strict";e.r(i);e(7),e(26),e(241),e(200),e(201),e(242),e(27),e(60),e(61);angular.module("graphdb.framework.impex.import",["toastr","ngRoute","ngFileUpload","ui.bootstrap","graphdb.framework.impex.import.directives","graphdb.framework.impex.import.controllers","graphdb.framework.core.services.repositories","graphdb.framework.import.directives.validate-uri","graphdb.framework.import.directives.import-progress-indicator","graphdb.framework.import.directives.import-resource-tree"])}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[8,30,36,45,73,74,75,144,146,147,152,160,161,163,164,166,251,258,269,271,272,275],{101:function(e,t,r){"use strict";r.r(t),r.d(t,"FileUtils",(function(){return i}));class i{static convertBytesToMegabytes(e){return Math.floor(e/1048576)}static getFilenameAndExtension(e){const t=e.lastIndexOf(".");return{filename:e.substring(0,t),extension:e.substring(t+1)}}}},123:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResource",(function(){return n}));var i=r(66),s=r(98),o=r(76);class n{constructor(e,t){this.hash=t(JSON.stringify(e)),this.name=e?e.name:void 0,this.status=e?e.status:i.ImportResourceStatus.NONE,this.message=e&&e.message?e.message:"",this.context=e&&e.context?e.context:"",this.replaceGraphs=e?e.replaceGraphs:[],this.baseURI=e?e.baseURI:void 0,this.forceSerial=!!e&&e.forceSerial,this.type=e?e.type:void 0,this.format=e?e.format:void 0,this.data=e?e.data:void 0,this.modifiedOn=e?e.lastModified:void 0,this.importedOn=e?e.imported:void 0,this.size=e?e.size:"",this.addedStatements=e?e.addedStatements:0,this.removedStatements=e?e.removedStatements:0,this.numReplacedGraphs=e?e.numReplacedGraphs:0,this.parserSettings=e?e.parserSettings:new s.ImportParsingSettings,this.requestIdHeadersToForward=e?e.requestIdHeadersToForward:void 0}isDirectory(){return o.ImportResourceType.DIRECTORY===this.type}isFile(){return o.ImportResourceType.FILE===this.type||o.ImportResourceType.URL===this.type||o.ImportResourceType.TEXT===this.type}isURL(){return o.ImportResourceType.URL===this.type}isText(){return o.ImportResourceType.TEXT===this.type}}},124:function(e,t,r){"use strict";r.r(t),r.d(t,"md5HashGenerator",(function(){return s}));var i=r(6);const s=()=>{const e=new i.KJUR.crypto.MessageDigest({alg:"md5",prov:"cryptojs"});return t=>e.digestString(t)}},125:function(e,t,r){"use strict";r.r(t),r.d(t,"SortingType",(function(){return i}));const i={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}},189:function(e,t){angular.module("graphdb.framework.rest.import.service",[]).factory("ImportRestService",i),i.$inject=["$http"];const r="rest/repositories";function i(e){return{getDefaultSettings:function(t){return e.get(`${r}/${t}/import/settings/default`)},getUploadedFiles:function(t){return e.get(`${r}/${t}/import/upload`)},getServerFiles:function(t){return e.get(`${r}/${t}/import/server`)},importServerFiles:function(t,i){return e.post(`${r}/${t}/import/server`,i)},importTextSnippet:function(t,i){return e.post(`${r}/${t}/import/upload/text`,i)},updateTextSnippet:function(t,i){return e.post(`${r}/${t}/import/upload/update/text`,i)},importFromUrl:function(t,i){return e.post(`${r}/${t}/import/upload/url`,i)},updateFromUrl:function(t,i){return e.post(`${r}/${t}/import/upload/update/url`,i)},stopServerImport:function(t,i){return e.delete(`${r}/${t}/import/server`,{params:i})},stopUserDataImport:function(t,i){return e.delete(`${r}/${t}/import/upload`,{params:i})},resetServerFileStatus:function(t,i,s=!0){return e({method:"DELETE",url:`${r}/${t}/import/server/status`,params:{remove:s},data:i,headers:{"Content-type":"application/json;charset=utf-8"}})},resetUserDataStatus:function(t,i,s=!0){return e({method:"DELETE",url:`${r}/${t}/import/upload/status`,params:{remove:s},data:i,headers:{"Content-type":"application/json;charset=utf-8"}})}}}},190:function(e,t){angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",r),r.$inject=["$http","Upload","$translate"];function r(e,t,r){return{createUploadPayload:function(e,r){let i;i=e.file?{file:e.file,importSettings:t.jsonBlob(r)}:{importSettings:t.jsonBlob(r)};return i},uploadUserDataFile:function(e,r,i){return t.upload({url:`rest/repositories/${e}/import/upload/file`,data:i})},updateUserDataFile:function(e,r,i){return t.upload({url:`rest/repositories/${e}/import/upload/update/file`,data:i})}}}},191:function(e,t,r){"use strict";r.r(t);var i=r(73);function s(e,t,r){let s;e.isHelpVisible=!1,e.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const n=()=>{if(s.isPristine(e.activeTabId)){let t=r.getResources();e.isHelpVisible=!t||0===t.length}else e.isHelpVisible=s.isHelpVisible(e.activeTabId)};e.openTab=e=>{r.updateActiveTabId(e)},e.toggleHelp=()=>{s.setIsHelpVisible(e.activeTabId,!e.isHelpVisible),n()};const a=[];a.push(r.onActiveTabIdUpdated(r=>{e.activeTabId=r,t.hash(e.activeTabId),n()})),a.push(r.onResourcesUpdated(n));e.$on("$destroy",()=>a.forEach(e=>e())),(()=>{s=new o;const r=t.hash()||i.TABS.USER;e.openTab(r),n()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",s),s.$inject=["$scope","$location","ImportContextService"];class o{constructor(){this._helpVisibility={[i.TABS.USER]:{isHelpVisible:void 0},[i.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(e){return void 0===this._helpVisibility[e].isHelpVisible}setIsHelpVisible(e,t){this._helpVisibility[e].isHelpVisible=t}isHelpVisible(e){return this._helpVisibility[e]&&this._helpVisibility[e].isHelpVisible}}},192:function(e,t,r){"use strict";r.r(t);var i=r(73);function s(e,t,r,s,o,n,a,l,p,c){e.settings=o,e.hasParserSettings=n,e.isMultiple=l,e.enableReplace=!(!e.settings.replaceGraphs||!e.settings.replaceGraphs.length),e.showAdvancedSettings=!1,e.activeTab=p,e.userTabId=i.TABS.USER,e.hasError=function(e,t){return _.find(e,(function(e){return t===e.$name}))},e.ok=function(){e.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),e.settingsForm.$valid&&(u(),t.close(e.settings))},e.cancel=function(){u(),t.dismiss(e.settings)},e.reset=function(){e.settings=_.cloneDeep(a),e.target="data"},e.addReplaceGraph=function(t){let i=!0;"default"!==t&&(i=s.isValidIri(t,t.toString())),e.settingsForm.replaceGraph.$setTouched(),e.settingsForm.replaceGraph.$setValidity("replaceGraph",i),e.settingsForm.replaceGraph.$valid&&(e.settings.replaceGraphs=e.settings.replaceGraphs||[],-1===_.indexOf(e.settings.replaceGraphs,t)?(e.replaceGraph="",e.settings.replaceGraphs.push(t)):r.warning(c.instant("import.graph.already.in.list")))},e.checkEnterReplaceGraph=function(t,r){13===t.keyCode&&(t.preventDefault(),e.addReplaceGraph(r))},e.switchParserSettings=function(){e.showAdvancedSettings=!e.showAdvancedSettings};const u=function(){"default"===e.target?e.settings.context="default":"data"===e.target&&(e.settings.context=""),e.enableReplace?"default"!==e.target&&"named"!==e.target||(e.settings.replaceGraphs=[e.settings.context]):e.settings.replaceGraphs=[]};e.settings.context?"default"===e.settings.context?(e.target="default",e.settings.context=""):e.target="named":e.target="data"}angular.module("graphdb.framework.impex.import.controllers.settings-modal",[]).controller("SettingsModalController",s),s.$inject=["$scope","$uibModalInstance","toastr","UriUtils","settings","hasParserSettings","defaultSettings","isMultiple","activeTab","$translate"]},193:function(e,t){function r(e,t){e.importFormat={name:"Auto",type:""},e.startImport=!0,e.cancel=function(){t.dismiss()},e.ok=function(){t.close({url:e.dataUrl,format:e.importFormat.type,startImport:e.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-url",[]).controller("ImportUrlController",r),r.$inject=["$scope","$uibModalInstance","toastr"]},194:function(e,t){function r(e,t,r,i){e.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],e.rdfText=r,e.importFormat=e.importFormats.find(e=>e.type===i),e.startImport=!0,e.sizeLimit=1e5,e.setFormat=t=>{e.importFormat=t},e.cancel=()=>{t.dismiss()},e.ok=()=>{t.close({text:e.rdfText,format:e.importFormat.type,startImport:e.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-text-snippet",[]).controller("ImportTextSnippetController",r),r.$inject=["$scope","$uibModalInstance","text","format"]},195:function(e,t,r){"use strict";r.r(t);var i=r(0);function s(e,t,r,s,o){e.message=s.trustAsHtml(Object(i.decodeHTML)(r.instant("import.user_data.duplicates_confirmation.message",{duplicatedFiles:o}))),e.cancel=()=>{t.dismiss()},e.keepBoth=()=>{t.close({overwrite:!1})},e.overwrite=()=>{t.close({overwrite:!0})}}angular.module("graphdb.framework.impex.import.controllers.file-override-confirmation",[]).controller("FileOverrideConfirmationController",s),s.$inject=["$scope","$uibModalInstance","$translate","$sce","duplicatedFiles"]},196:function(e,t,r){"use strict";r.r(t),r.d(t,"FILE_FORMATS",(function(){return i})),r.d(t,"FileFormats",(function(){return s}));const i=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];class s{static getGZS(){return i.map(e=>`.${e}.gz`)}static getBasics(){return i.map(e=>"."+e)}static getFileFormatsExtended(){return[...this.getGZS(),...this.getBasics(),".zip"].join(", ")}static getFileFormatsHuman(){return[...this.getBasics()].join(" ")}static getTextFileFormatsHuman(){return this.getBasics().filter(e=>".brf"!==e).join(" ")}}},197:function(e,t,r){"use strict";r.r(t),r.d(t,"DateUtils",(function(){return i}));class i{static formatCurrentDateTime(){const e=new Date;return e.getFullYear()+"-"+_.padStart(e.getMonth()+1,2,"0")+"-"+_.padStart(e.getDate(),2,"0")+" "+_.padStart(e.getHours(),2,"0")+":"+_.padStart(e.getMinutes(),2,"0")+":"+_.padStart(e.getSeconds(),2,"0")+"."+_.padStart(e.getMilliseconds(),3,"0")}}},198:function(e,t,r){"use strict";r.r(t),r.d(t,"toImportResource",(function(){return o}));var i=r(123),s=r(124);const o=e=>{const t=Object(s.md5HashGenerator)();return e.map(e=>new i.ImportResource(e,t))}},199:function(e,t,r){"use strict";r.r(t),r.d(t,"FilePrefixRegistry",(function(){return s}));var i=r(101);class s{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(e){e.filter(e=>"file"===e.type).forEach(e=>{const t=i.FileUtils.getFilenameAndExtension(e.name).filename,r=t.lastIndexOf("-");let s=r<0?0:t.substring(r+1),o=t.substring(0,r);if(r<0?(s=0,o=t):(s=t.substring(r+1),o=t.substring(0,r)),s){s=parseInt(s);const e=this.filesPrefixRegistry[o]||0;this.filesPrefixRegistry[o]=e<s?s:e}else this.filesPrefixRegistry[o]=0})}prefixDuplicates(e){return e.map(e=>{const{filename:t,extension:r}=i.FileUtils.getFilenameAndExtension(e.name),s=`${t}-${this.getIndexForFile(t)}.${r}`;return new File([e],s,{type:e.type,lastModified:e.lastModified})})}getIndexForFile(e){let t=this.filesPrefixRegistry[e];return void 0!==t?t++:t=0,this.filesPrefixRegistry[e]=t,t}}},241:function(e,t,r){"use strict";r.r(t);r(7),r(30),r(189),r(190);var i=r(73),s=(r(191),r(192),r(193),r(194),r(195),r(196)),o=r(71),n=r(101),a=r(197),l=r(198),p=r(0),c=r(199),u=r(125),d=r(66);const m=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","graphdb.framework.utils.uriutils","graphdb.framework.guides.services","graphdb.framework.rest.import.service","graphdb.framework.rest.upload.service","graphdb.framework.import.services.importcontext","graphdb.framework.impex.import.controllers.tab","graphdb.framework.impex.import.controllers.settings-modal","graphdb.framework.impex.import.controllers.import-url","graphdb.framework.impex.import.controllers.import-text-snippet","graphdb.framework.impex.import.controllers.file-override-confirmation"]),f="file",g="text",h="url";m.controller("ImportViewCtrl",["$scope","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService","ImportRestService","ImportContextService",function(e,t,r,a,c,d,m,f,g,h,v,S,I,y){const b=[];let F=null;let T=void 0;e.files=[],e.fileChecked={},e.activeTabId=y.getActiveTabId(),e.popoverTemplateUrl="settingsPopoverTemplate.html",e.fileFormatsExtended=s.FileFormats.getFileFormatsExtended(),e.fileFormatsHuman=s.FileFormats.getFileFormatsHuman()+g.instant("import.gz.zip"),e.textFileFormatsHuman=s.FileFormats.getTextFileFormatsHuman(),e.maxUploadFileSizeMB=0,e.SORTING_TYPES=u.SortingType,e.TAB_IDS=i.TABS,e.toTitleCase=e=>o.toTitleCase(e),e.setSettingsFor=(t,r,i,s=(()=>{}))=>{U(t,r).then(r=>{e.settingsFor=t,e.settings=r,""===t||"application/ld+json"===i||"application/x-ld+ndjson"===i||t.endsWith("jsonld")||t.endsWith("zip")||t.endsWith("gz")||"directory"===e.settings.type?e.settings.hasContextLink=!0:e.settings.hasContextLink=!1;const o=_.cloneDeep(e.settings),n={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalController",resolve:{settings:function(){return _.cloneDeep(e.settings)},hasParserSettings:e.isLocalLocation,defaultSettings:function(){return o},isMultiple:function(){return!t},activeTab:function(){return e.activeTabId}},size:"lg"};v.isActive()&&(n.backdrop="static",n.keyboard=!1),c.open(n).result.then(t=>{e.settings=t,""===e.settingsFor?e.importSelected():e.importFile(e.settingsFor,!0)},t=>{e.settings=t,s&&s()})})},e.updateImport=(t,r,i)=>{U(t,r).then(r=>{e.settingsFor=t,e.settings=r,e.importFile(t,i)})},e.importSelected=t=>{const r=new Set([...E(),...x()]),i=Array.from(r),s=()=>{const r=i.shift();r&&U(r).then(i=>{t&&(e.settings=i),e.importFile(r,!0,s)})};s()},e.isLocalLocation=()=>{const e=a.getActiveLocation();return e&&e.local},e.updateList=t=>{e.canWriteActiveRepo()&&e.updateListHttp(t)},e.onRepositoryChange=()=>{e.setRestricted(),e.isRestricted||(e.updateList(!0),R())},e.onImport=t=>{e.setSettingsFor(t.importResource.name,!1,t.importResource.format)},e.onStopImport=r=>{const s=r.importResource;(e.activeTabId===i.TABS.USER?I.stopUserDataImport:I.stopServerImport)(a.getActiveRepository(),{name:s.name,type:s.type}).success((function(){e.updateList()})).error((function(e){t.warning(g.instant("import.error.could.not.stop",{data:getError(e)}))}))},e.onRemove=e=>{const t=e.map(e=>e.name);$(t)},e.onReset=e=>{w(e,!1)},e.importAll=(t,r)=>{if(r)e.importSelected(t,r);else{let i="";1===t.length&&(i=t[0].importResource.name),e.setSettingsFor(i,r,void 0)}},e.onEditResource=t=>{t.importResource.isText()&&e.openTextSnippetDialog(t.importResource)};const R=()=>(T=void 0,e.canWriteActiveRepo()?I.getDefaultSettings(a.getActiveRepository()).success((function(e){return T=e,T})).error((function(e){t.warning(g.instant("import.error.default.settings",{data:getError(e)}))})):Promise.resolve(T)),x=()=>y.getSelectedFilesNames(),E=()=>e.currentFiles.filter(e=>e.name).map(e=>e.name),$=(e=[])=>{const t="<br/>"+e.join("<br/>"),r=Object(p.decodeHTML)(g.instant("import.remove.confirm.msg",{name:t}));S.openConfirmation(g.instant("common.confirm"),r,()=>{w(e,!0)})},U=(t,r)=>r||_.isEmpty(t)||_.isEmpty(e.savedSettings[t])?(T?Promise.resolve(angular.copy(T)):R().then(()=>angular.copy(T))).then(e=>e):Promise.resolve(e.savedSettings[t]);e.updateListHttp=r=>{if(!a.getActiveRepository())return Promise.resolve();const s=e.activeTabId===i.TABS.USER?I.getUploadedFiles:I.getServerFiles,o=e.activeTabId;return s(a.getActiveRepository()).success((function(t){o===y.getActiveTabId()&&((i.TABS.SERVER===e.activeTabId||i.TABS.USER===e.activeTabId)&&y.updateResources(Object(l.toImportResource)(t)),0===e.files.length||r?(e.files=t,y.updateFiles(e.files),e.files.forEach((function(t){t.type||(t.type=e.defaultType)}))):e.files.forEach((function(r){const i=_.find(t,_.matches({name:r.name}));r.status&&i&&_.assign(r,i),r.type||(r.type=e.defaultType)})),r&&i.TABS.USER===e.activeTabId&&(e.files=_.filter(e.files,(function(e){return void 0!==e.status})),y.updateFiles(e.files)),e.savedSettings=_.mapKeys(_.filter(e.files,"parserSettings"),"name"))})).error((function(e){t.warning(g.instant("import.error.could.not.get.files",{data:getError(e)}))}))};const w=(r,s)=>{if(!r||r.length<1)return;(e.activeTabId===i.TABS.USER?I.resetUserDataStatus:I.resetServerFileStatus)(a.getActiveRepository(),r,s).success((function(){e.updateList(!0)})).error((function(e){t.warning(g.instant("import.error.could.not.clear",{data:getError(e)}))}))},D=()=>{b.forEach(e=>e())},A=t=>{e.activeTabId=t,y.updateResources([]),y.updateShowLoader(!0),e.updateListHttp(!0).finally(()=>y.updateShowLoader(!1))};e.importViewControllerInit=()=>{b.push(e.$on("repositoryIsSet",e.onRepositoryChange)),b.push(e.$on("$destroy",()=>r.cancel(F))),b.push(y.onActiveTabIdUpdated(e=>A(e))),e.$on("$destroy",D),h.getInfo().success((function(t){e.appData={},e.appData.properties={};for(let r=0;r<t.length;r++)e.appData.properties[t[r].key]={source:t[r].source,value:t[r].value};e.maxUploadFileSizeMB=n.FileUtils.convertBytesToMegabytes(e.appData.properties["graphdb.workbench.maxUploadSize"].value)})).error((function(e){const r=getError(e);t.error(r,g.instant("common.error"))})),R(),F=r(()=>{e.updating||e.updateList(!1)},4e3),A(y.getActiveTabId())}}]),m.controller("ImportCtrl",["$scope","toastr","$controller","$translate","$repositories","ImportRestService","ImportContextService",function(e,t,r,s,o,n,a){e.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.modified",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:e})),e.defaultType="server",e.tabId="#import-server",e.importSelected=e=>{l(a.getSelectedFilesNames(),e)},e.importFile=function(e){l([e])};const l=function(r,i){e.canWriteActiveRepo()&&n.importServerFiles(o.getActiveRepository(),{importSettings:i?null:e.settings,fileNames:r}).success((function(){e.updateList(),e.fileChecked={}})).error((function(e){t.error(s.instant("import.could.not.send.file",{data:getError(e)}))}))};i.TABS.SERVER===a.getActiveTabId()&&e.importViewControllerInit()}]),m.controller("UploadCtrl",["$scope","toastr","$controller","$uibModal","$translate","$repositories","ImportRestService","UploadRestService","ModalService","ImportContextService","EventEmitterService",function(e,t,r,s,o,l,p,u,m,v,S){const I=new c.FilePrefixRegistry,y=[];e.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.uploaded",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:e})),e.defaultType=f,e.tabId="#import-user",e.currentFiles=[];let b=!1;e.pastedDataIdx=1,e.fileSelected=function(t,r,i,s,o){const n={files:i,cancel:!1};S.emit("filesForUploadSelected",n,t=>{if(!t.cancel){const t=o||[];F(t);const r=t.map(e=>e.name);let s=i||[];s=s.filter(e=>!r.includes(e.name)),$(s);const n=[],a=[];s.forEach(t=>{e.files.some(e=>e.name===t.name)?n.push(t):a.push(t)}),n.length>0?U(n,a):(e.currentFiles=[...s],b=!0)}})},e.importFile=(r,i,s)=>{const n=e.files.find(e=>e.name===r);n?n.type===g?T(n,i,s):n.type===h?x(n,i,s):E(n,i,s):t.warning(o.instant("import.no.such.file",{name:r}))},e.openTextSnippetDialog=t=>{t&&t.data;s.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"ImportTextSnippetController",resolve:{text:function(){return t?t.data:""},format:function(){return t?t.format:"text/turtle"}}}).result.then(r=>{t?(t.data===r.text&&t.format===r.format||t.status===d.ImportResourceStatus.NONE||(t.status=d.ImportResourceStatus.NONE,t.message=o.instant("import.text.snippet.not.imported")),t.data=r.text,t.format=r.format,R(t)):(t={type:"text",name:"Text snippet "+a.DateUtils.formatCurrentDateTime(),format:r.format,data:r.text},e.files.unshift(t),e.updateImport(t.name,!1,!1)),r.startImport&&e.setSettingsFor(t.name,!1,t.format)})},e.rdfDataFromURL=()=>{s.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"ImportUrlController",scope:e}).result.then((function(t){const r=_.find(e.files,{type:"url",name:t.url});r?r.format=t.format:e.files.unshift({type:"url",name:t.url,format:t.format,data:t.url}),e.updateImport(t.url,!0,!1),t.startImport&&e.setSettingsFor(t.url,!0,t.format)}))};const F=e=>{e.length>0&&e.forEach((function(e){t.warning(o.instant("import.large.file",{name:e.name,size:n.FileUtils.convertBytesToMegabytes(e.size)}))}))},T=(r,i,s)=>{e.settings.name=r.name,e.settings.type=r.type,e.settings.data=r.data,e.settings.format=r.format,r.status=d.ImportResourceStatus.PENDING;(i?p.importTextSnippet:p.updateTextSnippet)(l.getActiveRepository(),e.settings).success((function(){e.updateList()})).error((function(e){t.error(o.instant("import.could.not.send.data",{data:getError(e)})),r.status=d.ImportResourceStatus.ERROR,r.message=getError(e)})).finally(s||function(){})},R=r=>{e.updating=!0,p.updateTextSnippet(l.getActiveRepository(),r).success((function(e){})).error((function(e){t.error(o.instant("import.could.not.update.text",{data:getError(e)}))})).finally((function(){e.updating=!1}))},x=(r,i,s)=>{e.settings.name=r.name,e.settings.type=r.type,e.settings.data=r.data,e.settings.format=r.format,r.status=d.ImportResourceStatus.PENDING;(i?p.importFromUrl:p.updateFromUrl)(l.getActiveRepository(),e.settings).success((function(){e.updateList()})).error((function(e){t.error(o.instant("import.could.not.send.url",{data:getError(e)}))})).finally(s||function(){})},E=(r,i,s)=>{e.settings.name=r.name;const n=u.createUploadPayload(r,e.settings);(i?u.uploadUserDataFile:u.updateUserDataFile)(l.getActiveRepository(),r,n).then(t=>{e.progressPercentage=null,e.uploadProgressMessage="",e.updateList()},e=>{t.error(o.instant("import.could.not.upload.file",{data:getError(e.data)})),r.status=d.ImportResourceStatus.ERROR,r.message=getError(e.data)},t=>{e.progressPercentage=parseInt(100*t.loaded/t.total),e.uploadProgressMessage=o.instant("import.file.upload.progress",{progress:e.progressPercentage})}).finally(s||function(){e.progressPercentage=null,e.uploadProgressMessage=""})},$=e=>{e.forEach((function(r){if("bz2"===r.name.substr(r.name.lastIndexOf(".")+1)){const i=e.indexOf(r);i>-1&&e.splice(i,1),t.error(o.instant("import.could.not.upload",{name:r.name}))}}))},U=(t,r)=>{const i=t.map(e=>e.name).join("<br/>");s.open({templateUrl:"js/angular/import/templates/file-override-confirmation.html",controller:"FileOverrideConfirmationController",windowClass:"confirm-duplicate-files-dialog",resolve:{duplicatedFiles:()=>i}}).result.then(i=>{if(i.overwrite)e.currentFiles.length?e.currentFiles=[...t,...r]:e.currentFiles.push(...t,...r),b=!0;else{const i=I.prefixDuplicates(t);e.currentFiles=[...e.currentFiles,...i,...r],b=!0}})},w=()=>{Object.keys(e.fileChecked).forEach(t=>{e.fileChecked[t]=!1})};y.push(e.$watchCollection("currentFiles",()=>{if(e.files=_.uniqBy(_.union(_.map(e.currentFiles,(function(e){return{name:e.name,type:"file",file:e}})),e.files),(function(e){return e.name})),e.savedSettings=_.mapKeys(_.filter(e.files,"parserSettings"),"name"),b&&e.currentFiles.length>0){w(),e.currentFiles.forEach(t=>{e.fileChecked[t.name]=!0});let t="";1===e.currentFiles.length&&(t=e.currentFiles[0].name),e.setSettingsFor(t,!1,void 0,()=>{e.currentFiles.forEach(t=>{e.updateImport(t.name,!1,!1)})})}})),e.$on("$destroy",()=>{y.forEach(e=>e())});i.TABS.USER===v.getActiveTabId()&&(e.importViewControllerInit(),y.push(v.onFilesUpdated(e=>{I.buildPrefixesRegistry(e)})))}])},66:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceStatus",(function(){return i}));const i={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},71:function(e,t,r){"use strict";r.r(t),r.d(t,"removeSpecialChars",(function(){return s})),r.d(t,"toBoolean",(function(){return o})),r.d(t,"toTitleCase",(function(){return n}));var i=r(25);const s=e=>e.replace(/[()']/g,""),o=e=>"string"==typeof e?"true"===e:Boolean(e),n=e=>e?Object(i.upperFirst)(e.toLowerCase()):e},73:function(e,t,r){"use strict";r.r(t),r.d(t,"TABS",(function(){return s}));var i=r(25);const s={USER:"user",SERVER:"server"};function o(e){let t=s.USER,r=void 0,o=[],n=!0,a=[];return{updateActiveTabId:function(r){t=r,e.emit("activeTabIdUpdated",c())},getActiveTabId:c,onActiveTabIdUpdated:function(t){return e.subscribe("activeTabIdUpdated",()=>t(c()))},getFiles:u,addFile:function(t){o.push(t),e.emit("fileAdded",Object(i.cloneDeep)(t))},updateFiles:function(t){o=t,e.emit("filesUpdated",u())},onFilesUpdated:function(t){return e.subscribe("filesUpdated",()=>t(u()))},updateResources:function(t){r=t,e.emit("resourcesUpdated",d())},getResources:d,onResourcesUpdated:function(t){return e.subscribe("resourcesUpdated",()=>t(d()))},updateShowLoader:function(t){n=t,e.emit("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(t){return e.subscribe("showLoaderUpdated",()=>t(p()))},updateSelectedFilesNames:function(t){a=t,e.emit("selectedFilesNamesUpdated",l())},getSelectedFilesNames:l,onSelectedFilesNamesUpdated:function(t){return e.subscribe("selectedFilesNamesUpdated",()=>t(p()))}};function l(){return a}function p(){return n}function c(){return t}function u(){return Object(i.cloneDeep)(o)}function d(){return Object(i.cloneDeep)(r)}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",o),o.$inject=["EventEmitterService"]},76:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportResourceType",(function(){return i}));const i={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},98:function(e,t,r){"use strict";r.r(t),r.d(t,"ImportParsingSettings",(function(){return i}));class i{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}}}]);
|