graphdb-workbench 3.3.2 → 3.3.3-TR1

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 (124) hide show
  1. package/dist/{13231.d7107e7549453805e13a.bundle.js → 13231.8bbbe30c10e6c0dfdba3.bundle.js} +2 -2
  2. package/dist/13231.8bbbe30c10e6c0dfdba3.bundle.js.map +1 -0
  3. package/dist/21015.6db2b66597f78d4b83cc.bundle.js +2 -0
  4. package/dist/21015.6db2b66597f78d4b83cc.bundle.js.map +1 -0
  5. package/dist/2975.c5ebc3e3ad52df3ab907.bundle.js +2 -0
  6. package/dist/2975.c5ebc3e3ad52df3ab907.bundle.js.map +1 -0
  7. package/dist/38644.cc471c67239fa24901cc.bundle.js +2 -0
  8. package/dist/38644.cc471c67239fa24901cc.bundle.js.map +1 -0
  9. package/dist/39518.1c641a7dc1c50a526845.bundle.js +2 -0
  10. package/dist/{39518.4d72b74fffba395c6b2a.bundle.js.map → 39518.1c641a7dc1c50a526845.bundle.js.map} +1 -1
  11. package/dist/{64118.b06aebc9f8d7e822244f.bundle.js → 64118.177457589341de779668.bundle.js} +2 -2
  12. package/dist/64118.177457589341de779668.bundle.js.map +1 -0
  13. package/dist/67888.7224e1b2689d73c4d468.bundle.js +2 -0
  14. package/dist/67888.7224e1b2689d73c4d468.bundle.js.map +1 -0
  15. package/dist/71099.ba1073458b96d9789756.bundle.js +2 -0
  16. package/dist/71099.ba1073458b96d9789756.bundle.js.map +1 -0
  17. package/dist/75881.148ce498d06784abfd6c.bundle.js +2 -0
  18. package/dist/75881.148ce498d06784abfd6c.bundle.js.map +1 -0
  19. package/dist/78070.d54ede951a08e1c8689d.bundle.js +2 -0
  20. package/dist/78070.d54ede951a08e1c8689d.bundle.js.map +1 -0
  21. package/dist/{82926.ce1d6bf65b09288a2b10.bundle.js → 82926.bbdac6a7e9eb883ae97b.bundle.js} +2 -2
  22. package/dist/{82926.ce1d6bf65b09288a2b10.bundle.js.map → 82926.bbdac6a7e9eb883ae97b.bundle.js.map} +1 -1
  23. package/dist/{94229.47dbdba202106c61dff1.bundle.js → 94229.5a853fae006f6ef633af.bundle.js} +2 -2
  24. package/dist/94229.5a853fae006f6ef633af.bundle.js.map +1 -0
  25. package/dist/95953.1350a9dc14b22372b4e2.bundle.js +2 -0
  26. package/dist/95953.1350a9dc14b22372b4e2.bundle.js.map +1 -0
  27. package/dist/98268.a1bd17e40ede031a0a00.bundle.js +2 -0
  28. package/dist/98268.a1bd17e40ede031a0a00.bundle.js.map +1 -0
  29. package/dist/99448.b9922814bd15808a9d1c.bundle.js +2 -0
  30. package/dist/99448.b9922814bd15808a9d1c.bundle.js.map +1 -0
  31. package/dist/index.html +8 -8
  32. package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
  33. package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
  34. package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
  35. package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
  36. package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
  37. package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
  38. package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +2 -2
  39. package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
  40. package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
  41. package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
  42. package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
  43. package/dist/js/angular/core/templates/search-resource-input.html +1 -1
  44. package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
  45. package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
  46. package/dist/js/angular/graphql/templates/graphql-playground.html +2 -2
  47. package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
  48. package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
  49. package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
  50. package/dist/js/angular/security/templates/user.html +2 -2
  51. package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
  52. package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
  53. package/dist/js/angular/ttyg/templates/chat-item-detail.html +3 -2
  54. package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
  55. package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
  56. package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
  57. package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +3 -3
  58. package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
  59. package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
  60. package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
  61. package/dist/legacyWorkbench.4d8a4e8dde83fc9ac427.js +3 -0
  62. package/dist/{legacyWorkbench.40eba9e09196e1483221.js.map → legacyWorkbench.4d8a4e8dde83fc9ac427.js.map} +1 -1
  63. package/dist/pages/aclmanagement.html +1 -1
  64. package/dist/pages/autocomplete.html +1 -1
  65. package/dist/pages/choose-repository-type.html +1 -1
  66. package/dist/pages/cluster-management/clusterInfo.html +3 -3
  67. package/dist/pages/create-index.html +1 -1
  68. package/dist/pages/dependencies.html +1 -1
  69. package/dist/pages/domainRangeInfo.html +2 -2
  70. package/dist/pages/edit.html +1 -1
  71. package/dist/pages/explore.html +1 -1
  72. package/dist/pages/export.html +1 -1
  73. package/dist/pages/find.html +1 -1
  74. package/dist/pages/graph-config/saveGraphConfig.html +8 -8
  75. package/dist/pages/graphs-visualizations.html +7 -7
  76. package/dist/pages/guides.html +1 -1
  77. package/dist/pages/home.html +1 -1
  78. package/dist/pages/import.html +2 -2
  79. package/dist/pages/jdbc-create.html +1 -1
  80. package/dist/pages/jdbc.html +1 -1
  81. package/dist/pages/monitor/backup-and-restore.html +1 -1
  82. package/dist/pages/monitor/queries.html +1 -1
  83. package/dist/pages/monitor/resources.html +1 -1
  84. package/dist/pages/namespaces.html +2 -2
  85. package/dist/pages/plugins.html +1 -1
  86. package/dist/pages/rdfClassHierarchyInfo.html +7 -7
  87. package/dist/pages/rdfrank.html +2 -2
  88. package/dist/pages/repositories.html +1 -1
  89. package/dist/pages/repository.html +1 -1
  90. package/dist/pages/similarity-indexes.html +1 -1
  91. package/dist/pages/sparql-editor.html +1 -1
  92. package/dist/pages/sparql-template-create.html +1 -1
  93. package/dist/pages/sparql-templates.html +1 -1
  94. package/dist/pages/ux-test1.html +2 -2
  95. package/dist/pages/webapi.html +4 -3
  96. package/dist/res/swagger5/index.html +11 -11
  97. package/dist/res/swagger5/swagger-initializer.js +1 -1
  98. package/package.json +1 -1
  99. package/dist/13231.d7107e7549453805e13a.bundle.js.map +0 -1
  100. package/dist/21015.ea34b563b4149ad0975e.bundle.js +0 -2
  101. package/dist/21015.ea34b563b4149ad0975e.bundle.js.map +0 -1
  102. package/dist/2975.8be1a79816fd811be223.bundle.js +0 -2
  103. package/dist/2975.8be1a79816fd811be223.bundle.js.map +0 -1
  104. package/dist/38644.0e8652c647a0f341abd7.bundle.js +0 -2
  105. package/dist/38644.0e8652c647a0f341abd7.bundle.js.map +0 -1
  106. package/dist/39518.4d72b74fffba395c6b2a.bundle.js +0 -2
  107. package/dist/64118.b06aebc9f8d7e822244f.bundle.js.map +0 -1
  108. package/dist/67888.41803878170b6c7a5ca5.bundle.js +0 -2
  109. package/dist/67888.41803878170b6c7a5ca5.bundle.js.map +0 -1
  110. package/dist/71099.ca7720893604e9d908d6.bundle.js +0 -2
  111. package/dist/71099.ca7720893604e9d908d6.bundle.js.map +0 -1
  112. package/dist/75881.54dc716f79b6fe29232a.bundle.js +0 -2
  113. package/dist/75881.54dc716f79b6fe29232a.bundle.js.map +0 -1
  114. package/dist/78070.13538271878de6a98862.bundle.js +0 -2
  115. package/dist/78070.13538271878de6a98862.bundle.js.map +0 -1
  116. package/dist/94229.47dbdba202106c61dff1.bundle.js.map +0 -1
  117. package/dist/95953.ec1b9d5e568d43ec3dcf.bundle.js +0 -2
  118. package/dist/95953.ec1b9d5e568d43ec3dcf.bundle.js.map +0 -1
  119. package/dist/98268.86ff371dde616b4e2a76.bundle.js +0 -2
  120. package/dist/98268.86ff371dde616b4e2a76.bundle.js.map +0 -1
  121. package/dist/99448.2a87f387a8062617d893.bundle.js +0 -2
  122. package/dist/99448.2a87f387a8062617d893.bundle.js.map +0 -1
  123. package/dist/legacyWorkbench.40eba9e09196e1483221.js +0 -3
  124. /package/dist/{legacyWorkbench.40eba9e09196e1483221.js.LICENSE.txt → legacyWorkbench.4d8a4e8dde83fc9ac427.js.LICENSE.txt} +0 -0
