graphdb-workbench 2.6.2-TR3 → 2.6.2
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/12.72b1cf9c0b2a0cf0e39b.bundle.js +1 -0
- package/dist/131.f41a0b6b9036447b1077.bundle.js +1 -1
- package/dist/16.af6bc53be819045291bd.bundle.js +1 -1
- package/dist/242.7be67f4aaa4647098043.bundle.js +1 -0
- package/dist/257.943f597bddc0d65103c5.bundle.js +1 -1
- package/dist/259.2c88332b7f1b47935a47.bundle.js +1 -1
- package/dist/260.d745422c537bdd9647bb.bundle.js +1 -1
- package/dist/261.7efff7f93f61f061f5ca.bundle.js +1 -1
- package/dist/27.92bfb161b420732902a3.bundle.js +1 -1
- package/dist/28.2e0277168c8f14f9c085.bundle.js +1 -1
- package/dist/288.6cef162ec3cec3cde603.bundle.js +1 -1
- package/dist/40.53352fda81f370182e99.bundle.js +1 -1
- package/dist/5.f15016e5e47214a9bc88.bundle.js +1 -0
- package/dist/63.dbce2c16115eac52fed2.bundle.js +1 -1
- package/dist/96.53f0a874878aedfa987a.bundle.js +1 -0
- package/dist/{bundle.4ff8ba3c9d9d1eac7a29.bundle.js → bundle.67ed0787383a638da8e9.bundle.js} +2 -2
- package/dist/css/bootstrap-graphdb-theme-dark-auto.css +4 -0
- package/dist/css/clustermanagement.css +5 -1
- package/dist/i18n/locale-en.json +2 -1
- package/dist/i18n/locale-fr.json +2 -1
- package/dist/index.html +4 -4
- 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 +4 -4
- package/dist/{main.cd9080d130335332d006.css → main.b830c2fc237abd684f41.css} +1 -1
- 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 +1 -1
- 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/webapi.html +2 -2
- package/dist/res/swagger/index.html +27 -27
- package/package.json +2 -2
- package/dist/12.75466fc44ea53c351a67.bundle.js +0 -1
- package/dist/242.3b1c3384513df758e880.bundle.js +0 -1
- package/dist/5.f58f4e96c07a6a7a0e06.bundle.js +0 -1
- package/dist/96.e01346a08ab153a02364.bundle.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[12,96],{141:function(t,e,n){"use strict";n.r(e),n.d(e,"clusterColors",(function(){return r})),n.d(e,"font",(function(){return s})),n.d(e,"shortMessageLimit",(function(){return a})),n.d(e,"createClusterSvgElement",(function(){return c})),n.d(e,"createClusterZone",(function(){return i})),n.d(e,"setCreateClusterZone",(function(){return d})),n.d(e,"updateClusterZoneLabels",(function(){return l})),n.d(e,"moveElement",(function(){return u})),n.d(e,"createNodes",(function(){return f})),n.d(e,"updateNodes",(function(){return p})),n.d(e,"createLinks",(function(){return g})),n.d(e,"updateLinks",(function(){return S})),n.d(e,"setLinkColor",(function(){return m})),n.d(e,"setLinkStyle",(function(){return N})),n.d(e,"positionNodesOnClusterZone",(function(){return O}));var o=n(110);const r={ontoOrange:"var(--primary-color)",ontoBlue:"var(--secondary-color)",ontoGreen:"var(--tertiary-color)",ontoGrey:"var(--gray-color)"},s={FONT_AWESOME:"FONT_AWESOME",ICOMOON:"ICOMOON"},a=40;function c(t){return d3.select(t).append("svg")}function i(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","2"),e}function d(t,e,n,o=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",o),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),o&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r.ontoOrange).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function l(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function u(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function f(t,e,n){const o=t.enter().append("g").attr("id","node-group").classed("legend",n),r=o.merge(t).attr("id","node-group").classed("legend",n);return function(t,e){const n=Math.sqrt(3)/2,o=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];t.selectAll("path.area").data([o]).enter().append("path").attr("class","node member").attr("d",d3.line())}(o,e),t.exit().remove(),o.append("text").attr("class","icon-any node-icon"),function(t,e,n){const o=t.append("g");n?o.append("foreignObject").attr("y",e).attr("x",-e).attr("width",2*e).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host"):(o.append("rect").attr("class","id-host-background").attr("rx",6),o.append("rect").attr("class","node-info-background").attr("rx",6),o.append("text").attr("y",e+15).attr("class","id id-host"),o.append("text").attr("y",e+45).attr("class","node-info-text"))}(o,e,n),r}function p(t){!function(t){t.select(".node-icon").each((function(t){const e=(n=t,_.isEmpty(n.recoveryStatus)?function(t){if(t.nodeState===o.NodeState.LEADER)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.FOLLOWER)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.CANDIDATE)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.NO_CONNECTION)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.OUT_OF_SYNC)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.READ_ONLY)return{icon:"",font:s.ICOMOON};if(t.nodeState===o.NodeState.RESTRICTED)return{icon:"",font:s.ICOMOON};return{icon:"",font:""}}(t):function(t){if(_.isEmpty(t.recoveryStatus))return"";switch(t.recoveryStatus.state){case o.RecoveryState.SEARCHING_FOR_NODE:return{icon:"",font:s.FONT_AWESOME};case o.RecoveryState.WAITING_FOR_SNAPSHOT:return{icon:"",font:s.FONT_AWESOME};case o.RecoveryState.RECEIVING_SNAPSHOT:return{icon:"",font:s.FONT_AWESOME};case o.RecoveryState.APPLYING_SNAPSHOT:return{icon:"",font:s.FONT_AWESOME};case o.RecoveryState.BUILDING_SNAPSHOT:return{icon:"",font:s.FONT_AWESOME};case o.RecoveryState.SENDING_SNAPSHOT:return{icon:"",font:s.FONT_AWESOME};case o.RecoveryState.RECOVERY_OPERATION_FAILURE_WARNING:return{icon:"",font:s.ICOMOON};default:return{icon:"",font:""}}}(t));var n;d3.select(this).classed("icon-any",e.font===s.ICOMOON).classed("fa-d3",e.font===s.FONT_AWESOME).text(e.icon)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===o.NodeState.LEADER).classed("follower",t=>t.nodeState===o.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===o.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==o.NodeState.LEADER&&t.nodeState!==o.NodeState.FOLLOWER&&t.nodeState!==o.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){let e,n;t.select(".node-info-text").each((function(t){t.infoNode=this})).select((function(){return this.parentNode})).append("foreignObject").attr("width",(function(t){if(_.isEmpty(t.recoveryStatus))return 0;const o=y(h(t));return e=o.height,n=o.width,n})).attr("height",(function(t){return _.isEmpty(t.recoveryStatus)?0:e})).attr("x",(function(t){return-n/2})).attr("y",(function(t){return 78})).classed("hidden",(function(t){return _.isEmpty(t.recoveryStatus)})).style("font-size","12px").style("font-weight","400").style("text-align","center").style("padding","4px").style("background","#EEEEEE").style("border-radius","6px").attr("class","node-info-fo").append("xhtml:div").html((function(t){return h(t)})),t.select(".node-info-text").remove(),function(t){t.select(".node-info-fo").on("click",null).on("click",(function(t,e){t.preventDefault(),t.stopPropagation();const n=h(e),o=d3.select(this),r=e.recoveryStatus.message&&e.recoveryStatus.message.length>a&&o.text()!==e.recoveryStatus.message;let s;s=r?y(e.recoveryStatus.message).width:y(n).width,o.attr("width",(function(t){return s})).attr("x",(function(t){return-s/2})).html(`<div>${r?e.recoveryStatus.message:n}</div>`)}))}(t)}(t)}function h(t){return t.recoveryStatus.message&&t.recoveryStatus.message.length>a?t.recoveryStatus.message.substring(0,a)+"...":t.recoveryStatus.message||""}function y(t){const e=document.createElement("div");e.innerHTML=t,e.style.padding="4px",e.style.position="absolute",e.style.visibility="hidden",e.style.fontSize="12px",e.style.fontWeight="400",e.style.textAlign="center",e.style.height="auto",e.style.width="auto",e.style.whiteSpace="nowrap",document.body.appendChild(e);const n=e.getBoundingClientRect(),o=n.height,r=n.width;return document.body.removeChild(e),{height:o,width:r}}function g(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function S(t,e){t.attr("stroke",m).style("stroke-dasharray",N).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),o=e.find(e=>e.address===t.target),r=o.x-n.x,s=o.y-n.y,a=Math.sqrt(r*r+s*s),c=r/a,i=s/a,d=n.x+55*c,l=n.y+55*i,u=o.x-55*c,f=o.y-55*i;return"M"+d+","+l+"L"+u+","+f}(t,e))}function m(t){return t.status===o.LinkState.IN_SYNC||t.status===o.LinkState.SYNCING?r.ontoGreen:t.status===o.LinkState.OUT_OF_SYNC?r.ontoGrey:"none"}function N(t){return t.status===o.LinkState.OUT_OF_SYNC||t.status===o.LinkState.SYNCING?"10 10":"none"}function O(t,e,n,o){t.attr("transform",(r,s)=>{const a=2*Math.PI*s/t.size(),c=e+Math.cos(a)*o,i=n+Math.sin(a)*o;return r.x=c,r.y=i,`translate(${c}, ${i})`})}},200:function(t,e,n){"use strict";n.r(e);n(10);var o=n(141),r=n(110),s=n(402);let a=240;const c=angular.module("graphdb.framework.clustermanagement.directives",["graphdb.framework.utils.localstorageadapter"]),i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node",recovery_operation_failure_warning:"Node unable to recover. Action required"}},d={node_state:"legend_node_state",link_state:"legend_link_state"};c.directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$rootScope",function(t,e,n,r,c,f){return{restrict:"A",link:function(p,h){const y=p.isAdmin();function g(t,e=""){Object.keys(t).forEach(n=>{let o="";e&&(o+=e),o+="."+n;const r=t[n];"string"==typeof r?t[n]=c.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&g(r,o)})}function S(){const o="collapsedMenu"===e.get(n.MENU_STATE);return a=o?70:240,Math.max(Math.floor(.95*(t.innerWidth-a)),600)}function m(){return Math.max(.95*(t.innerHeight-250),600)}let N,O,x;p.showLegend=!1,f.$on("$translateChangeSuccess",(function(){g(i),function(){o.updateClusterZoneLabels(v,T,i),Object.keys(d).forEach(t=>{d3.select("#"+t).text(R(t))}),N&&N.remove();F(),B()}()})),p.$on("$destroy",(function(){D.destroy()}));let v,E,T,C,w,k,b=S(),A=m(),L=Math.min(b,A)/2-100,I=b/2,M=A/2;function R(t){return i[d[t]]}function F(){N=E.append("g").attr("id","legend-group").classed("hidden",!p.showLegend).classed("legend-group",!0)}p.width=function(){return b},p.height=function(){return A};const D=Object(s.a)().attr("class","d3-tip").customPosition((function(){const t=k.getBoundingClientRect(),e=document.documentElement.scrollTop||document.body.scrollTop,n=document.documentElement.scrollLeft||document.body.scrollLeft;return{left:t.left+n+"px",top:t.top-30+e+"px"}})).html((function(t){return t.toolTip})),G=function(t,e){k=e,D.show(t,k)},W=function(){k=null,D.hide()};function B(){const t=l(),e=u();!function(t,e){t.forEach(t=>{const e=_.get(i,t.customText);t.toolTip=t.hostname=e}),e.forEach(t=>{t.toolTip=t.linkTypeText=i[t.linkTypeKey]})}(t,e),N.append("rect").attr("id","legend-background").attr("class","legend-background").attr("fill","#EEEEEE");const n=N.append("text").attr("id","node_state").attr("class","id id-host").attr("x",200).attr("y",24).text(R("node_state")),r=N.append("text").attr("id","link_state").attr("class","id id-host").attr("x",200).attr("y",319).text(R("link_state")),s=N.selectAll("#node-group").data(t),a=o.createNodes(s,25,!0);o.updateNodes(a),a.select(".node.member").on("mouseover",(function(t,e){t.stopPropagation(),G(e,this)})).on("mouseout",W),a.attr("transform",(function(t){const e=Math.floor(t.id/4);return`translate(${35+65*(t.id%4)}, ${59+65*e})`})),N.call((function(t){O=t.node().getBBox().width})),n.attr("x",10+O/2),r.attr("x",10+O/2);const c=O/3,d=N.append("g").attr("id","links-group");d.attr("transform","translate(10, 329)"),e.forEach((t,e)=>{const n=c-5,r=d.append("g").classed("link",!0).classed("legend",!0).attr("transform",()=>`translate(${e*c}, 0)`);r.append("path").classed("link",!0).attr("stroke-dasharray",()=>o.setLinkStyle(t)).attr("stroke",()=>o.setLinkColor(t)).attr("d",()=>`M5,0,${n},0`),r.append("foreignObject").attr("y",10).attr("x",5).attr("width",c-10).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host").style("font-size","9px").html(t.linkTypeText),r.on("mouseover",(function(e){e.stopPropagation(),G(t,this)})).on("mouseout",W)}),N.call((function(t){x=t.node().getBBox().height,O=t.node().getBBox().width})),N.select(".legend-background").attr("height",x+50).attr("width",O+20).attr("rx","6"),P()}function P(){const t=A-(x+40+50);o.moveElement(N,0,t)}function Y(){L=Math.min(b,A)/2-100,I=b/2,M=A/2,o.moveElement(T,I,M),T.select(".cluster-zone").attr("r",L)}function H(){Y(),v!==p.clusterModel.hasCluster&&(v=!!p.clusterModel.hasCluster,function(t){let e;o.setCreateClusterZone(t,T,i,y),!t&&y&&(e=()=>{p.$apply((function(){p.showCreateClusterDialog()}))}),T.on("mouseup",e)}(v));const t=_.cloneDeep(p.clusterModel.nodes)||[],e=_.cloneDeep(p.clusterModel.links)||[];!function(t){t.forEach(t=>{if(t.hostname=r.shortenIri(t.endpoint),!_.isEmpty(t.recoveryStatus)){let e="cluster_management.cluster_graphical_view.recovery_state."+t.recoveryStatus.state.toLowerCase();t.recoveryStatus.affectedNodes&&t.recoveryStatus.affectedNodes.length>0&&(e+="_with_affected_node"),t.recoveryStatus.message=c.instant(e,{node:t.recoveryStatus.affectedNodes.join(", ")})}});const e=C.selectAll("#node-group").data(t,t=>t.address),n=o.createNodes(e,50);n.on("click",(t,e)=>{p.childContext.selectNode(e);const n=d3.select(".nodetooltip"),o=$(window).width();t.pageX<o/2?(n.style("left",t.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-t.pageX+"px")),n.style("top",t.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,I,M,L)}(t),function(t,e){const n=w.selectAll(".link").data(t,t=>t.id);o.createLinks(n),o.updateLinks(n,e)}(e,t)}p.childContext.redraw=H,p.childContext.resize=function(){b=S(),A=m(),E.attr("width",b),E.attr("height",A),H(),P()},p.childContext.toggleLegend=()=>{p.showLegend=!p.showLegend,N.classed("hidden",!p.showLegend)},g(i),function(t){E=o.createClusterSvgElement(h[0]).attr("width",b).attr("height",A),E.call(D),T=o.createClusterZone(E,t),w=E.append("g").attr("id","links-group"),C=E.append("g").attr("id","nodes-group"),F()}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),B(),H()}}}]);const l=function(){const t=[];return t.push({nodeState:r.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:r.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:r.NodeState.CANDIDATE,customText:"node_state_candidate"}),t.push({nodeState:r.NodeState.NO_CLUSTER,customText:"node_state_no_cluster"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"node_state_out_of_sync"}),t.push({nodeState:r.NodeState.NO_CONNECTION,customText:"node_state_no_connection"}),t.push({nodeState:r.NodeState.READ_ONLY,customText:"node_state_read_only"}),t.push({nodeState:r.NodeState.RESTRICTED,customText:"node_state_restricted"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.searching_for_node",recoveryStatus:{state:r.RecoveryState.SEARCHING_FOR_NODE}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.waiting_for_snapshot",recoveryStatus:{state:r.RecoveryState.WAITING_FOR_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.receiving_snapshot",recoveryStatus:{state:r.RecoveryState.RECEIVING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.applying_snapshot",recoveryStatus:{state:r.RecoveryState.APPLYING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.building_snapshot",recoveryStatus:{state:r.RecoveryState.BUILDING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.sending_snapshot",recoveryStatus:{state:r.RecoveryState.SENDING_SNAPSHOT}}),t.forEach((t,e)=>t.id=e),t},u=function(){const t=[];return t.push({status:r.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:r.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:r.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t}},402:function(t,e,n){"use strict";e.a=function(){var t=function(){return"n"},e=function(){return[0,0]},n=function(){return" "},o=u(),r=null,s=null,a=null,c=null;function i(t){var e;r="svg"===(e=(e=t).node()).tagName.toLowerCase()?e:e.ownerSVGElement,s=r.createSVGPoint(),document.body.appendChild(o)}i.show=function(){var o=Array.prototype.slice.call(arguments);o[o.length-1]instanceof SVGElement&&(a=o.pop());var r,s=n.apply(this,o),u=e.apply(this,o),p=t.apply(this,o),h=f(),y=l.length,_=document.documentElement.scrollTop||document.body.scrollTop,g=document.documentElement.scrollLeft||document.body.scrollLeft,S=c.apply(this,o);for(h.html(s).style("opacity",1).style("pointer-events","all");y--;)h.classed(l[y],!1);const m=o.filter(t=>t instanceof Event);return r=d.get(p).apply(this,m),S?Object.keys(S).forEach((function(t){h.style(t,S[t])})):h.classed(p,!0).style("top",r.top+u[0]+_+"px").style("left",r.left+u[1]+g+"px"),i},i.hide=function(){return f().style("opacity",0).style("pointer-events","none"),i},i.attr=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().attr(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.attr.apply(f(),n),i},i.style=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().style(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.style.apply(f(),n),i},i.direction=function(e){return arguments.length?(t=null==e?e:h(e),i):t},i.offset=function(t){return arguments.length?(e=null==t?t:h(t),i):e},i.html=function(t){return arguments.length?(n=null==t?t:h(t),i):n},i.customPosition=function(t){return arguments.length?(c=null==t?t:h(t),i):c},i.destroy=function(){return o&&(f().remove(),o=null),i};var d=new Map(Object.entries({n:function(t){var e=p(t);return{top:e.n.y-o.offsetHeight,left:e.n.x-o.offsetWidth/2}},s:function(t){var e=p(t);return{top:e.s.y,left:e.s.x-o.offsetWidth/2}},e:function(t){var e=p(t);return{top:e.e.y-o.offsetHeight/2,left:e.e.x}},w:function(t){var e=p(t);return{top:e.w.y-o.offsetHeight/2,left:e.w.x-o.offsetWidth}},nw:function(t){var e=p(t);return{top:e.nw.y-o.offsetHeight,left:e.nw.x-o.offsetWidth}},ne:function(t){var e=p(t);return{top:e.ne.y-o.offsetHeight,left:e.ne.x}},sw:function(t){var e=p(t);return{top:e.sw.y,left:e.sw.x-o.offsetWidth}},se:function(t){var e=p(t);return{top:e.se.y,left:e.e.x}}})),l=d.keys();function u(){var t=d3.select(document.createElement("div"));return t.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function f(){return null===o&&(o=u(),document.body.appendChild(o)),d3.select(o)}function p(t){for(var e=a||t.target;void 0===e.getScreenCTM&&"undefined"===e.parentNode;)e=e.parentNode;var n={},o=e.getScreenCTM(),r=e.getBBox(),c=r.width,i=r.height,d=r.x,l=r.y;return s.x=d,s.y=l,n.nw=s.matrixTransform(o),s.x+=c,n.ne=s.matrixTransform(o),s.y+=i,n.se=s.matrixTransform(o),s.x-=c,n.sw=s.matrixTransform(o),s.y-=i/2,n.w=s.matrixTransform(o),s.x+=c,n.e=s.matrixTransform(o),s.x-=c/2,s.y-=i/2,n.n=s.matrixTransform(o),s.y+=i,n.s=s.matrixTransform(o),n}function h(t){return"function"==typeof t?t:function(){return t}}return i}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{167:function(t,e,i){"use strict";i.r(e);i(7),i(27);const r=angular.module("graphdb.framework.impex.import.directives",["graphdb.framework.utils.uriutils"]);r.directive("validateUri",["UriUtils",function(t){return{restrict:"A",require:"ngModel",link:function(e,i,r,n){n.$parsers.unshift((function(i){let r=!0;return"named"===e.target&&(r=t.isValidIri(i,i.toString())),n.$setValidity("validateUri",r),i}))}}}]),r.directive("filesTable",(function(){return{restrict:"A",templateUrl:"js/angular/import/templates/filesTable.html"}})),r.directive("filesOntoLoader",(function(){return{link:function(t,e,i){t.$watch("file.status",(function(){"IMPORTING"!==t.file.status&&"UPLOADING"!==t.file.status||!$(e).has("object").length>0&&$(e).append('<object width="'+i.size+'" height="'+i.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.6.2
|
|
1
|
+
(window.webpackJsonp=window.webpackJsonp||[]).push([[131],{167:function(t,e,i){"use strict";i.r(e);i(7),i(27);const r=angular.module("graphdb.framework.impex.import.directives",["graphdb.framework.utils.uriutils"]);r.directive("validateUri",["UriUtils",function(t){return{restrict:"A",require:"ngModel",link:function(e,i,r,n){n.$parsers.unshift((function(i){let r=!0;return"named"===e.target&&(r=t.isValidIri(i,i.toString())),n.$setValidity("validateUri",r),i}))}}}]),r.directive("filesTable",(function(){return{restrict:"A",templateUrl:"js/angular/import/templates/filesTable.html"}})),r.directive("filesOntoLoader",(function(){return{link:function(t,e,i){t.$watch("file.status",(function(){"IMPORTING"!==t.file.status&&"UPLOADING"!==t.file.status||!$(e).has("object").length>0&&$(e).append('<object width="'+i.size+'" height="'+i.size+'" data="js/angular/templates/loader/ot-loader.svg?v=2.6.2">{{\'common.loading\' | translate}}</object>')}))}}}))}}]);
|