graphdb-workbench 2.7.2-TR1 → 2.7.2-TR2

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.
Files changed (53) hide show
  1. package/dist/148.28bebc68de5695208221.bundle.js +1 -1
  2. package/dist/17.6b19268cbe8c346e7bf5.bundle.js +1 -1
  3. package/dist/28.9085645e020f2ffa41ae.bundle.js +1 -1
  4. package/dist/29.15213e151364f5ecfcd5.bundle.js +1 -1
  5. package/dist/300.cef8eccb11324bcfdb36.bundle.js +1 -1
  6. package/dist/302.7a5d2ba28bd6479a77be.bundle.js +1 -1
  7. package/dist/303.e817b957f010153de97a.bundle.js +1 -1
  8. package/dist/304.fd2e766c67cd966f6751.bundle.js +1 -1
  9. package/dist/333.9f051c77b4c6747b320c.bundle.js +1 -1
  10. package/dist/42.52befbab22e69bb433f4.bundle.js +1 -1
  11. package/dist/51.9f47ca86da95b07bc239.bundle.js +1 -1
  12. package/dist/8.140aa30d51b594f66038.bundle.js +1 -0
  13. package/dist/{bundle.8508e55f3d29666d5379.bundle.js → bundle.60a6d2c8f8cbeb8159df.bundle.js} +2 -2
  14. package/dist/index.html +3 -3
  15. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  16. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  17. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  18. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +1 -1
  19. package/dist/js/angular/security/templates/user.html +1 -1
  20. package/dist/license-checker.json +2 -2
  21. package/dist/pages/aclmanagement.html +2 -2
  22. package/dist/pages/autocomplete.html +1 -1
  23. package/dist/pages/choose-repository-type.html +1 -1
  24. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  25. package/dist/pages/create-index.html +1 -1
  26. package/dist/pages/dependencies.html +1 -1
  27. package/dist/pages/domainRangeInfo.html +2 -2
  28. package/dist/pages/edit.html +1 -1
  29. package/dist/pages/explore.html +1 -1
  30. package/dist/pages/export.html +1 -1
  31. package/dist/pages/find.html +1 -1
  32. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  33. package/dist/pages/graphs-visualizations.html +7 -7
  34. package/dist/pages/guides.html +1 -1
  35. package/dist/pages/import.html +2 -2
  36. package/dist/pages/jdbc-create.html +1 -1
  37. package/dist/pages/monitor/backup-and-restore.html +1 -1
  38. package/dist/pages/monitor/queries.html +1 -1
  39. package/dist/pages/monitor/resources.html +1 -1
  40. package/dist/pages/namespaces.html +2 -2
  41. package/dist/pages/plugins.html +1 -1
  42. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  43. package/dist/pages/rdfrank.html +2 -2
  44. package/dist/pages/repositories.html +1 -1
  45. package/dist/pages/repository.html +1 -1
  46. package/dist/pages/similarity-indexes.html +1 -1
  47. package/dist/pages/sparql-editor.html +1 -1
  48. package/dist/pages/sparql-template-create.html +1 -1
  49. package/dist/pages/ux-test1.html +2 -2
  50. package/dist/pages/webapi.html +2 -2
  51. package/dist/res/swagger5/index.html +12 -12
  52. package/package.json +1 -1
  53. package/dist/8.fc4fa16019a7d576eeb2.bundle.js +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.7.2-TR1"></script>
17
- <script src="plugins.js?v=2.7.2-TR1"></script>
16
+ <script src="plugin-registry.js?v=2.7.2-TR2"></script>
17
+ <script src="plugins.js?v=2.7.2-TR2"></script>
18
18
  <link rel="shortcut icon" href="icon.png"><link href="vendor.c3e18291118da6a85719.css" rel="stylesheet"><link href="main.98c547eac0aca6db48bb.css" rel="stylesheet"></head>
19
19
 
20
20
  <body>
@@ -164,6 +164,6 @@
164
164
  <object data="img/graphdb-splash.1ef2940889acddc03c7defb3f9f41f8d.svg"></object>
165
165
  <div>GraphDB Workbench is loading...</div>
166
166
  </div>
167
- <script type="text/javascript" src="vendor.f6d3e64e5b5efe1e1f48.bundle.js"></script><script type="text/javascript" src="main.9a9ecfe4df696b298d46.bundle.js"></script><script type="text/javascript" src="bundle.8508e55f3d29666d5379.bundle.js"></script></body>
167
+ <script type="text/javascript" src="vendor.f6d3e64e5b5efe1e1f48.bundle.js"></script><script type="text/javascript" src="main.9a9ecfe4df696b298d46.bundle.js"></script><script type="text/javascript" src="bundle.60a6d2c8f8cbeb8159df.bundle.js"></script></body>
168
168
 
169
169
  </html>
@@ -1,4 +1,4 @@
1
- <link href="css/autocomplete-select.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/autocomplete-select.css?v=2.7.2-TR2" rel="stylesheet"/>
2
2
 
3
3
  <div class="autocomplete-select-wrapper">
4
4
  <div class="autocomplete-select">
@@ -1,4 +1,4 @@
1
- <link href="css/operations-statuses-monitor.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/operations-statuses-monitor.css?v=2.7.2-TR2" rel="stylesheet"/>
2
2
 
3
3
  <div ng-if="activeOperations && activeOperations.operations && activeOperations.operations.length > 0"
4
4
  class="operations-statuses btn-group">
@@ -1,4 +1,4 @@
1
- <link href="css/rdf-resource-search.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/rdf-resource-search.css?v=2.7.2-TR2" 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,4 +1,4 @@
1
- <link href="css/lib/ontotext-yasgui-web-component.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/lib/ontotext-yasgui-web-component.css?v=2.7.2-TR2" rel="stylesheet">
2
2
 
3
3
  <ontotext-yasgui
4
4
  class="{{classToApply}}"
@@ -31,7 +31,7 @@
31
31
  </ul>
32
32
  </script>
33
33
 
34
- <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.7.2-TR1" rel="stylesheet"/>
34
+ <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.7.2-TR2" rel="stylesheet"/>
35
35
 
36
36
  <h1>{{pageTitle}}</h1>
37
37
 
@@ -823,13 +823,13 @@
823
823
  "licenseText": "MIT License\n\nCopyright (c) 2016 Jimmy Karl Roland Wärting\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.",
824
824
  "copyright": "Copyright (c) 2016 Jimmy Karl Roland Wärting"
825
825
  },