@@ -1,4 +1,4 @@
1
- <link href="css/aclmanagement.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/aclmanagement.css?v=3.3.3-TR1" rel="stylesheet"/>
2
2
 
3
3
  <div class="acl-management-view">
4
4
  <h1 id="acl-management-view-title">
@@ -1,4 +1,4 @@
1
- <link href="css/autocomplete.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/autocomplete.css?v=3.3.3-TR1" rel="stylesheet">
2
2
  <div id="autocomplete" class="page" data-test="autocomplete-page">
3
3
  <h1>
4
4
  {{title}}
@@ -1,4 +1,4 @@
1
- <link href="css/repository.create.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/repository.create.css?v=3.3.3-TR1" 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=3.3.2" rel="stylesheet"/>
2
- <link href="css/rdf-details-side-panel.css?v=3.3.2" rel="stylesheet"/>
3
- <link href="js/lib/d3-tip/d3-tip.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/clustermanagement.css?v=3.3.3-TR1" rel="stylesheet"/>
2
+ <link href="css/rdf-details-side-panel.css?v=3.3.3-TR1" rel="stylesheet"/>
3
+ <link href="js/lib/d3-tip/d3-tip.css?v=3.3.3-TR1" 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=3.3.2" rel="stylesheet">
1
+ <link href="css/create-similarity-index.css?v=3.3.3-TR1" rel="stylesheet">
2
2
 
3
3
  <div class="container-fluid">
4
4
 
@@ -1,4 +1,4 @@
1
- <link href="css/dependencies.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/dependencies.css?v=3.3.3-TR1" 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=3.3.2" rel="stylesheet"/>
2
- <link href="css/rdf-details-side-panel.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/domain-range-graph.css?v=3.3.3-TR1" rel="stylesheet"/>
2
+ <link href="css/rdf-details-side-panel.css?v=3.3.3-TR1" 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=3.3.2" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=3.3.3-TR1" 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=3.3.2" rel="stylesheet"/>
1
+ <link href="css/explore.css?v=3.3.3-TR1" 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=3.3.2" rel="stylesheet">
1
+ <link href="css/export.css?v=3.3.3-TR1" rel="stylesheet">
2
2
 
3
3
  <div id="wb-export">
4
4
 
@@ -1,4 +1,4 @@
1
- <link href="css/find.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/find.css?v=3.3.3-TR1" rel="stylesheet"/>
2
2
 
3
3
  <div class="page">
4
4
  <h1>
@@ -1,4 +1,4 @@
1
- <link href="css/graphs-config.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/graphs-config.css?v=3.3.3-TR1" 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=3.3.2" alt="search image"
62
+ <img class="image-label-image" src="css/images/search.png?v=3.3.3-TR1" 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=3.3.2" alt="node image"
73
+ <img class="image-label-image" src="css/images/node.png?v=3.3.3-TR1" 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=3.3.2" alt="query image"
84
+ <img class="image-label-image" src="css/images/query.png?v=3.3.3-TR1" 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=3.3.2" class="info-box-img" height="220"
131
+ <img src="css/images/expand.png?v=3.3.3-TR1" 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=3.3.2" class="info-box-img" height="220"
159
+ <img src="css/images/labels-size.png?v=3.3.3-TR1" 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=3.3.2" class="info-box-img" height="220"
182
+ <img src="css/images/predicates.png?v=3.3.3-TR1" 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=3.3.2" class="info-box-img" height="220"
214
+ <img src="css/images/side-panel.png?v=3.3.3-TR1" 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=3.3.2" rel="stylesheet"/>
2
- <link href="css/rdf-details-side-panel.css?v=3.3.2" rel="stylesheet"/>
3
- <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.3.2" rel="stylesheet"/>
4
- <link href="js/lib/d3-tip/d3-tip.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/graphs-vizualizations.css?v=3.3.3-TR1" rel="stylesheet"/>
2
+ <link href="css/rdf-details-side-panel.css?v=3.3.3-TR1" rel="stylesheet"/>
3
+ <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.3.3-TR1" rel="stylesheet"/>
4
+ <link href="js/lib/d3-tip/d3-tip.css?v=3.3.3-TR1" rel="stylesheet"/>
5
5
 
6
6
  <div class="container-fluid visual-graph-view">
7
7
 
@@ -127,9 +127,9 @@
127
127
  <tr ng-repeat="config in graphConfigs">
128
128
  <td width="20">
129
129
  <a href ng-click="goToGraphConfig(config)">
130
- <img ng-if="config.startMode == 'search'" src="css/images/search.png?v=3.3.2" alt="" width="64" uib-popover="{{'visual.config.search.box.starting.point' | translate}}" popover-trigger="mouseenter">
131
- <img ng-if="config.startMode == 'node'" src="css/images/node.png?v=3.3.2" alt="" width="64" uib-popover="{{'visual.config.fixed.resource.starting.point' | translate}}" popover-trigger="mouseenter">
132
- <img ng-if="config.startMode == 'query'" src="css/images/query.png?v=3.3.2" alt="" data-cy="graph-config-starting-point-query-results" width="64" uib-popover="{{'visual.config.query.results.starting.point' | translate}}" popover-trigger="mouseenter">
130
+ <img ng-if="config.startMode == 'search'" src="css/images/search.png?v=3.3.3-TR1" alt="" width="64" uib-popover="{{'visual.config.search.box.starting.point' | translate}}" popover-trigger="mouseenter">
131
+ <img ng-if="config.startMode == 'node'" src="css/images/node.png?v=3.3.3-TR1" alt="" width="64" uib-popover="{{'visual.config.fixed.resource.starting.point' | translate}}" popover-trigger="mouseenter">
132
+ <img ng-if="config.startMode == 'query'" src="css/images/query.png?v=3.3.3-TR1" alt="" data-cy="graph-config-starting-point-query-results" width="64" uib-popover="{{'visual.config.query.results.starting.point' | translate}}" popover-trigger="mouseenter">
133
133
  </a>
134
134
  </td>
135
135
  <td>
@@ -1,4 +1,4 @@
1
- <link href="css/guides.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/guides.css?v=3.3.3-TR1" rel="stylesheet">
2
2
  <h1>
3
3
  {{title}}
4
4
  <page-info-tooltip></page-info-tooltip>
