graphdb-workbench 2.7.0-TR13 → 2.7.0-TR15
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/{10.7d4b004077fe54d3482c.bundle.js → 10.d290928cc0a0f284bec7.bundle.js} +1 -1
- package/dist/{143.dd2b4deff681e106d2c9.bundle.js → 143.00c84b16a9d1e4ad985c.bundle.js} +1 -1
- package/dist/146.82aaae7c0f15a190b692.bundle.js +1 -1
- package/dist/{16.96c2dd100f026a4e4ee8.bundle.js → 16.dae40f821fdc6ebfaa17.bundle.js} +1 -1
- package/dist/{162.bdd0753e62eba04b059b.bundle.js → 162.c60183fadad386769974.bundle.js} +1 -1
- package/dist/{2.e09c71dbfa6dfebc2757.bundle.js → 2.f30cac0632adbf64b1ff.bundle.js} +1 -1
- package/dist/26.cf866692d0e1ab5f6663.bundle.js +1 -0
- package/dist/27.f979984f701cd7d90a09.bundle.js +1 -1
- package/dist/279.38897ac8594851063f17.bundle.js +1 -0
- package/dist/28.9cc2b0769a41c49847bd.bundle.js +1 -1
- package/dist/29.936102485048579895ba.bundle.js +1 -1
- package/dist/297.1bdc6a3832d57eb81bac.bundle.js +1 -1
- package/dist/299.282284f1dfdae76e16e8.bundle.js +1 -1
- package/dist/300.50b90ddcd4a3e62127bf.bundle.js +1 -1
- package/dist/301.103a2b39a148c9635b34.bundle.js +1 -1
- package/dist/31.33011b6711b5279f1cec.bundle.js +1 -0
- package/dist/{320.bc0f015170a4fa1cace0.bundle.js → 320.bc9ff84d0a327cc1ed9f.bundle.js} +1 -1
- package/dist/329.9cce24674845ac56ceae.bundle.js +1 -1
- package/dist/42.ef4ef5d14a8edc140ea2.bundle.js +1 -1
- package/dist/71.1e1a533350a7137809ef.bundle.js +1 -0
- package/dist/8.4ecff4d44fde5be15361.bundle.js +1 -0
- package/dist/{9.a00fbccff646dee49168.bundle.js → 9.359dca1085489f6b935d.bundle.js} +1 -1
- package/dist/{bundle.a905ff95bc0b01b69c69.bundle.js → bundle.33a2e99fc131e7c3996e.bundle.js} +2 -2
- package/dist/i18n/locale-en.json +13 -8
- package/dist/i18n/locale-fr.json +12 -7
- 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/import/templates/import-resource-tree.html +21 -22
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/license-checker.json +4 -4
- package/dist/pages/aclmanagement.html +18 -6
- 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 +11 -7
- 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 +2 -2
- package/dist/26.c226d79ff8a6003f470d.bundle.js +0 -1
- package/dist/279.de4891887c2b68f8df44.bundle.js +0 -1
- package/dist/31.06ca900e11de820e1c0d.bundle.js +0 -1
- package/dist/71.19d58211babce55c8ee1.bundle.js +0 -1
- package/dist/8.bc3b17f87a3a877d9924.bundle.js +0 -1
package/dist/pages/plugins.html
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<link href="css/rdf-class-hierarchy.css?v=2.7.0-
|
|
2
|
-
<link href="css/rdf-class-hierarchy-labels.css?v=2.7.0-
|
|
3
|
-
<link href="css/rdf-details-side-panel.css?v=2.7.0-
|
|
4
|
-
<link href="js/lib/rzslider/rzslider.min.css?v=2.7.0-
|
|
5
|
-
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.7.0-
|
|
6
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.7.0-
|
|
7
|
-
<link href="css/lib/animate/3.2.0/animate.min.css?v=2.7.0-
|
|
1
|
+
<link href="css/rdf-class-hierarchy.css?v=2.7.0-TR15" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-class-hierarchy-labels.css?v=2.7.0-TR15" rel="stylesheet"/>
|
|
3
|
+
<link href="css/rdf-details-side-panel.css?v=2.7.0-TR15" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/rzslider/rzslider.min.css?v=2.7.0-TR15" rel="stylesheet"/>
|
|
5
|
+
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.7.0-TR15" rel="stylesheet"/>
|
|
6
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.7.0-TR15" rel="stylesheet"/>
|
|
7
|
+
<link href="css/lib/animate/3.2.0/animate.min.css?v=2.7.0-TR15" rel="stylesheet"/>
|
|
8
8
|
|
|
9
9
|
<title>Explore Data Graph</title>
|
|
10
10
|
|
package/dist/pages/rdfrank.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/rdfrank.css?v=2.7.0-
|
|
2
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.7.0-
|
|
1
|
+
<link href="css/rdfrank.css?v=2.7.0-TR15" rel="stylesheet">
|
|
2
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.7.0-TR15" rel="stylesheet"/>
|
|
3
3
|
|
|
4
4
|
<div id="rdfRank" class="page">
|
|
5
5
|
<h1>
|
package/dist/pages/ux-test1.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<link rel="stylesheet" type="text/css" href="css/ux-test1.css">
|
|
2
|
-
<link href="js/lib/rzslider/rzslider.min.css?v=2.7.0-
|
|
2
|
+
<link href="js/lib/rzslider/rzslider.min.css?v=2.7.0-TR15" rel="stylesheet"/>
|
|
3
3
|
|
|
4
4
|
<div class="content-wrapper">
|
|
5
5
|
<div core-errors></div>
|
|
@@ -442,7 +442,7 @@
|
|
|
442
442
|
{{'sample.query.used' | translate}}</p>
|
|
443
443
|
</div>
|
|
444
444
|
<div>
|
|
445
|
-
<img src="css/images/expand.png?v=2.7.0-
|
|
445
|
+
<img src="css/images/expand.png?v=2.7.0-TR15" class="info-box-img" height="220"
|
|
446
446
|
alt="expand image">
|
|
447
447
|
</div>
|
|
448
448
|
</div>
|
package/dist/pages/webapi.html
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
<link href='css/lib/swagger-ui.min.css?v=2.7.0-
|
|
3
|
-
<link href='css/swagger.custom.css?v=2.7.0-
|
|
2
|
+
<link href='css/lib/swagger-ui.min.css?v=2.7.0-TR15' rel='stylesheet' type='text/css'/>
|
|
3
|
+
<link href='css/swagger.custom.css?v=2.7.0-TR15' rel='stylesheet' type='text/css'/>
|
|
4
4
|
|
|
5
5
|
<h1>
|
|
6
6
|
{{title}}
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
<head>
|
|
5
5
|
<meta charset="UTF-8">
|
|
6
6
|
<title>Swagger UI</title>
|
|
7
|
-
<link rel="stylesheet" type="text/css" href="./swagger-ui.css?v=2.7.0-
|
|
8
|
-
<link rel="stylesheet" type="text/css" href="./index.css?v=2.7.0-
|
|
9
|
-
<link rel="icon" type="image/png" href="./favicon-32x32.png?v=2.7.0-
|
|
10
|
-
<link rel="icon" type="image/png" href="./favicon-16x16.png?v=2.7.0-
|
|
11
|
-
<link href='../../css/common.css?v=2.7.0-
|
|
12
|
-
<link href='css/reset.css?v=2.7.0-
|
|
13
|
-
<link href='css/screen.css?v=2.7.0-
|
|
14
|
-
<link href='css/onto-theme.css?v=2.7.0-
|
|
15
|
-
<link href='css/print.css?v=2.7.0-
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="./swagger-ui.css?v=2.7.0-TR15" />
|
|
8
|
+
<link rel="stylesheet" type="text/css" href="./index.css?v=2.7.0-TR15" />
|
|
9
|
+
<link rel="icon" type="image/png" href="./favicon-32x32.png?v=2.7.0-TR15" sizes="32x32" />
|
|
10
|
+
<link rel="icon" type="image/png" href="./favicon-16x16.png?v=2.7.0-TR15" sizes="16x16" />
|
|
11
|
+
<link href='../../css/common.css?v=2.7.0-TR15' media='screen' rel='stylesheet' type='text/css'/>
|
|
12
|
+
<link href='css/reset.css?v=2.7.0-TR15' media='screen' rel='stylesheet' type='text/css'/>
|
|
13
|
+
<link href='css/screen.css?v=2.7.0-TR15' media='screen' rel='stylesheet' type='text/css'/>
|
|
14
|
+
<link href='css/onto-theme.css?v=2.7.0-TR15' media='screen' rel='stylesheet' type='text/css'/>
|
|
15
|
+
<link href='css/print.css?v=2.7.0-TR15' media='print' rel='stylesheet' type='text/css'/>
|
|
16
16
|
</head>
|
|
17
17
|
|
|
18
18
|
<body class="swagger-section">
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
<br>
|
|
22
22
|
<br>
|
|
23
23
|
<div id="swagger-ui-container-rdf4j" class="swagger-ui-wrap"></div>
|
|
24
|
-
<script src="./swagger-ui-bundle.js?v=2.7.0-
|
|
25
|
-
<script src="./swagger-ui-standalone-preset.js?v=2.7.0-
|
|
26
|
-
<script src="./swagger-initializer.js?v=2.7.0-
|
|
24
|
+
<script src="./swagger-ui-bundle.js?v=2.7.0-TR15" charset="UTF-8"> </script>
|
|
25
|
+
<script src="./swagger-ui-standalone-preset.js?v=2.7.0-TR15" charset="UTF-8"> </script>
|
|
26
|
+
<script src="./swagger-initializer.js?v=2.7.0-TR15" charset="UTF-8"> </script>
|
|
27
27
|
</body>
|
|
28
28
|
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphdb-workbench",
|
|
3
|
-
"version": "2.7.0-
|
|
3
|
+
"version": "2.7.0-TR15",
|
|
4
4
|
"description": "The web application for GraphDB APIs",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "webpack --config=webpack.config.prod.js",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"ng-file-upload": "^12.2.13",
|
|
108
108
|
"ng-tags-input": "^3.2.0",
|
|
109
109
|
"oclazyload": "^1.1.0",
|
|
110
|
-
"ontotext-yasgui-web-component": "1.3.
|
|
110
|
+
"ontotext-yasgui-web-component": "1.3.11",
|
|
111
111
|
"shepherd.js": "^11.2.0"
|
|
112
112
|
},
|
|
113
113
|
"resolutions": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[26,74,157,194,201,270],{181:function(e,r,t){"use strict";t.r(r);t(68),t(10);var s=t(67),a=t(64),i=t(14),n=t(74),o=t(88);function u(e,r,t,u,p,c,d,h,g,y,l,Q,f,m,I,w){let R;e.newConfig=new n.GraphsConfig,e.revertConfig=void 0,e.page=1,e.totalPages=5,e.helpHidden=1===f.get(m.HIDE_GRAPH_CONFIG_HELP),e.isUpdate=!1,e.shared=!1,e.canEditActiveRepo=e.canWriteActiveRepo(),e.samples=[],e.tabConfig={inference:e.newConfig.startQueryIncludeInferred,sameAs:e.newConfig.startQuerySameAs},e.getAutocompletePromise=void 0,e.getNamespacesPromise=void 0,e.tabsViewModel=[{page:1,label:I.instant("starting.point.label"),type:"startGraphQuery"},{page:2,label:I.instant("graph.expansion"),type:"expandQuery"},{page:3,label:I.instant("node.basics"),type:"resourceQuery"},{page:4,label:I.instant("edge.basics"),type:"predicateLabelQuery"},{page:5,label:I.instant("node.extra"),type:"resourcePropertiesQuery"}];const _=y.configName,C=p.getActiveRepository();e.toggleHelp=r=>{void 0===r&&(r=f.get(m.HIDE_GRAPH_CONFIG_HELP)),1!==r?(f.set(m.HIDE_GRAPH_CONFIG_HELP,1),e.helpHidden=!0):(f.set(m.HIDE_GRAPH_CONFIG_HELP,0),e.helpHidden=!1)},e.fixedVisualCallback=(r,t)=>{e.newConfig.startIRI=r,e.newConfig.startIRILabel=t,R=!0},e.isDefaultGraph=e=>e.isDefaultGraph(),e.isUserGraph=e=>!e.isDefaultGraph(),e.getSampleName=(e,r)=>{if(!e)return"";const t=e.getPropertyDescription(r);return t||(e.id?"Copy of "+e.name:e.name)},e.createGraphConfig=e=>{h.createGraphConfig(e).success((async function(){await l.showToastMessageWithDelay("graphexplore.saved.new.config"),t.url("graphs-visualizations")})).error((function(e){u.error(getError(e),I.instant("graphexplore.error.could.not.create"))}))},e.updateGraphConfig=e=>{h.updateGraphConfig(e).success((async function(){await l.showToastMessageWithDelay("graphexplore.saved.config"),t.url("graphs-visualizations")})).error((function(e){u.error(getError(e),I.instant("graphexplore.error.could.not.save"))}))},e.goToPage=r=>{e.page!==r&&M(()=>{e.showEditor(),e.page=r})},e.goToPreviousPage=()=>{e.page>1&&e.goToPage(e.page-1),q()&&(R=!1)},e.goToNextPage=()=>{T(),e.newConfig.isStartMode(n.StartMode.NODE)&&!R||e.goToPage(e.page+1)},e.saveGraphConfig=()=>{T(),q()&&!R||(e.newConfig.startQueryIncludeInferred=e.tabConfig.inference,e.newConfig.startQuerySameAs=e.tabConfig.sameAs,M(()=>{e.newConfig.name?(e.queryEditorIsDirty=!1,e.isUpdate?e.updateGraphConfig(e.newConfig.toSavePayload()):e.createGraphConfig(e.newConfig.toSavePayload())):P(I.instant("graphexplore.provide.config.name"))}))},e.setQuery=async r=>{const t=r||" ";(await E()).setQuery(t),e.markDirty()},e.markDirty=async()=>{if(e.revertConfig){const r=e.revertConfig.getQueryType(e.page),t=await v();e.queryEditorIsDirty=r!==t}},e.showEditor=()=>{e.viewMode="yasr",A(),b()},e.showPreview=()=>{e.viewMode="editor",S()},e.revertEditor=()=>{e.setQuery(e.revertConfig.getQueryType(e.page)),e.queryEditorIsDirty=!1};const E=()=>i.YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync("#query-editor"),S=async(r,t)=>{const s=await E(),a=await s.getQueryType();if(t&&"SELECT"!==a&&"CONSTRUCT"!==a&&"DESCRIBE"!==a)return void u.warning(I.instant("query.editor.warning.msg"));"update"!==await s.getQueryMode()?e.queryIsRunning||(e.viewMode="editor",D()):u.warning(I.instant("cannot.execute.update.error"))},D=async()=>{(await E()).query(a.RenderingMode.YASR)},b=async()=>(await E()).changeRenderMode(a.RenderingMode.YASQE),v=async()=>(await E()).getQuery(),A=async()=>(await E()).abortQuery(),M=async r=>{const t=await(async()=>{const r=await E();let t=await r.getQuery();return t=t.trim(),e.newConfig.updateModel(t,e.page)})();1===e.page?t.isStartMode(n.StartMode.NODE)&&!t.startIRI?P(I.instant("graphexplore.select.start.node")):t.isStartMode(n.StartMode.QUERY)&&!t.startGraphQuery?P(I.instant("graphexplore.provide.query")):t.isStartMode(n.StartMode.QUERY)?L(r,t.startGraphQuery,"graph"):r():2===e.page?L(r,t.expandQuery,"construct",["node"]):3===e.page?L(r,t.resourceQuery,"tuple",["node"],[],["type","label","comment","rank"]):4===e.page?L(r,t.predicateLabelQuery,"tuple",["edge"],["label"]):5===e.page&&L(r,t.resourcePropertiesQuery,"tuple",["node"],["property","value"])},G=()=>{e.tabConfig.inference=e.newConfig.startQueryIncludeInferred,e.tabConfig.sameAs=e.newConfig.startQuerySameAs,e.setQuery(e.newConfig.getQueryType(e.page))},P=e=>{u.warning(e)},x=()=>{e.getAutocompletePromise=g.checkAutocompleteStatus()},L=(e,r,t,s,a,i)=>{r?h.validateQuery(r,t,s,a,i).success(()=>{e()}).error(e=>{P(getError(e))}):e()},T=()=>{q()&&e.$broadcast("addStartFixedNodeAutomatically",{startIRI:e.newConfig.startIRI})},q=()=>1===e.page&&e.newConfig.isStartMode(n.StartMode.NODE),N=()=>{h.getGraphConfigSamples().success((function(r){e.samples=Object(o.mapGraphConfigSamplesToGraphConfigs)(r).filter(r=>!r.id||e.newConfig.id!==r.id||(e.revertConfig=r,!1))})).error((function(e){u.error(getError(e),I.instant("graphexplore.error.graph.configs"))})),x(),e.getNamespacesPromise=Q.getNamespaces(e.getActiveRepository())},Y={endpoint:()=>"/repositories/"+p.getActiveRepository(),showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showYasqeActionButtons:!1,yasqeActionButtons:i.INFERRED_AND_SAME_AS_BUTTONS_CONFIGURATION,showQueryButton:!1,initialQuery:" ",componentId:"graphs-config",render:a.RenderingMode.YASQE,maxPersistentResponseSize:0,showYasqeResizer:!1,yasqeMode:s.YasqeMode.PROTECTED,infer:e.newConfig.startQueryIncludeInferred,sameAs:e.newConfig.startQuerySameAs},O=(r,t,s)=>{e.queryIsRunning=r},$=()=>{window.removeEventListener("beforeunload",U),H.forEach(e=>e())},U=r=>{e.queryEditorIsDirty&&(r.returnValue=!0)},H=[];H.push(e.$on("autocompleteStatus",x)),H.push(e.$on("$locationChangeStart",(r,s)=>{if(e.queryEditorIsDirty){r.preventDefault();((e,r,t,s)=>{w.openSimpleModal({title:e,message:r,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(s)&&s()}))})(I.instant("common.confirm"),I.instant("visual.config.warning.unsaved.changes"),()=>{$();const e=t.absUrl().length-t.url().length,r=s.substring(e);t.path(r)})}else $()})),H.push(e.$on("$destroy",$)),H.push(e.$watch(e.getActiveRepositoryObject,()=>{(e.newConfig.isStartMode(n.StartMode.QUERY)||e.page>1)&&(e.viewMode="yasr",A().then(b))})),window.addEventListener("beforeunload",U),e.$watch("newConfig.startMode",e=>{e===n.StartMode.QUERY&&G()}),e.$watch("page",r=>{(e.newConfig.isStartMode(n.StartMode.QUERY)||r>1)&&(e.showEditor(),G())}),p.getPrefixes(C).then(r=>(r=>{const t=e.$watch((function(){return e.getActiveRepositoryObject()}),(function(a){if(a){e.canEditActiveRepo=e.canWriteActiveRepo();const a=angular.extend({},Y,{prefixes:r,yasqeMode:e.canWriteActiveRepo()?s.YasqeMode.WRITE:s.YasqeMode.PROTECTED});e.yasguiConfig=a,t()}}))})(r)).finally(()=>O(!1)),_?(e.isUpdate=!0,h.getConfig(_).then((function(r){e.newConfig=r,N()})).catch(e=>{u.error(getError(e),I.instant("created.connector",{name:_}))})):(e.isUpdate=!1,N()),e.getActiveRepository()&&(O(!0,I.instant("common.refreshing.namespaces"),I.instant("common.extra.message")),p.getPrefixes(p.getActiveRepository()).then(r=>{e.namespaces=r}).catch((function(r){e.repositoryError=getError(r)})).finally((function(){O(!1)})))}angular.module("graphdb.framework.graphexplore.controllers.graphviz.config",["graphdb.framework.utils.notifications","graphdb.framework.utils.localstorageadapter"]).controller("GraphConfigCtrl",u),u.$inject=["$scope","$timeout","$location","toastr","$repositories","SparqlRestService","$filter","GraphConfigRestService","AutocompleteRestService","$routeParams","Notifications","RDF4JRepositoriesRestService","LocalStorageAdapter","LSKeys","$translate","ModalService"]},64:function(e,r,t){"use strict";t.r(r),t.d(r,"RenderingMode",(function(){return s}));const s={YASGUI:"mode-yasgui",YASQE:"mode-yasqe",YASR:"mode-yasr"}},67:function(e,r,t){"use strict";t.r(r),t.d(r,"YasqeMode",(function(){return s}));const s={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},68:function(e,r){function t(e,r){return{showToastMessageWithDelay:function(t){return new Promise(s=>{e.success(r.instant(t)),setTimeout(s,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]},74:function(e,r,t){"use strict";t.r(r),t.d(r,"StartMode",(function(){return s})),t.d(r,"GraphsConfig",(function(){return a}));const s={QUERY:"query",NODE:"node",SEARCH:"search"};class a{constructor(e,r,t=s.SEARCH,a,i=!0,n=!0,o,u,p,c,d,h,g,y,l,Q,f,m,I,w,R){this._id=e,this._name=r,this._startMode=t,this._owner=a,this._startQueryIncludeInferred=i,this._startQuerySameAs=n,this._startGraphQuery=o,this._startIRI=u,this._startIRILabel=p,this._expandQuery=c,this._resourceQuery=d,this._predicateLabelQuery=h,this._resourcePropertiesQuery=g,this._shared=y,this._description=l,this._hint=Q,this._startGraphQueryDescription=f,this._expandQueryDescription=m,this._resourceQueryDescription=I,this._predicateLabelQueryDescription=w,this._resourcePropertiesQueryDescription=R}isStartMode(e){return this.startMode===e}isDefaultGraph(){return"Minimal"===this.name||"Advanced"===this.name}getPropertyDescription(e){return this[e+"Description"]}getQueryType(e){let r;return this.isStartMode(s.QUERY)&&1===e?r=this.startGraphQuery:2===e?r=this.expandQuery:3===e?r=this.resourceQuery:4===e?r=this.predicateLabelQuery:5===e&&(r=this.resourcePropertiesQuery),r||""}updateModel(e,r){return this.isStartMode(s.QUERY)&&1===r?this.startGraphQuery=e:2===r?this.expandQuery=e:3===r?this.resourceQuery=e:4===r?this.predicateLabelQuery=e:5===r&&(this.resourcePropertiesQuery=e),this}toSavePayload(){return{id:this.id,name:this.name,startMode:this.startMode,owner:this.owner,startQueryIncludeInferred:this.startQueryIncludeInferred,startQuerySameAs:this.startQuerySameAs,startGraphQuery:this.startGraphQuery,startIRI:this.startIRI,startIRILabel:this.startIRILabel,expandQuery:this.expandQuery,resourceQuery:this.resourceQuery,predicateLabelQuery:this.predicateLabelQuery,resourcePropertiesQuery:this.resourcePropertiesQuery,shared:this.shared,description:this.description,hint:this.hint}}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get startMode(){return this._startMode}set startMode(e){this._startMode=e}get owner(){return this._owner}set owner(e){this._owner=e}get startQueryIncludeInferred(){return this._startQueryIncludeInferred}set startQueryIncludeInferred(e){this._startQueryIncludeInferred=e}get startQuerySameAs(){return this._startQuerySameAs}set startQuerySameAs(e){this._startQuerySameAs=e}get startGraphQuery(){return this._startGraphQuery}set startGraphQuery(e){this._startGraphQuery=e}get startIRI(){return this._startIRI}set startIRI(e){this._startIRI=e}get startIRILabel(){return this._startIRILabel}set startIRILabel(e){this._startIRILabel=e}get expandQuery(){return this._expandQuery}set expandQuery(e){this._expandQuery=e}get resourceQuery(){return this._resourceQuery}set resourceQuery(e){this._resourceQuery=e}get predicateLabelQuery(){return this._predicateLabelQuery}set predicateLabelQuery(e){this._predicateLabelQuery=e}get resourcePropertiesQuery(){return this._resourcePropertiesQuery}set resourcePropertiesQuery(e){this._resourcePropertiesQuery=e}get shared(){return this._shared}set shared(e){this._shared=e}get description(){return this._description}set description(e){this._description=e}get hint(){return this._hint}set hint(e){this._hint=e}get startGraphQueryDescription(){return this._startGraphQueryDescription}set startGraphQueryDescription(e){this._startGraphQueryDescription=e}get expandQueryDescription(){return this._expandQueryDescription}set expandQueryDescription(e){this._expandQueryDescription=e}get resourceQueryDescription(){return this._resourceQueryDescription}set resourceQueryDescription(e){this._resourceQueryDescription=e}get predicateLabelQueryDescription(){return this._predicateLabelQueryDescription}set predicateLabelQueryDescription(e){this._predicateLabelQueryDescription=e}get resourcePropertiesQueryDescription(){return this._resourcePropertiesQueryDescription}set resourcePropertiesQueryDescription(e){this._resourcePropertiesQueryDescription=e}}},88:function(e,r,t){"use strict";t.r(r),t.d(r,"mapGraphsConfigResponseToModel",(function(){return a})),t.d(r,"mapGraphConfigSampleToGraphConfig",(function(){return i})),t.d(r,"mapGraphConfigSamplesToGraphConfigs",(function(){return n}));var s=t(74);const a=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint),i=e=>new s.GraphsConfig(e.id,e.name,e.startMode,e.owner,e.startQueryIncludeInferred,e.startQuerySameAs,e.startGraphQuery,e.startIRI,e.startIRILabel,e.expandQuery,e.resourceQuery,e.predicateLabelQuery,e.resourcePropertiesQuery,e.shared,e.description,e.hint,e.startGraphQueryDescription,e.expandQueryDescription,e.resourceQueryDescription,e.predicateLabelQueryDescription,e.resourcePropertiesQueryDescription),n=e=>e.map(e=>i(e))}}]);
|