graphdb-workbench 2.3.0-TR7 → 2.3.0-TR8
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/{108.112426f55d9e34a78ab3.bundle.js → 108.7199f12abac98c8182cd.bundle.js} +1 -1
- package/dist/{108.112426f55d9e34a78ab3.bundle.js.map → 108.7199f12abac98c8182cd.bundle.js.map} +1 -1
- package/dist/11.4928d8d13ff46f3872bb.bundle.js +1 -1
- package/dist/11.4928d8d13ff46f3872bb.bundle.js.map +1 -1
- package/dist/148.45985ae23de642595544.bundle.js +1 -1
- package/dist/148.45985ae23de642595544.bundle.js.map +1 -1
- package/dist/20.4eb25ede434dc329ecf1.bundle.js +1 -1
- package/dist/20.4eb25ede434dc329ecf1.bundle.js.map +1 -1
- package/dist/{21.62777310f384dd7b71a4.bundle.js → 21.b8c57ce9c9688adcf29c.bundle.js} +1 -1
- package/dist/{21.62777310f384dd7b71a4.bundle.js.map → 21.b8c57ce9c9688adcf29c.bundle.js.map} +1 -1
- package/dist/27.fef157d9275358c9f1a0.bundle.js +1 -1
- package/dist/27.fef157d9275358c9f1a0.bundle.js.map +1 -1
- package/dist/33.fde8076c81c87c25c367.bundle.js +1 -1
- package/dist/33.fde8076c81c87c25c367.bundle.js.map +1 -1
- package/dist/40.10f42e3f6d8d87bd3221.bundle.js +1 -1
- package/dist/40.10f42e3f6d8d87bd3221.bundle.js.map +1 -1
- package/dist/5.5e565a2f6404b3c60148.bundle.js +2 -0
- package/dist/5.5e565a2f6404b3c60148.bundle.js.map +1 -0
- package/dist/94.94158487a9024ff3a623.bundle.js +1 -1
- package/dist/94.94158487a9024ff3a623.bundle.js.map +1 -1
- package/dist/{bundle.896281e5e7a26024597b.bundle.js → bundle.0cdc9c2787cb0740de6d.bundle.js} +3 -3
- package/dist/{bundle.896281e5e7a26024597b.bundle.js.map → bundle.0cdc9c2787cb0740de6d.bundle.js.map} +1 -1
- package/dist/index.html +3 -3
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- 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 +4 -4
- 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 +11 -11
- 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 +5 -5
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +2 -2
- 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 +2 -2
- package/dist/pages/repository.html +2 -2
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-template-create.html +5 -5
- package/dist/pages/sparql.html +3 -3
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger/index.html +27 -27
- package/package.json +1 -1
- package/dist/5.b0829613ef25834bf1ab.bundle.js +0 -2
- package/dist/5.b0829613ef25834bf1ab.bundle.js.map +0 -1
package/dist/index.html
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
|
|
14
14
|
<link rel="apple-touch-icon-precomposed" href="icon.png">
|
|
15
15
|
|
|
16
|
-
<script src="plugin-registry.js?v=2.3.0-
|
|
17
|
-
<script src="plugins.js?v=2.3.0-
|
|
16
|
+
<script src="plugin-registry.js?v=2.3.0-TR8"></script>
|
|
17
|
+
<script src="plugins.js?v=2.3.0-TR8"></script>
|
|
18
18
|
<link rel="shortcut icon" href="icon.png"><link href="vendor.a43cfebcaaba38dfc77d.css" rel="stylesheet"><link href="main.c29920c7f6f6ecb00cae.css" rel="stylesheet"></head>
|
|
19
19
|
|
|
20
20
|
<body>
|
|
@@ -166,6 +166,6 @@
|
|
|
166
166
|
<object data="img/graphdb-splash.1ef2940889acddc03c7defb3f9f41f8d.svg"></object>
|
|
167
167
|
<div>GraphDB Workbench is loading...</div>
|
|
168
168
|
</div>
|
|
169
|
-
<script type="text/javascript" src="vendor.49ad20ac4aa296c27b45.bundle.js"></script><script type="text/javascript" src="main.35e30fd1f1326e91ed6c.bundle.js"></script><script type="text/javascript" src="bundle.
|
|
169
|
+
<script type="text/javascript" src="vendor.49ad20ac4aa296c27b45.bundle.js"></script><script type="text/javascript" src="main.35e30fd1f1326e91ed6c.bundle.js"></script><script type="text/javascript" src="bundle.0cdc9c2787cb0740de6d.bundle.js"></script></body>
|
|
170
170
|
|
|
171
171
|
</html>
|
package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/rdf-resource-search.css?v=2.3.0-
|
|
1
|
+
<link href="css/rdf-resource-search.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
2
2
|
|
|
3
3
|
<div ng-if="getActiveRepository() && hasActiveLocation() && isNotLoading()" ng-cloak>
|
|
4
4
|
<div id="search-box" class="card search-rdf-input" ng-keydown="onKeyDown($event)" ng-if="!isHomePage()">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<link href="css/clustermanagement.css?v=2.3.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=2.3.0-
|
|
3
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.3.0-
|
|
1
|
+
<link href="css/clustermanagement.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
3
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
4
4
|
|
|
5
5
|
<title>{{'view.clusterManagement.title' | translate}}</title>
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-TR8" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/yasqe.min.css?v=2.3.0-
|
|
3
|
+
<link href="css/lib/yasqe.min.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
4
4
|
|
|
5
|
-
<link href="css/new-sparql.css?v=2.3.0-
|
|
5
|
+
<link href="css/new-sparql.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
6
6
|
|
|
7
|
-
<link href="css/graphs-config.css?v=2.3.0-
|
|
7
|
+
<link href="css/graphs-config.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
<div class="container-fluid">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/domain-range-graph.css?v=2.3.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=2.3.0-
|
|
1
|
+
<link href="css/domain-range-graph.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
3
3
|
|
|
4
4
|
<title>Explore Data Graph</title>
|
|
5
5
|
|
package/dist/pages/edit.html
CHANGED
package/dist/pages/explore.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/explore.css?v=2.3.0-
|
|
1
|
+
<link href="css/explore.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
2
2
|
<div core-errors></div>
|
|
3
3
|
<div class="page fit-content-on-mobile" ng-show="getActiveRepository()">
|
|
4
4
|
<div class="resource-info" ng-if="!isTripleResource()">
|
package/dist/pages/export.html
CHANGED
package/dist/pages/find.html
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-TR8" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/yasqe.min.css?v=2.3.0-
|
|
3
|
+
<link href="css/lib/yasqe.min.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
4
4
|
|
|
5
|
-
<link href="css/new-sparql.css?v=2.3.0-
|
|
5
|
+
<link href="css/new-sparql.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
6
6
|
|
|
7
|
-
<link href="css/graphs-config.css?v=2.3.0-
|
|
7
|
+
<link href="css/graphs-config.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
8
8
|
|
|
9
9
|
<h1>
|
|
10
10
|
{{title}}
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
<div class="image-label-container mb-3" ng-show="page == 1">
|
|
83
83
|
<label class="image-label d-flex" ng-class="{'active': newConfig.startMode == 'search'}">
|
|
84
84
|
<input type="radio" class="form-check-input" id="checkboxSuccessSearch" ng-model="newConfig.startMode" value="search">
|
|
85
|
-
<img class="image-label-image" src="css/images/search.png?v=2.3.0-
|
|
85
|
+
<img class="image-label-image" src="css/images/search.png?v=2.3.0-TR8" alt="search image" width="100%">
|
|
86
86
|
<div class="image-label-content">
|
|
87
87
|
<h5>{{'start.with.search.box' | translate}}</h5>
|
|
88
88
|
<div>{{'choose.starting.point' | translate}}</div>
|
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
|
|
92
92
|
<label class="image-label d-flex" ng-class="{'active': newConfig.startMode == 'node'}">
|
|
93
93
|
<input type="radio" class="form-check-input" id="checkboxSuccessNode" ng-model="newConfig.startMode" value="node">
|
|
94
|
-
<img class="image-label-image" src="css/images/node.png?v=2.3.0-
|
|
94
|
+
<img class="image-label-image" src="css/images/node.png?v=2.3.0-TR8" alt="node image" width="100%">
|
|
95
95
|
<div class="image-label-content">
|
|
96
96
|
<h5>{{'start.with.fixed.node' | translate}}</h5>
|
|
97
97
|
<div>{{'visual.graph.start' | translate}}</div>
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
|
|
101
101
|
<label class="image-label d-flex" ng-class="{'active': newConfig.startMode == 'query'}">
|
|
102
102
|
<input type="radio" class="form-check-input" data-cy="graph-config-by-graph-query-checkbox" ng-model="newConfig.startMode" value="query">
|
|
103
|
-
<img class="image-label-image" src="css/images/query.png?v=2.3.0-
|
|
103
|
+
<img class="image-label-image" src="css/images/query.png?v=2.3.0-TR8" alt="query image" width="100%">
|
|
104
104
|
<div class="image-label-content">
|
|
105
105
|
<h5>{{'query.results.start' | translate}}</h5>
|
|
106
106
|
<div>{{'results.start' | translate}}</div>
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
<p>{{'optional.query' | translate}} <em>{{getSampleName(samples[0], 'expandQuery')}}</em> {{'sample.query.used' | translate}}</p>
|
|
142
142
|
</div>
|
|
143
143
|
<div>
|
|
144
|
-
<img src="css/images/expand.png?v=2.3.0-
|
|
144
|
+
<img src="css/images/expand.png?v=2.3.0-TR8" class="info-box-img" height="220" alt="expand image">
|
|
145
145
|
</div>
|
|
146
146
|
</div>
|
|
147
147
|
|
|
@@ -167,7 +167,7 @@
|
|
|
167
167
|
<p>{{'optional.query' | translate}} <em>{{getSampleName(samples[0], 'resourceQuery')}}</em> {{'sample.query.used' | translate}}</p>
|
|
168
168
|
</div>
|
|
169
169
|
<div>
|
|
170
|
-
<img src="css/images/labels-size.png?v=2.3.0-
|
|
170
|
+
<img src="css/images/labels-size.png?v=2.3.0-TR8" class="info-box-img" height="220" alt="labels size image">
|
|
171
171
|
</div>
|
|
172
172
|
</div>
|
|
173
173
|
|
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
<p>{{'query.is.optional.local.name' | translate}}</p>
|
|
187
187
|
</div>
|
|
188
188
|
<div>
|
|
189
|
-
<img src="css/images/predicates.png?v=2.3.0-
|
|
189
|
+
<img src="css/images/predicates.png?v=2.3.0-TR8" class="info-box-img" height="220" alt="predicates image">
|
|
190
190
|
</div>
|
|
191
191
|
</div>
|
|
192
192
|
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
<p>{{'optional.query' | translate}} <em>{{getSampleName(samples[0], 'resourcePropertiesQuery')}}</em> {{'sample.query.used' | translate}}</p>
|
|
212
212
|
</div>
|
|
213
213
|
<div>
|
|
214
|
-
<img src="css/images/side-panel.png?v=2.3.0-
|
|
214
|
+
<img src="css/images/side-panel.png?v=2.3.0-TR8" class="info-box-img" height="220" alt="side panel image">
|
|
215
215
|
</div>
|
|
216
216
|
</div>
|
|
217
217
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<link href="css/graphs-vizualizations.css?v=2.3.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=2.3.0-
|
|
3
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.3.0-
|
|
4
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.3.0-
|
|
1
|
+
<link href="css/graphs-vizualizations.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
3
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
5
5
|
|
|
6
6
|
<div class="container-fluid">
|
|
7
7
|
|
|
@@ -131,9 +131,9 @@
|
|
|
131
131
|
<tr ng-repeat="config in graphConfigs">
|
|
132
132
|
<td width="20">
|
|
133
133
|
<a href ng-click="goToGraphConfig(config)">
|
|
134
|
-
<img ng-if="config.startMode == 'search'" src="css/images/search.png?v=2.3.0-
|
|
135
|
-
<img ng-if="config.startMode == 'node'" src="css/images/node.png?v=2.3.0-
|
|
136
|
-
<img ng-if="config.startMode == 'query'" src="css/images/query.png?v=2.3.0-
|
|
134
|
+
<img ng-if="config.startMode == 'search'" src="css/images/search.png?v=2.3.0-TR8" alt="" width="64" uib-popover="{{'visual.config.search.box.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
135
|
+
<img ng-if="config.startMode == 'node'" src="css/images/node.png?v=2.3.0-TR8" alt="" width="64" uib-popover="{{'visual.config.fixed.resource.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
136
|
+
<img ng-if="config.startMode == 'query'" src="css/images/query.png?v=2.3.0-TR8" alt="" data-cy="graph-config-starting-point-query-results" width="64" uib-popover="{{'visual.config.query.results.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
137
137
|
</a>
|
|
138
138
|
</td>
|
|
139
139
|
<td>
|
package/dist/pages/guides.html
CHANGED
package/dist/pages/import.html
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-TR8" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/yasqe.min.css?v=2.3.0-
|
|
3
|
+
<link href="css/lib/yasqe.min.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
4
4
|
|
|
5
|
-
<link href="css/new-sparql.css?v=2.3.0-
|
|
5
|
+
<link href="css/new-sparql.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
6
6
|
|
|
7
|
-
<link href="css/graphs-config.css?v=2.3.0-
|
|
7
|
+
<link href="css/graphs-config.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
8
8
|
|
|
9
|
-
<link href="css/jdbc.css?v=2.3.0-
|
|
9
|
+
<link href="css/jdbc.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
10
10
|
|
|
11
11
|
<div class="container-fluid fit-content-on-mobile">
|
|
12
12
|
<h1>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<link href="css/jmx.css?v=2.3.0-
|
|
1
|
+
<link href="css/jmx.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
2
2
|
|
|
3
3
|
<!-- nvd3 css and js starts-->
|
|
4
|
-
<link href="js/lib/nvd3/nv.d3.css?v=2.3.0-
|
|
4
|
+
<link href="js/lib/nvd3/nv.d3.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
<div class="hiddenVariables" style="display: none;">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-
|
|
2
|
-
<link href="css/export.css?v=2.3.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-TR8" rel="stylesheet">
|
|
2
|
+
<link href="css/export.css?v=2.3.0-TR8" rel="stylesheet">
|
|
3
3
|
|
|
4
4
|
<title>Namespaces</title>
|
|
5
5
|
|
package/dist/pages/plugins.html
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<link href="css/rdf-class-hierarchy.css?v=2.3.0-
|
|
2
|
-
<link href="css/rdf-class-hierarchy-labels.css?v=2.3.0-
|
|
3
|
-
<link href="css/rdf-details-side-panel.css?v=2.3.0-
|
|
4
|
-
<link href="js/lib/rzslider/rzslider.min.css?v=2.3.0-
|
|
5
|
-
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.3.0-
|
|
6
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.3.0-
|
|
7
|
-
<link href="css/lib/animate/3.2.0/animate.min.css?v=2.3.0-
|
|
1
|
+
<link href="css/rdf-class-hierarchy.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-class-hierarchy-labels.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
3
|
+
<link href="css/rdf-details-side-panel.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/rzslider/rzslider.min.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
5
|
+
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
6
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
7
|
+
<link href="css/lib/animate/3.2.0/animate.min.css?v=2.3.0-TR8" 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.3.0-
|
|
2
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.3.0-
|
|
1
|
+
<link href="css/rdfrank.css?v=2.3.0-TR8" rel="stylesheet">
|
|
2
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
3
3
|
|
|
4
4
|
<div id="rdfRank" class="page">
|
|
5
5
|
<h1>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<link href="css/repositories.css?v=2.3.0-
|
|
1
|
+
<link href="css/repositories.css?v=2.3.0-TR8" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.3.0-
|
|
3
|
+
<link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.3.0-TR8" rel="stylesheet">
|
|
4
4
|
|
|
5
5
|
<h1>
|
|
6
6
|
{{title}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<link href="css/repositories.css?v=2.3.0-
|
|
1
|
+
<link href="css/repositories.css?v=2.3.0-TR8" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.3.0-
|
|
3
|
+
<link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.3.0-TR8" rel="stylesheet">
|
|
4
4
|
|
|
5
5
|
<div id="wb-repository">
|
|
6
6
|
<h1>{{pageTitle}}</h1>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-TR8" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/yasqe.min.css?v=2.3.0-
|
|
3
|
+
<link href="css/lib/yasqe.min.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
4
4
|
|
|
5
|
-
<link href="css/new-sparql.css?v=2.3.0-
|
|
5
|
+
<link href="css/new-sparql.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
6
6
|
|
|
7
|
-
<link href="css/graphs-config.css?v=2.3.0-
|
|
7
|
+
<link href="css/graphs-config.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
8
8
|
|
|
9
|
-
<link href="css/jdbc.css?v=2.3.0-
|
|
9
|
+
<link href="css/jdbc.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
10
10
|
|
|
11
11
|
<div class="container-fluid fit-content-on-mobile">
|
|
12
12
|
<h1>
|
package/dist/pages/sparql.html
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.3.0-TR8" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/yasqe.min.css?v=2.3.0-
|
|
3
|
+
<link href="css/lib/yasqe.min.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
4
4
|
|
|
5
|
-
<link href="css/new-sparql.css?v=2.3.0-
|
|
5
|
+
<link href="css/new-sparql.css?v=2.3.0-TR8" rel="stylesheet"/>
|
|
6
6
|
<div id="wb-sparql">
|
|
7
7
|
|
|
8
8
|
<div ng-show="getActiveRepositoryNoError()" class="pull-right mt-1">
|
package/dist/pages/webapi.html
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
<link href='css/lib/swagger-ui.min.css?v=2.3.0-
|
|
3
|
-
<link href='css/swagger.custom.css?v=2.3.0-
|
|
2
|
+
<link href='css/lib/swagger-ui.min.css?v=2.3.0-TR8' rel='stylesheet' type='text/css'/>
|
|
3
|
+
<link href='css/swagger.custom.css?v=2.3.0-TR8' rel='stylesheet' type='text/css'/>
|
|
4
4
|
|
|
5
5
|
<h1>
|
|
6
6
|
{{title}}
|
|
@@ -3,37 +3,37 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<title>Swagger UI</title>
|
|
6
|
-
<link rel="icon" type="image/png" href="images/favicon-32x32.png?v=2.3.0-
|
|
7
|
-
<link rel="icon" type="image/png" href="images/favicon-16x16.png?v=2.3.0-
|
|
8
|
-
<link href='../../css/common.css?v=2.3.0-
|
|
9
|
-
<link href='css/reset.css?v=2.3.0-
|
|
10
|
-
<link href='css/screen.css?v=2.3.0-
|
|
11
|
-
<link href='css/onto-theme.css?v=2.3.0-
|
|
12
|
-
<link href='css/reset.css?v=2.3.0-
|
|
13
|
-
<link href='css/print.css?v=2.3.0-
|
|
14
|
-
<link href='css/onto-theme.css?v=2.3.0-
|
|
6
|
+
<link rel="icon" type="image/png" href="images/favicon-32x32.png?v=2.3.0-TR8" sizes="32x32"/>
|
|
7
|
+
<link rel="icon" type="image/png" href="images/favicon-16x16.png?v=2.3.0-TR8" sizes="16x16"/>
|
|
8
|
+
<link href='../../css/common.css?v=2.3.0-TR8' media='screen' rel='stylesheet' type='text/css'/>
|
|
9
|
+
<link href='css/reset.css?v=2.3.0-TR8' media='screen' rel='stylesheet' type='text/css'/>
|
|
10
|
+
<link href='css/screen.css?v=2.3.0-TR8' media='screen' rel='stylesheet' type='text/css'/>
|
|
11
|
+
<link href='css/onto-theme.css?v=2.3.0-TR8' media='screen' rel='stylesheet' type='text/css'/>
|
|
12
|
+
<link href='css/reset.css?v=2.3.0-TR8' media='print' rel='stylesheet' type='text/css'/>
|
|
13
|
+
<link href='css/print.css?v=2.3.0-TR8' media='print' rel='stylesheet' type='text/css'/>
|
|
14
|
+
<link href='css/onto-theme.css?v=2.3.0-TR8' media='print' rel='stylesheet' type='text/css'/>
|
|
15
15
|
|
|
16
|
-
<script src='lib/object-assign-pollyfill.js?v=2.3.0-
|
|
17
|
-
<script src='lib/jquery-3.4.1.min.js?v=2.3.0-
|
|
18
|
-
<script src='lib/jquery.slideto.min.js?v=2.3.0-
|
|
19
|
-
<script src='lib/jquery.wiggle.min.js?v=2.3.0-
|
|
16
|
+
<script src='lib/object-assign-pollyfill.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
17
|
+
<script src='lib/jquery-3.4.1.min.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
18
|
+
<script src='lib/jquery.slideto.min.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
19
|
+
<script src='lib/jquery.wiggle.min.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
20
20
|
|
|
21
|
-
<script src="lib/jquery-migrate-1.4.1.min.js?v=2.3.0-
|
|
22
|
-
<script src='lib/jquery.ba-bbq.min.js?v=2.3.0-
|
|
23
|
-
<script src='lib/handlebars.min-v4.7.3.js?v=2.3.0-
|
|
24
|
-
<script src='lib/lodash.min.js?v=2.3.0-
|
|
25
|
-
<script src='lib/backbone-min.js?v=2.3.0-
|
|
26
|
-
<script src='swagger-ui.js?v=2.3.0-
|
|
27
|
-
<script src='lib/highlight.9.1.0.pack.js?v=2.3.0-
|
|
28
|
-
<script src='lib/highlight.9.1.0.pack_extended.js?v=2.3.0-
|
|
29
|
-
<script src='lib/jsoneditor.min.js?v=2.3.0-
|
|
30
|
-
<script src='lib/marked.js?v=2.3.0-
|
|
31
|
-
<script src='lib/swagger-oauth.js?v=2.3.0-
|
|
21
|
+
<script src="lib/jquery-migrate-1.4.1.min.js?v=2.3.0-TR8"></script>
|
|
22
|
+
<script src='lib/jquery.ba-bbq.min.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
23
|
+
<script src='lib/handlebars.min-v4.7.3.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
24
|
+
<script src='lib/lodash.min.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
25
|
+
<script src='lib/backbone-min.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
26
|
+
<script src='swagger-ui.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
27
|
+
<script src='lib/highlight.9.1.0.pack.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
28
|
+
<script src='lib/highlight.9.1.0.pack_extended.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
29
|
+
<script src='lib/jsoneditor.min.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
30
|
+
<script src='lib/marked.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
31
|
+
<script src='lib/swagger-oauth.js?v=2.3.0-TR8' type='text/javascript'></script>
|
|
32
32
|
|
|
33
33
|
<!-- Some basic translations -->
|
|
34
|
-
<!-- <script src='lang/translator.js?v=2.3.0-
|
|
35
|
-
<!-- <script src='lang/ru.js?v=2.3.0-
|
|
36
|
-
<!-- <script src='lang/en.js?v=2.3.0-
|
|
34
|
+
<!-- <script src='lang/translator.js?v=2.3.0-TR8' type='text/javascript'></script> -->
|
|
35
|
+
<!-- <script src='lang/ru.js?v=2.3.0-TR8' type='text/javascript'></script> -->
|
|
36
|
+
<!-- <script src='lang/en.js?v=2.3.0-TR8' type='text/javascript'></script> -->
|
|
37
37
|
|
|
38
38
|
<script type="text/javascript">
|
|
39
39
|
$(function () {
|
package/package.json
CHANGED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[5,110],{61:function(e,t,o){"use strict";o.r(t),o.d(t,"STATIC_RULESETS",(function(){return i})),o.d(t,"REPOSITORY_TYPES",(function(){return n})),o.d(t,"FILENAME_PATTERN",(function(){return r})),o.d(t,"NUMBER_PATTERN",(function(){return a}));const i=[{id:"empty",name:"No inference"},{id:"rdfs-optimized",name:"RDFS (Optimized)"},{id:"rdfs",name:"RDFS"},{id:"rdfsplus-optimized",name:"RDFS-Plus (Optimized)"},{id:"owl-horst-optimized",name:"OWL-Horst (Optimized)"},{id:"owl-horst",name:"OWL-Horst"},{id:"owl2-ql-optimized",name:"OWL2-QL (Optimized)"},{id:"owl2-ql",name:"OWL2-QL"},{id:"owl-max-optimized",name:"OWL-Max (Optimized)"},{id:"owl-max",name:"OWL-Max"},{id:"owl2-rl-optimized",name:"OWL2-RL (Optimized)"},{id:"owl2-rl",name:"OWL2-RL"}],n={graphdbRepo:"graphdb",free:"free",eeWorker:"worker",eeMaster:"master",ontop:"ontop",se:"se",fedx:"fedx"},r=new RegExp("^[a-zA-Z0-9-_]+$"),a=new RegExp("^[0-9]+$")},66:function(e,t,o){"use strict";o.r(t),o.d(t,"getFileName",(function(){return r}));var i=o(61),n=o(0);const r=function(e){let t=e.lastIndexOf("/");-1===t&&(t=e.lastIndexOf("\\"));let o=e;return-1!==t&&(o=o.substring(t+1)),o},a=function(e){e&&(e.queryTimeout&&(e.queryTimeout.value=parseInt(e.queryTimeout.value)),e.queryLimitResults&&e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint?(e.queryLimitResults.value=parseInt(e.queryLimitResults.value),e.validationResultsLimitTotal.value=parseInt(e.validationResultsLimitTotal.value),e.validationResultsLimitPerConstraint.value=parseInt(e.validationResultsLimitPerConstraint.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(e.leftJoinWorkerThreads.value=parseInt(e.leftJoinWorkerThreads.value),e.boundJoinBlockSize.value=parseInt(e.boundJoinBlockSize.value),e.joinWorkerThreads.value=parseInt(e.joinWorkerThreads.value),e.unionWorkerThreads.value=parseInt(e.unionWorkerThreads.value)))},s=function(){const e=document.getElementById("shaclOptions");if(e){const t=e.getAttribute("aria-expanded");if(t&&"true"===t)return"fa fa-angle-down"}return"fa fa-angle-right"},l=function(e,t){e.queryTimeout&&(t.isInvalidQueryTimeout=!i.NUMBER_PATTERN.test(e.queryTimeout.value)),e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint&&e.queryLimitResults?(t.isInvalidValidationResultsLimitTotal=!i.NUMBER_PATTERN.test(e.validationResultsLimitTotal.value),t.isInvalidValidationResultsLimitPerConstraint=!i.NUMBER_PATTERN.test(e.validationResultsLimitPerConstraint.value),t.isInvalidQueryLimit=!i.NUMBER_PATTERN.test(e.queryLimitResults.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(t.isInvalidLeftJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.leftJoinWorkerThreads.value),t.isInvalidBoundJoinBlockSize=!i.NUMBER_PATTERN.test(e.boundJoinBlockSize.value),t.isInvalidJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.joinWorkerThreads.value),t.isInvalidUnionWorkerThreads=!i.NUMBER_PATTERN.test(e.unionWorkerThreads.value))},c=function(e,t){return"isInvalidQueryLimit"===e?t.instant("invalid.query.limit"):"isInvalidQueryTimeout"===e?t.instant("invalid.query.timeout"):"isInvalidValidationResultsLimitTotal"===e?t.instant("invalid.validation.results.limit.total"):"isInvalidValidationResultsLimitPerConstraint"===e?t.instant("invalid.validation.results.limit.per.constraint"):"isInvalidJoinWorkerThreads"===e?t.instant("invalid.join.worker.threads"):"isInvalidLeftJoinWorkerThreads"===e?t.instant("invalid.left.join.worker.threads"):"isInvalidUnionWorkerThreads"===e?t.instant("invalid.union.worker.threads"):"isInvalidBoundJoinBlockSize"===e?t.instant("invalid.bound.join.block.size"):void 0},d=function(e,t){const o=Object.keys(e),i=Object.values(e);for(let e=0;e<o.length;e++)if(i[e])return c(o[e],t);return""},u=function(e){return"https://graphdb.ontotext.com/documentation/"+e.productShortVersion},p=function(e){return e.getLocations().then(e=>e.filter(e=>!e.errorMsg&&!e.degradedReason))};function f(e,t,o,r,a,s,l,c,d,u,p,f,m){e.loader=!0,e.isLocationInactive=function(t){return!t.active||!e.hasActiveLocation()};const v=f.defer();function y(){return a.getLocations(v).then(t=>{e.locations=t}).finally(()=>e.loader=!1)}e.hasActiveLocation=function(){return a.hasActiveLocation()},e.getActiveLocation=function(){return a.getActiveLocation()},e.getLocationError=function(){return a.getLocationError()},e.getDegradedReason=function(){return a.getDegradedReason()},e.getRepositories=function(){return a.getRepositories()},e.isRepoActive=function(e){return a.isRepoActive(e)},e.deleteLocation=function(t){s.openSimpleModal({title:p.instant("location.confirm.detach"),message:p.instant("location.confirm.detach.warning",{uri:t}),warning:!0}).result.then((function(){e.loader=!0,a.deleteLocation(t).finally(()=>y())}))},e.addLocationHttp=function(t){e.loader=!0,c.addLocation(t).success((function(){a.init()})).error((function(e){const t=getError(e);r.error(t,p.instant("common.error"))})).finally(()=>y())},e.addLocation=function(){o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationCtrl"}).result.then((function(t){e.addLocationHttp(t)}))},e.editLocationHttp=function(t){e.loader=!0,c.editLocation(t).success((function(){a.init()})).error((function(e){const t=getError(e);r.error(t,p.instant("common.error"))})).finally(()=>y())},e.editLocation=function(t){o.open({templateUrl:"js/angular/templates/modal/edit-location.html",controller:"EditLocationCtrl",resolve:{location:function(){return t}}}).result.then((function(t){e.editLocationHttp(t)}),(function(){}))},e.setRepository=function(e){a.setRepository(e)},e.deleteRepository=function(t){s.openSimpleModal({title:p.instant("common.confirm.delete"),message:Object(n.decodeHTML)(p.instant("delete.repo.warning.msg",{repositoryId:t.id})),warning:!0}).result.then((function(){e.loader=!0,a.deleteRepository(t).finally(()=>{y(),e.loader=!1}),function(e){const t="dependencies-selectedGraph-"+e.id,o="classHierarchy-selectedGraph-"+e.id;angular.forEach(d.keys(),(function(e){(e.startsWith(o)||e.startsWith(t))&&d.remove(e)}))}(t)}))},e.restartRepository=function(t){s.openSimpleModal({title:p.instant("confirm.restart.repo"),message:Object(n.decodeHTML)(p.instant("confirm.restart.repo.warning.msg",{repositoryId:t.id})),warning:!0}).result.then((function(){e.loader=!0,a.restartRepository(t).finally(()=>y())}))},e.toggleDefaultRepository=function(t){e.getDefaultRepository()===t?a.setDefaultRepository(null):a.setDefaultRepository(t)},e.getDefaultRepository=function(){return a.getDefaultRepository()},e.getRepositoryDownloadLink=function(e){let t=`rest/repositories/${e.id}${e.type===i.REPOSITORY_TYPES.ontop?"/download-zip":"/download-ttl"}?location=${e.location}`;const o=l.getAuthToken();return o&&(t=`${t}&authToken=${encodeURIComponent(o)}`),t},e.copyToClipboard=function(e){s.openCopyToClipboardModal(e)},e.fromFile=function(){o.open({templateUrl:"js/angular/templates/modal/upload-repository-config.html",controller:"UploadRepositoryConfigCtrl"}).result.then((function(){a.init()}))},e.openActiveLocationSettings=function(){o.open({templateUrl:"js/angular/settings/modal/location-settings.html",controller:"ActiveLocationSettingsCtrl"})},y();const R=u((function(){m.isActive()&&!t.guidePaused||(a.initQuick(),y())}),5e3);e.$on("$destroy",(function(){u.cancel(R),v&&v.resolve()})),e.getRepositoriesFromLocation=function(e){return a.getRepositoriesFromLocation(e)}}function m(e,t,o,i,n){e.upload=function(t){t&&t.length&&(e.uploadFile=t[0])},e.ok=function(){e.uploadFile&&(e.uploadFileLoader=!0,o.upload({url:"rest/repositories",method:"POST",data:{config:e.uploadFile}}).success((function(){e.uploadFileLoader=!1,t.close()})).error((function(t){const o=getError(t);i.error(o,n.instant("common.error")),e.uploadFileLoader=!1})))},e.cancel=function(){t.dismiss("cancel")}}function v(e,t,o,i,n){e.newLocation={uri:"",authType:"none",username:"",password:"",active:!1},e.docBase=u(i),e.isValidLocation=function(){return(e.newLocation.uri.length<6||0===e.newLocation.uri.indexOf("http:")||0===e.newLocation.uri.indexOf("https:"))&&e.newLocation.uri.indexOf("/repositories")<=-1},e.ok=function(){e.newLocation?t.close(e.newLocation):o.error(n.instant("location.cannot.be.empty.error"))},e.cancel=function(){t.dismiss("cancel")}}function y(e,t,o,i){e.editedLocation=angular.copy(o),e.docBase=u(i),e.ok=function(){t.close(e.editedLocation)},e.cancel=function(){t.dismiss("cancel")}}function R(e,t){e.repositoryTypes=i.REPOSITORY_TYPES,e.chooseRepositoryType=function(e){t.path(`${t.path()}/${e}`)}}function T(e,t,o,n,r,c,u,f,m){var v;e.rulesets=i.STATIC_RULESETS.slice(),e.repositoryTypes=i.REPOSITORY_TYPES,e.params=u,e.repositoryType=u.repositoryType,e.enable=!0,e.loader=!0,e.pageTitle=m.instant("view.create.repo.title"),e.repositoryInfo={id:"",params:{},title:"",type:"",location:""},e.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},p(o).then(t=>{e.locations=t}),e.changedLocation=function(){e.$broadcast("changedLocation")},e.getConfig=function(o){f.getRepositoryConfiguration(o).then((function(t){const o=t.data;var i;e.repositoryInfo.params=o.params,e.repositoryInfo.type=o.type,a(e.repositoryInfo.params),(i=e.repositoryInfo.params)&&i.member&&(i.member.value=[]),e.loader=!1,r((function(){angular.element(document).find("#id").focus()}),50)})).catch((function(o){const i=getError(o);t.error(i,m.instant("common.error")),e.loader=!1}))},e.repositoryType&&(function(t){return e.isEnterprise()&&t===i.REPOSITORY_TYPES.graphdbRepo}(v=e.repositoryType)||function(t){return!e.isFreeEdition()&&!e.isEnterprise()&&t===i.REPOSITORY_TYPES.graphdbRepo}(v)||function(t){return e.isFreeEdition()&&t===i.REPOSITORY_TYPES.graphdbRepo}(v)||function(e){return e===i.REPOSITORY_TYPES.ontop}(v)||function(e){return e===i.REPOSITORY_TYPES.fedx}(v))?(e.repositoryInfo.type=e.repositoryType,e.getConfig(e.repositoryType),function(t){switch(t){case i.REPOSITORY_TYPES.graphdbRepo:e.pageTitle=m.instant("view.create.repo.title",{repoType:"GraphDB"});break;case i.REPOSITORY_TYPES.ontop:e.pageTitle=m.instant("view.create.repo.title",{repoType:"Ontop Virtual SPARQL"});break;case i.REPOSITORY_TYPES.fedx:e.pageTitle=m.instant("view.create.repo.title",{repoType:"FedX Virtual SPARQL"})}}(e.repositoryType)):n.path("/repository/create"),e.hasActiveLocation=function(){return o.hasActiveLocation()},e.activeLocation=function(){return o.getActiveLocation()};let y=!1;e.uploadRuleset=function(o){o&&o.length&&(e.uploadFile=o[0],e.uploadFileLoader=!0,c.upload({url:"rest/repositories/ruleset/upload",data:{ruleset:e.uploadFile,location:e.repositoryInfo.location}}).progress((function(e){})).success((function(o){if(o.success){const t=e.uploadFile.name,i={id:o.fileLocation,name:"Custom: "+t};e.rulesetPie?e.rulesets[0]=i:e.rulesets.unshift(i),e.rulesetPie=o.fileLocation,e.rulesetPieFile=t,e.repositoryInfo.params.ruleset.value=e.rulesetPie}else t.error(o.errorMessage),y=!0;e.uploadFileLoader=!1})).error((function(o){const i=getError(o);t.error(i,m.instant("common.error")),e.uploadFile="",e.uploadFileLoader=!1})))},e.noMembersError=function(){t.error(m.instant("fedx.create.repo.no.members.warning"))},e.goBackToPreviousLocation=function(){angular.isDefined(u.previous)?(delete n.$$search.previous,n.path("/")):n.path("/repository")},e.createRepoHttp=function(){e.loader=!0,f.createRepository(e.repositoryInfo).then((function(){return t.success(m.instant("created.repo.success.msg",{repoId:e.repositoryInfo.id})),o.init()})).then(()=>e.goBackToPreviousLocation()).catch((function(e){const o=getError(e.data);t.error(o,m.instant("common.error"))})).finally(()=>{e.loader=!1})},e.createRepo=function(){if(!e.repositoryInfo.id)return void t.error(m.instant("empty.repoid.warning"));e.isInvalidRepoName=!i.FILENAME_PATTERN.test(e.repositoryInfo.id),l(e.repositoryInfo.params,e.invalidValues);const o=d(e.invalidValues,m);y?t.error(m.instant("invalid.ruleset.file.error")):e.isInvalidRepoName?t.error(m.instant("wrong.repo.name.error")):"fedx"===e.repositoryType&&0===e.repositoryInfo.params.member.value.length?e.noMembersError():o?t.error(o):e.createRepoHttp()},e.rulesetWarning=function(){const t=e.repositoryInfo.params;return void 0===t||void 0===t.ruleset||void 0===t.disableSameAs?"":0===t.ruleset.value.indexOf("owl")&&"true"===t.disableSameAs.value?m.instant("repoTooltips.rulesetWarnings.needsSameAs"):0===t.ruleset.value.indexOf("rdfs")&&"false"===t.disableSameAs.value?m.instant("repoTooltips.rulesetWarnings.doesntNeedSameAs"):t.ruleset.value===e.rulesetPie?m.instant("repoTooltips.rulesetWarnings.customRuleset"):""},e.validateNumberInput=function(){l(e.repositoryInfo.params,e.invalidValues)},e.getShaclOptionsClass=function(){return s()},e.autofocusId="autofocus"}function g(e,t,o,i,n,r){i&&o.getRepositoryFileContent(i).success((function(t){e.fileContent=t})).error((function(e){const t=getError(e);n.error(t,r.instant("common.error"))})),e.ok=function(){t.close({content:e.fileContent,fileLocation:i})},e.cancel=function(){t.dismiss("cancel")}}function I(e,t,o,c,u,f,m,v){e.rulesets=i.STATIC_RULESETS.slice(),e.repositoryTypes=i.REPOSITORY_TYPES,e.editRepoPage=!0,e.canEditRepoId=!1,e.params=t,e.loader=!0,e.repositoryInfo={},e.repositoryInfo.id=e.params.repositoryId,e.repositoryInfo.location=e.params.location,e.repositoryInfo.restartRequested=!1,e.repositoryType="",e.saveRepoId=e.params.repositoryId,e.pageTitle=v.instant("view.edit.repo.title",{repositoryId:e.params.repositoryId}),e.invalidValues={isInvalidQueryTimeout:!1,isInvalidQueryLimit:!1,isInvalidLeftJoinWorkerThreads:!1,isInvalidBoundJoinBlockSize:!1,isInvalidJoinWorkerThreads:!1,isInvalidUnionWorkerThreads:!1,isInvalidValidationResultsLimitPerConstraint:!1,isInvalidValidationResultsLimitTotal:!1},e.hasActiveLocation=function(){return c.hasActiveLocation()},e.$watch(e.hasActiveLocation,(function(){e.hasActiveLocation&&p(c).then(t=>(e.locations=t,m.getRepository(e.repositoryInfo))).then((function(t){const o=t.data;if(angular.isDefined(o.params.ruleset)){let t=!1;if(angular.forEach(e.rulesets,(function(e){e.id===o.params.ruleset.value&&(t=!0)})),o.params.ruleset&&!t){const t=r(o.params.ruleset.value);e.rulesets.unshift({id:o.params.ruleset.value,name:"Custom: "+t})}}e.repositoryInfo=o,e.setRepositoryType(o.type),a(e.repositoryInfo.params),e.repositoryInfo.saveId=e.saveRepoId,e.loader=!1})).catch((function(i){const r=i.data,a=i.status,s=t.repositoryId;let l;l=404===a&&"system"!==s?Object(n.decodeHTML)(v.instant("edit.repo.error.not.exists",{repositoryId:s})):404===a&&"system"===s?Object(n.decodeHTML)(v.instant("edit.system.repo.warning")):getError(r),o.error(l,v.instant("common.error"),{allowHtml:!0}),404===a?setTimeout((function(){e.loader=!1,u.path("repository")}),1e3):e.loader=!1}))})),e.setRepositoryType=function(t){e.repositoryType=t},e.noMembersError=function(){o.error(v.instant("fedx.create.repo.no.members.warning"))},e.editRepoHttp=function(){e.loader=!0,m.editRepository(e.repositoryInfo.saveId,e.repositoryInfo).success((function(){o.success(v.instant("edit.repo.success.msg",{saveId:e.repositoryInfo.saveId})),c.init().finally(()=>e.goBackToPreviousLocation()),e.repositoryInfo.saveId===e.repositoryInfo.id&&e.repositoryInfo.restartRequested&&c.restartRepository(e.repositoryInfo)})).error((function(t){const i=getError(t);o.error(i,v.instant("common.error")),e.loader=!1}))},e.editRepository=function(){e.isInvalidRepoName=!i.FILENAME_PATTERN.test(e.repositoryInfo.id),l(e.repositoryInfo.params,e.invalidValues);const t=d(e.invalidValues,v);let r=Object(n.decodeHTML)(v.instant("edit.repo.save.changes.msg",{repoId:e.repositoryInfo.id}));e.repositoryInfo.saveId!==e.repositoryInfo.id?r+=Object(n.decodeHTML)(v.instant("edit.repo.rename.changes.msg")):e.repositoryInfo.restartRequested?r+=Object(n.decodeHTML)(v.instant("edit.repo.restart.requested.msg")):r+=Object(n.decodeHTML)(v.instant("edit.repo.restart.needed.msg")),e.isInvalidRepoName?o.error(v.instant("wrong.repo.name.error")):"fedx"===e.repositoryType&&0===e.repositoryInfo.params.member.value.length?e.noMembersError():t?o.error(t):f.openSimpleModal({title:v.instant("common.confirm.save"),message:r,warning:!0}).result.then((function(){e.editRepoHttp()}))},e.editRepositoryId=function(){let t=Object(n.decodeHTML)(v.instant("edit.repo.id.warning.msg"));e.isEnterprise()&&(t+=Object(n.decodeHTML)(v.instant("edit.repo.id.cluster.warning.msg"))),f.openSimpleModal({title:v.instant("confirm.enable.edit"),message:t,warning:!0}).result.then((function(){e.canEditRepoId=!0}))},e.goBackToPreviousLocation=function(){angular.isDefined(t.previous)?(delete u.$$search.previous,u.path("/")):u.path("/repository")},e.validateNumberInput=function(){l(e.repositoryInfo.params,e.invalidValues)},e.getShaclOptionsClass=function(){return s()}}angular.module("graphdb.framework.repositories.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","toastr","ngFileUpload"]).controller("LocationsAndRepositoriesCtrl",f).controller("AddLocationCtrl",v).controller("EditLocationCtrl",y).controller("ChooseRepositoryCtrl",R).controller("AddRepositoryCtrl",T).controller("EditRepositoryCtrl",I).controller("EditRepositoryFileCtrl",g).controller("UploadRepositoryConfigCtrl",m),f.$inject=["$scope","$rootScope","$uibModal","toastr","$repositories","ModalService","$jwtAuth","LocationsRestService","LocalStorageAdapter","$interval","$translate","$q","GuidesService"],m.$inject=["$scope","$uibModalInstance","Upload","toastr","$translate"],v.$inject=["$scope","$uibModalInstance","toastr","productInfo","$translate"],y.$inject=["$scope","$uibModalInstance","location","productInfo"],R.$inject=["$scope","$location"],T.$inject=["$scope","toastr","$repositories","$location","$timeout","Upload","$routeParams","RepositoriesRestService","$translate"],g.$inject=["$scope","$uibModalInstance","RepositoriesRestService","file","toastr","$translate"],I.$inject=["$scope","$routeParams","toastr","$repositories","$location","ModalService","RepositoriesRestService","$translate"]}}]);
|
|
2
|
-
//# sourceMappingURL=5.b0829613ef25834bf1ab.bundle.js.map
|