@@ -1,4 +1,4 @@
1
- <link href="css/home.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/home.css?v=3.3.3-TR1" rel="stylesheet">
2
2
  <div class="ot-loader ot-loader-home" onto-loader size="100" auto-font-size="false" message-text="{{'common.loading' | translate}}" ng-show="isLoadingLocation()"></div>
3
3
  <div id="wb-home" class="content-wrapper" ng-hide="isLoadingLocation()" ng-cloak>
4
4
  <div class="alert alert-danger" role="alert" ng-hide="isLicenseValid()">
@@ -1,5 +1,5 @@
1
- <link rel="stylesheet" type="text/css" href="css/import.css?v=3.3.2">
2
- <link rel="stylesheet" type="text/css" href="css/import-resource-tree.css?v=3.3.2">
1
+ <link rel="stylesheet" type="text/css" href="css/import.css?v=3.3.3-TR1">
2
+ <link rel="stylesheet" type="text/css" href="css/import-resource-tree.css?v=3.3.3-TR1">
3
3
 
4
4
  <div id="wb-import">
5
5
  <h1>
@@ -1,4 +1,4 @@
1
- <link href="css/jdbc-create.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/jdbc-create.css?v=3.3.3-TR1" 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/jdbc-create.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/jdbc-create.css?v=3.3.3-TR1" rel="stylesheet">
2
2
 
3
3
  <div class="container-fluid" data-test="jdbc-page">
4
4
  <h1>
@@ -1,4 +1,4 @@
1
- <link href="css/backup-and-restore.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/backup-and-restore.css?v=3.3.3-TR1" rel="stylesheet"/>
2
2
  <div data-test="backup-and-restore-page">
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=3.3.2" rel="stylesheet" />
6
+ <link href="css/jmx.css?v=3.3.3-TR1" rel="stylesheet" />
7
7
 
8
8
  <h1>
9
9
  {{title}}
@@ -1,4 +1,4 @@
1
- <link href="css/jmx.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/jmx.css?v=3.3.3-TR1" 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=3.3.2" rel="stylesheet">
2
- <link href="css/export.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/lib/angular-xeditable/xeditable.min.css?v=3.3.3-TR1" rel="stylesheet">
2
+ <link href="css/export.css?v=3.3.3-TR1" rel="stylesheet">
3
3
 
4
4
  <title>Namespaces</title>
5
5
 
@@ -1,4 +1,4 @@
1
- <link href="css/plugins.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/plugins.css?v=3.3.3-TR1" 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=3.3.2" rel="stylesheet"/>
2
- <link href="css/rdf-class-hierarchy-labels.css?v=3.3.2" rel="stylesheet"/>
3
- <link href="css/rdf-details-side-panel.css?v=3.3.2" rel="stylesheet"/>
4
- <link href="js/lib/rzslider/rzslider.min.css?v=3.3.2" rel="stylesheet"/>
5
- <link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=3.3.2" rel="stylesheet"/>
6
- <link href="js/lib/d3-tip/d3-tip.css?v=3.3.2" rel="stylesheet"/>
7
- <link href="css/lib/animate/3.2.0/animate.min.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/rdf-class-hierarchy.css?v=3.3.3-TR1" rel="stylesheet"/>
2
+ <link href="css/rdf-class-hierarchy-labels.css?v=3.3.3-TR1" rel="stylesheet"/>
3
+ <link href="css/rdf-details-side-panel.css?v=3.3.3-TR1" rel="stylesheet"/>
4
+ <link href="js/lib/rzslider/rzslider.min.css?v=3.3.3-TR1" rel="stylesheet"/>
5
+ <link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=3.3.3-TR1" rel="stylesheet"/>
6
+ <link href="js/lib/d3-tip/d3-tip.css?v=3.3.3-TR1" rel="stylesheet"/>
7
+ <link href="css/lib/animate/3.2.0/animate.min.css?v=3.3.3-TR1" rel="stylesheet"/>
8
8
 
9
9
  <title>Explore Data Graph</title>
10
10
 
@@ -1,5 +1,5 @@
1
- <link href="css/rdfrank.css?v=3.3.2" rel="stylesheet">
2
- <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/rdfrank.css?v=3.3.3-TR1" rel="stylesheet">
2
+ <link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.3.3-TR1" rel="stylesheet"/>
3
3
 
4
4
  <div id="rdfRank" class="page" data-test="rdf-rank-page">
5
5
  <h1>
@@ -1,4 +1,4 @@
1
- <link href="css/repositories.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/repositories.css?v=3.3.3-TR1" rel="stylesheet">
2
2
 
3
3
  <h1>
4
4
  {{title}}
@@ -1,4 +1,4 @@
1
- <link href="css/repositories.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/repositories.css?v=3.3.3-TR1" 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=3.3.2" rel='stylesheet' type='text/css'/>
1
+ <link href="css/similarity.css?v=3.3.3-TR1" 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=3.3.2" rel="stylesheet"/>
1
+ <link href="css/sparql-editor.css?v=3.3.3-TR1" rel="stylesheet"/>
2
2
 
3
3
  <div class="sparql-editor-view">
4
4
  <h1 id="title-container">
@@ -1,4 +1,4 @@
1
- <link href="css/sparql-templates.css?v=3.3.2" rel="stylesheet"/>
1
+ <link href="css/sparql-templates.css?v=3.3.3-TR1" rel="stylesheet"/>
2
2
 
3
3
  <div class="container-fluid fit-content-on-mobile" ng-if="!queryIsRunning">
4
4
  <h1>
@@ -1,4 +1,4 @@
1
- <link href="css/sparql-templates.css?v=3.3.2" rel="stylesheet">
1
+ <link href="css/sparql-templates.css?v=3.3.3-TR1" rel="stylesheet">
2
2
 
3
3
  <div class="container-fluid" data-test="sparql-templates-page">
4
4
  <h1>
@@ -1,7 +1,7 @@
1
1
  <link rel="stylesheet" type="text/css" href="css/ux-test1.css">
2
2
  <link rel="stylesheet" type="text/css" href="css/user.css">
3
3
  <link rel="stylesheet" type="text/css" href="css/rdf-details-side-panel.css">
4
- <link href="js/lib/rzslider/rzslider.min.css?v=3.3.2" rel="stylesheet"/>
4
+ <link href="js/lib/rzslider/rzslider.min.css?v=3.3.3-TR1" rel="stylesheet"/>
5
5
 
6
6
  <div class="content-wrapper">
7
7
  <div core-errors></div>
@@ -507,7 +507,7 @@
507
507
  {{'sample.query.used' | translate}}</p>
508
508
  </div>
509
509
  <div>
510
- <img src="css/images/expand.png?v=3.3.2" class="info-box-img" height="220"
510
+ <img src="css/images/expand.png?v=3.3.3-TR1" class="info-box-img" height="220"
511
511
  alt="expand image">
512
512
  </div>
513
513
  </div>
@@ -1,5 +1,5 @@
1
- <link href='css/lib/swagger-ui.min.css?v=3.3.2' rel='stylesheet' type='text/css'/>
2
- <link href='css/swagger.custom.css?v=3.3.2' rel='stylesheet' type='text/css'/>
1
+ <link href='css/lib/swagger-ui.min.css?v=3.3.3-TR1' rel='stylesheet' type='text/css'/>
2
+ <link href='css/swagger.custom.css?v=3.3.3-TR1' rel='stylesheet' type='text/css'/>
3
3
 
4
4
  <h1>
5
5
  {{title}}
@@ -9,4 +9,5 @@
9
9
  <iframe id="webapi_frame"
10
10
  title="{{'webapi.title' | translate}}"
