graphdb-workbench 2.6.1 → 2.6.2-RC2
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.2f1b7b3050f428758cd0.bundle.js → 10.c86a39a390b36ec08b90.bundle.js} +1 -1
- package/dist/{119.771db56d499dcdf1c953.bundle.js → 119.e2a1ccb260af6cddd91c.bundle.js} +1 -1
- package/dist/12.72b1cf9c0b2a0cf0e39b.bundle.js +1 -0
- package/dist/123.eb8114707f15749a90ae.bundle.js +1 -0
- package/dist/131.f41a0b6b9036447b1077.bundle.js +1 -1
- package/dist/{16.028d7ea5baf358e315cb.bundle.js → 16.af6bc53be819045291bd.bundle.js} +1 -1
- package/dist/21.72126081137288bb650e.bundle.js +1 -0
- package/dist/{23.91ef26cbbdeac17b5756.bundle.js → 23.a5165fa6e171a8db712b.bundle.js} +1 -1
- package/dist/242.a006b1c147b0cb957175.bundle.js +1 -0
- package/dist/25.5a98f7b1bf5b195fa51f.bundle.js +1 -0
- package/dist/257.943f597bddc0d65103c5.bundle.js +1 -1
- package/dist/259.2c88332b7f1b47935a47.bundle.js +1 -1
- package/dist/26.8bd9dc57add455291ab8.bundle.js +1 -0
- package/dist/260.d745422c537bdd9647bb.bundle.js +1 -1
- package/dist/261.7efff7f93f61f061f5ca.bundle.js +1 -1
- package/dist/27.92bfb161b420732902a3.bundle.js +1 -1
- package/dist/28.2e0277168c8f14f9c085.bundle.js +1 -1
- package/dist/288.6cef162ec3cec3cde603.bundle.js +1 -1
- package/dist/31.1e6ed4b31ac8c0dc44cd.bundle.js +1 -0
- package/dist/40.53352fda81f370182e99.bundle.js +1 -1
- package/dist/5.f15016e5e47214a9bc88.bundle.js +1 -0
- package/dist/63.dbce2c16115eac52fed2.bundle.js +1 -1
- package/dist/{7.15f6406e6baaef520b7f.bundle.js → 7.112cbad7864c8da551d3.bundle.js} +1 -1
- package/dist/96.53f0a874878aedfa987a.bundle.js +1 -0
- package/dist/{bundle.3aedab803b7c4896e885.bundle.js → bundle.605dddf42bf0eefaa4ec.bundle.js} +2 -2
- package/dist/css/aclmanagement.css +5 -0
- package/dist/css/bootstrap-graphdb-theme-dark-auto.css +4 -0
- package/dist/css/clustermanagement.css +5 -1
- package/dist/css/create-similarity-index.css +4 -0
- package/dist/css/graphs-config.css +4 -0
- package/dist/css/jdbc-create.css +4 -0
- package/dist/css/lib/ontotext-yasgui-web-component.css +4 -0
- package/dist/css/sparql-templates.css +4 -0
- package/dist/i18n/locale-en.json +2 -1
- package/dist/i18n/locale-fr.json +2 -1
- package/dist/index.html +4 -4
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
- package/dist/js/angular/security/templates/user.html +1 -1
- package/dist/license-checker.json +4 -4
- package/dist/{main.cd9080d130335332d006.css → main.b830c2fc237abd684f41.css} +1 -1
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +8 -5
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/import.html +1 -1
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/webapi.html +2 -2
- package/dist/plugins.js +16 -23
- package/dist/res/swagger/index.html +27 -27
- package/package.json +2 -2
- package/dist/12.75466fc44ea53c351a67.bundle.js +0 -1
- package/dist/123.2610627b06c4276727b1.bundle.js +0 -1
- package/dist/21.6fc8ebce5e63eedb5f9e.bundle.js +0 -1
- package/dist/242.eafa039a4e07364e4a8f.bundle.js +0 -1
- package/dist/25.f5a19d06088f0938fc9f.bundle.js +0 -1
- package/dist/26.85a305c95834a8a1a05a.bundle.js +0 -1
- package/dist/31.2c95be2edb9c756e0f13.bundle.js +0 -1
- package/dist/5.f58f4e96c07a6a7a0e06.bundle.js +0 -1
- package/dist/96.e01346a08ab153a02364.bundle.js +0 -1
package/dist/pages/edit.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.6.
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.6.2-RC2" rel="stylesheet">
|
|
2
2
|
|
|
3
3
|
<div core-errors></div>
|
|
4
4
|
<div class="page" ng-show="getActiveRepository()">
|
|
@@ -38,7 +38,8 @@
|
|
|
38
38
|
<form name="newRowPredicate" novalidate>
|
|
39
39
|
<input required uri name="value"
|
|
40
40
|
placeholder="{{'example.label' | translate}}: "http://exampleuri.com/examplepath", "namespaceprefix:exampleproperty""
|
|
41
|
-
class="form-control predicate-input" type="text" ng-model="newRow.predicate"
|
|
41
|
+
class="form-control predicate-input" type="text" ng-model="newRow.predicate"
|
|
42
|
+
autocomplete="off">
|
|
42
43
|
|
|
43
44
|
<div ng-show="predicate_new.$submitted || predicate_new.value.$touched">
|
|
44
45
|
<p ng-show="predicate_new.value.$error.required"
|
|
@@ -64,7 +65,8 @@
|
|
|
64
65
|
</select>
|
|
65
66
|
<input required name="value" id="objectUriText" class="form-control" type="text"
|
|
66
67
|
ng-model="newRow.object.value" auto-complete uiItems="namespaces"
|
|
67
|
-
value="exampleObjectValueText" placeholder="{{'value.label' | translate}}"
|
|
68
|
+
value="exampleObjectValueText" placeholder="{{'value.label' | translate}}"
|
|
69
|
+
autocomplete="off">
|
|
68
70
|
|
|
69
71
|
<div ng-show="object_new.$submitted || object_new.value.$touched">
|
|
70
72
|
<p ng-show="newRow.object.type == 'uri' && !validateUri(newRow.object.value)"
|
|
@@ -89,14 +91,15 @@
|
|
|
89
91
|
</select>
|
|
90
92
|
<input ng-show="newRow.object.datatype == '' && newRow.object.type == 'literal'"
|
|
91
93
|
name="languageText" id="languageText" class="form-control" type="text"
|
|
92
|
-
ng-model="newRow.object.lang">
|
|
94
|
+
ng-model="newRow.object.lang" autocomplete="off">
|
|
93
95
|
</form>
|
|
94
96
|
</td>
|
|
95
97
|
<td style="vertical-align: top;">
|
|
96
98
|
<form name="newRowContext" novalidate>
|
|
97
99
|
<input name="" uri
|
|
98
100
|
placeholder="{{'example.label' | translate}}: "http://exampleuri.com/examplepath", "namespaceprefix:exampleproperty""
|
|
99
|
-
class="form-control context-input" type="text" ng-model="newRow.context"
|
|
101
|
+
class="form-control context-input" type="text" ng-model="newRow.context"
|
|
102
|
+
autocomplete="off">
|
|
100
103
|
|
|
101
104
|
<p ng-show="newRow.context && !validateUri(newRow.context)"
|
|
102
105
|
class="alert alert-info completeUriAlert">
|
package/dist/pages/explore.html
CHANGED
package/dist/pages/export.html
CHANGED
package/dist/pages/find.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/graphs-config.css?v=2.6.
|
|
1
|
+
<link href="css/graphs-config.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
2
2
|
|
|
3
3
|
<h1>
|
|
4
4
|
{{title}}
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
<label class="start-mode search image-label d-flex" ng-class="{'active': newConfig.startMode === 'search'}">
|
|
60
60
|
<input type="radio" class="form-check-input" id="checkboxSuccessSearch"
|
|
61
61
|
ng-model="newConfig.startMode" value="search">
|
|
62
|
-
<img class="image-label-image" src="css/images/search.png?v=2.6.
|
|
62
|
+
<img class="image-label-image" src="css/images/search.png?v=2.6.2-RC2" alt="search image"
|
|
63
63
|
width="100%">
|
|
64
64
|
<div class="image-label-content">
|
|
65
65
|
<h5>{{'start.with.search.box' | translate}}</h5>
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
<label class="start-mode node image-label d-flex" ng-class="{'active': newConfig.startMode === 'node'}">
|
|
71
71
|
<input type="radio" class="form-check-input" id="checkboxSuccessNode" ng-model="newConfig.startMode"
|
|
72
72
|
value="node">
|
|
73
|
-
<img class="image-label-image" src="css/images/node.png?v=2.6.
|
|
73
|
+
<img class="image-label-image" src="css/images/node.png?v=2.6.2-RC2" alt="node image"
|
|
74
74
|
width="100%">
|
|
75
75
|
<div class="image-label-content">
|
|
76
76
|
<h5>{{'start.with.fixed.node' | translate}}</h5>
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
<label class="start-mode query image-label d-flex" ng-class="{'active': newConfig.startMode === 'query'}">
|
|
82
82
|
<input type="radio" class="form-check-input" data-cy="graph-config-by-graph-query-checkbox"
|
|
83
83
|
ng-model="newConfig.startMode" value="query">
|
|
84
|
-
<img class="image-label-image" src="css/images/query.png?v=2.6.
|
|
84
|
+
<img class="image-label-image" src="css/images/query.png?v=2.6.2-RC2" alt="query image"
|
|
85
85
|
width="100%">
|
|
86
86
|
<div class="image-label-content">
|
|
87
87
|
<h5>{{'query.results.start' | translate}}</h5>
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
{{'sample.query.used' | translate}}</p>
|
|
129
129
|
</div>
|
|
130
130
|
<div>
|
|
131
|
-
<img src="css/images/expand.png?v=2.6.
|
|
131
|
+
<img src="css/images/expand.png?v=2.6.2-RC2" class="info-box-img" height="220"
|
|
132
132
|
alt="expand image">
|
|
133
133
|
</div>
|
|
134
134
|
</div>
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
{{'sample.query.used' | translate}}</p>
|
|
157
157
|
</div>
|
|
158
158
|
<div>
|
|
159
|
-
<img src="css/images/labels-size.png?v=2.6.
|
|
159
|
+
<img src="css/images/labels-size.png?v=2.6.2-RC2" class="info-box-img" height="220"
|
|
160
160
|
alt="labels size image">
|
|
161
161
|
</div>
|
|
162
162
|
</div>
|
|
@@ -179,7 +179,7 @@
|
|
|
179
179
|
<p>{{'query.is.optional.local.name' | translate}}</p>
|
|
180
180
|
</div>
|
|
181
181
|
<div>
|
|
182
|
-
<img src="css/images/predicates.png?v=2.6.
|
|
182
|
+
<img src="css/images/predicates.png?v=2.6.2-RC2" class="info-box-img" height="220"
|
|
183
183
|
alt="predicates image">
|
|
184
184
|
</div>
|
|
185
185
|
</div>
|
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
{{'sample.query.used' | translate}}</p>
|
|
212
212
|
</div>
|
|
213
213
|
<div>
|
|
214
|
-
<img src="css/images/side-panel.png?v=2.6.
|
|
214
|
+
<img src="css/images/side-panel.png?v=2.6.2-RC2" class="info-box-img" height="220"
|
|
215
215
|
alt="side panel image">
|
|
216
216
|
</div>
|
|
217
217
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<link href="css/graphs-vizualizations.css?v=2.6.
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=2.6.
|
|
3
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.6.
|
|
4
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.6.
|
|
1
|
+
<link href="css/graphs-vizualizations.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
3
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.6.2-RC2" 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.6.
|
|
135
|
-
<img ng-if="config.startMode == 'node'" src="css/images/node.png?v=2.6.
|
|
136
|
-
<img ng-if="config.startMode == 'query'" src="css/images/query.png?v=2.6.
|
|
134
|
+
<img ng-if="config.startMode == 'search'" src="css/images/search.png?v=2.6.2-RC2" 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.6.2-RC2" 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.6.2-RC2" 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,5 +1,5 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.6.
|
|
2
|
-
<link href="css/export.css?v=2.6.
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=2.6.2-RC2" rel="stylesheet">
|
|
2
|
+
<link href="css/export.css?v=2.6.2-RC2" 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.6.
|
|
2
|
-
<link href="css/rdf-class-hierarchy-labels.css?v=2.6.
|
|
3
|
-
<link href="css/rdf-details-side-panel.css?v=2.6.
|
|
4
|
-
<link href="js/lib/rzslider/rzslider.min.css?v=2.6.
|
|
5
|
-
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.6.
|
|
6
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=2.6.
|
|
7
|
-
<link href="css/lib/animate/3.2.0/animate.min.css?v=2.6.
|
|
1
|
+
<link href="css/rdf-class-hierarchy.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-class-hierarchy-labels.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
3
|
+
<link href="css/rdf-details-side-panel.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/rzslider/rzslider.min.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
5
|
+
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
6
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
7
|
+
<link href="css/lib/animate/3.2.0/animate.min.css?v=2.6.2-RC2" 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.6.
|
|
2
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.6.
|
|
1
|
+
<link href="css/rdfrank.css?v=2.6.2-RC2" rel="stylesheet">
|
|
2
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.6.2-RC2" rel="stylesheet"/>
|
|
3
3
|
|
|
4
4
|
<div id="rdfRank" class="page">
|
|
5
5
|
<h1>
|
package/dist/pages/webapi.html
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
<link href='css/lib/swagger-ui.min.css?v=2.6.
|
|
3
|
-
<link href='css/swagger.custom.css?v=2.6.
|
|
2
|
+
<link href='css/lib/swagger-ui.min.css?v=2.6.2-RC2' rel='stylesheet' type='text/css'/>
|
|
3
|
+
<link href='css/swagger.custom.css?v=2.6.2-RC2' rel='stylesheet' type='text/css'/>
|
|
4
4
|
|
|
5
5
|
<h1>
|
|
6
6
|
{{title}}
|
package/dist/plugins.js
CHANGED
|
@@ -544,6 +544,8 @@ PluginRegistry.add('guide.step', [
|
|
|
544
544
|
content: 'guide.step_plugin.class-hierarchy-instances-query.content',
|
|
545
545
|
url: '/sparql',
|
|
546
546
|
elementSelector: GuideUtils.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,
|
|
547
|
+
beforeShowPromise: () => GuideUtils.waitFor(GuideUtils.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR, 3)
|
|
548
|
+
.then(() => GuideUtils.deferredShow(500)()),
|
|
547
549
|
class: 'class-hierarchy-instances-query-guide-dialog',
|
|
548
550
|
scrollToHandler: GuideUtils.scrollToTop
|
|
549
551
|
}, options)
|
|
@@ -829,14 +831,13 @@ PluginRegistry.add('guide.step', [
|
|
|
829
831
|
url: '/sparql',
|
|
830
832
|
elementSelector: GuideUtils.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,
|
|
831
833
|
class: 'yasgui-query-editor-guide-dialog',
|
|
832
|
-
beforeShowPromise: () =>
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
},
|
|
834
|
+
beforeShowPromise: () => YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync(SPARQL_DIRECTIVE_SELECTOR)
|
|
835
|
+
.then(() => GuideUtils.waitFor(GuideUtils.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR, 3))
|
|
836
|
+
.then(() => GuideUtils.deferredShow(500)())
|
|
837
|
+
.catch((error) => {
|
|
838
|
+
services.toastr.error(services.$translate.instant('guide.unexpected.error.message'));
|
|
839
|
+
throw error;
|
|
840
|
+
}),
|
|
840
841
|
onNextValidate: () => {
|
|
841
842
|
return YasguiComponentDirectiveUtil.getOntotextYasguiElementAsync(SPARQL_DIRECTIVE_SELECTOR)
|
|
842
843
|
.then((yasgui) => yasgui.getQuery().then((query) => ({yasgui, queryFromEditor: query})))
|
|
@@ -929,27 +930,19 @@ PluginRegistry.add('guide.step', [
|
|
|
929
930
|
scrollToHandler: GuideUtils.scrollToTop,
|
|
930
931
|
extraContent: queryDef.resultExtraContent,
|
|
931
932
|
canBePaused: false,
|
|
932
|
-
initPreviousStep: (services, stepId) =>
|
|
933
|
+
initPreviousStep: (services, stepId) => {
|
|
933
934
|
if ('/sparql' !== $location.url()) {
|
|
934
935
|
$location.url('/sparql');
|
|
935
936
|
$route.reload();
|
|
936
|
-
GuideUtils.waitFor(GuideUtils.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR)
|
|
937
|
-
.then(() =>
|
|
938
|
-
|
|
939
|
-
.then(() => {
|
|
940
|
-
resolve();
|
|
941
|
-
})
|
|
942
|
-
.catch((error) => reject(error));
|
|
943
|
-
});
|
|
937
|
+
return GuideUtils.waitFor(GuideUtils.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR)
|
|
938
|
+
.then(() => GuideUtils.deferredShow(500)())
|
|
939
|
+
.then(() => YasguiComponentDirectiveUtil.executeSparqlQuery("#query-editor", query));
|
|
944
940
|
} else {
|
|
945
941
|
const previousStep = services.ShepherdService.getPreviousStepFromHistory(stepId);
|
|
946
|
-
previousStep.options.initPreviousStep(services, previousStep.options.id)
|
|
947
|
-
.then(() =>
|
|
948
|
-
YasguiComponentDirectiveUtil.setQuery(SPARQL_DIRECTIVE_SELECTOR, query).then(() => resolve());
|
|
949
|
-
})
|
|
950
|
-
.catch((error) => reject(error));
|
|
942
|
+
return previousStep.options.initPreviousStep(services, previousStep.options.id)
|
|
943
|
+
.then(() => YasguiComponentDirectiveUtil.setQuery(SPARQL_DIRECTIVE_SELECTOR, query));
|
|
951
944
|
}
|
|
952
|
-
}
|
|
945
|
+
}
|
|
953
946
|
}, options)
|
|
954
947
|
});
|
|
955
948
|
});
|
|
@@ -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.6.
|
|
7
|
-
<link rel="icon" type="image/png" href="images/favicon-16x16.png?v=2.6.
|
|
8
|
-
<link href='../../css/common.css?v=2.6.
|
|
9
|
-
<link href='css/reset.css?v=2.6.
|
|
10
|
-
<link href='css/screen.css?v=2.6.
|
|
11
|
-
<link href='css/onto-theme.css?v=2.6.
|
|
12
|
-
<link href='css/reset.css?v=2.6.
|
|
13
|
-
<link href='css/print.css?v=2.6.
|
|
14
|
-
<link href='css/onto-theme.css?v=2.6.
|
|
6
|
+
<link rel="icon" type="image/png" href="images/favicon-32x32.png?v=2.6.2-RC2" sizes="32x32"/>
|
|
7
|
+
<link rel="icon" type="image/png" href="images/favicon-16x16.png?v=2.6.2-RC2" sizes="16x16"/>
|
|
8
|
+
<link href='../../css/common.css?v=2.6.2-RC2' media='screen' rel='stylesheet' type='text/css'/>
|
|
9
|
+
<link href='css/reset.css?v=2.6.2-RC2' media='screen' rel='stylesheet' type='text/css'/>
|
|
10
|
+
<link href='css/screen.css?v=2.6.2-RC2' media='screen' rel='stylesheet' type='text/css'/>
|
|
11
|
+
<link href='css/onto-theme.css?v=2.6.2-RC2' media='screen' rel='stylesheet' type='text/css'/>
|
|
12
|
+
<link href='css/reset.css?v=2.6.2-RC2' media='print' rel='stylesheet' type='text/css'/>
|
|
13
|
+
<link href='css/print.css?v=2.6.2-RC2' media='print' rel='stylesheet' type='text/css'/>
|
|
14
|
+
<link href='css/onto-theme.css?v=2.6.2-RC2' media='print' rel='stylesheet' type='text/css'/>
|
|
15
15
|
|
|
16
|
-
<script src='lib/object-assign-pollyfill.js?v=2.6.
|
|
17
|
-
<script src='lib/jquery-3.4.1.min.js?v=2.6.
|
|
18
|
-
<script src='lib/jquery.slideto.min.js?v=2.6.
|
|
19
|
-
<script src='lib/jquery.wiggle.min.js?v=2.6.
|
|
16
|
+
<script src='lib/object-assign-pollyfill.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
17
|
+
<script src='lib/jquery-3.4.1.min.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
18
|
+
<script src='lib/jquery.slideto.min.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
19
|
+
<script src='lib/jquery.wiggle.min.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
20
20
|
|
|
21
|
-
<script src="lib/jquery-migrate-1.4.1.min.js?v=2.6.
|
|
22
|
-
<script src='lib/jquery.ba-bbq.min.js?v=2.6.
|
|
23
|
-
<script src='lib/handlebars.min-v4.7.3.js?v=2.6.
|
|
24
|
-
<script src='lib/lodash.min.js?v=2.6.
|
|
25
|
-
<script src='lib/backbone-min.js?v=2.6.
|
|
26
|
-
<script src='swagger-ui.js?v=2.6.
|
|
27
|
-
<script src='lib/highlight.9.1.0.pack.js?v=2.6.
|
|
28
|
-
<script src='lib/highlight.9.1.0.pack_extended.js?v=2.6.
|
|
29
|
-
<script src='lib/jsoneditor.min.js?v=2.6.
|
|
30
|
-
<script src='lib/marked.js?v=2.6.
|
|
31
|
-
<script src='lib/swagger-oauth.js?v=2.6.
|
|
21
|
+
<script src="lib/jquery-migrate-1.4.1.min.js?v=2.6.2-RC2"></script>
|
|
22
|
+
<script src='lib/jquery.ba-bbq.min.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
23
|
+
<script src='lib/handlebars.min-v4.7.3.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
24
|
+
<script src='lib/lodash.min.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
25
|
+
<script src='lib/backbone-min.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
26
|
+
<script src='swagger-ui.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
27
|
+
<script src='lib/highlight.9.1.0.pack.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
28
|
+
<script src='lib/highlight.9.1.0.pack_extended.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
29
|
+
<script src='lib/jsoneditor.min.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
30
|
+
<script src='lib/marked.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
31
|
+
<script src='lib/swagger-oauth.js?v=2.6.2-RC2' type='text/javascript'></script>
|
|
32
32
|
|
|
33
33
|
<!-- Some basic translations -->
|
|
34
|
-
<!-- <script src='lang/translator.js?v=2.6.
|
|
35
|
-
<!-- <script src='lang/ru.js?v=2.6.
|
|
36
|
-
<!-- <script src='lang/en.js?v=2.6.
|
|
34
|
+
<!-- <script src='lang/translator.js?v=2.6.2-RC2' type='text/javascript'></script> -->
|
|
35
|
+
<!-- <script src='lang/ru.js?v=2.6.2-RC2' type='text/javascript'></script> -->
|
|
36
|
+
<!-- <script src='lang/en.js?v=2.6.2-RC2' type='text/javascript'></script> -->
|
|
37
37
|
|
|
38
38
|
<script type="text/javascript">
|
|
39
39
|
$(function () {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "graphdb-workbench",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2-RC2",
|
|
4
4
|
"description": "The web application for GraphDB APIs",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "webpack --config=webpack.config.prod.js",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"ng-file-upload": "^12.2.13",
|
|
107
107
|
"ng-tags-input": "^3.2.0",
|
|
108
108
|
"oclazyload": "^1.1.0",
|
|
109
|
-
"ontotext-yasgui-web-component": "1.2.
|
|
109
|
+
"ontotext-yasgui-web-component": "1.2.7",
|
|
110
110
|
"shepherd.js": "^11.1.1"
|
|
111
111
|
},
|
|
112
112
|
"resolutions": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[12,96],{141:function(t,e,n){"use strict";n.r(e),n.d(e,"clusterColors",(function(){return r})),n.d(e,"createClusterSvgElement",(function(){return a})),n.d(e,"createClusterZone",(function(){return s})),n.d(e,"setCreateClusterZone",(function(){return c})),n.d(e,"updateClusterZoneLabels",(function(){return i})),n.d(e,"moveElement",(function(){return d})),n.d(e,"createNodes",(function(){return l})),n.d(e,"updateNodes",(function(){return u})),n.d(e,"createLinks",(function(){return p})),n.d(e,"updateLinks",(function(){return h})),n.d(e,"setLinkColor",(function(){return y})),n.d(e,"setLinkStyle",(function(){return g})),n.d(e,"positionNodesOnClusterZone",(function(){return S}));var o=n(110);const r={ontoOrange:"var(--primary-color)",ontoBlue:"var(--secondary-color)",ontoGreen:"var(--tertiary-color)",ontoGrey:"var(--gray-color)"};function a(t){return d3.select(t).append("svg")}function s(t){const e=t.append("g");return e.append("circle").classed("cluster-zone",!0).style("fill","transparent").style("stroke-width","2"),e}function c(t,e,n,o=!1){if(e.select(".cluster-zone").classed("no-cluster",!t).classed("has-access",o),t)e.selectAll("#no-cluster-zone").remove();else{const t=e.append("g").attr("id","no-cluster-zone");t.append("text").attr("id","no-cluster-label").text(n.no_cluster_configured).attr("y",-50).classed("h2",!0).style("text-anchor","middle"),o&&t.append("text").attr("id","create-cluster-label").classed("h3",!0).text(n.create_cluster_btn).style("text-anchor","middle"),t.append("text").attr("y",130).attr("class","icon-any repo").attr("fill",r.ontoOrange).style("text-anchor","middle").classed("settings-icon",!0).text("")}}function i(t,e,n){t||(e.select("#no-cluster-zone #no-cluster-label").text(n.no_cluster_configured),e.select("#no-cluster-zone #create-cluster-label").text(n.create_cluster_btn))}function d(t,e,n){t.attr("transform",()=>`translate(${e}, ${n})`)}function l(t,e,n){const o=t.enter().append("g").attr("id","node-group").classed("legend",n),r=o.merge(t).attr("id","node-group").classed("legend",n);return function(t,e){const n=Math.sqrt(3)/2,o=[[e+0,0],[e/2+0,e*n+0],[-e/2+0,e*n+0],[0-e,0],[-e/2+0,-e*n+0],[e/2+0,-e*n+0],[e+0,0],[e/2+0,e*n+0]];t.selectAll("path.area").data([o]).enter().append("path").attr("class","node member").attr("d",d3.line())}(o,e),t.exit().remove(),o.append("text").attr("class","icon-any node-icon"),function(t,e,n){const o=t.append("g");n?o.append("foreignObject").attr("y",e).attr("x",-e).attr("width",2*e).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host"):(o.append("rect").attr("class","id-host-background").attr("rx",6),o.append("text").attr("y",e+15).attr("class","id id-host"),o.append("rect").attr("class","node-info-background").attr("rx",6),o.append("text").attr("y",e+45).attr("class","node-info-text"))}(o,e,n),r}function u(t){!function(t){t.select(".node-icon").classed("icon-any",(function(t){return!f(t)})).classed("fa-d3",f).text((function(t){return f(t)?function(t){if(_.isEmpty(t.recoveryStatus))return"";switch(t.recoveryStatus.state){case o.RecoveryState.SEARCHING_FOR_NODE:return"";case o.RecoveryState.WAITING_FOR_SNAPSHOT:return"";case o.RecoveryState.RECEIVING_SNAPSHOT:return"";case o.RecoveryState.APPLYING_SNAPSHOT:return"";case o.RecoveryState.BUILDING_SNAPSHOT:return"";case o.RecoveryState.SENDING_SNAPSHOT:return"";default:return""}}(t):function(t){if(t.nodeState===o.NodeState.LEADER)return"";if(t.nodeState===o.NodeState.FOLLOWER)return"";if(t.nodeState===o.NodeState.CANDIDATE)return"";if(t.nodeState===o.NodeState.NO_CONNECTION)return"";if(t.nodeState===o.NodeState.OUT_OF_SYNC)return"";if(t.nodeState===o.NodeState.READ_ONLY)return"";if(t.nodeState===o.NodeState.RESTRICTED)return"";return""}(t)}))}(t),function(t){t.select(".node.member").classed("leader",t=>t.nodeState===o.NodeState.LEADER).classed("follower",t=>t.nodeState===o.NodeState.FOLLOWER).classed("candidate",t=>t.nodeState===o.NodeState.CANDIDATE).classed("other",t=>t.nodeState!==o.NodeState.LEADER&&t.nodeState!==o.NodeState.FOLLOWER&&t.nodeState!==o.NodeState.CANDIDATE)}(t),function(t){t.select(".id.id-host").each((function(t){t.labelNode=this})).text((function(t){return t.hostname})),t.select(".id-host-background").attr("width",(function(t){return d3.select(t.labelNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.labelNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.labelNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.labelNode).node().getBBox().y-5}))}(t),function(t){t.select(".node-info-text").each((function(t){t.infoNode=this})).text((function(t){return t.recoveryStatus&&t.recoveryStatus.message})),t.select(".node-info-background").attr("width",(function(t){return d3.select(t.infoNode).node().getBBox().width+10})).attr("height",(function(t){return d3.select(t.infoNode).node().getBBox().height+10})).attr("x",(function(t){return d3.select(t.infoNode).node().getBBox().x-5})).attr("y",(function(t){return d3.select(t.infoNode).node().getBBox().y-5})).classed("hidden",(function(t){return _.isEmpty(t.recoveryStatus)}))}(t)}function f(t){return!_.isEmpty(t.recoveryStatus)}function p(t){t.enter().append("path").classed("link",!0),t.exit().remove()}function h(t,e){t.attr("stroke",y).style("stroke-dasharray",g).attr("d",t=>function(t,e){const n=e.find(e=>e.address===t.source),o=e.find(e=>e.address===t.target),r=o.x-n.x,a=o.y-n.y,s=Math.sqrt(r*r+a*a),c=r/s,i=a/s,d=n.x+55*c,l=n.y+55*i,u=o.x-55*c,f=o.y-55*i;return"M"+d+","+l+"L"+u+","+f}(t,e))}function y(t){return t.status===o.LinkState.IN_SYNC||t.status===o.LinkState.SYNCING?r.ontoGreen:t.status===o.LinkState.OUT_OF_SYNC?r.ontoGrey:"none"}function g(t){return t.status===o.LinkState.OUT_OF_SYNC||t.status===o.LinkState.SYNCING?"10 10":"none"}function S(t,e,n,o){t.attr("transform",(r,a)=>{const s=2*Math.PI*a/t.size(),c=e+Math.cos(s)*o,i=n+Math.sin(s)*o;return r.x=c,r.y=i,`translate(${c}, ${i})`})}},200:function(t,e,n){"use strict";n.r(e);n(10);var o=n(141),r=n(110),a=n(402);let s=240;const c=angular.module("graphdb.framework.clustermanagement.directives",["graphdb.framework.utils.localstorageadapter"]),i={no_cluster_configured:"",create_cluster_btn:"",legend_node_state:"",legend_link_state:"",node_state_leader:"Leader",node_state_follower:"Follower",node_state_candidate:"Candidate",node_state_no_cluster:"No cluster",node_state_out_of_sync:"Out of sync",node_state_no_connection:"No connection",node_state_read_only:"Read only",node_state_restricted:"Restricted",link_state_in_sync:"In sync",link_state_syncing:"Syncing",link_state_out_of_sync:"Out of sync",recovery_state:{searching_for_node:"Searching for node",waiting_for_snapshot:"Waiting for snapshot from node",receiving_snapshot:"Receiving a snapshot from node",applying_snapshot:"Applying a snapshot",building_snapshot:"Building a snapshot for node",sending_snapshot:"Sending a snapshot to node"}},d={node_state:"legend_node_state",link_state:"legend_link_state"};c.directive("clusterGraphicalView",["$window","LocalStorageAdapter","LSKeys","UriUtils","$translate","$rootScope",function(t,e,n,r,c,f){return{restrict:"A",link:function(p,h){const y=p.isAdmin();function g(t,e=""){Object.keys(t).forEach(n=>{let o="";e&&(o+=e),o+="."+n;const r=t[n];"string"==typeof r?t[n]=c.instant("cluster_management.cluster_graphical_view"+o):"object"==typeof r&&g(r,o)})}function S(){const o="collapsedMenu"===e.get(n.MENU_STATE);return s=o?70:240,Math.max(Math.floor(.95*(t.innerWidth-s)),600)}function m(){return Math.max(.95*(t.innerHeight-250),600)}let N,x,v;p.showLegend=!1,f.$on("$translateChangeSuccess",(function(){g(i),function(){o.updateClusterZoneLabels(T,O,i),Object.keys(d).forEach(t=>{d3.select("#"+t).text(B(t))}),N&&N.remove();D(),F()}()})),p.$on("$destroy",(function(){M.destroy()}));let T,E,O,w,C,k,L=S(),b=m(),A=Math.min(L,b)/2-100,R=L/2,I=b/2;function B(t){return i[d[t]]}function D(){N=E.append("g").attr("id","legend-group").classed("hidden",!p.showLegend).classed("legend-group",!0)}p.width=function(){return L},p.height=function(){return b};const M=Object(a.a)().attr("class","d3-tip").customPosition((function(){const t=k.getBoundingClientRect(),e=document.documentElement.scrollTop||document.body.scrollTop,n=document.documentElement.scrollLeft||document.body.scrollLeft;return{left:t.left+n+"px",top:t.top-30+e+"px"}})).html((function(t){return t.toolTip})),G=function(t,e){k=e,M.show(t,k)},Y=function(){k=null,M.hide()};function F(){const t=l(),e=u();!function(t,e){t.forEach(t=>{const e=_.get(i,t.customText);t.toolTip=t.hostname=e}),e.forEach(t=>{t.toolTip=t.linkTypeText=i[t.linkTypeKey]})}(t,e),N.append("rect").attr("id","legend-background").attr("class","legend-background").attr("fill","#EEEEEE");const n=N.append("text").attr("id","node_state").attr("class","id id-host").attr("x",200).attr("y",24).text(B("node_state")),r=N.append("text").attr("id","link_state").attr("class","id id-host").attr("x",200).attr("y",319).text(B("link_state")),a=N.selectAll("#node-group").data(t),s=o.createNodes(a,25,!0);o.updateNodes(s),s.select(".node.member").on("mouseover",(function(t,e){t.stopPropagation(),G(e,this)})).on("mouseout",Y),s.attr("transform",(function(t){const e=Math.floor(t.id/4);return`translate(${35+65*(t.id%4)}, ${59+65*e})`})),N.call((function(t){x=t.node().getBBox().width})),n.attr("x",10+x/2),r.attr("x",10+x/2);const c=x/3,d=N.append("g").attr("id","links-group");d.attr("transform","translate(10, 329)"),e.forEach((t,e)=>{const n=c-5,r=d.append("g").classed("link",!0).classed("legend",!0).attr("transform",()=>`translate(${e*c}, 0)`);r.append("path").classed("link",!0).attr("stroke-dasharray",()=>o.setLinkStyle(t)).attr("stroke",()=>o.setLinkColor(t)).attr("d",()=>`M5,0,${n},0`),r.append("foreignObject").attr("y",10).attr("x",5).attr("width",c-10).attr("height",10).attr("class","label-wrapper").append("xhtml:div").attr("class","id id-host").style("font-size","9px").html(t.linkTypeText),r.on("mouseover",(function(e){e.stopPropagation(),G(t,this)})).on("mouseout",Y)}),N.call((function(t){v=t.node().getBBox().height,x=t.node().getBBox().width})),N.select(".legend-background").attr("height",v+50).attr("width",x+20).attr("rx","6"),P()}function P(){const t=b-(v+40+50);o.moveElement(N,0,t)}function H(){A=Math.min(L,b)/2-100,R=L/2,I=b/2,o.moveElement(O,R,I),O.select(".cluster-zone").attr("r",A)}function U(){H(),T!==p.clusterModel.hasCluster&&(T=!!p.clusterModel.hasCluster,function(t){let e;o.setCreateClusterZone(t,O,i,y),!t&&y&&(e=()=>{p.$apply((function(){p.showCreateClusterDialog()}))}),O.on("mouseup",e)}(T));const t=_.cloneDeep(p.clusterModel.nodes)||[],e=_.cloneDeep(p.clusterModel.links)||[];!function(t){t.forEach(t=>{if(t.hostname=r.shortenIri(t.endpoint),!_.isEmpty(t.recoveryStatus)){let e="cluster_management.cluster_graphical_view.recovery_state."+t.recoveryStatus.state.toLowerCase();t.recoveryStatus.affectedNodes&&t.recoveryStatus.affectedNodes.length>0&&(e+="_with_affected_node"),t.recoveryStatus.message=c.instant(e,{node:t.recoveryStatus.affectedNodes.join(", ")})}});const e=w.selectAll("#node-group").data(t,t=>t.address),n=o.createNodes(e,50);n.on("click",(t,e)=>{p.childContext.selectNode(e);const n=d3.select(".nodetooltip"),o=$(window).width();t.pageX<o/2?(n.style("left",t.pageX+"px"),n.style("right","")):(n.style("left",""),n.style("right",o-t.pageX+"px")),n.style("top",t.pageY-28+"px")}),o.updateNodes(n),o.positionNodesOnClusterZone(n,R,I,A)}(t),function(t,e){const n=C.selectAll(".link").data(t,t=>t.id);o.createLinks(n),o.updateLinks(n,e)}(e,t)}p.childContext.redraw=U,p.childContext.resize=function(){L=S(),b=m(),E.attr("width",L),E.attr("height",b),U(),P()},p.childContext.toggleLegend=()=>{p.showLegend=!p.showLegend,N.classed("hidden",!p.showLegend)},g(i),function(t){E=o.createClusterSvgElement(h[0]).attr("width",L).attr("height",b),E.call(M),O=o.createClusterZone(E,t),C=E.append("g").attr("id","links-group"),w=E.append("g").attr("id","nodes-group"),D()}(!(!p.clusterModel.nodes||!p.clusterModel.nodes.length)),F(),U()}}}]);const l=function(){const t=[];return t.push({nodeState:r.NodeState.LEADER,customText:"node_state_leader"}),t.push({nodeState:r.NodeState.FOLLOWER,customText:"node_state_follower"}),t.push({nodeState:r.NodeState.CANDIDATE,customText:"node_state_candidate"}),t.push({nodeState:r.NodeState.NO_CLUSTER,customText:"node_state_no_cluster"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"node_state_out_of_sync"}),t.push({nodeState:r.NodeState.NO_CONNECTION,customText:"node_state_no_connection"}),t.push({nodeState:r.NodeState.READ_ONLY,customText:"node_state_read_only"}),t.push({nodeState:r.NodeState.RESTRICTED,customText:"node_state_restricted"}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.searching_for_node",recoveryStatus:{state:r.RecoveryState.SEARCHING_FOR_NODE}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.waiting_for_snapshot",recoveryStatus:{state:r.RecoveryState.WAITING_FOR_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.receiving_snapshot",recoveryStatus:{state:r.RecoveryState.RECEIVING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.applying_snapshot",recoveryStatus:{state:r.RecoveryState.APPLYING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.building_snapshot",recoveryStatus:{state:r.RecoveryState.BUILDING_SNAPSHOT}}),t.push({nodeState:r.NodeState.OUT_OF_SYNC,customText:"recovery_state.sending_snapshot",recoveryStatus:{state:r.RecoveryState.SENDING_SNAPSHOT}}),t.forEach((t,e)=>t.id=e),t},u=function(){const t=[];return t.push({status:r.LinkState.IN_SYNC,linkTypeKey:"link_state_in_sync"}),t.push({status:r.LinkState.SYNCING,linkTypeKey:"link_state_syncing"}),t.push({status:r.LinkState.OUT_OF_SYNC,linkTypeKey:"link_state_out_of_sync"}),t.forEach((t,e)=>t.id=e),t}},402:function(t,e,n){"use strict";e.a=function(){var t=function(){return"n"},e=function(){return[0,0]},n=function(){return" "},o=u(),r=null,a=null,s=null,c=null;function i(t){var e;r="svg"===(e=(e=t).node()).tagName.toLowerCase()?e:e.ownerSVGElement,a=r.createSVGPoint(),document.body.appendChild(o)}i.show=function(){var o=Array.prototype.slice.call(arguments);o[o.length-1]instanceof SVGElement&&(s=o.pop());var r,a=n.apply(this,o),u=e.apply(this,o),p=t.apply(this,o),h=f(),y=l.length,_=document.documentElement.scrollTop||document.body.scrollTop,g=document.documentElement.scrollLeft||document.body.scrollLeft,S=c.apply(this,o);for(h.html(a).style("opacity",1).style("pointer-events","all");y--;)h.classed(l[y],!1);const m=o.filter(t=>t instanceof Event);return r=d.get(p).apply(this,m),S?Object.keys(S).forEach((function(t){h.style(t,S[t])})):h.classed(p,!0).style("top",r.top+u[0]+_+"px").style("left",r.left+u[1]+g+"px"),i},i.hide=function(){return f().style("opacity",0).style("pointer-events","none"),i},i.attr=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().attr(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.attr.apply(f(),n),i},i.style=function(t,e){if(arguments.length<2&&"string"==typeof t)return f().style(t);var n=Array.prototype.slice.call(arguments);return d3.selection.prototype.style.apply(f(),n),i},i.direction=function(e){return arguments.length?(t=null==e?e:h(e),i):t},i.offset=function(t){return arguments.length?(e=null==t?t:h(t),i):e},i.html=function(t){return arguments.length?(n=null==t?t:h(t),i):n},i.customPosition=function(t){return arguments.length?(c=null==t?t:h(t),i):c},i.destroy=function(){return o&&(f().remove(),o=null),i};var d=new Map(Object.entries({n:function(t){var e=p(t);return{top:e.n.y-o.offsetHeight,left:e.n.x-o.offsetWidth/2}},s:function(t){var e=p(t);return{top:e.s.y,left:e.s.x-o.offsetWidth/2}},e:function(t){var e=p(t);return{top:e.e.y-o.offsetHeight/2,left:e.e.x}},w:function(t){var e=p(t);return{top:e.w.y-o.offsetHeight/2,left:e.w.x-o.offsetWidth}},nw:function(t){var e=p(t);return{top:e.nw.y-o.offsetHeight,left:e.nw.x-o.offsetWidth}},ne:function(t){var e=p(t);return{top:e.ne.y-o.offsetHeight,left:e.ne.x}},sw:function(t){var e=p(t);return{top:e.sw.y,left:e.sw.x-o.offsetWidth}},se:function(t){var e=p(t);return{top:e.se.y,left:e.e.x}}})),l=d.keys();function u(){var t=d3.select(document.createElement("div"));return t.style("position","absolute").style("top",0).style("opacity",0).style("pointer-events","none").style("box-sizing","border-box"),t.node()}function f(){return null===o&&(o=u(),document.body.appendChild(o)),d3.select(o)}function p(t){for(var e=s||t.target;void 0===e.getScreenCTM&&"undefined"===e.parentNode;)e=e.parentNode;var n={},o=e.getScreenCTM(),r=e.getBBox(),c=r.width,i=r.height,d=r.x,l=r.y;return a.x=d,a.y=l,n.nw=a.matrixTransform(o),a.x+=c,n.ne=a.matrixTransform(o),a.y+=i,n.se=a.matrixTransform(o),a.x-=c,n.sw=a.matrixTransform(o),a.y-=i/2,n.w=a.matrixTransform(o),a.x+=c,n.e=a.matrixTransform(o),a.x-=c/2,a.y-=i/2,n.n=a.matrixTransform(o),a.y+=i,n.s=a.matrixTransform(o),n}function h(t){return"function"==typeof t?t:function(){return t}}return i}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[123],{231:function(e,t){PluginRegistry.add("guide.step",[{guideBlockName:"execute-sparql-query",getSteps:(e,t)=>{const r=t.GuideUtils,n=t.YasguiComponentDirectiveUtil,o=t.toastr,i=t.$translate,s=t.$interpolate,u=t.$location,l=t.$route;e.mainAction="execute-sparql-query";const a=document.createElement("code"),c=document.createElement("button");c.className="btn btn-sm btn-secondary",c.innerText=i.instant("guide.step_plugin.execute-sparql-query.copy-to-editor.button"),c.setAttribute("ng-click","copyQuery()");const p=[{guideBlockName:"click-main-menu",options:angular.extend({},{menu:"sparql",showIntro:!0},e)}],d={"-1":'PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\nselect * where { \n\t?s ?p ?o .\n?o rdf:type ""\n} limit 100 '};let S=!1;return e.queries.forEach((y,g)=>{const q=y.query;d[g]=q,a.innerText=q,e.queryAsHtmlCodeElement='<div class="shepherd-code">'+a.outerHTML+c.outerHTML+"</div>",p.push({guideBlockName:"input-element",options:angular.extend({},{content:"guide.step_plugin.execute-sparql-query.query-editor.content",url:"/sparql",elementSelector:r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,class:"yasgui-query-editor-guide-dialog",beforeShowPromise:()=>n.getOntotextYasguiElementAsync("#query-editor").then(()=>r.waitFor(r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR,3)).catch(e=>{throw t.toastr.error(t.$translate.instant("guide.unexpected.error.message")),e}),onNextValidate:()=>n.getOntotextYasguiElementAsync("#query-editor").then(e=>e.getQuery().then(t=>({yasgui:e,queryFromEditor:t}))).then(({yasgui:t,queryFromEditor:n})=>{const u=r.removeWhiteSpaces(n);if(u!==r.removeWhiteSpaces(q)){if("select*where{?s?p?o.}limit100"!==u&&!S)return r.noNextErrorToast(o,i,s,"guide.step_plugin.execute-sparql-query.query-not-same.error",e),!1;t.setQuery(q)}return S=!0,!0}),initPreviousStep:()=>new Promise((e,t)=>{if(0===g)n.setQuery("#query-editor","select * where { \n\t?s ?p ?o .\n} limit 100 \n").then(()=>e());else{"/sparql"!==u.url()&&(u.url("/sparql"),l.reload()),r.waitFor(r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR).then(()=>{n.executeSparqlQuery("#query-editor",q).then(()=>{e()}).catch(e=>t(e))})}}),scrollToHandler:r.scrollToTop,extraContent:y.queryExtraContent,onScope:e=>{e.copyQuery=()=>n.setQuery("#query-editor",q).then(()=>{})}},e)}),p.push({guideBlockName:"clickable-element",options:angular.extend({},{content:"guide.step_plugin.execute-sparql-query.run-sparql-query.content",url:"/sparql",elementSelector:r.CSS_SELECTORS.SPARQL_RUN_BUTTON_SELECTOR,class:"yasgui-run-button-guide-dialog",onNextClick:e=>n.getOntotextYasguiElementAsync("#query-editor").then(t=>{t.query(),e.next()}),scrollToHandler:r.scrollToTop,canBePaused:!1,initPreviousStep:(e,t)=>new Promise((r,o)=>{const i=e.ShepherdService.getPreviousStepFromHistory(t);i.options.initPreviousStep(e,i.options.id).then(()=>{e.ShepherdService.getCurrentStepId()===t?r():n.executeSparqlQuery("#query-editor",q).then(()=>r()).catch(e=>o(e))}).catch(e=>o(e))})},e)}),p.push({guideBlockName:"read-only-element",options:angular.extend({},{content:"guide.step_plugin.execute-sparql-query.result-explain.content",url:"/sparql",placement:"top",elementSelector:r.CSS_SELECTORS.SPARQL_RESULTS_SELECTOR,class:"yasgui-query-results-guide-dialog",fileName:e.fileName,scrollToHandler:r.scrollToTop,extraContent:y.resultExtraContent,canBePaused:!1,initPreviousStep:(e,t)=>new Promise((o,i)=>{if("/sparql"!==u.url())u.url("/sparql"),l.reload(),r.waitFor(r.CSS_SELECTORS.SPARQL_EDITOR_SELECTOR).then(()=>{n.executeSparqlQuery("#query-editor",q).then(()=>{o()}).catch(e=>i(e))});else{const r=e.ShepherdService.getPreviousStepFromHistory(t);r.options.initPreviousStep(e,r.options.id).then(()=>{n.setQuery("#query-editor",q).then(()=>o())}).catch(e=>i(e))}})},e)})}),p}}])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp=window.webpackJsonp||[]).push([[21,138,139,140,170,216,233],{113:function(n,e,t){"use strict";t.r(e),t.d(e,"DEFAULT_SPARQL_QUERY",(function(){return o})),t.d(e,"JdbcConfigurationInfo",(function(){return i}));const o="PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n\n# Selects two variables to use as columns\nSELECT ?id ?label {\n ?id rdfs:label ?label\n # The following placeholder must be present in the query\n #!filter\n}";class i{constructor(n=o,e=!0,t){this.query=n,this.jdbcConfigurationName=t,this.isNewJdbcConfiguration=e,this.isValidQuery=!0,this.isValidQueryType=!0,this.hasUndefinedColumns=!1,this.isColumnsEmpty=!1,this.columns=[]}}},114:function(n,e,t){"use strict";t.r(e),t.d(e,"JdbcConfigurationError",(function(){return o}));class o extends Error{constructor(n,e){super(n),this.jdbcConfigurationInfo=e}}},115:function(n,e,t){"use strict";t.r(e),t.d(e,"JdbcColumn",(function(){return o})),t.d(e,"toJDBCColumns",(function(){return i})),t.d(e,"updateColumn",(function(){return r}));class o{constructor(){this.column_name="",this.column_type="",this.sparql_type="",this.nullable=!0}}const i=(n=[],e)=>n.map(n=>({column_name:n,column_type:e[n].column_type,nullable:!0,sparql_type:e[n].sparql_type})),r=(n,e)=>{n.column_type=e[n.column_name].column_type,n.sparql_type=e[n.column_name].sparql_type}},177:function(n,e,t){"use strict";t.r(e);t(24),t(28),t(64),t(7),t(32);var o=t(113),i=t(62),r=t(114),s=t(61),a=t(115),c=t(14);function u(n,e,t,o,i,r){n.getSqlConfigurations=function(){!e.getActiveRepository()||e.isActiveRepoOntopType()||e.isActiveRepoFedXType()?n.jdbcConfigurations=[]:t.getJdbcConfigurations().success((function(e){n.jdbcConfigurations=e})).error((function(n){const e=getError(n);o.error(e,r.instant("jdbc.not.get.SQL.msg"))}))},n.$watch((function(){return e.getActiveRepository()}),(function(){n.getSqlConfigurations()})),n.deleteConfiguration=function(e){i.openSimpleModal({title:r.instant("common.warning"),message:r.instant("jdbc.delete.sql.table.warning.msg",{name:e}),warning:!0}).result.then((function(){t.deleteJdbcConfiguration(e).success((function(){n.getSqlConfigurations()})).error((function(n){o.error(getError(n),r.instant("jdbc.not.delete.sql.msg"))}))}))}}function l(n,e,t,u,l,g,d,f,m,p,b,C,y,h,w,j){e.emptySparqlResponse='{"head": {"vars": []},"results": {"bindings": []}}',e.getSuggestionSqlType="",e.sqlTypes=[],e.activeTab=1,e.jdbcConfigurationInfo=new o.JdbcConfigurationInfo,e.jdbcConfigurationInfo.jdbcConfigurationName=u.search().name||"",e.saveOrUpdateExecuted=!1,e.jdbcConfigurationInfo.isNewJdbcConfiguration=!e.jdbcConfigurationInfo.jdbcConfigurationName,e.language=w.getLanguage(),e.isDirty=!1,e.prefixes=[],e.loadingControllerResources=!1,e.isQueryRunning=!1,e.canEditActiveRepo=!1;let v=!0;e.saveJdbcConfiguration=()=>{if(e.saveOrUpdateExecuted=!0,!e.jdbcConfigurationInfo.jdbcConfigurationName)return;if(!e.isDirty)return void Y();const n=e.jdbcConfigurationInfo.isNewJdbcConfiguration?S:I;A(e.jdbcConfigurationInfo).then(N).then(P).then(O).then(n).catch(n=>{if(!(n instanceof r.JdbcConfigurationError)){const e=getError(n);l.error(e,h.instant("jdbc.not.saved.configuration"))}})},e.getPreview=()=>{e.activeTab=1,e.isQueryRunning=!0,A(e.jdbcConfigurationInfo).then(N).then(P).then(O).then(n=>(R({render:s.RenderingMode.YASQE,initialQuery:n.query}),n)).then(q).then(([n,e])=>{const t=n&&n.results.bindings&&n.results.bindings.length>0;let o=s.RenderingMode.YASGUI;t||(o=s.RenderingMode.YASQE,l.info(h.instant("jdbc.table.definition"),h.instant("jdbc.preview.sql"))),R({render:o,sparqlResponse:n,initialQuery:e.query})}).catch(n=>{n instanceof r.JdbcConfigurationError?n.jdbcConfigurationInfo&&(n.jdbcConfigurationInfo.isColumnsEmpty||n.jdbcConfigurationInfo.hasUndefinedColumns)&&(_(),e.activeTab=2):l.error(getError(n,0,100),h.instant("jdbc.not.show.preview"))}).finally(()=>{e.isQueryRunning=!1})},e.setActiveTab=n=>{e.activeTab=n;const t=e.jdbcConfigurationInfo.columns;2!==e.activeTab||t&&0!==t.length||A(e.jdbcConfigurationInfo).then(N).then(()=>{e.getColumnsSuggestions()})},e.setDirty=()=>{e.isDirty=!0},e.getTypeLabel=n=>{switch(n){case"iri":return"VARCHAR: IRI";case"string":return"VARCHAR: String";default:return n.indexOf(" ")>0?n:n.toUpperCase()}},e.selectColumnType=(n,t)=>{e.setDirty();const o=e.jdbcConfigurationInfo.columns.find(e=>e.column_name===n);o.column_type===e.getSuggestionSqlType&&O(e.jdbcConfigurationInfo).then(e=>p.getColumnsTypeSuggestion(e.query,[n])).then(n=>n.data).then(n=>{Object(a.updateColumn)(o,n),E(o.column_type,t)}).catch(n=>{l.error(getError(n),h.instant("jdbc.not.suggest.column.type"))})},e.deleteColumn=function(n,t){y.openSimpleModal({title:h.instant("common.warning"),message:h.instant("jdbc.warning.delete.column.msg",{columnName:n}),warning:!0}).result.then((function(){e.jdbcConfigurationInfo.columns.splice(t,1),e.setDirty()}))},e.getColumnsSuggestions=()=>{e.jdbcConfigurationInfo.columns&&e.jdbcConfigurationInfo.columns.length>0?y.openSimpleModal({title:h.instant("common.warning"),message:h.instant("jdbc.warning.column.type.msg"),warning:!0}).result.then((function(){_()})):_()},e.hasPrecision=n=>"iri"===n||"string"===n||"decimal"===n,e.containsColumnsWithPrecision=n=>n&&n.some(n=>e.hasPrecision(n.column_type)),e.containsColumnsWithScale=n=>n&&n.some(n=>k(n.column_type)),e.isLiteral=n=>"iri"!==n&&"unknown"!==n,e.containsNonLiteralColumnsOnly=n=>n&&n.every(n=>!e.isLiteral(n.column_type));const q=n=>{if(e.canWriteActiveRepo){const t=JSON.stringify({name:e.jdbcConfigurationInfo.jdbcConfigurationName,query:e.jdbcConfigurationInfo.query,columns:e.jdbcConfigurationInfo.columns||[]});return Promise.all([p.getNewSqlTablePreview(t).then(n=>n.data),Promise.resolve(n)])}return Promise.all([p.getExistingSqlTablePreview(e.jdbcConfigurationInfo.jdbcConfigurationName).then(n=>n.data),Promise.resolve(n)])},E=(n,e)=>{n===e?l.info(h.instant("jdbc.same.suggested.sql.type",{type:n}),h.instant("jdbc.suggest.sql.type"),{allowHtml:!0}):l.success(h.instant("jdbc.suggested.sql.type",{type:n}),h.instant("jdbc.suggest.sql.type"),{allowHtml:!0})},T=(n,t=new o.JdbcConfigurationInfo)=>{e.jdbcConfigurationInfo.columns=t.columns,e.jdbcConfigurationInfo.query=t.query,e.jdbcConfigurationInfo.jdbcConfigurationName=u.search().name||"",e.jdbcConfigurationInfo.isNewJdbcConfiguration=!e.jdbcConfigurationInfo.jdbcConfigurationName,e.prefixes=n,R(),M()},S=n=>{const t={name:n.jdbcConfigurationName,query:n.query,columns:n.columns};return p.createNewJdbcConfiguration(t).then(()=>{e.isDirty=!1,e.jdbcConfigurationInfo.isNewConfiguration=!1,l.success(h.instant("jdbc.saved.configuration")),U()})},I=n=>{const t={name:n.jdbcConfigurationName,query:n.query,columns:n.columns};p.updateJdbcConfiguration(t).then(()=>{e.isDirty=!1,e.jdbcConfigurationInfo.isNewConfiguration=!1,l.success(h.instant("jdbc.configuration.updated")),U()})},R=(n={})=>{const t={};angular.extend(t,e.yasguiConfig||J(),n),e.yasguiConfig=t},J=()=>({showEditorTabs:!1,showToolbar:!1,showResultTabs:!1,showQueryButton:!1,showResultInfo:!1,downloadAsOn:!1,initialQuery:e.jdbcConfigurationInfo.query,componentId:"jdbc-component",prefixes:e.prefixes,maxPersistentResponseSize:0,render:s.RenderingMode.YASQE,getCellContent:x,sparqlResponse:e.emptySparqlResponse,yasqeActionButtons:c.DISABLE_YASQE_BUTTONS_CONFIGURATION,yasqeMode:e.canEditActiveRepo?i.YasqeMode.WRITE:i.YasqeMode.PROTECTED}),A=n=>Q().getQueryType().then(e=>(n.isValidQueryType="SELECT"===e,n.isValidQueryType?n:Promise.reject(new r.JdbcConfigurationError("Query type is not valid.")))),N=n=>Q().isQueryValid().then(e=>(n.isValidQuery=e,n.isValidQuery?n:Promise.reject(new r.JdbcConfigurationError("Invalid query.")))),P=n=>{if(!n.columns||0===n.columns.length)return n.isColumnsEmpty=!0,l.error(h.instant("jdbc.warning.one.column.msg")),Promise.reject(new r.JdbcConfigurationError("There are not defined columns.",n));return e.jdbcConfigurationInfo.columns&&e.jdbcConfigurationInfo.columns.find(n=>"unknown"===n.column_type)?(n.hasUndefinedColumns=!0,Promise.reject(new r.JdbcConfigurationError("There are columns without defined type.",n))):Promise.resolve(n)},_=()=>{A(e.jdbcConfigurationInfo).then(N).then(O).then($).then(D).then(n=>e.jdbcConfigurationInfo=n).catch(n=>{console.log(n)})},$=n=>p.getColumnNames(n.query).then(e=>[n,e.data]).catch((function(n){l.error(getError(n),h.instant("jdbc.not.suggest.column.names"))})),D=([n,t])=>p.getColumnsTypeSuggestion(n.query,t).then((function(o){return n.columns=Object(a.toJDBCColumns)(t,o.data),n.isColumnsEmpty=n.columns.length,e.setDirty(),n})).catch((function(n){l.error(getError(n),h.instant("jdbc.not.suggest.column.types"))})),Q=()=>c.YasguiComponentDirectiveUtil.getOntotextYasguiElement("#query-editor"),O=n=>Q().getQuery().then(e=>(n.query=e,n)),k=n=>"decimal"===n,x=(n,e)=>{let t=n.value;t=t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">");return"<div class = 'literal-cell'>"+("<p class='nonUri' style='border: none; background-color: transparent; padding: 0; margin: 0'>"+t+"</p>")+"</div>"},L=(n,e,t,o)=>{y.openSimpleModal({title:n,message:e,warning:!0}).result.then((function(){angular.isFunction(t)&&t()}),(function(){angular.isFunction(o)&&o()}))},M=()=>{e.getSuggestionSqlType=h.instant("view.jdbc.create.get_suggestion_sql_type"),e.sqlTypes=["string","iri","boolean","byte","short","int","long","float","double","decimal","date","time","timestamp",e.getSuggestionSqlType]},U=()=>{setTimeout((function(){Y()}),1e3)},Y=()=>{u.url("/jdbc")},V=n=>{e.isDirty&&(n.returnValue=!0)},W=()=>{window.removeEventListener("beforeunload",V),F.forEach(n=>n())},F=[];F.push(t.$on("$translateChangeSuccess",()=>{e.language=w.getLanguage(),M()})),F.push(e.$on("$locationChangeStart",(n,t)=>{if(e.isDirty){n.preventDefault();const e=h.instant("common.confirm"),o=h.instant("jdbc.warning.unsaved.changes");L(e,o,()=>{W();const n=u.absUrl().length-u.url().length,e=t.substring(n);u.path(e)})}else W()})),F.push(j.subscribe("repositoryWillChangeEvent",n=>new Promise((function(t){if(e.jdbcConfigurationInfo.isNewJdbcConfiguration)return void t(n);const o=()=>{e.isDirty=!1,Y(),t(n)};if(e.isDirty){const e=()=>{n.cancel=!0,t(n)},i=h.instant("common.confirm"),r=h.instant("jdbc.warning.unsaved.changes");L(i,r,o,e)}else o()})))),F.push(e.$on("$destroy",W)),window.addEventListener("beforeunload",V),F.push(e.$watch(e.getActiveRepositoryObject,n=>{n&&(e.canEditActiveRepo=e.canWriteActiveRepo(),v?((()=>{e.loadingControllerResources=!0;const n=g.getActiveRepository();e.jdbcConfigurationInfo.jdbcConfigurationName?Promise.all([g.getPrefixes(n),p.getJdbcConfiguration(e.jdbcConfigurationInfo.jdbcConfigurationName)]).then(([n,e])=>{T(n,e.data)}).finally(()=>e.loadingControllerResources=!1):g.getPrefixes(n).then(n=>T(n)).finally(()=>e.loadingControllerResources=!1)})(),v=!1):Q().abortQuery().then(Y))}))}angular.module("graphdb.framework.jdbc.controllers",["ui.bootstrap","graphdb.framework.core.services.repositories","graphdb.framework.rest.monitoring.service","toastr","graphdb.framework.utils.event-emitter-service"],["graphdb.framework.utils.notifications"]).controller("JdbcListCtrl",u).controller("JdbcCreateCtrl",l),u.$inject=["$scope","$repositories","JdbcRestService","toastr","ModalService","$translate"],l.$inject=["$q","$scope","$rootScope","$location","toastr","$repositories","$window","$timeout","$interval","JdbcRestService","RDF4JRepositoriesRestService","SparqlRestService","ModalService","$translate","$languageService","EventEmitterService"]},178:function(n,e){angular.module("graphdb.framework.rest.jdbc.service",[]).factory("JdbcRestService",t),t.$inject=["$http","$repositories","$translate"];function t(n,e){return{getJdbcConfigurations:function(){return n.get("rest/sql-views/tables")},getJdbcConfiguration:function(e){return n.get("rest/sql-views/tables/"+e)},createNewJdbcConfiguration:function(n){return t("POST","",n)},updateJdbcConfiguration:function(n){return t("PUT",n.name,n)},deleteJdbcConfiguration:function(e){return n.delete("rest/sql-views/tables/"+e)},getColumnNames:function(e){return n.post("rest/sql-views/columns",e,{headers:{Accept:"application/json","Content-Type":"text/plain"}})},getColumnsTypeSuggestion:function(t,o){if(!Array.isArray(o))throw new Error(e.instant("jdbc.column.names.constraint"));return n({method:"POST",url:"rest/sql-views/types",data:{query:t,column_names:o}})},getExistingSqlTablePreview:function(e,t){return n({method:"GET",url:"rest/sql-views/preview/"+e,params:{limit:t}})},getNewSqlTablePreview:function(e,t){return n({method:"POST",url:"rest/sql-views/preview",contentType:"application/json; charset=utf-8",dataType:"json",data:e,params:{limit:t},headers:{Accept:"application/sparql-results+json"}})}};function t(e,t,o){return n({method:e,url:"rest/sql-views/tables/"+t,noCancelOnRouteChange:!0,data:{name:o.name,query:o.query,columns:o.columns||[]}})}}},241:function(n,e,t){"use strict";t.r(e);t(7),t(25),t(126),t(24),t(177),t(178),t(78);angular.module("graphdb.framework.jdbc",["toastr","ui.bootstrap","graphdb.framework.jdbc.controllers","graphdb.framework.core.services.repositories","graphdb.framework.core.directives","graphdb.framework.rest.jdbc.service","graphdb.framework.core.directives.yasgui-component"])},62:function(n,e,t){"use strict";t.r(e),t.d(e,"YasqeMode",(function(){return o}));const o={WRITE:"WRITE",READ:"READ",PROTECTED:"PROTECTED"}},64:function(n,e){function t(n,e){return{showToastMessageWithDelay:function(t){return new Promise(o=>{n.success(e.instant(t)),setTimeout(o,200)})}}}angular.module("graphdb.framework.utils.notifications",[]).factory("Notifications",t),t.$inject=["toastr","$translate"]}}]);
|