826
- "graphdb-workbench@2.7.2-TR1": {
826
+ "graphdb-workbench@2.7.2-TR2": {
827
827
  "licenses": "Apache-2.0",
828
828
  "repository": "https://github.com/Ontotext-AD/graphdb-workbench",
829
829
  "publisher": "\"Sirma AI\" JSC, trading as Ontotext",
830
830
  "url": "https://www.ontotext.com/",
831
831
  "name": "graphdb-workbench",
832
- "version": "2.7.2-TR1",
832
+ "version": "2.7.2-TR2",
833
833
  "description": "The web application for GraphDB APIs",
834
834
  "path": "/opt/jenkins_jobs/workspace/graphdb-workbench-release"
835
835
  },
@@ -1,5 +1,5 @@
1
- <link href="css/aclmanagement.css?v=2.7.2-TR1" rel="stylesheet"/>
2
- <link href="css/autocomplete-select.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/aclmanagement.css?v=2.7.2-TR2" rel="stylesheet"/>
2
+ <link href="css/autocomplete-select.css?v=2.7.2-TR2" rel="stylesheet"/>
3
3
 
4
4
  <div class="acl-management-view">
5
5
  <h1 id="acl-management-view-title">
@@ -1,4 +1,4 @@
1
- <link href="css/autocomplete.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/autocomplete.css?v=2.7.2-TR2" rel="stylesheet">
2
2
  <div id="autocomplete" class="page">
3
3
  <h1>
4
4
  {{title}}
@@ -1,4 +1,4 @@
1
- <link href="css/repository.create.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/repository.create.css?v=2.7.2-TR2" rel="stylesheet">
2
2
 
3
3
  <div>
4
4
  <h1 class="mb-3">{{pageTitle}}</h1>
@@ -1,6 +1,6 @@
1
- <link href="css/clustermanagement.css?v=2.7.2-TR1" rel="stylesheet"/>
2
- <link href="css/rdf-details-side-panel.css?v=2.7.2-TR1" rel="stylesheet"/>
3
- <link href="js/lib/d3-tip/d3-tip.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/clustermanagement.css?v=2.7.2-TR2" rel="stylesheet"/>
2
+ <link href="css/rdf-details-side-panel.css?v=2.7.2-TR2" rel="stylesheet"/>
3
+ <link href="js/lib/d3-tip/d3-tip.css?v=2.7.2-TR2" rel="stylesheet"/>
4
4
 
5
5
  <title>{{'view.clusterManagement.title' | translate}}</title>
6
6
 
@@ -1,4 +1,4 @@
1
- <link href="css/create-similarity-index.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/create-similarity-index.css?v=2.7.2-TR2" rel="stylesheet">
2
2
 
3
3
  <div class="container-fluid">
4
4
 
@@ -1,4 +1,4 @@
1
- <link href="css/dependencies.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/dependencies.css?v=2.7.2-TR2" rel="stylesheet">
2
2
 
3
3
 
4
4
  <title>Explore Class Dependencies</title>
@@ -1,5 +1,5 @@
1
- <link href="css/domain-range-graph.css?v=2.7.2-TR1" rel="stylesheet"/>
2
- <link href="css/rdf-details-side-panel.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/domain-range-graph.css?v=2.7.2-TR2" rel="stylesheet"/>
2
+ <link href="css/rdf-details-side-panel.css?v=2.7.2-TR2" rel="stylesheet"/>
3
3
 
4
4
  <title>Explore Data Graph</title>
5
5
 
@@ -1,4 +1,4 @@
1
- <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.7.2-TR2" rel="stylesheet">
2
2
 
3
3
  <div core-errors></div>
4
4
  <div class="page" ng-show="getActiveRepository()">
@@ -1,4 +1,4 @@
1
- <link href="css/explore.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/explore.css?v=2.7.2-TR2" rel="stylesheet"/>
2
2
 
3
3
  <div core-errors></div>
4
4
  <div class="page fit-content-on-mobile">
@@ -1,4 +1,4 @@
1
- <link href="css/export.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/export.css?v=2.7.2-TR2" rel="stylesheet">
2
2
 
3
3
  <div id="wb-export">
4
4
 
@@ -1,4 +1,4 @@
1
- <link href="css/find.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/find.css?v=2.7.2-TR2" rel="stylesheet"/>
2
2
 
3
3
  <div class="page">
4
4
  <h1>
@@ -1,4 +1,4 @@
1
- <link href="css/graphs-config.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/graphs-config.css?v=2.7.2-TR2" 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.7.2-TR1" alt="search image"
62
+ <img class="image-label-image" src="css/images/search.png?v=2.7.2-TR2" 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.7.2-TR1" alt="node image"
73
+ <img class="image-label-image" src="css/images/node.png?v=2.7.2-TR2" 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.7.2-TR1" alt="query image"
84
+ <img class="image-label-image" src="css/images/query.png?v=2.7.2-TR2" 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.7.2-TR1" class="info-box-img" height="220"
131
+ <img src="css/images/expand.png?v=2.7.2-TR2" 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.7.2-TR1" class="info-box-img" height="220"
159
+ <img src="css/images/labels-size.png?v=2.7.2-TR2" 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.7.2-TR1" class="info-box-img" height="220"
182
+ <img src="css/images/predicates.png?v=2.7.2-TR2" 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.7.2-TR1" class="info-box-img" height="220"
214
+ <img src="css/images/side-panel.png?v=2.7.2-TR2" 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.7.2-TR1" rel="stylesheet"/>
2
- <link href="css/rdf-details-side-panel.css?v=2.7.2-TR1" rel="stylesheet"/>
3
- <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.7.2-TR1" rel="stylesheet"/>
4
- <link href="js/lib/d3-tip/d3-tip.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/graphs-vizualizations.css?v=2.7.2-TR2" rel="stylesheet"/>
2
+ <link href="css/rdf-details-side-panel.css?v=2.7.2-TR2" rel="stylesheet"/>
3
+ <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.7.2-TR2" rel="stylesheet"/>
4
+ <link href="js/lib/d3-tip/d3-tip.css?v=2.7.2-TR2" 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.7.2-TR1" 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.7.2-TR1" 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.7.2-TR1" alt="" data-cy="graph-config-starting-point-query-results" width="64" uib-popover="{{'visual.config.query.results.starting.point' | translate}}" popover-trigger="mouseenter">
134
+ <img ng-if="config.startMode == 'search'" src="css/images/search.png?v=2.7.2-TR2" 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.7.2-TR2" 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.7.2-TR2" 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>
@@ -1,4 +1,4 @@
1
- <link href="css/guides.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/guides.css?v=2.7.2-TR2" rel="stylesheet">
2
2
  <h1>
3
3
  {{title}}
4
4
  <span class="btn btn-link"
@@ -1,5 +1,5 @@
1
- <link rel="stylesheet" type="text/css" href="css/import.css?v=2.7.2-TR1">
2
- <link rel="stylesheet" type="text/css" href="css/import-resource-tree.css?v=2.7.2-TR1">
1
+ <link rel="stylesheet" type="text/css" href="css/import.css?v=2.7.2-TR2">
2
+ <link rel="stylesheet" type="text/css" href="css/import-resource-tree.css?v=2.7.2-TR2">
3
3
 
4
4
  <div id="wb-import">
5
5
  <h1>
@@ -1,4 +1,4 @@
1
- <link href="css/jdbc-create.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/jdbc-create.css?v=2.7.2-TR2" rel="stylesheet">
2
2
 
3
3
  <div class="container-fluid fit-content-on-mobile" ng-if="!isLoading">
4
4
  <h1>
@@ -1,4 +1,4 @@
1
- <link href="css/backup-and-restore.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/backup-and-restore.css?v=2.7.2-TR2" rel="stylesheet"/>
2
2
  <div>
3
3
  <title>${messages.app.title} : ${messages.jmx.QueryMonitoringPage.title}</title>
4
4
 
@@ -3,7 +3,7 @@
3
3
 
4
4
  <title>${messages.app.title} : ${messages.jmx.QueryMonitoringPage.title}</title>
5
5
 
6
- <link href="css/jmx.css?v=2.7.2-TR1" rel="stylesheet" />
6
+ <link href="css/jmx.css?v=2.7.2-TR2" rel="stylesheet" />
7
7
 
8
8
  <h1>
9
9
  {{title}}
@@ -1,4 +1,4 @@
1
- <link href="css/jmx.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/jmx.css?v=2.7.2-TR2" rel="stylesheet"/>
2
2
 
3
3
 
4
4
  <div class="hiddenVariables" style="display: none;">
@@ -1,5 +1,5 @@
1
- <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.7.2-TR1" rel="stylesheet">
2
- <link href="css/export.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=2.7.2-TR2" rel="stylesheet">
2
+ <link href="css/export.css?v=2.7.2-TR2" rel="stylesheet">
3
3
 
4
4
  <title>Namespaces</title>
5
5
 
@@ -1,4 +1,4 @@
1
- <link href="css/plugins.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/plugins.css?v=2.7.2-TR2" rel="stylesheet">
2
2
  <div id="plugins" class="page">
3
3
  <h1>
4
4
  {{title}} {{'for.repository' | translate}} {{getActiveRepository()}}
@@ -1,10 +1,10 @@
1
- <link href="css/rdf-class-hierarchy.css?v=2.7.2-TR1" rel="stylesheet"/>
2
- <link href="css/rdf-class-hierarchy-labels.css?v=2.7.2-TR1" rel="stylesheet"/>
3
- <link href="css/rdf-details-side-panel.css?v=2.7.2-TR1" rel="stylesheet"/>
4
- <link href="js/lib/rzslider/rzslider.min.css?v=2.7.2-TR1" rel="stylesheet"/>
5
- <link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.7.2-TR1" rel="stylesheet"/>
6
- <link href="js/lib/d3-tip/d3-tip.css?v=2.7.2-TR1" rel="stylesheet"/>
7
- <link href="css/lib/animate/3.2.0/animate.min.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/rdf-class-hierarchy.css?v=2.7.2-TR2" rel="stylesheet"/>
2
+ <link href="css/rdf-class-hierarchy-labels.css?v=2.7.2-TR2" rel="stylesheet"/>
3
+ <link href="css/rdf-details-side-panel.css?v=2.7.2-TR2" rel="stylesheet"/>
4
+ <link href="js/lib/rzslider/rzslider.min.css?v=2.7.2-TR2" rel="stylesheet"/>
5
+ <link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=2.7.2-TR2" rel="stylesheet"/>
6
+ <link href="js/lib/d3-tip/d3-tip.css?v=2.7.2-TR2" rel="stylesheet"/>
7
+ <link href="css/lib/animate/3.2.0/animate.min.css?v=2.7.2-TR2" rel="stylesheet"/>
8
8
 
9
9
  <title>Explore Data Graph</title>
10
10
 
@@ -1,5 +1,5 @@
1
- <link href="css/rdfrank.css?v=2.7.2-TR1" rel="stylesheet">
2
- <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/rdfrank.css?v=2.7.2-TR2" rel="stylesheet">
2
+ <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=2.7.2-TR2" rel="stylesheet"/>
3
3
 
4
4
  <div id="rdfRank" class="page">
5
5
  <h1>
@@ -1,4 +1,4 @@
1
- <link href="css/repositories.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/repositories.css?v=2.7.2-TR2" rel="stylesheet">
2
2
 
3
3
  <h1>
4
4
  {{title}}
@@ -1,4 +1,4 @@
1
- <link href="css/repositories.css?v=2.7.2-TR1" rel="stylesheet">
1
+ <link href="css/repositories.css?v=2.7.2-TR2" rel="stylesheet">
2
2
 
3
3
  <div id="wb-repository">
4
4
  <h1>{{pageTitle}}</h1>
@@ -1,4 +1,4 @@
1
- <link href="css/similarity.css?v=2.7.2-TR1" rel='stylesheet' type='text/css'/>
1
+ <link href="css/similarity.css?v=2.7.2-TR2" rel='stylesheet' type='text/css'/>
2
2
 
3
3
  <div class="container-fluid">
4
4
 
@@ -1,4 +1,4 @@
1
- <link href="css/sparql-editor.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/sparql-editor.css?v=2.7.2-TR2" rel="stylesheet"/>
2
2
 
3
3
  <div class="sparql-editor-view">
4
4
  <h1 id="sparql-query-update-title-label">
@@ -1,4 +1,4 @@
1
- <link href="css/sparql-templates.css?v=2.7.2-TR1" rel="stylesheet"/>
1
+ <link href="css/sparql-templates.css?v=2.7.2-TR2" rel="stylesheet"/>
2
2
 
3
3
  <div class="container-fluid fit-content-on-mobile" ng-if="!queryIsRunning">
4
4
  <h1>
@@ -1,5 +1,5 @@
1
1
  <link rel="stylesheet" type="text/css" href="css/ux-test1.css">
2
- <link href="js/lib/rzslider/rzslider.min.css?v=2.7.2-TR1" rel="stylesheet"/>
2
+ <link href="js/lib/rzslider/rzslider.min.css?v=2.7.2-TR2" rel="stylesheet"/>
3
3
 
4
4
  <div class="content-wrapper">
5
5
  <div core-errors></div>
@@ -442,7 +442,7 @@
442
442
  {{'sample.query.used' | translate}}</p>
443
443
  </div>
444
444
  <div>
445
- <img src="css/images/expand.png?v=2.7.2-TR1" class="info-box-img" height="220"
445
+ <img src="css/images/expand.png?v=2.7.2-TR2" class="info-box-img" height="220"
446
446
  alt="expand image">
447
447
  </div>
448
448
  </div>
@@ -1,6 +1,6 @@
1
1
 
2
- <link href='css/lib/swagger-ui.min.css?v=2.7.2-TR1' rel='stylesheet' type='text/css'/>
3
- <link href='css/swagger.custom.css?v=2.7.2-TR1' rel='stylesheet' type='text/css'/>
2
+ <link href='css/lib/swagger-ui.min.css?v=2.7.2-TR2' rel='stylesheet' type='text/css'/>
3
+ <link href='css/swagger.custom.css?v=2.7.2-TR2' rel='stylesheet' type='text/css'/>
4
4
 
5
5
  <h1>
6
6
  {{title}}
@@ -4,15 +4,15 @@
4
4
  <head>
5
5
  <meta charset="UTF-8">
6
6
  <title>Swagger UI</title>
7
- <link rel="stylesheet" type="text/css" href="./swagger-ui.css?v=2.7.2-TR1" />
8
- <link rel="stylesheet" type="text/css" href="./index.css?v=2.7.2-TR1" />
9
- <link rel="icon" type="image/png" href="./favicon-32x32.png?v=2.7.2-TR1" sizes="32x32" />
10
- <link rel="icon" type="image/png" href="./favicon-16x16.png?v=2.7.2-TR1" sizes="16x16" />
11
- <link href='../../css/common.css?v=2.7.2-TR1' media='screen' rel='stylesheet' type='text/css'/>
12
- <link href='css/reset.css?v=2.7.2-TR1' media='screen' rel='stylesheet' type='text/css'/>
13
- <link href='css/screen.css?v=2.7.2-TR1' media='screen' rel='stylesheet' type='text/css'/>
14
- <link href='css/onto-theme.css?v=2.7.2-TR1' media='screen' rel='stylesheet' type='text/css'/>
15
- <link href='css/print.css?v=2.7.2-TR1' media='print' rel='stylesheet' type='text/css'/>
7
+ <link rel="stylesheet" type="text/css" href="./swagger-ui.css?v=2.7.2-TR2" />
8
+ <link rel="stylesheet" type="text/css" href="./index.css?v=2.7.2-TR2" />
9
+ <link rel="icon" type="image/png" href="./favicon-32x32.png?v=2.7.2-TR2" sizes="32x32" />
10
+ <link rel="icon" type="image/png" href="./favicon-16x16.png?v=2.7.2-TR2" sizes="16x16" />
11
+ <link href='../../css/common.css?v=2.7.2-TR2' media='screen' rel='stylesheet' type='text/css'/>
12
+ <link href='css/reset.css?v=2.7.2-TR2' media='screen' rel='stylesheet' type='text/css'/>
13
+ <link href='css/screen.css?v=2.7.2-TR2' media='screen' rel='stylesheet' type='text/css'/>
14
+ <link href='css/onto-theme.css?v=2.7.2-TR2' media='screen' rel='stylesheet' type='text/css'/>
15
+ <link href='css/print.css?v=2.7.2-TR2' media='print' rel='stylesheet' type='text/css'/>
16
16
  </head>
17
17
 
18
18
  <body class="swagger-section">
@@ -21,8 +21,8 @@
21
21
  <br>
22
22
  <br>
23
23
  <div id="swagger-ui-container-rdf4j" class="swagger-ui-wrap"></div>
24
- <script src="./swagger-ui-bundle.js?v=2.7.2-TR1" charset="UTF-8"> </script>
25
- <script src="./swagger-ui-standalone-preset.js?v=2.7.2-TR1" charset="UTF-8"> </script>
26
- <script src="./swagger-initializer.js?v=2.7.2-TR1" charset="UTF-8"> </script>
24
+ <script src="./swagger-ui-bundle.js?v=2.7.2-TR2" charset="UTF-8"> </script>
25
+ <script src="./swagger-ui-standalone-preset.js?v=2.7.2-TR2" charset="UTF-8"> </script>
26
+ <script src="./swagger-initializer.js?v=2.7.2-TR2" charset="UTF-8"> </script>
27
27
  </body>
28
28
  </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphdb-workbench",
3
- "version": "2.7.2-TR1",
3
+ "version": "2.7.2-TR2",
4
4
  "description": "The web application for GraphDB APIs",
5
5
  "scripts": {
6
6
  "build": "webpack --config=webpack.config.prod.js",
@@ -1 +0,0 @@
1
- (window.webpackJsonp=window.webpackJsonp||[]).push([[8,30,36,45,73,74,75,144,146,147,152,160,161,163,164,166,251,258,269,271,272,275],{101:function(t,e,r){"use strict";r.r(e),r.d(e,"FileUtils",(function(){return i}));class i{static convertBytesToMegabytes(t){return Math.floor(t/1048576)}static getFilenameAndExtension(t){const e=t.lastIndexOf(".");return{filename:t.substring(0,e),extension:t.substring(e+1)}}}},123:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResource",(function(){return n}));var i=r(66),o=r(98),s=r(76);class n{constructor(t,e){this.hash=e(JSON.stringify(t)),this.name=t?t.name:void 0,this.status=t?t.status:i.ImportResourceStatus.NONE,this.message=t&&t.message?t.message:"",this.context=t&&t.context?t.context:"",this.replaceGraphs=t?t.replaceGraphs:[],this.baseURI=t?t.baseURI:void 0,this.forceSerial=!!t&&t.forceSerial,this.type=t?t.type:void 0,this.format=t?t.format:void 0,this.data=t?t.data:void 0,this.modifiedOn=t?t.lastModified:void 0,this.importedOn=t?t.imported:void 0,this.size=t?t.size:"",this.addedStatements=t?t.addedStatements:0,this.removedStatements=t?t.removedStatements:0,this.numReplacedGraphs=t?t.numReplacedGraphs:0,this.parserSettings=t?t.parserSettings:new o.ImportParsingSettings,this.requestIdHeadersToForward=t?t.requestIdHeadersToForward:void 0}isDirectory(){return s.ImportResourceType.DIRECTORY===this.type}isFile(){return s.ImportResourceType.FILE===this.type||s.ImportResourceType.URL===this.type||s.ImportResourceType.TEXT===this.type}isURL(){return s.ImportResourceType.URL===this.type}isText(){return s.ImportResourceType.TEXT===this.type}}},124:function(t,e,r){"use strict";r.r(e),r.d(e,"md5HashGenerator",(function(){return o}));var i=r(6);const o=()=>{const t=new i.KJUR.crypto.MessageDigest({alg:"md5",prov:"cryptojs"});return e=>t.digestString(e)}},125:function(t,e,r){"use strict";r.r(e),r.d(e,"SortingType",(function(){return i}));const i={NAME:"NAME",SIZE:"SIZE",MODIFIED:"MODIFIED",IMPORTED:"IMPORTED",CONTEXT:"CONTEXT"}},189:function(t,e){angular.module("graphdb.framework.rest.import.service",[]).factory("ImportRestService",i),i.$inject=["$http"];const r="rest/repositories";function i(t){return{getDefaultSettings:function(e){return t.get(`${r}/${e}/import/settings/default`)},getUploadedFiles:function(e){return t.get(`${r}/${e}/import/upload`)},getServerFiles:function(e){return t.get(`${r}/${e}/import/server`)},importServerFiles:function(e,i){return t.post(`${r}/${e}/import/server`,i)},importTextSnippet:function(e,i){return t.post(`${r}/${e}/import/upload/text`,i)},updateTextSnippet:function(e,i){return t.post(`${r}/${e}/import/upload/update/text`,i)},importFromUrl:function(e,i){return t.post(`${r}/${e}/import/upload/url`,i)},updateFromUrl:function(e,i){return t.post(`${r}/${e}/import/upload/update/url`,i)},stopServerImport:function(e,i){return t.delete(`${r}/${e}/import/server`,{params:i})},stopUserDataImport:function(e,i){return t.delete(`${r}/${e}/import/upload`,{params:i})},resetServerFileStatus:function(e,i,o=!0){return t({method:"DELETE",url:`${r}/${e}/import/server/status`,params:{remove:o},data:i,headers:{"Content-type":"application/json;charset=utf-8"}})},resetUserDataStatus:function(e,i,o=!0){return t({method:"DELETE",url:`${r}/${e}/import/upload/status`,params:{remove:o},data:i,headers:{"Content-type":"application/json;charset=utf-8"}})}}}},190:function(t,e){angular.module("graphdb.framework.rest.upload.service",[]).factory("UploadRestService",r),r.$inject=["$http","Upload","$translate"];function r(t,e,r){return{createUploadPayload:function(t,r){let i;i=t.file?{file:t.file,importSettings:e.jsonBlob(r)}:{importSettings:e.jsonBlob(r)};return i},uploadUserDataFile:function(t,r,i){return e.upload({url:`rest/repositories/${t}/import/upload/file`,data:i})},updateUserDataFile:function(t,r,i){return e.upload({url:`rest/repositories/${t}/import/upload/update/file`,data:i})}}}},191:function(t,e,r){"use strict";r.r(e);var i=r(73);function o(t,e,r){let o;t.isHelpVisible=!1,t.fileSizeLimitInfoTemplateUrl="js/angular/import/templates/fileSizeLimitInfo.html";const n=()=>{if(o.isPristine(t.activeTabId)){let e=r.getResources();t.isHelpVisible=!e||0===e.length}else t.isHelpVisible=o.isHelpVisible(t.activeTabId)};t.openTab=t=>{r.updateActiveTabId(t)},t.toggleHelp=()=>{o.setIsHelpVisible(t.activeTabId,!t.isHelpVisible),n()};const a=[];a.push(r.onActiveTabIdUpdated(r=>{t.activeTabId=r,e.hash(t.activeTabId),n()})),a.push(r.onResourcesUpdated(n));t.$on("$destroy",()=>a.forEach(t=>t())),(()=>{o=new s;const r=e.hash()||i.TABS.USER;t.openTab(r),n()})()}angular.module("graphdb.framework.impex.import.controllers.tab",[]).controller("TabController",o),o.$inject=["$scope","$location","ImportContextService"];class s{constructor(){this._helpVisibility={[i.TABS.USER]:{isHelpVisible:void 0},[i.TABS.SERVER]:{isHelpVisible:void 0}}}isPristine(t){return void 0===this._helpVisibility[t].isHelpVisible}setIsHelpVisible(t,e){this._helpVisibility[t].isHelpVisible=e}isHelpVisible(t){return this._helpVisibility[t]&&this._helpVisibility[t].isHelpVisible}}},192:function(t,e,r){"use strict";r.r(e);var i=r(73);function o(t,e,r,o,s,n,a,l,p,c){t.settings=s,t.hasParserSettings=n,t.isMultiple=l,t.enableReplace=!(!t.settings.replaceGraphs||!t.settings.replaceGraphs.length),t.showAdvancedSettings=!1,t.activeTab=p,t.userTabId=i.TABS.USER,t.hasError=function(t,e){return _.find(t,(function(t){return e===t.$name}))},t.ok=function(){t.settingsForm.replaceGraph.$setValidity("replaceGraph",!0),t.settingsForm.$valid&&(u(),e.close(t.settings))},t.cancel=function(){u(),e.dismiss(t.settings)},t.reset=function(){t.settings=_.cloneDeep(a),t.target="data"},t.addReplaceGraph=function(e){let i=!0;"default"!==e&&(i=o.isValidIri(e,e.toString())),t.settingsForm.replaceGraph.$setTouched(),t.settingsForm.replaceGraph.$setValidity("replaceGraph",i),t.settingsForm.replaceGraph.$valid&&(t.settings.replaceGraphs=t.settings.replaceGraphs||[],-1===_.indexOf(t.settings.replaceGraphs,e)?(t.replaceGraph="",t.settings.replaceGraphs.push(e)):r.warning(c.instant("import.graph.already.in.list")))},t.checkEnterReplaceGraph=function(e,r){13===e.keyCode&&(e.preventDefault(),t.addReplaceGraph(r))},t.switchParserSettings=function(){t.showAdvancedSettings=!t.showAdvancedSettings};const u=function(){"default"===t.target?t.settings.context="default":"data"===t.target&&(t.settings.context=""),t.enableReplace?"default"!==t.target&&"named"!==t.target||(t.settings.replaceGraphs=[t.settings.context]):t.settings.replaceGraphs=[]};t.settings.context?"default"===t.settings.context?(t.target="default",t.settings.context=""):t.target="named":t.target="data"}angular.module("graphdb.framework.impex.import.controllers.settings-modal",[]).controller("SettingsModalController",o),o.$inject=["$scope","$uibModalInstance","toastr","UriUtils","settings","hasParserSettings","defaultSettings","isMultiple","activeTab","$translate"]},193:function(t,e){function r(t,e){t.importFormat={name:"Auto",type:""},t.startImport=!0,t.cancel=function(){e.dismiss()},t.ok=function(){e.close({url:t.dataUrl,format:t.importFormat.type,startImport:t.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-url",[]).controller("ImportUrlController",r),r.$inject=["$scope","$uibModalInstance","toastr"]},194:function(t,e){function r(t,e,r,i){t.importFormats=[{name:"RDF/JSON",type:"application/rdf+json"},{name:"JSON-LD",type:"application/ld+json"},{name:"NDJSON-LD",type:"application/x-ld+ndjson"},{name:"RDF/XML",type:"application/rdf+xml"},{name:"N3",type:"text/rdf+n3"},{name:"N-Triples",type:"text/plain"},{name:"N-Quads",type:"text/x-nquads"},{name:"Turtle",type:"text/turtle"},{name:"Turtle*",type:"application/x-turtlestar"},{name:"TriX",type:"application/trix"},{name:"TriG",type:"application/x-trig"},{name:"TriG*",type:"application/x-trigstar"}],t.rdfText=r,t.importFormat=t.importFormats.find(t=>t.type===i),t.startImport=!0,t.sizeLimit=1e5,t.setFormat=e=>{t.importFormat=e},t.cancel=()=>{e.dismiss()},t.ok=()=>{e.close({text:t.rdfText,format:t.importFormat.type,startImport:t.startImport})}}angular.module("graphdb.framework.impex.import.controllers.import-text-snippet",[]).controller("ImportTextSnippetController",r),r.$inject=["$scope","$uibModalInstance","text","format"]},195:function(t,e,r){"use strict";r.r(e);var i=r(0);function o(t,e,r,o,s){t.message=o.trustAsHtml(Object(i.decodeHTML)(r.instant("import.user_data.duplicates_confirmation.message",{duplicatedFiles:s}))),t.cancel=()=>{e.dismiss()},t.keepBoth=()=>{e.close({overwrite:!1})},t.overwrite=()=>{e.close({overwrite:!0})}}angular.module("graphdb.framework.impex.import.controllers.file-override-confirmation",[]).controller("FileOverrideConfirmationController",o),o.$inject=["$scope","$uibModalInstance","$translate","$sce","duplicatedFiles"]},196:function(t,e,r){"use strict";r.r(e),r.d(e,"FILE_FORMATS",(function(){return i})),r.d(e,"FileFormats",(function(){return o}));const i=["ttl","ttls","rdf","rj","n3","nt","nq","trig","trigs","trix","brf","owl","jsonld","xml","rdfs","ndjsonld","ndjson","jsonl"];class o{static getGZS(){return i.map(t=>`.${t}.gz`)}static getBasics(){return i.map(t=>"."+t)}static getFileFormatsExtended(){return[...this.getGZS(),...this.getBasics(),".zip"].join(", ")}static getFileFormatsHuman(){return[...this.getBasics()].join(" ")}static getTextFileFormatsHuman(){return this.getBasics().filter(t=>".brf"!==t).join(" ")}}},197:function(t,e,r){"use strict";r.r(e),r.d(e,"DateUtils",(function(){return i}));class i{static formatCurrentDateTime(){const t=new Date;return t.getFullYear()+"-"+_.padStart(t.getMonth()+1,2,"0")+"-"+_.padStart(t.getDate(),2,"0")+" "+_.padStart(t.getHours(),2,"0")+":"+_.padStart(t.getMinutes(),2,"0")+":"+_.padStart(t.getSeconds(),2,"0")+"."+_.padStart(t.getMilliseconds(),3,"0")}}},198:function(t,e,r){"use strict";r.r(e),r.d(e,"toImportResource",(function(){return s}));var i=r(123),o=r(124);const s=t=>{const e=Object(o.md5HashGenerator)();return t.map(t=>new i.ImportResource(t,e))}},199:function(t,e,r){"use strict";r.r(e),r.d(e,"FilePrefixRegistry",(function(){return o}));var i=r(101);class o{constructor(){this.filesPrefixRegistry={}}buildPrefixesRegistry(t){t.filter(t=>"file"===t.type).forEach(t=>{const e=i.FileUtils.getFilenameAndExtension(t.name).filename,r=e.lastIndexOf("-");let o=r<0?0:e.substring(r+1),s=e.substring(0,r);if(r<0?(o=0,s=e):(o=e.substring(r+1),s=e.substring(0,r)),o){o=parseInt(o);const t=this.filesPrefixRegistry[s]||0;this.filesPrefixRegistry[s]=t<o?o:t}else this.filesPrefixRegistry[s]=0})}prefixDuplicates(t){return t.map(t=>{const{filename:e,extension:r}=i.FileUtils.getFilenameAndExtension(t.name),o=`${e}-${this.getIndexForFile(e)}.${r}`;return new File([t],o,{type:t.type,lastModified:t.lastModified})})}getIndexForFile(t){let e=this.filesPrefixRegistry[t];return void 0!==e?e++:e=0,this.filesPrefixRegistry[t]=e,e}}},241:function(t,e,r){"use strict";r.r(e);r(7),r(30),r(189),r(190);var i=r(73),o=(r(191),r(192),r(193),r(194),r(195),r(196)),s=r(71),n=r(101),a=r(197),l=r(198),p=r(0),c=r(199),u=r(125),d=r(66);const m=angular.module("graphdb.framework.impex.import.controllers",["ui.bootstrap","toastr","graphdb.framework.core.services.repositories","graphdb.framework.utils.localstorageadapter","graphdb.framework.utils.uriutils","graphdb.framework.guides.services","graphdb.framework.rest.import.service","graphdb.framework.rest.upload.service","graphdb.framework.import.services.importcontext","graphdb.framework.impex.import.controllers.tab","graphdb.framework.impex.import.controllers.settings-modal","graphdb.framework.impex.import.controllers.import-url","graphdb.framework.impex.import.controllers.import-text-snippet","graphdb.framework.impex.import.controllers.file-override-confirmation"]),f="file",g="text",h="url";m.controller("ImportViewCtrl",["$scope","toastr","$interval","$repositories","$uibModal","$filter","$jwtAuth","$location","$translate","LicenseRestService","GuidesService","ModalService","ImportRestService","ImportContextService",function(t,e,r,a,c,d,m,f,g,h,v,S,I,y){const b=[];let F=null;let T=void 0;t.files=[],t.fileChecked={},t.activeTabId=y.getActiveTabId(),t.popoverTemplateUrl="settingsPopoverTemplate.html",t.fileFormatsExtended=o.FileFormats.getFileFormatsExtended(),t.fileFormatsHuman=o.FileFormats.getFileFormatsHuman()+g.instant("import.gz.zip"),t.textFileFormatsHuman=o.FileFormats.getTextFileFormatsHuman(),t.maxUploadFileSizeMB=0,t.SORTING_TYPES=u.SortingType,t.TAB_IDS=i.TABS,t.toTitleCase=t=>s.toTitleCase(t),t.setSettingsFor=(e,r,i,o=(()=>{}))=>{U(e,r).then(r=>{t.settingsFor=e,t.settings=r,""===e||"application/ld+json"===i||"application/x-ld+ndjson"===i||e.endsWith("jsonld")||e.endsWith("zip")||e.endsWith("gz")||"directory"===t.settings.type?t.settings.hasContextLink=!0:t.settings.hasContextLink=!1;const s=_.cloneDeep(t.settings),n={templateUrl:"js/angular/import/templates/settingsModal.html",controller:"SettingsModalController",resolve:{settings:function(){return _.cloneDeep(t.settings)},hasParserSettings:t.isLocalLocation,defaultSettings:function(){return s},isMultiple:function(){return!e},activeTab:function(){return t.activeTabId}},size:"lg"};v.isActive()&&(n.backdrop="static",n.keyboard=!1),c.open(n).result.then(e=>{t.settings=e,""===t.settingsFor?t.importSelected():t.importFile(t.settingsFor,!0)},e=>{t.settings=e,o&&o()})})},t.updateImport=(e,r,i)=>{U(e,r).then(r=>{t.settingsFor=e,t.settings=r,t.importFile(e,i)})},t.importSelected=e=>{const r=new Set([...E(),...x()]),i=Array.from(r),o=()=>{const r=i.shift();r&&U(r).then(i=>{e&&(t.settings=i),t.importFile(r,!0,o)})};o()},t.isLocalLocation=()=>{const t=a.getActiveLocation();return t&&t.local},t.updateList=e=>{t.canWriteActiveRepo()&&t.updateListHttp(e)},t.onRepositoryChange=()=>{t.setRestricted(),t.isRestricted||(t.updateList(!0),R())},t.onImport=e=>{t.setSettingsFor(e.importResource.name,!1,e.importResource.format)},t.onStopImport=r=>{const o=r.importResource;(t.activeTabId===i.TABS.USER?I.stopUserDataImport:I.stopServerImport)(a.getActiveRepository(),{name:o.name,type:o.type}).success((function(){t.updateList()})).error((function(t){e.warning(g.instant("import.error.could.not.stop",{data:getError(t)}))}))},t.onRemove=t=>{const e=t.map(t=>t.name);$(e)},t.onReset=t=>{w(t,!1)},t.importAll=(e,r)=>{if(r)t.importSelected(e,r);else{let i="";1===e.length&&(i=e[0].importResource.name),t.setSettingsFor(i,r,void 0)}},t.onEditResource=e=>{e.importResource.isText()&&t.openTextSnippetDialog(e.importResource)};const R=()=>(T=void 0,t.canWriteActiveRepo()?I.getDefaultSettings(a.getActiveRepository()).success((function(t){return T=t,T})).error((function(t){e.warning(g.instant("import.error.default.settings",{data:getError(t)}))})):Promise.resolve(T)),x=()=>y.getSelectedFilesNames(),E=()=>t.currentFiles.filter(t=>t.name).map(t=>t.name),$=(t=[])=>{const e="<br/>"+t.join("<br/>"),r=Object(p.decodeHTML)(g.instant("import.remove.confirm.msg",{name:e}));S.openConfirmation(g.instant("common.confirm"),r,()=>{w(t,!0)})},U=(e,r)=>r||_.isEmpty(e)||_.isEmpty(t.savedSettings[e])?(T?Promise.resolve(angular.copy(T)):R().then(()=>angular.copy(T))).then(t=>t):Promise.resolve(t.savedSettings[e]);t.updateListHttp=r=>{if(!a.getActiveRepository())return Promise.resolve();const o=t.activeTabId===i.TABS.USER?I.getUploadedFiles:I.getServerFiles,s=t.activeTabId;return o(a.getActiveRepository()).success((function(e){s===y.getActiveTabId()&&((i.TABS.SERVER===t.activeTabId||i.TABS.USER===t.activeTabId)&&y.updateResources(Object(l.toImportResource)(e)),0===t.files.length||r?(t.files=e,y.updateFiles(t.files),t.files.forEach((function(e){e.type||(e.type=t.defaultType)}))):t.files.forEach((function(r){const i=_.find(e,_.matches({name:r.name}));r.status&&i&&_.assign(r,i),r.type||(r.type=t.defaultType)})),r&&i.TABS.USER===t.activeTabId&&(t.files=_.filter(t.files,(function(t){return void 0!==t.status})),y.updateFiles(t.files)),t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"))})).error((function(t){e.warning(g.instant("import.error.could.not.get.files",{data:getError(t)}))}))};const w=(r,o)=>{if(!r||r.length<1)return;(t.activeTabId===i.TABS.USER?I.resetUserDataStatus:I.resetServerFileStatus)(a.getActiveRepository(),r,o).success((function(){t.updateList(!0)})).error((function(t){e.warning(g.instant("import.error.could.not.clear",{data:getError(t)}))}))},D=()=>{b.forEach(t=>t())},A=e=>{t.activeTabId=e,y.updateResources([]),y.updateShowLoader(!0),t.updateListHttp(!0).finally(()=>y.updateShowLoader(!1))};t.importViewControllerInit=()=>{b.push(t.$on("repositoryIsSet",t.onRepositoryChange)),b.push(t.$on("$destroy",()=>r.cancel(F))),b.push(y.onActiveTabIdUpdated(t=>A(t))),t.$on("$destroy",D),h.getInfo().success((function(e){t.appData={},t.appData.properties={};for(let r=0;r<e.length;r++)t.appData.properties[e[r].key]={source:e[r].source,value:e[r].value};t.maxUploadFileSizeMB=n.FileUtils.convertBytesToMegabytes(t.appData.properties["graphdb.workbench.maxUploadSize"].value)})).error((function(t){const r=getError(t);e.error(r,g.instant("common.error"))})),R(),F=r(()=>{t.updating||t.updateList(!1)},4e3),A(y.getActiveTabId())}}]),m.controller("ImportCtrl",["$scope","toastr","$controller","$translate","$repositories","ImportRestService","ImportContextService",function(t,e,r,o,s,n,a){t.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.modified",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:t})),t.defaultType="server",t.tabId="#import-server",t.importSelected=t=>{l(a.getSelectedFilesNames(),t)},t.importFile=function(t){l([t])};const l=function(r,i){t.canWriteActiveRepo()&&n.importServerFiles(s.getActiveRepository(),{importSettings:i?null:t.settings,fileNames:r}).success((function(){t.updateList(),t.fileChecked={}})).error((function(t){e.error(o.instant("import.could.not.send.file",{data:getError(t)}))}))};i.TABS.SERVER===a.getActiveTabId()&&t.importViewControllerInit()}]),m.controller("UploadCtrl",["$scope","toastr","$controller","$uibModal","$translate","$repositories","ImportRestService","UploadRestService","ModalService","ImportContextService","EventEmitterService",function(t,e,r,o,s,l,p,u,m,v,S){const I=new c.FilePrefixRegistry,y=[];t.columnKeys={name:"import.import_resource_tree.header.name",size:"import.import_resource_tree.header.size",modified:"import.import_resource_tree.header.uploaded",imported:"import.import_resource_tree.header.imported",context:"import.import_resource_tree.header.context"},angular.extend(this,r("ImportViewCtrl",{$scope:t})),t.defaultType=f,t.tabId="#import-user",t.currentFiles=[];let b=!1;t.pastedDataIdx=1,t.fileSelected=function(e,r,i,o,s){const n={files:i,cancel:!1};S.emit("filesForUploadSelected",n,e=>{if(!e.cancel){F(s);const e=i||[];$(e);const r=[],o=[];e.forEach(e=>{t.files.some(t=>t.name===e.name)?r.push(e):o.push(e)}),r.length>0?U(r,o):(t.currentFiles=[...e],b=!0)}})},t.importFile=(r,i,o)=>{const n=t.files.find(t=>t.name===r);n?n.type===g?T(n,i,o):n.type===h?x(n,i,o):E(n,i,o):e.warning(s.instant("import.no.such.file",{name:r}))},t.openTextSnippetDialog=e=>{e&&e.data;o.open({templateUrl:"js/angular/import/templates/textSnippet.html",controller:"ImportTextSnippetController",resolve:{text:function(){return e?e.data:""},format:function(){return e?e.format:"text/turtle"}}}).result.then(r=>{e?(e.data===r.text&&e.format===r.format||e.status===d.ImportResourceStatus.NONE||(e.status=d.ImportResourceStatus.NONE,e.message=s.instant("import.text.snippet.not.imported")),e.data=r.text,e.format=r.format,R(e)):(e={type:"text",name:"Text snippet "+a.DateUtils.formatCurrentDateTime(),format:r.format,data:r.text},t.files.unshift(e),t.updateImport(e.name,!1,!1)),r.startImport&&t.setSettingsFor(e.name,!1,e.format)})},t.rdfDataFromURL=()=>{o.open({templateUrl:"js/angular/import/templates/urlImport.html",controller:"ImportUrlController",scope:t}).result.then((function(e){const r=_.find(t.files,{type:"url",name:e.url});r?r.format=e.format:t.files.unshift({type:"url",name:e.url,format:e.format,data:e.url}),t.updateImport(e.url,!0,!1),e.startImport&&t.setSettingsFor(e.url,!0,e.format)}))};const F=t=>{t.length>0&&t.forEach((function(t){e.warning(s.instant("import.large.file",{name:t.name,size:n.FileUtils.convertBytesToMegabytes(t.size)}))}))},T=(r,i,o)=>{t.settings.name=r.name,t.settings.type=r.type,t.settings.data=r.data,t.settings.format=r.format,r.status=d.ImportResourceStatus.PENDING;(i?p.importTextSnippet:p.updateTextSnippet)(l.getActiveRepository(),t.settings).success((function(){t.updateList()})).error((function(t){e.error(s.instant("import.could.not.send.data",{data:getError(t)})),r.status=d.ImportResourceStatus.ERROR,r.message=getError(t)})).finally(o||function(){})},R=r=>{t.updating=!0,p.updateTextSnippet(l.getActiveRepository(),r).success((function(t){})).error((function(t){e.error(s.instant("import.could.not.update.text",{data:getError(t)}))})).finally((function(){t.updating=!1}))},x=(r,i,o)=>{t.settings.name=r.name,t.settings.type=r.type,t.settings.data=r.data,t.settings.format=r.format,r.status=d.ImportResourceStatus.PENDING;(i?p.importFromUrl:p.updateFromUrl)(l.getActiveRepository(),t.settings).success((function(){t.updateList()})).error((function(t){e.error(s.instant("import.could.not.send.url",{data:getError(t)}))})).finally(o||function(){})},E=(r,i,o)=>{t.settings.name=r.name;const n=u.createUploadPayload(r,t.settings);(i?u.uploadUserDataFile:u.updateUserDataFile)(l.getActiveRepository(),r,n).then(e=>{t.progressPercentage=null,t.uploadProgressMessage="",t.updateList()},()=>{},e=>{t.progressPercentage=parseInt(100*e.loaded/e.total),t.uploadProgressMessage=s.instant("import.file.upload.progress",{progress:t.progressPercentage})}).catch(t=>{e.error(s.instant("import.could.not.upload.file",{data:getError(t)})),r.status=d.ImportResourceStatus.ERROR,r.message=getError(t)}).finally(o||function(){})},$=t=>{t.forEach((function(r){if("bz2"===r.name.substr(r.name.lastIndexOf(".")+1)){const i=t.indexOf(r);i>-1&&t.splice(i,1),e.error(s.instant("import.could.not.upload",{name:r.name}))}}))},U=(e,r)=>{const i=e.map(t=>t.name).join("<br/>");o.open({templateUrl:"js/angular/import/templates/file-override-confirmation.html",controller:"FileOverrideConfirmationController",windowClass:"confirm-duplicate-files-dialog",resolve:{duplicatedFiles:()=>i}}).result.then(i=>{if(i.overwrite)t.currentFiles.length?t.currentFiles=[...e,...r]:t.currentFiles.push(...e,...r),b=!0;else{const i=I.prefixDuplicates(e);t.currentFiles=[...t.currentFiles,...i,...r],b=!0}})},w=()=>{Object.keys(t.fileChecked).forEach(e=>{t.fileChecked[e]=!1})};y.push(t.$watchCollection("currentFiles",()=>{if(t.files=_.uniqBy(_.union(_.map(t.currentFiles,(function(t){return{name:t.name,type:"file",file:t}})),t.files),(function(t){return t.name})),t.savedSettings=_.mapKeys(_.filter(t.files,"parserSettings"),"name"),b&&t.currentFiles.length>0){w(),t.currentFiles.forEach(e=>{t.fileChecked[e.name]=!0});let e="";1===t.currentFiles.length&&(e=t.currentFiles[0].name),t.setSettingsFor(e,!1,void 0,()=>{t.currentFiles.forEach(e=>{t.updateImport(e.name,!1,!1)})})}})),t.$on("$destroy",()=>{y.forEach(t=>t())});i.TABS.USER===v.getActiveTabId()&&(t.importViewControllerInit(),y.push(v.onFilesUpdated(t=>{I.buildPrefixesRegistry(t)})))}])},66:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceStatus",(function(){return i}));const i={NONE:"NONE",UPLOADING:"UPLOADING",PENDING:"PENDING",IMPORTING:"IMPORTING",DONE:"DONE",ERROR:"ERROR",INTERRUPTING:"INTERRUPTING"}},71:function(t,e,r){"use strict";r.r(e),r.d(e,"removeSpecialChars",(function(){return o})),r.d(e,"toBoolean",(function(){return s})),r.d(e,"toTitleCase",(function(){return n}));var i=r(25);const o=t=>t.replace(/[()']/g,""),s=t=>"string"==typeof t?"true"===t:Boolean(t),n=t=>t?Object(i.upperFirst)(t.toLowerCase()):t},73:function(t,e,r){"use strict";r.r(e),r.d(e,"TABS",(function(){return o}));var i=r(25);const o={USER:"user",SERVER:"server"};function s(t){let e=o.USER,r=void 0,s=[],n=!0,a=[];return{updateActiveTabId:function(r){e=r,t.emit("activeTabIdUpdated",c())},getActiveTabId:c,onActiveTabIdUpdated:function(e){return t.subscribe("activeTabIdUpdated",()=>e(c()))},getFiles:u,addFile:function(e){s.push(e),t.emit("fileAdded",Object(i.cloneDeep)(e))},updateFiles:function(e){s=e,t.emit("filesUpdated",u())},onFilesUpdated:function(e){return t.subscribe("filesUpdated",()=>e(u()))},updateResources:function(e){r=e,t.emit("resourcesUpdated",d())},getResources:d,onResourcesUpdated:function(e){return t.subscribe("resourcesUpdated",()=>e(d()))},updateShowLoader:function(e){n=e,t.emit("showLoaderUpdated",p())},getShowLoader:p,onShowLoaderUpdated:function(e){return t.subscribe("showLoaderUpdated",()=>e(p()))},updateSelectedFilesNames:function(e){a=e,t.emit("selectedFilesNamesUpdated",l())},getSelectedFilesNames:l,onSelectedFilesNamesUpdated:function(e){return t.subscribe("selectedFilesNamesUpdated",()=>e(p()))}};function l(){return a}function p(){return n}function c(){return e}function u(){return Object(i.cloneDeep)(s)}function d(){return Object(i.cloneDeep)(r)}}angular.module("graphdb.framework.import.services.importcontext",[]).factory("ImportContextService",s),s.$inject=["EventEmitterService"]},76:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportResourceType",(function(){return i}));const i={DIRECTORY:"directory",FILE:"file",URL:"url",TEXT:"text"}},98:function(t,e,r){"use strict";r.r(e),r.d(e,"ImportParsingSettings",(function(){return i}));class i{constructor(){this.contextLink=void 0,this.preserveBNodeIds=!1,this.failOnUnknownDataTypes=!1,this.verifyDataTypeValues=!1,this.normalizeDataTypeValues=!1,this.failOnUnknownLanguageTags=!1,this.verifyLanguageTags=!1,this.normalizeLanguageTags=!1,this.stopOnError=!0}}}}]);