11
11
  data-test="rest-api-content"
12
- src="res/swagger5/index.html" style="width: 100%; height: 90vh; border: none; background: var(--gw-body-background)"></iframe>
12
+ ng-src="{{webapiFrameSrc}}"
13
+ style="width: 100%; height: 90vh; border: none; background: var(--gw-body-background)"></iframe>
@@ -4,14 +4,14 @@
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=3.3.2" />
8
- <link rel="stylesheet" type="text/css" href="./index.css?v=3.3.2" />
9
- <link rel="icon" type="image/png" href="./favicon-32x32.png?v=3.3.2" sizes="32x32" />
10
- <link rel="icon" type="image/png" href="./favicon-16x16.png?v=3.3.2" sizes="16x16" />
11
- <link href='css/reset.css?v=3.3.2' media='screen' rel='stylesheet' type='text/css'/>
12
- <link href='css/screen.css?v=3.3.2' media='screen' rel='stylesheet' type='text/css'/>
13
- <link href='css/onto-theme.css?v=3.3.2' media='screen' rel='stylesheet' type='text/css'/>
14
- <link href='css/print.css?v=3.3.2' media='print' rel='stylesheet' type='text/css'/>
7
+ <link rel="stylesheet" type="text/css" href="./swagger-ui.css?v=3.3.3-TR1" />
8
+ <link rel="stylesheet" type="text/css" href="./index.css?v=3.3.3-TR1" />
9
+ <link rel="icon" type="image/png" href="./favicon-32x32.png?v=3.3.3-TR1" sizes="32x32" />
10
+ <link rel="icon" type="image/png" href="./favicon-16x16.png?v=3.3.3-TR1" sizes="16x16" />
11
+ <link href='css/reset.css?v=3.3.3-TR1' media='screen' rel='stylesheet' type='text/css'/>
12
+ <link href='css/screen.css?v=3.3.3-TR1' media='screen' rel='stylesheet' type='text/css'/>
13
+ <link href='css/onto-theme.css?v=3.3.3-TR1' media='screen' rel='stylesheet' type='text/css'/>
14
+ <link href='css/print.css?v=3.3.3-TR1' media='print' rel='stylesheet' type='text/css'/>
15
15
  </head>
16
16
 
17
17
  <body class="swagger-section">
@@ -20,8 +20,8 @@
20
20
  <br>
21
21
  <br>
22
22
  <div id="swagger-ui-container-rdf4j" class="swagger-ui-wrap"></div>
23
- <script src="./swagger-ui-bundle.js?v=3.3.2" charset="UTF-8"> </script>
24
- <script src="./swagger-ui-standalone-preset.js?v=3.3.2" charset="UTF-8"> </script>
25
- <script src="./swagger-initializer.js?v=3.3.2" charset="UTF-8"> </script>
23
+ <script src="./swagger-ui-bundle.js?v=3.3.3-TR1" charset="UTF-8"> </script>
24
+ <script src="./swagger-ui-standalone-preset.js?v=3.3.3-TR1" charset="UTF-8"> </script>
25
+ <script src="./swagger-initializer.js?v=3.3.3-TR1" charset="UTF-8"> </script>
26
26
  </body>
27
27
  </html>
@@ -1 +1 @@
1
- window.onload=function(){window.uiRdf4j=SwaggerUIBundle({url:"../../rest/api/rdf4j",name:"RDF4J API",dom_id:"#swagger-ui-container-rdf4j",validatorUrl:null,deepLinking:!0,docExpansion:"none",defaultModelRendering:"example",requestInterceptor:function(e){const n=window.localStorage.getItem("ontotext.gdb.auth.jwt");return null!==n&&(e.headers.Authorization=n),e},presets:[SwaggerUIBundle.presets.apis,SwaggerUIStandalonePreset],plugins:[SwaggerUIBundle.plugins.DownloadUrl],layout:"StandaloneLayout"}),window.uiWB=SwaggerUIBundle({url:"../../rest/api/workbench",name:"GraphDB API",dom_id:"#swagger-ui-container-graphdb",validatorUrl:null,deepLinking:!0,docExpansion:"none",defaultModelRendering:"example",requestInterceptor:function(e){const n=window.localStorage.getItem("ontotext.gdb.auth.jwt");return null!==n&&(e.headers.Authorization=n),e},presets:[SwaggerUIBundle.presets.apis,SwaggerUIStandalonePreset],plugins:[SwaggerUIBundle.plugins.DownloadUrl],layout:"StandaloneLayout"})};
1
+ window.onload=function(){const e=new URLSearchParams(window.location.search).get("basePath")||"",n=n=>{const a=window.localStorage.getItem("ontotext.gdb.auth.jwt");if(null!==a&&(n.headers.Authorization=a),e&&!n.url.includes(e)){const a=new URL(n.url);a.pathname=e+a.pathname,n.url=a.toString()}return n};window.uiRdf4j=SwaggerUIBundle({url:`${e}/rest/api/rdf4j`,name:"RDF4J API",dom_id:"#swagger-ui-container-rdf4j",validatorUrl:null,deepLinking:!0,docExpansion:"none",defaultModelRendering:"example",requestInterceptor:n,presets:[SwaggerUIBundle.presets.apis,SwaggerUIStandalonePreset],plugins:[SwaggerUIBundle.plugins.DownloadUrl],layout:"StandaloneLayout"}),window.uiWB=SwaggerUIBundle({url:`${e}/rest/api/workbench`,name:"GraphDB API",dom_id:"#swagger-ui-container-graphdb",validatorUrl:null,deepLinking:!0,docExpansion:"none",defaultModelRendering:"example",requestInterceptor:n,presets:[SwaggerUIBundle.presets.apis,SwaggerUIStandalonePreset],plugins:[SwaggerUIBundle.plugins.DownloadUrl],layout:"StandaloneLayout"})};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphdb-workbench",
3
- "version": "3.3.2",
3
+ "version": "3.3.3-TR1",
4
4
  "description": "The web application for GraphDB APIs",
