graphdb-workbench 2.0.0-RC2 → 2.0.0-RC3
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/11.3957302d7a301df30dd1.bundle.js +1 -1
- package/dist/11.3957302d7a301df30dd1.bundle.js.map +1 -1
- package/dist/120.80843604737b7c260788.bundle.js +1 -1
- package/dist/120.80843604737b7c260788.bundle.js.map +1 -1
- package/dist/18.44723ea06155c72f46ae.bundle.js +1 -1
- package/dist/18.44723ea06155c72f46ae.bundle.js.map +1 -1
- package/dist/25.9e0925889b3a3f79c7fe.bundle.js +1 -1
- package/dist/25.9e0925889b3a3f79c7fe.bundle.js.map +1 -1
- package/dist/29.9bdb27c21d6eacac1341.bundle.js +1 -1
- package/dist/29.9bdb27c21d6eacac1341.bundle.js.map +1 -1
- package/dist/30.34b74ada583b1b0af913.bundle.js +1 -1
- package/dist/30.34b74ada583b1b0af913.bundle.js.map +1 -1
- package/dist/5.768be5dd0364773b2622.bundle.js +2 -0
- package/dist/5.768be5dd0364773b2622.bundle.js.map +1 -0
- package/dist/68.e25480b7770a679a9654.bundle.js +1 -1
- package/dist/68.e25480b7770a679a9654.bundle.js.map +1 -1
- package/dist/{bundle.7e4f5efd9843ba4c4905.bundle.js → bundle.a8677c75aad1ad7b3b6a.bundle.js} +4 -4
- package/dist/bundle.a8677c75aad1ad7b3b6a.bundle.js.map +1 -0
- 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/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.1e4e7e36d894360b8d8f.bundle.js +0 -2
- package/dist/5.1e4e7e36d894360b8d8f.bundle.js.map +0 -1
- package/dist/bundle.7e4f5efd9843ba4c4905.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.0.0-
|
|
17
|
-
<script src="plugins.js?v=2.0.0-
|
|
16
|
+
<script src="plugin-registry.js?v=2.0.0-RC3"></script>
|
|
17
|
+
<script src="plugins.js?v=2.0.0-RC3"></script>
|
|
18
18
|
<link rel="shortcut icon" href="icon.png"><link href="vendor.4ba46e62f4d43dab5e82.css" rel="stylesheet"><link href="main.12e572893a7926387b80.css" rel="stylesheet"></head>
|
|
19
19
|
|
|
20
20
|
<body>
|
|
@@ -160,6 +160,6 @@
|
|
|
160
160
|
<object data="img/graphdb-splash.1ef2940889acddc03c7defb3f9f41f8d.svg"></object>
|
|
161
161
|
<div>GraphDB Workbench is loading...</div>
|
|
162
162
|
</div>
|
|
163
|
-
<script type="text/javascript" src="vendor.c229c148b836170cd04b.bundle.js"></script><script type="text/javascript" src="main.e009809b98a004bcb184.bundle.js"></script><script type="text/javascript" src="bundle.
|
|
163
|
+
<script type="text/javascript" src="vendor.c229c148b836170cd04b.bundle.js"></script><script type="text/javascript" src="main.e009809b98a004bcb184.bundle.js"></script><script type="text/javascript" src="bundle.a8677c75aad1ad7b3b6a.bundle.js"></script></body>
|
|
164
164
|
|
|
165
165
|
</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.0.0-
|
|
1
|
+
<link href="css/rdf-resource-search.css?v=2.0.0-RC3" 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.0.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=2.0.0-
|
|
3
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.0.0-
|
|
1
|
+
<link href="css/clustermanagement.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
3
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.0.0-RC3" 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.0.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.0.0-RC3" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/yasqe.min.css?v=2.0.0-
|
|
3
|
+
<link href="css/lib/yasqe.min.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
4
4
|
|
|
5
|
-
<link href="css/new-sparql.css?v=2.0.0-
|
|
5
|
+
<link href="css/new-sparql.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
6
6
|
|
|
7
|
-
<link href="css/graphs-config.css?v=2.0.0-
|
|
7
|
+
<link href="css/graphs-config.css?v=2.0.0-RC3" 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.0.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=2.0.0-
|
|
1
|
+
<link href="css/domain-range-graph.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=2.0.0-RC3" 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
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.0.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.0.0-RC3" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/yasqe.min.css?v=2.0.0-
|
|
3
|
+
<link href="css/lib/yasqe.min.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
4
4
|
|
|
5
|
-
<link href="css/new-sparql.css?v=2.0.0-
|
|
5
|
+
<link href="css/new-sparql.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
6
6
|
|
|
7
|
-
<link href="css/graphs-config.css?v=2.0.0-
|
|
7
|
+
<link href="css/graphs-config.css?v=2.0.0-RC3" 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="checkboxSuccess" ng-model="newConfig.startMode" value="search">
|
|
85
|
-
<img class="image-label-image" src="css/images/search.png?v=2.0.0-
|
|
85
|
+
<img class="image-label-image" src="css/images/search.png?v=2.0.0-RC3" 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="checkboxSuccess" ng-model="newConfig.startMode" value="node">
|
|
94
|
-
<img class="image-label-image" src="css/images/node.png?v=2.0.0-
|
|
94
|
+
<img class="image-label-image" src="css/images/node.png?v=2.0.0-RC3" 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" id="checkboxSuccess" ng-model="newConfig.startMode" value="query">
|
|
103
|
-
<img class="image-label-image" src="css/images/query.png?v=2.0.0-
|
|
103
|
+
<img class="image-label-image" src="css/images/query.png?v=2.0.0-RC3" 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.0.0-
|
|
144
|
+
<img src="css/images/expand.png?v=2.0.0-RC3" 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.0.0-
|
|
170
|
+
<img src="css/images/labels-size.png?v=2.0.0-RC3" 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.0.0-
|
|
189
|
+
<img src="css/images/predicates.png?v=2.0.0-RC3" 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.0.0-
|
|
214
|
+
<img src="css/images/side-panel.png?v=2.0.0-RC3" 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.0.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=2.0.0-
|
|
3
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.0.0-
|
|
4
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.0.0-
|
|
1
|
+
<link href="css/graphs-vizualizations.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
3
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
5
5
|
|
|
6
6
|
<div class="container-fluid">
|
|
7
7
|
|
|
@@ -137,9 +137,9 @@
|
|
|
137
137
|
<tr ng-repeat="config in graphConfigs">
|
|
138
138
|
<td width="20">
|
|
139
139
|
<a href ng-click="goToGraphConfig(config)">
|
|
140
|
-
<img ng-if="config.startMode == 'search'" src="css/images/search.png?v=2.0.0-
|
|
141
|
-
<img ng-if="config.startMode == 'node'" src="css/images/node.png?v=2.0.0-
|
|
142
|
-
<img ng-if="config.startMode == 'query'" src="css/images/query.png?v=2.0.0-
|
|
140
|
+
<img ng-if="config.startMode == 'search'" src="css/images/search.png?v=2.0.0-RC3" alt="" width="64" popover="{{'visual.config.search.box.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
141
|
+
<img ng-if="config.startMode == 'node'" src="css/images/node.png?v=2.0.0-RC3" alt="" width="64" popover="{{'visual.config.fixed.resource.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
142
|
+
<img ng-if="config.startMode == 'query'" src="css/images/query.png?v=2.0.0-RC3" alt="" width="64" popover="{{'visual.config.query.results.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
143
143
|
</a>
|
|
144
144
|
</td>
|
|
145
145
|
<td>
|
package/dist/pages/import.html
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.0.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.0.0-RC3" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/yasqe.min.css?v=2.0.0-
|
|
3
|
+
<link href="css/lib/yasqe.min.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
4
4
|
|
|
5
|
-
<link href="css/new-sparql.css?v=2.0.0-
|
|
5
|
+
<link href="css/new-sparql.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
6
6
|
|
|
7
|
-
<link href="css/graphs-config.css?v=2.0.0-
|
|
7
|
+
<link href="css/graphs-config.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
8
8
|
|
|
9
|
-
<link href="css/jdbc.css?v=2.0.0-
|
|
9
|
+
<link href="css/jdbc.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
10
10
|
|
|
11
11
|
<div class="container-fluid">
|
|
12
12
|
<h1>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
|
-
<link href="css/jmx.css?v=2.0.0-
|
|
2
|
+
<link href="css/jmx.css?v=2.0.0-RC3" rel="stylesheet" />
|
|
3
3
|
|
|
4
4
|
<!-- nvd3 css and js starts-->
|
|
5
|
-
<link href="js/lib/nvd3/nv.d3.css?v=2.0.0-
|
|
5
|
+
<link href="js/lib/nvd3/nv.d3.css?v=2.0.0-RC3" rel="stylesheet" />
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
<div class="hiddenVariables" style="display: none;">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.0.0-
|
|
2
|
-
<link href="css/export.css?v=2.0.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.0.0-RC3" rel="stylesheet">
|
|
2
|
+
<link href="css/export.css?v=2.0.0-RC3" 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.0.0-
|
|
2
|
-
<link href="css/rdf-class-hierarchy-labels.css?v=2.0.0-
|
|
3
|
-
<link href="css/rdf-details-side-panel.css?v=2.0.0-
|
|
4
|
-
<link href="js/lib/rzslider/rzslider.min.css?v=2.0.0-
|
|
5
|
-
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.0.0-
|
|
6
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.0.0-
|
|
7
|
-
<link href="css/lib/animate/3.2.0/animate.min.css?v=2.0.0-
|
|
1
|
+
<link href="css/rdf-class-hierarchy.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-class-hierarchy-labels.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
3
|
+
<link href="css/rdf-details-side-panel.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/rzslider/rzslider.min.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
5
|
+
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
6
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
7
|
+
<link href="css/lib/animate/3.2.0/animate.min.css?v=2.0.0-RC3" 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.0.0-
|
|
2
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.0.0-
|
|
1
|
+
<link href="css/rdfrank.css?v=2.0.0-RC3" rel="stylesheet">
|
|
2
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.0.0-RC3" 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.0.0-
|
|
1
|
+
<link href="css/repositories.css?v=2.0.0-RC3" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.0.0-
|
|
3
|
+
<link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.0.0-RC3" rel="stylesheet">
|
|
4
4
|
|
|
5
5
|
<h1>
|
|
6
6
|
{{title}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<link href="css/repositories.css?v=2.0.0-
|
|
1
|
+
<link href="css/repositories.css?v=2.0.0-RC3" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.0.0-
|
|
3
|
+
<link href="css/lib/bootstrap-switch/bootstrap-switch.min.css?v=2.0.0-RC3" 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.0.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.0.0-RC3" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/yasqe.min.css?v=2.0.0-
|
|
3
|
+
<link href="css/lib/yasqe.min.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
4
4
|
|
|
5
|
-
<link href="css/new-sparql.css?v=2.0.0-
|
|
5
|
+
<link href="css/new-sparql.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
6
6
|
|
|
7
|
-
<link href="css/graphs-config.css?v=2.0.0-
|
|
7
|
+
<link href="css/graphs-config.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
8
8
|
|
|
9
|
-
<link href="css/jdbc.css?v=2.0.0-
|
|
9
|
+
<link href="css/jdbc.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
10
10
|
|
|
11
11
|
<div class="container-fluid">
|
|
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.0.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.0.0-RC3" rel="stylesheet">
|
|
2
2
|
|
|
3
|
-
<link href="css/lib/yasqe.min.css?v=2.0.0-
|
|
3
|
+
<link href="css/lib/yasqe.min.css?v=2.0.0-RC3" rel="stylesheet"/>
|
|
4
4
|
|
|
5
|
-
<link href="css/new-sparql.css?v=2.0.0-
|
|
5
|
+
<link href="css/new-sparql.css?v=2.0.0-RC3" 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.0.0-
|
|
3
|
-
<link href='css/swagger.custom.css?v=2.0.0-
|
|
2
|
+
<link href='css/lib/swagger-ui.min.css?v=2.0.0-RC3' rel='stylesheet' type='text/css'/>
|
|
3
|
+
<link href='css/swagger.custom.css?v=2.0.0-RC3' 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.0.0-
|
|
7
|
-
<link rel="icon" type="image/png" href="images/favicon-16x16.png?v=2.0.0-
|
|
8
|
-
<link href='../../css/common.css?v=2.0.0-
|
|
9
|
-
<link href='css/reset.css?v=2.0.0-
|
|
10
|
-
<link href='css/screen.css?v=2.0.0-
|
|
11
|
-
<link href='css/onto-theme.css?v=2.0.0-
|
|
12
|
-
<link href='css/reset.css?v=2.0.0-
|
|
13
|
-
<link href='css/print.css?v=2.0.0-
|
|
14
|
-
<link href='css/onto-theme.css?v=2.0.0-
|
|
6
|
+
<link rel="icon" type="image/png" href="images/favicon-32x32.png?v=2.0.0-RC3" sizes="32x32"/>
|
|
7
|
+
<link rel="icon" type="image/png" href="images/favicon-16x16.png?v=2.0.0-RC3" sizes="16x16"/>
|
|
8
|
+
<link href='../../css/common.css?v=2.0.0-RC3' media='screen' rel='stylesheet' type='text/css'/>
|
|
9
|
+
<link href='css/reset.css?v=2.0.0-RC3' media='screen' rel='stylesheet' type='text/css'/>
|
|
10
|
+
<link href='css/screen.css?v=2.0.0-RC3' media='screen' rel='stylesheet' type='text/css'/>
|
|
11
|
+
<link href='css/onto-theme.css?v=2.0.0-RC3' media='screen' rel='stylesheet' type='text/css'/>
|
|
12
|
+
<link href='css/reset.css?v=2.0.0-RC3' media='print' rel='stylesheet' type='text/css'/>
|
|
13
|
+
<link href='css/print.css?v=2.0.0-RC3' media='print' rel='stylesheet' type='text/css'/>
|
|
14
|
+
<link href='css/onto-theme.css?v=2.0.0-RC3' media='print' rel='stylesheet' type='text/css'/>
|
|
15
15
|
|
|
16
|
-
<script src='lib/object-assign-pollyfill.js?v=2.0.0-
|
|
17
|
-
<script src='lib/jquery-3.4.1.min.js?v=2.0.0-
|
|
18
|
-
<script src='lib/jquery.slideto.min.js?v=2.0.0-
|
|
19
|
-
<script src='lib/jquery.wiggle.min.js?v=2.0.0-
|
|
16
|
+
<script src='lib/object-assign-pollyfill.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
17
|
+
<script src='lib/jquery-3.4.1.min.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
18
|
+
<script src='lib/jquery.slideto.min.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
19
|
+
<script src='lib/jquery.wiggle.min.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
20
20
|
|
|
21
|
-
<script src="lib/jquery-migrate-1.4.1.min.js?v=2.0.0-
|
|
22
|
-
<script src='lib/jquery.ba-bbq.min.js?v=2.0.0-
|
|
23
|
-
<script src='lib/handlebars.min-v4.7.3.js?v=2.0.0-
|
|
24
|
-
<script src='lib/lodash.min.js?v=2.0.0-
|
|
25
|
-
<script src='lib/backbone-min.js?v=2.0.0-
|
|
26
|
-
<script src='swagger-ui.js?v=2.0.0-
|
|
27
|
-
<script src='lib/highlight.9.1.0.pack.js?v=2.0.0-
|
|
28
|
-
<script src='lib/highlight.9.1.0.pack_extended.js?v=2.0.0-
|
|
29
|
-
<script src='lib/jsoneditor.min.js?v=2.0.0-
|
|
30
|
-
<script src='lib/marked.js?v=2.0.0-
|
|
31
|
-
<script src='lib/swagger-oauth.js?v=2.0.0-
|
|
21
|
+
<script src="lib/jquery-migrate-1.4.1.min.js?v=2.0.0-RC3"></script>
|
|
22
|
+
<script src='lib/jquery.ba-bbq.min.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
23
|
+
<script src='lib/handlebars.min-v4.7.3.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
24
|
+
<script src='lib/lodash.min.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
25
|
+
<script src='lib/backbone-min.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
26
|
+
<script src='swagger-ui.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
27
|
+
<script src='lib/highlight.9.1.0.pack.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
28
|
+
<script src='lib/highlight.9.1.0.pack_extended.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
29
|
+
<script src='lib/jsoneditor.min.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
30
|
+
<script src='lib/marked.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
31
|
+
<script src='lib/swagger-oauth.js?v=2.0.0-RC3' type='text/javascript'></script>
|
|
32
32
|
|
|
33
33
|
<!-- Some basic translations -->
|
|
34
|
-
<!-- <script src='lang/translator.js?v=2.0.0-
|
|
35
|
-
<!-- <script src='lang/ru.js?v=2.0.0-
|
|
36
|
-
<!-- <script src='lang/en.js?v=2.0.0-
|
|
34
|
+
<!-- <script src='lang/translator.js?v=2.0.0-RC3' type='text/javascript'></script> -->
|
|
35
|
+
<!-- <script src='lang/ru.js?v=2.0.0-RC3' type='text/javascript'></script> -->
|
|
36
|
+
<!-- <script src='lang/en.js?v=2.0.0-RC3' 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,84],{42:function(e,o,t){"use strict";t.r(o),t.d(o,"STATIC_RULESETS",(function(){return i})),t.d(o,"REPOSITORY_TYPES",(function(){return n})),t.d(o,"FILENAME_PATTERN",(function(){return r})),t.d(o,"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]+$")},48:function(e,o,t){"use strict";t.r(o),t.d(o,"getFileName",(function(){return r}));var i=t(42),n=t(0);const r=function(e){let o=e.lastIndexOf("/");-1===o&&(o=e.lastIndexOf("\\"));let t=e;return-1!==o&&(t=t.substring(o+1)),t},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(e){e&&e.member&&(e.member.value=[])},l=function(){const e=document.getElementById("shaclOptions");if(e){const o=e.getAttribute("aria-expanded");if(o&&"true"===o)return"fa fa-angle-down"}return"fa fa-angle-right"},c=function(e,o){e.queryTimeout&&(o.isInvalidQueryTimeout=!i.NUMBER_PATTERN.test(e.queryTimeout.value)),e.validationResultsLimitTotal&&e.validationResultsLimitPerConstraint&&e.queryLimitResults?(o.isInvalidValidationResultsLimitTotal=!i.NUMBER_PATTERN.test(e.validationResultsLimitTotal.value),o.isInvalidValidationResultsLimitPerConstraint=!i.NUMBER_PATTERN.test(e.validationResultsLimitPerConstraint.value),o.isInvalidQueryLimit=!i.NUMBER_PATTERN.test(e.queryLimitResults.value)):e.leftJoinWorkerThreads&&e.boundJoinBlockSize&&e.joinWorkerThreads&&e.unionWorkerThreads&&(o.isInvalidLeftJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.leftJoinWorkerThreads.value),o.isInvalidBoundJoinBlockSize=!i.NUMBER_PATTERN.test(e.boundJoinBlockSize.value),o.isInvalidJoinWorkerThreads=!i.NUMBER_PATTERN.test(e.joinWorkerThreads.value),o.isInvalidUnionWorkerThreads=!i.NUMBER_PATTERN.test(e.unionWorkerThreads.value))},d=function(e,o){return"isInvalidQueryLimit"===e?o.instant("invalid.query.limit"):"isInvalidQueryTimeout"===e?o.instant("invalid.query.timeout"):"isInvalidValidationResultsLimitTotal"===e?o.instant("invalid.validation.results.limit.total"):"isInvalidValidationResultsLimitPerConstraint"===e?o.instant("invalid.validation.results.limit.per.constraint"):"isInvalidJoinWorkerThreads"===e?o.instant("invalid.join.worker.threads"):"isInvalidLeftJoinWorkerThreads"===e?o.instant("invalid.left.join.worker.threads"):"isInvalidUnionWorkerThreads"===e?o.instant("invalid.union.worker.threads"):"isInvalidBoundJoinBlockSize"===e?o.instant("invalid.bound.join.block.size"):void 0},u=function(e,o){const t=Object.keys(e),i=Object.values(e);for(let e=0;e<t.length;e++)if(i[e])return d(t[e],o);return""},p=function(e){return`https://graphdb.ontotext.com/documentation/${e.productShortVersion}`},f=function(e){return e.getLocations().then(e=>(function(e){return e.filter(e=>!e.errorMsg&&!e.degradedReason)})(e))};function m(e,o,t,r,a,s,l,c,d,u){function p(){return r.getLocations().then(o=>{e.locations=o}).finally(()=>e.loader=!1)}e.loader=!0,e.isLocationInactive=function(o){return!o.active||!e.hasActiveLocation()},e.hasActiveLocation=function(){return r.hasActiveLocation()},e.getActiveLocation=function(){return r.getActiveLocation()},e.getLocationError=function(){return r.getLocationError()},e.getDegradedReason=function(){return r.getDegradedReason()},e.getRepositories=function(){return r.getRepositories()},e.isRepoActive=function(e){return r.isRepoActive(e)},e.deleteLocation=function(o){a.openSimpleModal({title:u.instant("location.confirm.detach"),message:u.instant("location.confirm.detach.warning",{uri:o}),warning:!0}).result.then((function(){e.loader=!0,r.deleteLocation(o).finally(()=>p())}))},e.addLocationHttp=function(o){e.loader=!0,l.addLocation(o).success((function(){r.init()})).error((function(e){const o=getError(e);t.error(o,u.instant("common.error"))})).finally(()=>p())},e.addLocation=function(){o.open({templateUrl:"js/angular/templates/modal/add-location.html",windowClass:"addLocationDialog",controller:"AddLocationCtrl"}).result.then((function(o){e.addLocationHttp(o)}))},e.editLocationHttp=function(o){e.loader=!0,l.editLocation(o).success((function(){r.init()})).error((function(e){const o=getError(e);t.error(o,u.instant("common.error"))})).finally(()=>p())},e.editLocation=function(t){o.open({templateUrl:"js/angular/templates/modal/edit-location.html",controller:"EditLocationCtrl",resolve:{location:function(){return t}}}).result.then((function(o){e.editLocationHttp(o)}),(function(){}))},e.setRepository=function(e){r.setRepository(e)},e.deleteRepository=function(o){a.openSimpleModal({title:u.instant("common.confirm.delete"),message:Object(n.decodeHTML)(u.instant("delete.repo.warning.msg",{repositoryId:o.id})),warning:!0}).result.then((function(){e.loader=!0,r.deleteRepository(o).finally(()=>e.loader=!1),function(e){const o=`dependencies-selectedGraph-${e.id}`,t=`classHierarchy-selectedGraph-${e.id}`;angular.forEach(c.keys(),(function(e){(e.startsWith(t)||e.startsWith(o))&&c.remove(e)}))}(o)}))},e.restartRepository=function(o){a.openSimpleModal({title:u.instant("confirm.restart.repo"),message:Object(n.decodeHTML)(u.instant("confirm.restart.repo.warning.msg",{repositoryId:o.id})),warning:!0}).result.then((function(){e.loader=!0,r.restartRepository(o).finally(()=>p())}))},e.toggleDefaultRepository=function(o){e.getDefaultRepository()===o?r.setDefaultRepository(null):r.setDefaultRepository(o)},e.getDefaultRepository=function(){return r.getDefaultRepository()},e.getRepositoryDownloadLink=function(e){let o=`rest/repositories/${e.id}${e.type===i.REPOSITORY_TYPES.ontop?"/download-zip":"/download-ttl"}?location=${e.location}`;const t=s.getAuthToken();return t&&(o=`${o}&authToken=${encodeURIComponent(t)}`),o},e.copyToClipboard=function(e){a.openCopyToClipboardModal(e)},e.fromFile=function(){o.open({templateUrl:"js/angular/templates/modal/upload-repository-config.html",controller:"UploadRepositoryConfigCtrl"}).result.then((function(){r.init()}))},e.openActiveLocationSettings=function(){o.open({templateUrl:"js/angular/settings/modal/location-settings.html",controller:"ActiveLocationSettingsCtrl"})},p();const f=d((function(){r.initQuick(),p()}),5e3);e.$on("$destroy",(function(){d.cancel(f)})),e.getRepositoriesFromLocation=function(e){return r.getRepositoriesFromLocation(e)}}function v(e,o,t,i,n){e.upload=function(o){o&&o.length&&(e.uploadFile=o[0])},e.ok=function(){e.uploadFile&&(e.uploadFileLoader=!0,t.upload({url:"rest/repositories",method:"POST",data:{config:e.uploadFile}}).success((function(){e.uploadFileLoader=!1,o.close()})).error((function(o){const t=getError(o);i.error(t,n.instant("common.error")),e.uploadFileLoader=!1})))},e.cancel=function(){o.dismiss("cancel")}}function y(e,o,t,i,n){e.newLocation={uri:"",authType:"none",username:"",password:"",active:!1},e.docBase=p(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?o.close(e.newLocation):t.error(n.instant("location.cannot.be.empty.error"))},e.cancel=function(){o.dismiss("cancel")}}function R(e,o,t,i){e.editedLocation=angular.copy(t),e.docBase=p(i),e.ok=function(){o.close(e.editedLocation)},e.cancel=function(){o.dismiss("cancel")}}function T(e,o){e.repositoryTypes=i.REPOSITORY_TYPES,e.chooseRepositoryType=function(e){o.path(`${o.path()}/${e}`)}}function g(e,o,t,n,r,d,p,m,v){var y;e.rulesets=i.STATIC_RULESETS.slice(),e.repositoryTypes=i.REPOSITORY_TYPES,e.params=p,e.repositoryType=p.repositoryType,e.enable=!0,e.loader=!0,e.pageTitle=v.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},f(t).then(o=>{e.locations=o}),e.changedLocation=function(){e.$broadcast("changedLocation")},e.getConfig=function(t){m.getRepositoryConfiguration(t).success((function(o){e.repositoryInfo.params=o.params,e.repositoryInfo.type=o.type,a(e.repositoryInfo.params),s(e.repositoryInfo.params),e.loader=!1,r((function(){angular.element(document).find("#id").focus()}),50)})).error((function(t){const i=getError(t);o.error(i,v.instant("common.error")),e.loader=!1}))},e.repositoryType&&(function(o){return e.isEnterprise()&&o===i.REPOSITORY_TYPES.graphdbRepo}(y=e.repositoryType)||function(o){return!e.isFreeEdition()&&!e.isEnterprise()&&o===i.REPOSITORY_TYPES.graphdbRepo}(y)||function(o){return e.isFreeEdition()&&o===i.REPOSITORY_TYPES.graphdbRepo}(y)||function(e){return e===i.REPOSITORY_TYPES.ontop}(y)||function(e){return e===i.REPOSITORY_TYPES.fedx}(y))?(e.repositoryInfo.type=e.repositoryType,e.getConfig(e.repositoryType),function(o){switch(o){case i.REPOSITORY_TYPES.graphdbRepo:e.pageTitle=v.instant("view.create.repo.title",{repoType:"GraphDB"});break;case i.REPOSITORY_TYPES.ontop:e.pageTitle=v.instant("view.create.repo.title",{repoType:"Ontop Virtual SPARQL"});break;case i.REPOSITORY_TYPES.fedx:e.pageTitle=v.instant("view.create.repo.title",{repoType:"FedX Virtual SPARQL"})}}(e.repositoryType)):n.path("/repository/create"),e.hasActiveLocation=function(){return t.hasActiveLocation()},e.activeLocation=function(){return t.getActiveLocation()};let R=!1;e.uploadRuleset=function(t){t&&t.length&&(e.uploadFile=t[0],e.uploadFileLoader=!0,d.upload({url:"rest/repositories/ruleset/upload",data:{ruleset:e.uploadFile,location:e.repositoryInfo.location}}).progress((function(e){})).success((function(t){if(t.success){const o=e.uploadFile.name,i={id:t.fileLocation,name:"Custom: "+o};e.rulesetPie?e.rulesets[0]=i:e.rulesets.unshift(i),e.rulesetPie=t.fileLocation,e.rulesetPieFile=o,e.repositoryInfo.params.ruleset.value=e.rulesetPie}else o.error(t.errorMessage),R=!0;e.uploadFileLoader=!1})).error((function(t){const i=getError(t);o.error(i,v.instant("common.error")),e.uploadFile="",e.uploadFileLoader=!1})))},e.noMembersError=function(){o.error(v.instant("fedx.create.repo.no.members.warning"))},e.goBackToPreviousLocation=function(){angular.isDefined(p.previous)?(delete n.$$search.previous,n.path("/")):n.path("/repository")},e.createRepoHttp=function(){e.loader=!0,m.createRepository(e.repositoryInfo).success((function(){o.success(v.instant("created.repo.success.msg",{repoId:e.repositoryInfo.id})),t.init(e.goBackToPreviousLocation)})).error((function(t){const i=getError(t);o.error(i,v.instant("common.error")),e.loader=!1}))},e.createRepo=function(){if(!e.repositoryInfo.id)return void o.error(v.instant("empty.repoid.warning"));e.isInvalidRepoName=!i.FILENAME_PATTERN.test(e.repositoryInfo.id),c(e.repositoryInfo.params,e.invalidValues);const t=u(e.invalidValues,v);R?o.error(v.instant("invalid.ruleset.file.error")):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):e.createRepoHttp()},e.rulesetWarning=function(){const o=e.repositoryInfo.params;return void 0===o||void 0===o.ruleset||void 0===o.disableSameAs?"":0===o.ruleset.value.indexOf("owl")&&"true"===o.disableSameAs.value?v.instant("repoTooltips.rulesetWarnings.needsSameAs"):0===o.ruleset.value.indexOf("rdfs")&&"false"===o.disableSameAs.value?v.instant("repoTooltips.rulesetWarnings.doesntNeedSameAs"):o.ruleset.value===e.rulesetPie?v.instant("repoTooltips.rulesetWarnings.customRuleset"):""},e.validateNumberInput=function(){c(e.repositoryInfo.params,e.invalidValues)},e.getShaclOptionsClass=function(){return l()},e.autofocusId="autofocus"}function I(e,o,t,i,n,r){i&&t.getRepositoryFileContent(i).success((function(o){e.fileContent=o})).error((function(e){const o=getError(e);n.error(o,r.instant("common.error"))})),e.ok=function(){o.close({content:e.fileContent,fileLocation:i})},e.cancel=function(){o.dismiss("cancel")}}function L(e,o,t,s,d,p,m,v){e.rulesets=i.STATIC_RULESETS.slice(),e.repositoryTypes=i.REPOSITORY_TYPES,e.editRepoPage=!0,e.canEditRepoId=!1,e.params=o,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 s.hasActiveLocation()},e.$watch(e.hasActiveLocation,(function(){e.hasActiveLocation&&f(s).then(o=>(e.locations=o,m.getRepository(e.repositoryInfo))).then((function(o){const t=o.data;if(angular.isDefined(t.params.ruleset)){let o=!1;if(angular.forEach(e.rulesets,(function(e){e.id===t.params.ruleset.value&&(o=!0)})),t.params.ruleset&&!o){const o=r(t.params.ruleset.value);e.rulesets.unshift({id:t.params.ruleset.value,name:"Custom: "+o})}}e.repositoryInfo=t,e.setRepositoryType(t.type),a(e.repositoryInfo.params),e.repositoryInfo.saveId=e.saveRepoId,e.loader=!1})).catch((function(i){const r=i.data,a=i.status,s=o.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),t.error(l,v.instant("common.error"),{allowHtml:!0}),404===a?setTimeout((function(){e.loader=!1,d.path("repository")}),1e3):e.loader=!1}))})),e.setRepositoryType=function(o){e.repositoryType=o},e.noMembersError=function(){t.error(v.instant("fedx.create.repo.no.members.warning"))},e.editRepoHttp=function(){e.loader=!0,m.editRepository(e.repositoryInfo.saveId,e.repositoryInfo).success((function(){t.success(v.instant("edit.repo.success.msg",{saveId:e.repositoryInfo.saveId})),s.init(e.goBackToPreviousLocation),e.repositoryInfo.saveId===e.repositoryInfo.id&&e.repositoryInfo.restartRequested&&s.restartRepository(e.repositoryInfo.id)})).error((function(o){const i=getError(o);t.error(i,v.instant("common.error")),e.loader=!1}))},e.editRepository=function(){e.isInvalidRepoName=!i.FILENAME_PATTERN.test(e.repositoryInfo.id),c(e.repositoryInfo.params,e.invalidValues);const o=u(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?t.error(v.instant("wrong.repo.name.error")):"fedx"===e.repositoryType&&0===e.repositoryInfo.params.member.value.length?e.noMembersError():o?t.error(o):p.openSimpleModal({title:v.instant("common.confirm.save"),message:r,warning:!0}).result.then((function(){e.editRepoHttp()}))},e.editRepositoryId=function(){let o=Object(n.decodeHTML)(v.instant("edit.repo.id.warning.msg"));e.isEnterprise()&&(o+=Object(n.decodeHTML)(v.instant("edit.repo.id.cluster.warning.msg"))),p.openSimpleModal({title:v.instant("confirm.enable.edit"),message:o,warning:!0}).result.then((function(){e.canEditRepoId=!0}))},e.goBackToPreviousLocation=function(){angular.isDefined(o.previous)?(delete d.$$search.previous,d.path("/")):d.path("/repository")},e.validateNumberInput=function(){c(e.repositoryInfo.params,e.invalidValues)},e.getShaclOptionsClass=function(){return l()}}angular.module("graphdb.framework.repositories.controllers",["ngCookies","ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","toastr","ngFileUpload"]).controller("LocationsAndRepositoriesCtrl",m).controller("AddLocationCtrl",y).controller("EditLocationCtrl",R).controller("ChooseRepositoryCtrl",T).controller("AddRepositoryCtrl",g).controller("EditRepositoryCtrl",L).controller("EditRepositoryFileCtrl",I).controller("UploadRepositoryConfigCtrl",v),m.$inject=["$scope","$modal","toastr","$repositories","ModalService","$jwtAuth","LocationsRestService","LocalStorageAdapter","$interval","$translate"],v.$inject=["$scope","$modalInstance","Upload","toastr","$translate"],y.$inject=["$scope","$modalInstance","toastr","productInfo","$translate"],R.$inject=["$scope","$modalInstance","location","productInfo"],T.$inject=["$scope","$location"],g.$inject=["$scope","toastr","$repositories","$location","$timeout","Upload","$routeParams","RepositoriesRestService","$translate"],I.$inject=["$scope","$modalInstance","RepositoriesRestService","file","toastr","$translate"],L.$inject=["$scope","$routeParams","toastr","$repositories","$location","ModalService","RepositoriesRestService","$translate"]}}]);
|
|
2
|
-
//# sourceMappingURL=5.1e4e7e36d894360b8d8f.bundle.js.map
|