5
5
  "engines": {
6
6
  "node": ">=22.17"
@@ -1 +0,0 @@
1
- {"version":3,"file":"13231.d7107e7549453805e13a.bundle.js","mappings":"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","sources":["webpack://root-config/./packages/legacy-workbench/src/js/angular/security/controllers/user-settings.controller.js","webpack://root-config/./packages/legacy-workbench/src/js/angular/security/services/constants.js"],"sourcesContent":["import 'angular/core/services/security.service';\nimport {GRAPHQL, READ_REPO, WRITE_REPO} from '../services/constants';\nimport {UserType} from 'angular/utils/user-utils';\nimport {\n navigate,\n ThemeService,\n ApplicationSettingsStorageService,\n NavigationContextService,\n SecurityService,\n AuthenticationService,\n SecurityContextService,\n LicenseService,\n service,\n User,\n} from '@ontotext/workbench-api';\n\nangular\n .module('graphdb.framework.security.controllers.user-settings', [\n 'graphdb.framework.core.services.security-service',\n ])\n .controller('UserSettingsController', UserSettingsController);\n\nUserSettingsController.$inject = [\n '$scope',\n 'toastr',\n '$window',\n '$timeout',\n '$jwtAuth',\n '$rootScope',\n '$controller',\n 'ModalService',\n '$translate',\n '$q',\n '$uibModal',\n 'TrackingService',\n];\n\nfunction UserSettingsController($scope, toastr, $window, $timeout, $jwtAuth, $rootScope, $controller, ModalService, $translate, $q, $uibModal, TrackingService) {\n angular.extend(this, $controller('CommonUserCtrl', {$scope: $scope, passwordPlaceholder: 'security.new.password'}));\n\n // =========================\n // Private variables\n // =========================\n const securityService = service(SecurityService);\n const authenticationService = service(AuthenticationService);\n const securityContextService = service(SecurityContextService);\n const licenseService = service(LicenseService);\n\n const applicationSettingsStorageService = service(ApplicationSettingsStorageService);\n const navigationContextService = service(NavigationContextService);\n const themeService = service(ThemeService);\n\n /**\n * A timer task that will redirect back to the previous page after the user has been updated.\n * @type {Promise}\n */\n let waitBeforeRedirectBack;\n\n // =========================\n // Public variables\n // =========================\n\n $scope.mode = 'settings';\n $scope.showWorkbenchSettings = true;\n /**\n * @type {ApplicationSettings}\n */\n $scope.workbenchSettings = applicationSettingsStorageService.getApplicationSettings();\n $scope.selectedThemeMode = $scope.workbenchSettings.themeMode;\n $scope.saveButtonText = $translate.instant('common.save.btn');\n $scope.pageTitle = $translate.instant('view.settings.title');\n $scope.passwordPlaceholder = $translate.instant('security.new.password');\n $scope.grantedAuthorities = {\n [READ_REPO]: {},\n [WRITE_REPO]: {},\n [GRAPHQL]: {},\n };\n $scope.loader = false;\n /**\n * Allows to reset the password when updating the user.\n * @type {boolean}\n */\n $scope.noPassword = false;\n /**\n * If the button that opens the cookie policy modal should be visible or not.\n * @type {boolean}\n */\n $scope.showCookiePolicyLink = false;\n /**\n * Flag that controls the visibility of the cookie policy modal.\n * @type {boolean}\n */\n $scope.showCookieConsentModal = false;\n\n // =========================\n // Public functions\n // =========================\n\n $scope.hasEditRestrictions = function() {\n return true;\n };\n\n $scope.isUser = function() {\n return $scope.userType === UserType.USER;\n };\n\n $scope.goBack = function() {\n const previousRoute = navigationContextService.getPreviousRoute();\n navigate(previousRoute ?? './');\n };\n\n $scope.updateCurrentUserData = function() {\n authenticationService.getCurrentUser()\n .then((authenticatedUser) => securityContextService.updateAuthenticatedUser(authenticatedUser));\n };\n\n $scope.redirectAdmin = function() {\n if (!$scope.currentUserData) {\n $rootScope.redirectToLogin();\n }\n };\n\n $scope.submit = function() {\n if ($scope.noPassword && $scope.userType === UserType.ADMIN) {\n ModalService.openSimpleModal({\n title: $translate.instant('security.save.admin.settings'),\n message: $translate.instant('security.admin.pass.unset'),\n warning: true,\n }).result.then(function() {\n $scope.updateUser();\n });\n } else {\n $scope.updateUser();\n }\n };\n\n $scope.updateUserHttp = function() {\n $scope.loader = true;\n const user = new User({\n username: $scope.user.username,\n password: $scope.noPassword ? '' : $scope.user.password || undefined,\n appSettings: $scope.user.appSettings,\n });\n securityService.updateAuthenticatedUser(user)\n .then(() => {\n toastr.success($translate.instant('security.user.updated', {name: $scope.user.username}));\n $scope.updateCurrentUserData();\n themeService.setThemeMode($scope.selectedThemeMode);\n applicationSettingsStorageService.setApplicationSettings($scope.workbenchSettings);\n goBackToPreviousView();\n }).catch((data) => {\n const msg = getError(data);\n toastr.error(msg, $translate.instant('common.error'));\n })\n .finally(() => {\n $scope.loader = false;\n });\n };\n\n $scope.updateUser = function() {\n if (!$scope.validateForm()) {\n return false;\n }\n $scope.updateUserHttp();\n };\n\n $scope.validateForm = function() {\n return $scope.validatePassword();\n };\n\n $scope.setThemeMode = function() {\n $scope.selectedThemeMode = $scope.workbenchSettings.themeMode;\n };\n\n /**\n * Handler for the cookie policy modal close event, sets the flag to hide the modal.\n */\n $scope.onDialogClose = () => {\n $scope.showCookieConsentModal = false;\n };\n\n /**\n * Handler for the cookie policy link click event, sets the flag to show the modal.\n * @param $event\n */\n $scope.showCookiePolicy = ($event) => {\n // The button that triggers this handler is inside a form which has a submit property,\n // and we need to prevent that because it leads to a redirect to the home page.\n $event.preventDefault();\n $scope.showCookieConsentModal = true;\n };\n\n // =========================\n // Private functions\n // =========================\n\n const showCookiePolicyLink = () => {\n licenseService.updateLicenseStatus().then(() => {\n $scope.showCookiePolicyLink = TrackingService.isTrackingAllowed();\n });\n };\n\n const goBackToPreviousView = () => {\n waitBeforeRedirectBack = $timeout(function() {\n $scope.loader = false;\n $window.history.back();\n }, 2000);\n };\n\n const initUserData = function() {\n // Copy needed so that Cancel would work correctly, need to call updateCurrentUserData on OK\n $scope.user = {username: $scope.currentUserData.username};\n $scope.user.password = '';\n $scope.user.confirmpassword = '';\n $scope.user.external = $scope.currentUserData.external;\n $scope.user.appSettings = $scope.currentUserData.appSettings;\n // For backward compatibility\n if ($scope.user.appSettings['DEFAULT_VIS_GRAPH_SCHEMA'] === undefined) {\n $scope.user.appSettings['DEFAULT_VIS_GRAPH_SCHEMA'] = true;\n }\n $scope.userType = $scope.currentUserData.getUserType();\n $scope.grantedAuthorities = $scope.currentUserData.authorities.toUIModel();\n $scope.customRoles = $scope.currentUserData.authorities.getCustomRoles();\n };\n\n const processUser = () => {\n const principal = securityContextService.getAuthenticatedUser();\n $scope.currentUserData = principal.toUser();\n $scope.redirectAdmin();\n initUserData();\n };\n\n // =========================\n // Subscriptions\n // =========================\n\n $scope.$on('$destroy', function() {\n $timeout.cancel(waitBeforeRedirectBack);\n });\n\n // =========================\n // Initialization\n // =========================\n\n const initView = () => {\n processUser();\n $scope.setThemeMode();\n showCookiePolicyLink();\n };\n\n initView();\n}\n","export const SYSTEM_REPO = 'SYSTEM';\nexport const READ_REPO = 'READ_REPO';\nexport const READ_REPO_PREFIX = 'READ_REPO_';\nexport const WRITE_REPO = 'WRITE_REPO';\nexport const GRAPHQL = 'GRAPHQL';\nexport const WRITE_REPO_PREFIX = 'WRITE_REPO_';\nexport const GRAPHQL_PREFIX = 'GRAPHQL_';\nexport const GRAPHQL_SUFFIX = 'GRAPHQL';\nexport const SUFFIX_DELIMITER = ':';\nexport const GRAPHQL_SUFFIX_WITH_DELIMITER = SUFFIX_DELIMITER + GRAPHQL_SUFFIX;\nexport const CUSTOM_PREFIX = 'CUSTOM_'\n"],"names":["UserSettingsController","$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","ModalService","$translate","$q","$uibModal","TrackingService","angular","extend","this","passwordPlaceholder","securityService","service","SecurityService","authenticationService","AuthenticationService","securityContextService","SecurityContextService","licenseService","LicenseService","applicationSettingsStorageService","ApplicationSettingsStorageService","navigationContextService","NavigationContextService","themeService","ThemeService","waitBeforeRedirectBack","mode","showWorkbenchSettings","workbenchSettings","getApplicationSettings","selectedThemeMode","themeMode","saveButtonText","instant","pageTitle","grantedAuthorities","READ_REPO","WRITE_REPO","GRAPHQL","loader","noPassword","showCookiePolicyLink","showCookieConsentModal","hasEditRestrictions","isUser","userType","UserType","USER","goBack","previousRoute","getPreviousRoute","navigate","updateCurrentUserData","getCurrentUser","then","authenticatedUser","updateAuthenticatedUser","redirectAdmin","currentUserData","redirectToLogin","submit","ADMIN","openSimpleModal","title","message","warning","result","updateUser","updateUserHttp","user","User","username","password","undefined","appSettings","success","name","setThemeMode","setApplicationSettings","goBackToPreviousView","catch","data","msg","getError","error","finally","validateForm","validatePassword","onDialogClose","showCookiePolicy","$event","preventDefault","history","back","$on","cancel","processUser","principal","getAuthenticatedUser","toUser","confirmpassword","external","getUserType","authorities","toUIModel","customRoles","getCustomRoles","updateLicenseStatus","isTrackingAllowed","module","controller","$inject","SYSTEM_REPO","READ_REPO_PREFIX","WRITE_REPO_PREFIX","GRAPHQL_PREFIX"],"ignoreList":[],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- export const __webpack_esm_id__=21015;export const __webpack_esm_ids__=[21015];export const __webpack_esm_modules__={13231(e,t,n){n(2243);var r=n(33760),i=n(92900),a=n(57154);function o(e,t,n,o,s,u,c,l,g,d,p,f){angular.extend(this,c("CommonUserCtrl",{$scope:e,passwordPlaceholder:"security.new.password"}));const m=(0,a.service)(a.SecurityService),h=(0,a.service)(a.AuthenticationService),v=(0,a.service)(a.SecurityContextService),T=(0,a.service)(a.LicenseService),y=(0,a.service)(a.ApplicationSettingsStorageService),$=(0,a.service)(a.NavigationContextService),w=(0,a.service)(a.ThemeService);let S;e.mode="settings",e.showWorkbenchSettings=!0,e.workbenchSettings=y.getApplicationSettings(),e.selectedThemeMode=e.workbenchSettings.themeMode,e.saveButtonText=g.instant("common.save.btn"),e.pageTitle=g.instant("view.settings.title"),e.passwordPlaceholder=g.instant("security.new.password"),e.grantedAuthorities={[r.aj]:{},[r.DX]:{},[r.w0]:{}},e.loader=!1,e.noPassword=!1,e.showCookiePolicyLink=!1,e.showCookieConsentModal=!1,e.hasEditRestrictions=function(){return!0},e.isUser=function(){return e.userType===i.ut.USER},e.goBack=function(){const e=$.getPreviousRoute();(0,a.navigate)(e??"./")},e.updateCurrentUserData=function(){h.getCurrentUser().then(e=>v.updateAuthenticatedUser(e))},e.redirectAdmin=function(){e.currentUserData||u.redirectToLogin()},e.submit=function(){e.noPassword&&e.userType===i.ut.ADMIN?l.openSimpleModal({title:g.instant("security.save.admin.settings"),message:g.instant("security.admin.pass.unset"),warning:!0}).result.then(function(){e.updateUser()}):e.updateUser()},e.updateUserHttp=function(){e.loader=!0;const n=new a.User({username:e.user.username,password:e.noPassword?"":e.user.password||void 0,appSettings:e.user.appSettings});m.updateAuthenticatedUser(n).then(()=>{t.success(g.instant("security.user.updated",{name:e.user.username})),e.updateCurrentUserData(),w.setThemeMode(e.selectedThemeMode),y.setApplicationSettings(e.workbenchSettings),x()}).catch(e=>{const n=getError(e);t.error(n,g.instant("common.error"))}).finally(()=>{e.loader=!1})},e.updateUser=function(){if(!e.validateForm())return!1;e.updateUserHttp()},e.validateForm=function(){return e.validatePassword()},e.setThemeMode=function(){e.selectedThemeMode=e.workbenchSettings.themeMode},e.onDialogClose=()=>{e.showCookieConsentModal=!1},e.showCookiePolicy=t=>{t.preventDefault(),e.showCookieConsentModal=!0};const x=()=>{S=o(function(){e.loader=!1,n.history.back()},2e3)};e.$on("$destroy",function(){o.cancel(S)}),(()=>{const t=v.getAuthenticatedUser();e.currentUserData=t.toUser(),e.redirectAdmin(),e.user={username:e.currentUserData.username},e.user.password="",e.user.confirmpassword="",e.user.external=e.currentUserData.external,e.user.appSettings=e.currentUserData.appSettings,void 0===e.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA&&(e.user.appSettings.DEFAULT_VIS_GRAPH_SCHEMA=!0),e.userType=e.currentUserData.getUserType(),e.grantedAuthorities=e.currentUserData.authorities.toUIModel(),e.customRoles=e.currentUserData.authorities.getCustomRoles()})(),e.setThemeMode(),T.updateLicenseStatus().then(()=>{e.showCookiePolicyLink=f.isTrackingAllowed()})}angular.module("graphdb.framework.security.controllers.user-settings",["graphdb.framework.core.services.security-service"]).controller("UserSettingsController",o),o.$inject=["$scope","toastr","$window","$timeout","$jwtAuth","$rootScope","$controller","ModalService","$translate","$q","$uibModal","TrackingService"]},21015(e,t,n){n(82493),n(5687),n(94229),n(13231),n(98599),n(44645),angular.module("graphdb.framework.security",["toastr","ui.bootstrap","ngRoute","graphdb.framework.security.controllers","graphdb.framework.security.controllers.user-settings","graphdb.framework.core.interceptors.unauthorized","graphdb.framework.core.interceptors.authentication","graphdb.framework.core.services.jwtauth","graphdb.framework.security.directives"])},44645(){var e,t,n;e=9007199254740991,t=["text","email","url"],(n=angular.module("ngTagsInput",[])).directive("tagsInput",["$timeout","$document","$window","$q","tagsInputConfig","tiUtil",function(n,r,i,a,o,s){function u(e,t,n,r){var i,o,u,c,l={};return i=function(t){return s.safeToString(t[e.displayProperty])},o=function(t,n){t[e.displayProperty]=n},u=function(t){var r=i(t),o=r&&r.length>=e.minLength&&r.length<=e.maxLength&&e.allowedTagsPattern.test(r)&&!s.findInObjectArray(l.items,t,e.keyProperty||e.displayProperty);return a.when(o&&n({$tag:t})).then(s.promisifyValue)},c=function(e){return a.when(r({$tag:e})).then(s.promisifyValue)},l.items=[],l.addText=function(e){var t={};return o(t,e),l.add(t)},l.add=function(n){var r=i(n);return e.replaceSpacesWithDashes&&(r=s.replaceSpacesWithDashes(r)),o(n,r),u(n).then(function(){l.items.push(n),t.trigger("tag-added",{$tag:n})}).catch(function(){r&&t.trigger("invalid-tag",{$tag:n})})},l.remove=function(e){var n=l.items[e];return c(n).then(function(){return l.items.splice(e,1),l.clearSelection(),t.trigger("tag-removed",{$tag:n}),n})},l.select=function(e){0>e?e=l.items.length-1:e>=l.items.length&&(e=0),l.index=e,l.selected=l.items[e]},l.selectPrior=function(){l.select(--l.index)},l.selectNext=function(){l.select(++l.index)},l.removeSelected=function(){return l.remove(l.index)},l.clearSelection=function(){l.selected=null,l.index=-1},l.getItems=function(){return e.useStrings?l.items.map(i):l.items},l.clearSelection(),l}function c(e){return-1!==t.indexOf(e)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",text:"=?",templateScope:"=?",tagClass:"&",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&",onTagClicked:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function(t,n,r){t.events=s.simplePubSub(),o.load("tagsInput",t,n,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",c],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,e],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,e],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0],useStrings:[Boolean,!1]}),t.tagList=new u(t.options,t.events,s.handleUndefinedResult(t.onTagAdding,!0),s.handleUndefinedResult(t.onTagRemoving,!0)),this.registerAutocomplete=function(){return r.find("input"),{addTag:function(e){return t.tagList.add(e)},getTags:function(){return t.tagList.items},getCurrentTagText:function(){return t.newTag.text()},getOptions:function(){return t.options},getTemplateScope:function(){return t.templateScope},on:function(e,n){return t.events.on(e,n,!0),this}}},this.registerTagItem=function(){return{getOptions:function(){return t.options},removeTag:function(e){t.disabled||t.tagList.remove(e)}}}}],link:function(e,t,a,o){var u,c,l=[13,188,32,8,46,37,39],g=e.tagList,d=e.events,p=e.options,f=t.find("input"),m=["minTags","maxTags","allowLeftoverText"];u=function(){o.$setValidity("maxTags",g.items.length<=p.maxTags),o.$setValidity("minTags",g.items.length>=p.minTags),o.$setValidity("leftoverText",!(!e.hasFocus&&!p.allowLeftoverText&&e.newTag.text()))},c=function(){n(function(){f[0].focus()})},o.$isEmpty=function(e){return!e||!e.length},e.newTag={text:function(t){return angular.isDefined(t)?(e.text=t,void d.trigger("input-change",t)):e.text||""},invalid:null},e.track=function(e){return e[p.keyProperty||p.displayProperty]},e.getTagClass=function(t,n){var r=t===g.selected;return[e.tagClass({$tag:t,$index:n,$selected:r}),{selected:r}]},e.$watch("tags",function(t){if(t){if(g.items=s.makeObjectArray(t,p.displayProperty),p.useStrings)return;e.tags=g.items}else g.items=[]}),e.$watch("tags.length",function(){u(),o.$validate()}),a.$observe("disabled",function(t){e.disabled=t}),e.eventHandlers={input:{keydown:function(e){d.trigger("input-keydown",e)},focus:function(){e.hasFocus||(e.hasFocus=!0,d.trigger("input-focus"))},blur:function(){n(function(){var n=r.prop("activeElement"),i=n===f[0],a=t[0].contains(n);(i||!a)&&(e.hasFocus=!1,d.trigger("input-blur"))})},paste:function(e){e.getTextData=function(){var t=e.clipboardData||e.originalEvent&&e.originalEvent.clipboardData;return t?t.getData("text/plain"):i.clipboardData.getData("Text")},d.trigger("input-paste",e)}},host:{click:function(){e.disabled||c()}},tag:{click:function(e){d.trigger("tag-clicked",{$tag:e})}}},d.on("tag-added",e.onTagAdded).on("invalid-tag",e.onInvalidTag).on("tag-removed",e.onTagRemoved).on("tag-clicked",e.onTagClicked).on("tag-added",function(){e.newTag.text("")}).on("tag-added tag-removed",function(){e.tags=g.getItems(),o.$setDirty(),c()}).on("invalid-tag",function(){e.newTag.invalid=!0}).on("option-change",function(e){-1!==m.indexOf(e.name)&&u()}).on("input-change",function(){g.clearSelection(),e.newTag.invalid=null}).on("input-focus",function(){t.triggerHandler("focus"),o.$setValidity("leftoverText",!0)}).on("input-blur",function(){p.addOnBlur&&!p.addFromAutocompleteOnly&&g.addText(e.newTag.text()),t.triggerHandler("blur"),u()}).on("input-keydown",function(t){var n,r,i,a,o=t.keyCode,u={};s.isModifierOn(t)||-1===l.indexOf(o)||(u[13]=p.addOnEnter,u[188]=p.addOnComma,u[32]=p.addOnSpace,n=!p.addFromAutocompleteOnly&&u[o],r=(8===o||46===o)&&g.selected,a=8===o&&0===e.newTag.text().length&&p.enableEditingLastTag,i=(8===o||37===o||39===o)&&0===e.newTag.text().length&&!p.enableEditingLastTag,n?g.addText(e.newTag.text()):a?(g.selectPrior(),g.removeSelected().then(function(t){t&&e.newTag.text(t[p.displayProperty])})):r?g.removeSelected():i&&(37===o||8===o?g.selectPrior():39===o&&g.selectNext()),(n||i||r||a)&&t.preventDefault())}).on("input-paste",function(e){if(p.addOnPaste){var t=e.getTextData().split(p.pasteSplitPattern);t.length>1&&(t.forEach(function(e){g.addText(e)}),e.preventDefault())}})}}}]),n.directive("tiTagItem",["tiUtil",function(e){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(t,n,r,i){var a=i.registerTagItem(),o=a.getOptions();t.$$template=o.template,t.$$removeTagSymbol=o.removeTagSymbol,t.$getDisplayText=function(){return e.safeToString(t.data[o.displayProperty])},t.$removeTag=function(){a.removeTag(t.$index)},t.$watch("$parent.$index",function(e){t.$index=e})}}}]),n.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function(e,t,n,r,i,a){function o(e,t,n){var i,o,s,u={};return s=function(){return t.tagsInput.keyProperty||t.tagsInput.displayProperty},i=function(e,n){return e.filter(function(e){return!a.findInObjectArray(n,e,s(),function(e,n){return t.tagsInput.replaceSpacesWithDashes&&(e=a.replaceSpacesWithDashes(e),n=a.replaceSpacesWithDashes(n)),a.defaultComparer(e,n)})})},u.reset=function(){o=null,u.items=[],u.visible=!1,u.index=-1,u.selected=null,u.query=null},u.show=function(){t.selectFirstMatch?u.select(0):u.selected=null,u.visible=!0},u.load=a.debounce(function(n,c){u.query=n;var l=r.when(e({$query:n}));o=l,l.then(function(e){l===o&&(e=a.makeObjectArray(e.data||e,s()),e=i(e,c),u.items=e.slice(0,t.maxResultsToShow),u.items.length>0?u.show():u.reset())})},t.debounceDelay),u.selectNext=function(){u.select(++u.index)},u.selectPrior=function(){u.select(--u.index)},u.select=function(e){0>e?e=u.items.length-1:e>=u.items.length&&(e=0),u.index=e,u.selected=u.items[e],n.trigger("suggestion-selected",e)},u.reset(),u}return{restrict:"E",require:"^tagsInput",scope:{source:"&",matchClass:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function(e,t,n){e.events=a.simplePubSub(),i.load("autoComplete",e,n,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),e.suggestionList=new o(e.source,e.options,e.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return e.options},getQuery:function(){return e.suggestionList.query}}}}],link:function(e,t,n,r){var i,o=[13,9,27,38,40],s=e.suggestionList,u=r.registerAutocomplete(),c=e.options,l=e.events;c.tagsInput=u.getOptions(),i=function(e){return e&&e.length>=c.minLength||!e&&c.loadOnEmpty},e.templateScope=u.getTemplateScope(),e.addSuggestionByIndex=function(t){s.select(t),e.addSuggestion()},e.addSuggestion=function(){var e=!1;return s.selected&&(u.addTag(angular.copy(s.selected)),s.reset(),e=!0),e},e.track=function(e){return e[c.tagsInput.keyProperty||c.tagsInput.displayProperty]},e.getSuggestionClass=function(t,n){var r=t===s.selected;return[e.matchClass({$match:t,$index:n,$selected:r}),{selected:r}]},u.on("tag-added tag-removed invalid-tag input-blur",function(){s.reset()}).on("input-change",function(e){i(e)?s.load(e,u.getTags()):s.reset()}).on("input-focus",function(){var e=u.getCurrentTagText();c.loadOnFocus&&i(e)&&s.load(e,u.getTags())}).on("input-keydown",function(t){var n=t.keyCode,r=!1;if(!a.isModifierOn(t)&&-1!==o.indexOf(n))return s.visible?40===n?(s.selectNext(),r=!0):38===n?(s.selectPrior(),r=!0):27===n?(s.reset(),r=!0):(13===n||9===n)&&(r=e.addSuggestion()):40===n&&e.options.loadOnDownArrow&&(s.load(u.getCurrentTagText(),u.getTags()),r=!0),r?(t.preventDefault(),t.stopImmediatePropagation(),!1):void 0}),l.on("suggestion-selected",function(e){!function(e,t){var n=e.find("li").eq(t),r=n.parent(),i=n.prop("offsetTop"),a=n.prop("offsetHeight"),o=r.prop("clientHeight"),s=r.prop("scrollTop");s>i?r.prop("scrollTop",i):i+a>o+s&&r.prop("scrollTop",i+a-o)}(t,e)})}}}]),n.directive("tiAutocompleteMatch",["$sce","tiUtil",function(e,t){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{$scope:"=scope",data:"="},link:function(n,r,i,a){var o=a.registerAutocompleteMatch(),s=o.getOptions();n.$$template=s.template,n.$index=n.$parent.$index,n.$highlight=function(n){return s.highlightMatchedText&&(n=t.safeHighlight(n,o.getQuery())),e.trustAsHtml(n)},n.$getDisplayText=function(){return t.safeToString(n.data[s.displayProperty||s.tagsInput.displayProperty])}}}}]),n.directive("tiTranscludeAppend",function(){return function(e,t,n,r,i){i(function(e){t.append(e)})}}),n.directive("tiAutosize",["tagsInputConfig",function(e){return{restrict:"A",require:"ngModel",link:function(t,n,r,i){var a,o,s=e.getTextAutosizeThreshold();(a=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),n.parent().append(a),o=function(e){var t,i=e;return angular.isString(i)&&0===i.length&&(i=r.placeholder),i&&(a.text(i),a.css("display",""),t=a.prop("offsetWidth"),a.css("display","none")),n.css("width",t?t+s+"px":""),e},i.$parsers.unshift(o),i.$formatters.unshift(o),r.$observe("placeholder",function(e){i.$modelValue||o(e)})}}}]),n.directive("tiBindAttrs",function(){return function(e,t,n){e.$watch(n.tiBindAttrs,function(e){angular.forEach(e,function(e,t){n.$set(t,e)})},!0)}}),n.provider("tagsInputConfig",function(){var e={},t={},n=3;this.setDefaults=function(t,n){return e[t]=n,this},this.setActiveInterpolation=function(e,n){return t[e]=n,this},this.setTextAutosizeThreshold=function(e){return n=e,this},this.$get=["$interpolate",function(r){var i={};return i[String]=function(e){return e},i[Number]=function(e){return parseInt(e,10)},i[Boolean]=function(e){return"true"===e.toLowerCase()},i[RegExp]=function(e){return new RegExp(e)},{load:function(n,a,o,s){var u=function(){return!0};a.options={},angular.forEach(s,function(s,c){var l,g,d,p,f,m;l=s[0],g=s[1],d=s[2]||u,p=i[l],f=function(){var t=e[n]&&e[n][c];return angular.isDefined(t)?t:g},m=function(e){a.options[c]=e&&d(e)?p(e):f()},t[n]&&t[n][c]?o.$observe(c,function(e){m(e),a.events.trigger("option-change",{name:c,newValue:e})}):m(o[c]&&r(o[c])(a.$parent))})},getTextAutosizeThreshold:function(){return n}}}]}),n.factory("tiUtil",["$timeout","$q",function(e,t){var n={debounce:function(t,n){var r;return function(){var i=arguments;e.cancel(r),r=e(function(){t.apply(null,i)},n)}},makeObjectArray:function(e,t){if(!angular.isArray(e)||0===e.length||angular.isObject(e[0]))return e;var n=[];return e.forEach(function(e){var r={};r[t]=e,n.push(r)}),n},findInObjectArray:function(e,t,r,i){var a=null;return i=i||n.defaultComparer,e.some(function(e){return i(e[r],t[r])?(a=e,!0):void 0}),a},defaultComparer:function(e,t){return n.safeToString(e).toLowerCase()===n.safeToString(t).toLowerCase()},safeHighlight:function(e,t){if(e=n.encodeHTML(e),!(t=n.encodeHTML(t)))return e;var r=new RegExp("&[^;]+;|"+function(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(t),"gi");return e.replace(r,function(e){return e.toLowerCase()===t.toLowerCase()?"<em>"+e+"</em>":e})},safeToString:function(e){return angular.isUndefined(e)||null==e?"":e.toString().trim()},encodeHTML:function(e){return n.safeToString(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},handleUndefinedResult:function(e,t){return function(){var n=e.apply(null,arguments);return angular.isUndefined(n)?t:n}},replaceSpacesWithDashes:function(e){return n.safeToString(e).replace(/\s/g,"-")},isModifierOn:function(e){return e.shiftKey||e.ctrlKey||e.altKey||e.metaKey},promisifyValue:function(e){return e=!!angular.isUndefined(e)||e,t[e?"when":"reject"]()},simplePubSub:function(){var e={};return{on:function(t,n,r){return t.split(" ").forEach(function(t){e[t]||(e[t]=[]),(r?[].unshift:[].push).call(e[t],n)}),this},trigger:function(t,r){return(e[t]||[]).every(function(e){return n.handleUndefinedResult(e,!0)(r)}),this}}}};return n}]),n.run(["$templateCache",function(e){e.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" ng-click="eventHandlers.host.click()" ti-transclude-append><div class="tags" ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" ng-repeat="tag in tagList.items track by track(tag)" ng-class="getTagClass(tag, $index)" ng-click="eventHandlers.tag.click(tag)"><ti-tag-item scope="templateScope" data="::tag"></ti-tag-item></li></ul><input class="input" autocomplete="off" ng-model="newTag.text" ng-model-options="{getterSetter: true}" ng-keydown="eventHandlers.input.keydown($event)" ng-focus="eventHandlers.input.focus($event)" ng-blur="eventHandlers.input.blur($event)" ng-paste="eventHandlers.input.paste($event)" ng-trim="false" ng-class="{\'invalid-tag\': newTag.invalid}" ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize></div></div>'),e.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="remove-button" ng-click="$removeTag()" ng-bind="::$$removeTagSymbol"></a>'),e.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" ng-if="suggestionList.visible"><ul class="suggestion-list"><li class="suggestion-item" ng-repeat="item in suggestionList.items track by track(item)" ng-class="getSuggestionClass(item, $index)" ng-click="addSuggestionByIndex($index)" ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match scope="templateScope" data="::item"></ti-autocomplete-match></li></ul></div>'),e.put("ngTagsInput/auto-complete-match.html",'<span ng-bind-html="$highlight($getDisplayText())"></span>')}])}};
2
- //# sourceMappingURL=21015.ea34b563b4149ad0975e.bundle.js.map