graphdb-workbench 3.4.0-RC1 → 3.4.0-RC3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/43239.b25bff32bd3042d6e4d5.bundle.js +2 -0
- package/dist/43239.b25bff32bd3042d6e4d5.bundle.js.map +1 -0
- package/dist/{64709.8737bed2e0ae2fd242ad.bundle.js → 64709.5da9892398a666ebeef4.bundle.js} +2 -2
- package/dist/{64709.8737bed2e0ae2fd242ad.bundle.js.map → 64709.5da9892398a666ebeef4.bundle.js.map} +1 -1
- package/dist/{65677.0dd257bfe7cba81f05ae.bundle.js → 65677.226342f9f9873c738f95.bundle.js} +2 -2
- package/dist/{65677.0dd257bfe7cba81f05ae.bundle.js.map → 65677.226342f9f9873c738f95.bundle.js.map} +1 -1
- package/dist/{80933.8f219e360fc769d8f417.bundle.js → 80933.a136f3f8519df7c368be.bundle.js} +2 -2
- package/dist/{80933.8f219e360fc769d8f417.bundle.js.map → 80933.a136f3f8519df7c368be.bundle.js.map} +1 -1
- package/dist/{82917.cdf99b39340c71f2e7ec.bundle.js → 82917.5cfcc35f7ddb50d29064.bundle.js} +2 -2
- package/dist/{82917.cdf99b39340c71f2e7ec.bundle.js.map → 82917.5cfcc35f7ddb50d29064.bundle.js.map} +1 -1
- package/dist/{86099.59b1698c309dabf9752c.bundle.js → 86099.899557f3b2424ed12d7f.bundle.js} +2 -2
- package/dist/{86099.59b1698c309dabf9752c.bundle.js.map → 86099.899557f3b2424ed12d7f.bundle.js.map} +1 -1
- package/dist/index.html +9 -9
- package/dist/js/angular/clustermanagement/templates/cluster-nodes-configuration.html +1 -1
- package/dist/js/angular/core/directives/autocomplete/templates/autocomplete.html +1 -1
- package/dist/js/angular/core/directives/dynamic-form/templates/dynamic-form.html +1 -1
- package/dist/js/angular/core/directives/operations-statuses-monitor/templates/operations-statuses-monitor.html +1 -1
- package/dist/js/angular/core/directives/rdfresourcesearch/templates/rdfResourceSearchTemplate.html +1 -1
- package/dist/js/angular/core/directives/shuttle-multiselect/templates/shuttle-multiselect.html +1 -1
- package/dist/js/angular/core/directives/yasgui-component/templates/yasgui-component.html +2 -2
- package/dist/js/angular/core/templates/cookie-policy/cookie-consent.html +1 -1
- package/dist/js/angular/core/templates/cookie-policy/cookie-policy.html +1 -1
- package/dist/js/angular/core/templates/editable-content/editable-content.html +1 -1
- package/dist/js/angular/core/templates/markdown-content/markdown-content.html +1 -1
- package/dist/js/angular/core/templates/search-resource-input.html +1 -1
- package/dist/js/angular/graphql/templates/create-graphql-endpoint.html +2 -2
- package/dist/js/angular/graphql/templates/graphql-endpoint-management.html +1 -1
- package/dist/js/angular/graphql/templates/graphql-playground.html +2 -2
- package/dist/js/angular/graphql/templates/modal/endpoint-configuration-modal.html +1 -1
- package/dist/js/angular/graphql/templates/modal/endpoint-generation-failure-result-modal.html +1 -1
- package/dist/js/angular/graphql/templates/modal/import-endpoint-definition-modal.html +1 -1
- package/dist/js/angular/security/templates/user.html +2 -2
- package/dist/js/angular/ttyg/templates/agent-list.html +1 -1
- package/dist/js/angular/ttyg/templates/agent-select-menu.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-item-detail.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-list.html +1 -1
- package/dist/js/angular/ttyg/templates/chat-panel.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-instructions-explain-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/modal/agent-settings-modal.html +3 -3
- package/dist/js/angular/ttyg/templates/modal/external-integration-configuration-modal.html +1 -1
- package/dist/js/angular/ttyg/templates/no-agents-view.html +1 -1
- package/dist/js/angular/ttyg/templates/ttyg.html +1 -1
- package/dist/{legacyWorkbench.406725e9d0dcd5dc81f6.js → legacyWorkbench.e5c65a0693d335a3dae5.js} +3 -3
- package/dist/{legacyWorkbench.406725e9d0dcd5dc81f6.js.map → legacyWorkbench.e5c65a0693d335a3dae5.js.map} +1 -1
- package/dist/{main.ccfe80d73eef58ba6ed7.js → main.3a95f9ea38e16f022c72.js} +3 -3
- package/dist/{main.ccfe80d73eef58ba6ed7.js.map → main.3a95f9ea38e16f022c72.js.map} +1 -1
- package/dist/pages/aclmanagement.html +1 -1
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +1 -1
- package/dist/pages/explore.html +1 -1
- package/dist/pages/export.html +1 -1
- package/dist/pages/find.html +1 -1
- package/dist/pages/graph-config/saveGraphConfig.html +8 -8
- package/dist/pages/graphs-visualizations.html +7 -7
- package/dist/pages/guides.html +1 -1
- package/dist/pages/home.html +1 -1
- package/dist/pages/import.html +2 -2
- package/dist/pages/jdbc-create.html +1 -1
- package/dist/pages/jdbc.html +1 -1
- package/dist/pages/monitor/backup-and-restore.html +1 -1
- package/dist/pages/monitor/queries.html +1 -1
- package/dist/pages/monitor/resources.html +1 -1
- package/dist/pages/namespaces.html +2 -2
- package/dist/pages/plugins.html +1 -1
- package/dist/pages/rdfClassHierarchyInfo.html +7 -7
- package/dist/pages/rdfrank.html +2 -2
- package/dist/pages/repositories.html +1 -1
- package/dist/pages/repository.html +1 -1
- package/dist/pages/similarity-indexes.html +1 -1
- package/dist/pages/sparql-editor.html +1 -1
- package/dist/pages/sparql-template-create.html +1 -1
- package/dist/pages/sparql-templates.html +1 -1
- package/dist/pages/ux-test1.html +2 -2
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger5/index.html +11 -11
- package/dist/shared-components/cjs/onto-layout.cjs.entry.js +1 -1
- package/dist/shared-components/collection/components/onto-layout/onto-layout.js +1 -1
- package/dist/shared-components/esm/onto-layout.entry.js +1 -1
- package/dist/shared-components/shared-components/p-676674e7.entry.js +1 -0
- package/dist/shared-components/shared-components/shared-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/43239.952f19ca80f5942d17ef.bundle.js +0 -2
- package/dist/43239.952f19ca80f5942d17ef.bundle.js.map +0 -1
- package/dist/shared-components/shared-components/p-c6618569.entry.js +0 -1
- /package/dist/{legacyWorkbench.406725e9d0dcd5dc81f6.js.LICENSE.txt → legacyWorkbench.e5c65a0693d335a3dae5.js.LICENSE.txt} +0 -0
- /package/dist/{main.ccfe80d73eef58ba6ed7.js.LICENSE.txt → main.3a95f9ea38e16f022c72.js.LICENSE.txt} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<link href="css/clustermanagement.css?v=3.4.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=3.4.0-
|
|
3
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=3.4.0-
|
|
1
|
+
<link href="css/clustermanagement.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
3
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
4
4
|
|
|
5
5
|
<title>{{'view.clusterManagement.title' | translate}}</title>
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/domain-range-graph.css?v=3.4.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=3.4.0-
|
|
1
|
+
<link href="css/domain-range-graph.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
3
3
|
|
|
4
4
|
<title>Explore Data Graph</title>
|
|
5
5
|
|
package/dist/pages/edit.html
CHANGED
package/dist/pages/explore.html
CHANGED
package/dist/pages/export.html
CHANGED
package/dist/pages/find.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/graphs-config.css?v=3.4.0-
|
|
1
|
+
<link href="css/graphs-config.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
2
2
|
|
|
3
3
|
<h1>
|
|
4
4
|
{{title}}
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
<label class="start-mode search image-label d-flex" guide-selector="start-with-search-box" ng-class="{'active': newConfig.startMode === 'search'}">
|
|
80
80
|
<input type="radio" class="form-check-input" id="checkboxSuccessSearch"
|
|
81
81
|
ng-model="newConfig.startMode" value="search">
|
|
82
|
-
<img class="image-label-image" src="css/images/search.png?v=3.4.0-
|
|
82
|
+
<img class="image-label-image" src="css/images/search.png?v=3.4.0-RC3" alt="search image"
|
|
83
83
|
width="100%">
|
|
84
84
|
<div class="image-label-content">
|
|
85
85
|
<h5>{{'start.with.search.box' | translate}}</h5>
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
<label class="start-mode node image-label d-flex" guide-selector="start-with-a-fixed-node" ng-class="{'active': newConfig.startMode === 'node'}">
|
|
91
91
|
<input type="radio" class="form-check-input" id="checkboxSuccessNode" ng-model="newConfig.startMode"
|
|
92
92
|
value="node">
|
|
93
|
-
<img class="image-label-image" src="css/images/node.png?v=3.4.0-
|
|
93
|
+
<img class="image-label-image" src="css/images/node.png?v=3.4.0-RC3" alt="node image"
|
|
94
94
|
width="100%">
|
|
95
95
|
<div class="image-label-content">
|
|
96
96
|
<h5>{{'start.with.fixed.node' | translate}}</h5>
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<label class="start-mode query image-label d-flex" guide-selector="start-with-graph-query-result" ng-class="{'active': newConfig.startMode === 'query'}">
|
|
102
102
|
<input type="radio" class="form-check-input" data-cy="graph-config-by-graph-query-checkbox"
|
|
103
103
|
ng-model="newConfig.startMode" value="query">
|
|
104
|
-
<img class="image-label-image" src="css/images/query.png?v=3.4.0-
|
|
104
|
+
<img class="image-label-image" src="css/images/query.png?v=3.4.0-RC3" alt="query image"
|
|
105
105
|
width="100%">
|
|
106
106
|
<div class="image-label-content">
|
|
107
107
|
<h5>{{'query.results.start' | translate}}</h5>
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
{{'sample.query.used' | translate}}</p>
|
|
149
149
|
</div>
|
|
150
150
|
<div>
|
|
151
|
-
<img src="css/images/expand.png?v=3.4.0-
|
|
151
|
+
<img src="css/images/expand.png?v=3.4.0-RC3" class="info-box-img" height="220"
|
|
152
152
|
alt="expand image">
|
|
153
153
|
</div>
|
|
154
154
|
</div>
|
|
@@ -176,7 +176,7 @@
|
|
|
176
176
|
{{'sample.query.used' | translate}}</p>
|
|
177
177
|
</div>
|
|
178
178
|
<div>
|
|
179
|
-
<img src="css/images/labels-size.png?v=3.4.0-
|
|
179
|
+
<img src="css/images/labels-size.png?v=3.4.0-RC3" class="info-box-img" height="220"
|
|
180
180
|
alt="labels size image">
|
|
181
181
|
</div>
|
|
182
182
|
</div>
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
<p>{{'query.is.optional.local.name' | translate}}</p>
|
|
200
200
|
</div>
|
|
201
201
|
<div>
|
|
202
|
-
<img src="css/images/predicates.png?v=3.4.0-
|
|
202
|
+
<img src="css/images/predicates.png?v=3.4.0-RC3" class="info-box-img" height="220"
|
|
203
203
|
alt="predicates image">
|
|
204
204
|
</div>
|
|
205
205
|
</div>
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
{{'sample.query.used' | translate}}</p>
|
|
232
232
|
</div>
|
|
233
233
|
<div>
|
|
234
|
-
<img src="css/images/side-panel.png?v=3.4.0-
|
|
234
|
+
<img src="css/images/side-panel.png?v=3.4.0-RC3" class="info-box-img" height="220"
|
|
235
235
|
alt="side panel image">
|
|
236
236
|
</div>
|
|
237
237
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
<link href="css/graphs-vizualizations.css?v=3.4.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=3.4.0-
|
|
3
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.4.0-
|
|
4
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=3.4.0-
|
|
1
|
+
<link href="css/graphs-vizualizations.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
3
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
5
5
|
|
|
6
6
|
<div class="visual-graph-view">
|
|
7
7
|
|
|
@@ -160,9 +160,9 @@
|
|
|
160
160
|
<tr ng-repeat="config in graphConfigs">
|
|
161
161
|
<td width="20">
|
|
162
162
|
<a href ng-click="goToGraphConfig(config)">
|
|
163
|
-
<img ng-if="config.startMode == 'search'" src="css/images/search.png?v=3.4.0-
|
|
164
|
-
<img ng-if="config.startMode == 'node'" src="css/images/node.png?v=3.4.0-
|
|
165
|
-
<img ng-if="config.startMode == 'query'" src="css/images/query.png?v=3.4.0-
|
|
163
|
+
<img ng-if="config.startMode == 'search'" src="css/images/search.png?v=3.4.0-RC3" alt="" width="64" uib-popover="{{'visual.config.search.box.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
164
|
+
<img ng-if="config.startMode == 'node'" src="css/images/node.png?v=3.4.0-RC3" alt="" width="64" uib-popover="{{'visual.config.fixed.resource.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
165
|
+
<img ng-if="config.startMode == 'query'" src="css/images/query.png?v=3.4.0-RC3" alt="" data-cy="graph-config-starting-point-query-results" width="64" uib-popover="{{'visual.config.query.results.starting.point' | translate}}" popover-trigger="mouseenter">
|
|
166
166
|
</a>
|
|
167
167
|
</td>
|
|
168
168
|
<td>
|
package/dist/pages/guides.html
CHANGED
package/dist/pages/home.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/home.css?v=3.4.0-
|
|
1
|
+
<link href="css/home.css?v=3.4.0-RC3" 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()">
|
package/dist/pages/import.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link rel="stylesheet" type="text/css" href="css/import.css?v=3.4.0-
|
|
2
|
-
<link rel="stylesheet" type="text/css" href="css/import-resource-tree.css?v=3.4.0-
|
|
1
|
+
<link rel="stylesheet" type="text/css" href="css/import.css?v=3.4.0-RC3">
|
|
2
|
+
<link rel="stylesheet" type="text/css" href="css/import-resource-tree.css?v=3.4.0-RC3">
|
|
3
3
|
|
|
4
4
|
<div id="wb-import">
|
|
5
5
|
<h1>
|
package/dist/pages/jdbc.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/backup-and-restore.css?v=3.4.0-
|
|
1
|
+
<link href="css/backup-and-restore.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
2
2
|
<div data-test="backup-and-restore-page">
|
|
3
3
|
<title>${messages.app.title} : ${messages.jmx.QueryMonitoringPage.title}</title>
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/lib/angular-xeditable/xeditable.min.css?v=3.4.0-
|
|
2
|
-
<link href="css/export.css?v=3.4.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=3.4.0-RC3" rel="stylesheet">
|
|
2
|
+
<link href="css/export.css?v=3.4.0-RC3" rel="stylesheet">
|
|
3
3
|
|
|
4
4
|
<title>Namespaces</title>
|
|
5
5
|
|
package/dist/pages/plugins.html
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<link href="css/rdf-class-hierarchy.css?v=3.4.0-
|
|
2
|
-
<link href="css/rdf-class-hierarchy-labels.css?v=3.4.0-
|
|
3
|
-
<link href="css/rdf-details-side-panel.css?v=3.4.0-
|
|
4
|
-
<link href="js/lib/rzslider/rzslider.min.css?v=3.4.0-
|
|
5
|
-
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=3.4.0-
|
|
6
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=3.4.0-
|
|
7
|
-
<link href="css/lib/animate/3.2.0/animate.min.css?v=3.4.0-
|
|
1
|
+
<link href="css/rdf-class-hierarchy.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-class-hierarchy-labels.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
3
|
+
<link href="css/rdf-details-side-panel.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/rzslider/rzslider.min.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
5
|
+
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
6
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
7
|
+
<link href="css/lib/animate/3.2.0/animate.min.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
8
8
|
|
|
9
9
|
<title>Explore Data Graph</title>
|
|
10
10
|
|
package/dist/pages/rdfrank.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/rdfrank.css?v=3.4.0-
|
|
2
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.4.0-
|
|
1
|
+
<link href="css/rdfrank.css?v=3.4.0-RC3" rel="stylesheet">
|
|
2
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.4.0-RC3" rel="stylesheet"/>
|
|
3
3
|
|
|
4
4
|
<div id="rdfRank" class="page" data-test="rdf-rank-page">
|
|
5
5
|
<h1>
|
package/dist/pages/ux-test1.html
CHANGED
|
@@ -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.4.0-
|
|
4
|
+
<link href="js/lib/rzslider/rzslider.min.css?v=3.4.0-RC3" 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.4.0-
|
|
510
|
+
<img src="css/images/expand.png?v=3.4.0-RC3" class="info-box-img" height="220"
|
|
511
511
|
alt="expand image">
|
|
512
512
|
</div>
|
|
513
513
|
</div>
|
package/dist/pages/webapi.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href='css/lib/swagger-ui.min.css?v=3.4.0-
|
|
2
|
-
<link href='css/swagger.custom.css?v=3.4.0-
|
|
1
|
+
<link href='css/lib/swagger-ui.min.css?v=3.4.0-RC3' rel='stylesheet' type='text/css'/>
|
|
2
|
+
<link href='css/swagger.custom.css?v=3.4.0-RC3' rel='stylesheet' type='text/css'/>
|
|
3
3
|
|
|
4
4
|
<h1>
|
|
5
5
|
{{title}}
|
|
@@ -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.4.0-
|
|
8
|
-
<link rel="stylesheet" type="text/css" href="./index.css?v=3.4.0-
|
|
9
|
-
<link rel="icon" type="image/png" href="./favicon-32x32.png?v=3.4.0-
|
|
10
|
-
<link rel="icon" type="image/png" href="./favicon-16x16.png?v=3.4.0-
|
|
11
|
-
<link href='css/reset.css?v=3.4.0-
|
|
12
|
-
<link href='css/screen.css?v=3.4.0-
|
|
13
|
-
<link href='css/onto-theme.css?v=3.4.0-
|
|
14
|
-
<link href='css/print.css?v=3.4.0-
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="./swagger-ui.css?v=3.4.0-RC3" />
|
|
8
|
+
<link rel="stylesheet" type="text/css" href="./index.css?v=3.4.0-RC3" />
|
|
9
|
+
<link rel="icon" type="image/png" href="./favicon-32x32.png?v=3.4.0-RC3" sizes="32x32" />
|
|
10
|
+
<link rel="icon" type="image/png" href="./favicon-16x16.png?v=3.4.0-RC3" sizes="16x16" />
|
|
11
|
+
<link href='css/reset.css?v=3.4.0-RC3' media='screen' rel='stylesheet' type='text/css'/>
|
|
12
|
+
<link href='css/screen.css?v=3.4.0-RC3' media='screen' rel='stylesheet' type='text/css'/>
|
|
13
|
+
<link href='css/onto-theme.css?v=3.4.0-RC3' media='screen' rel='stylesheet' type='text/css'/>
|
|
14
|
+
<link href='css/print.css?v=3.4.0-RC3' 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.4.0-
|
|
24
|
-
<script src="./swagger-ui-standalone-preset.js?v=3.4.0-
|
|
25
|
-
<script src="./swagger-initializer.js?v=3.4.0-
|
|
23
|
+
<script src="./swagger-ui-bundle.js?v=3.4.0-RC3" charset="UTF-8"> </script>
|
|
24
|
+
<script src="./swagger-ui-standalone-preset.js?v=3.4.0-RC3" charset="UTF-8"> </script>
|
|
25
|
+
<script src="./swagger-initializer.js?v=3.4.0-RC3" charset="UTF-8"> </script>
|
|
26
26
|
</body>
|
|
27
27
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var index=require("./index-CTK5NoJt.js"),functionUtils=require("./function-utils-WB47AWpR.js"),workbenchApi=require("@ontotext/workbench-api"),translation_service=require("./translation.service-Cj6mT_mk.js");const RESPONSIVE_BREAKPOINTS={MD:768},WINDOW_WIDTH_FOR_COLLAPSED_NAVBAR=RESPONSIVE_BREAKPOINTS.MD,ontoLayoutCss=':host{display:block;height:100%}.wb-layout{display:grid;grid-template:"header header" auto "nav main" 1fr "nav footer" auto/15rem minmax(200px, 1fr);min-height:100vh;margin:0;}.wb-layout.expanded{grid-template-columns:4.375rem 1fr}.wb-layout.is-embedded{grid-template-columns:1fr;grid-template-areas:"main";padding-top:1rem}.wb-layout.hide-navbar{grid-template:"header" auto "main" 1fr "footer" auto/1fr;}.wb-layout.hide-navbar.expanded{grid-template-columns:1fr}.wb-layout main .main-container{margin-left:0}.wb-layout .main-slot-wrapper .loader-wrapper{flex-grow:1;display:flex;align-items:center;justify-content:center}.wb-layout .main-slot-wrapper.loading{display:flex;flex-direction:column}.wb-layout .main-slot-wrapper.loading .page-content{visibility:hidden}.wb-layout .default-slot-wrapper{display:none}.wb-layout .wb-header{position:sticky;top:0;z-index:999}.wb-layout nav{grid-area:nav}.wb-layout header{grid-area:header}.wb-layout main{grid-area:main}.wb-layout footer{grid-area:footer}',OntoLayout=class{constructor(e){index.registerInstance(this,e),this.authenticationService=workbenchApi.service(workbenchApi.AuthenticationService),this.authorizationService=workbenchApi.service(workbenchApi.AuthorizationService),this.navigationContextService=workbenchApi.service(workbenchApi.NavigationContextService),this.authStorageService=workbenchApi.service(workbenchApi.AuthenticationStorageService),this.runtimeConfigurationContextService=workbenchApi.service(workbenchApi.RuntimeConfigurationContextService),this.eventService=workbenchApi.service(workbenchApi.EventService),this.applicationLifecycleContextService=workbenchApi.service(workbenchApi.ApplicationLifecycleContextService),this.fullJwtKey=`${workbenchApi.StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.jwtKey}`,this.fullAuthenticatedKey=`${workbenchApi.StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.authenticatedKey}`,this.authEvents=[this.fullJwtKey,this.fullAuthenticatedKey],this.isLowResolution=!1,this.showHeader=this.isAuthenticatedFully(),this.showNavbar=!1,this.isEmbedded=!1,this.loading=!0,this.subscriptions=new workbenchApi.SubscriptionList,this.isNavbarCollapsed=!1,this.handleStorageChange=e=>{workbenchApi.service(workbenchApi.LocalStorageSubscriptionHandlerService).handleStorageChange(e),this.handleAuthChange(e.key)},this.windowResizeObserver=functionUtils.debounce(()=>this.windowResizeHandler(),50),workbenchApi.WindowService.getWindow().addEventListener("storage",this.handleStorageChange)}componentDidLoad(){this.windowResizeHandler()}connectedCallback(){this.subscribeToSecurityChanges(),this.updateVisibility(),this.subscribeToNavigationEnd(),this.subscribeToRuntimeConfigurationChanges(),this.subscribeToApplicationChange()}disconnectedCallback(){this.subscriptions.unsubscribeAll()}render(){return index.h(index.Host,{key:"
|
|
1
|
+
"use strict";var index=require("./index-CTK5NoJt.js"),functionUtils=require("./function-utils-WB47AWpR.js"),workbenchApi=require("@ontotext/workbench-api"),translation_service=require("./translation.service-Cj6mT_mk.js");const RESPONSIVE_BREAKPOINTS={MD:768},WINDOW_WIDTH_FOR_COLLAPSED_NAVBAR=RESPONSIVE_BREAKPOINTS.MD,ontoLayoutCss=':host{display:block;height:100%}.wb-layout{display:grid;grid-template:"header header" auto "nav main" 1fr "nav footer" auto/15rem minmax(200px, 1fr);min-height:100vh;margin:0;}.wb-layout.expanded{grid-template-columns:4.375rem 1fr}.wb-layout.is-embedded{grid-template-columns:1fr;grid-template-areas:"main";padding-top:1rem}.wb-layout.hide-navbar{grid-template:"header" auto "main" 1fr "footer" auto/1fr;}.wb-layout.hide-navbar.expanded{grid-template-columns:1fr}.wb-layout main .main-container{margin-left:0}.wb-layout .main-slot-wrapper .loader-wrapper{flex-grow:1;display:flex;align-items:center;justify-content:center}.wb-layout .main-slot-wrapper.loading{display:flex;flex-direction:column}.wb-layout .main-slot-wrapper.loading .page-content{visibility:hidden}.wb-layout .default-slot-wrapper{display:none}.wb-layout .wb-header{position:sticky;top:0;z-index:999}.wb-layout nav{grid-area:nav}.wb-layout header{grid-area:header}.wb-layout main{grid-area:main}.wb-layout footer{grid-area:footer}',OntoLayout=class{constructor(e){index.registerInstance(this,e),this.authenticationService=workbenchApi.service(workbenchApi.AuthenticationService),this.authorizationService=workbenchApi.service(workbenchApi.AuthorizationService),this.navigationContextService=workbenchApi.service(workbenchApi.NavigationContextService),this.authStorageService=workbenchApi.service(workbenchApi.AuthenticationStorageService),this.runtimeConfigurationContextService=workbenchApi.service(workbenchApi.RuntimeConfigurationContextService),this.eventService=workbenchApi.service(workbenchApi.EventService),this.applicationLifecycleContextService=workbenchApi.service(workbenchApi.ApplicationLifecycleContextService),this.fullJwtKey=`${workbenchApi.StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.jwtKey}`,this.fullAuthenticatedKey=`${workbenchApi.StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.authenticatedKey}`,this.authEvents=[this.fullJwtKey,this.fullAuthenticatedKey],this.isLowResolution=!1,this.showHeader=this.isAuthenticatedFully(),this.showNavbar=!1,this.isEmbedded=!1,this.loading=!0,this.subscriptions=new workbenchApi.SubscriptionList,this.isNavbarCollapsed=!1,this.handleStorageChange=e=>{workbenchApi.service(workbenchApi.LocalStorageSubscriptionHandlerService).handleStorageChange(e),this.handleAuthChange(e.key)},this.windowResizeObserver=functionUtils.debounce(()=>this.windowResizeHandler(),50),workbenchApi.WindowService.getWindow().addEventListener("storage",this.handleStorageChange)}componentDidLoad(){this.windowResizeHandler()}connectedCallback(){this.subscribeToSecurityChanges(),this.updateVisibility(),this.subscribeToNavigationEnd(),this.subscribeToRuntimeConfigurationChanges(),this.subscribeToApplicationChange(),this.loading=!1}disconnectedCallback(){this.subscriptions.unsubscribeAll()}render(){return index.h(index.Host,{key:"8405c68277c496e168c09db7b7beb56ad0544e65",class:{"wb-layout":!0,"is-embedded":this.isEmbedded,"hide-navbar":!this.showNavbar}},index.h("div",{key:"c34b51800a424c8acc6a45dc48373180e314928d",class:"default-slot-wrapper"},index.h("slot",{key:"e0a8b5817b7dc65c8694f56427ecad40268e57ea",name:"default"})),!this.isEmbedded&&index.h("header",{key:"5c66d576e4f78f7306e65b8ce0731081c98bbaf3",class:"wb-header"},this.showHeader&&index.h("onto-header",{key:"079068ddfbab4253e6b346907fc116f0e79cfb72"})),!this.isEmbedded&&this.showNavbar&&index.h("nav",{key:"e609d24c84e6d75e637f3b64d21d3d7f0fc529a9",class:"wb-navbar"},index.h("onto-navbar",{key:"d36c1fc0d2553b04d906fcc95f786061176dbd67",ref:this.assignNavbarRef(),"navbar-collapsed":this.isLowResolution})),index.h("div",{key:"b9e0b411e260a3736681e46c3f14b117c906678c",class:{"main-slot-wrapper":!0,loading:this.loading}},this.loading&&index.h("div",{key:"9bed00bdf6db35d27264dc86a4b228879284f1f2",class:"loader-wrapper"},index.h("onto-loader",{key:"0c232e3a750d656ddd7fa14611521801309d7b5f",size:96,messageText:translation_service.TranslationService.translate("common.loading")})),index.h("slot",{key:"82594cea920038f3207b91e10c82a11e266d51d2",name:"main"})),!this.isEmbedded&&index.h("footer",{key:"3efbb9aa9525e5ba893081979300e2c2fe8e7866",class:"wb-footer"},index.h("onto-footer",{key:"6a6a076bdd2a0edfbe0cf954e1d60e5a70e5d3b0"})),index.h("onto-tooltip",{key:"15024b393011ed0b0cff5113c72650776ac72bea"}),index.h("onto-confirm-cancel-dialog",{key:"19ba2f104c717bc2a51f2fa2c011e50bdf91f59a"}))}onNavbarToggled(e){this.isNavbarCollapsed=e.detail.payload,this.isNavbarCollapsed?this.hostElement.classList.add("expanded"):this.hostElement.classList.remove("expanded")}onResize(){this.windowResizeObserver()}windowResizeHandler(){var e,i,t,a;this.isLowResolution=workbenchApi.WindowService.getWindow().innerWidth<=WINDOW_WIDTH_FOR_COLLAPSED_NAVBAR;const n=document.querySelector(".navbar-component");if(n){const s=document.querySelector(".cookie-consent-banner"),o=document.querySelector(".header-component"),r=null!==(i=null===(e=null==o?void 0:o.getBoundingClientRect())||void 0===e?void 0:e.height)&&void 0!==i?i:0,h=null!==(a=null===(t=null==s?void 0:s.getBoundingClientRect())||void 0===t?void 0:t.height)&&void 0!==a?a:0;n.style.height=`calc(100% - ${r}px - ${h}px)`}this.isLowResolution||this.isNavbarCollapsed?this.hostElement.classList.add("expanded"):this.hostElement.classList.remove("expanded")}handleAuthChange(e){var i;e&&this.authEvents.includes(e)&&(this.authStorageService.isAuthenticated()?workbenchApi.navigate(null!==(i=this.navigationContextService.getPreviousRoute())&&void 0!==i?i:"./"):workbenchApi.navigate("login"),workbenchApi.WindowService.getWindow().location.reload())}subscribeToSecurityChanges(){const e=workbenchApi.service(workbenchApi.SecurityContextService);this.subscriptions.add(e.onAuthenticatedUserChanged(e=>{this.authenticatedUser=e,this.updateVisibility()})),this.subscriptions.add(e.onSecurityConfigChanged(e=>{this.securityConfig=e,this.updateVisibility()})),this.subscriptions.add(this.eventService.subscribe(workbenchApi.EventName.LOGIN,()=>{this.setNavbarItemVisibility(),this.updateVisibility()})),this.subscriptions.add(this.eventService.subscribe(workbenchApi.EventName.LOGOUT,()=>{this.setNavbarItemVisibility(),this.updateVisibility(),workbenchApi.navigate("login")}))}subscribeToRuntimeConfigurationChanges(){this.subscriptions.add(this.runtimeConfigurationContextService.onRuntimeConfigurationChanged(e=>{var i;this.isEmbedded=null!==(i=null==e?void 0:e.isEmbedded)&&void 0!==i&&i}))}updateVisibility(){this.authenticationService.isSecurityEnabled()?(this.showHeader=this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess(),this.showNavbar=this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess()):(this.showNavbar=!0,this.showHeader=!0)}isAuthenticatedFully(){return!this.authenticationService.isSecurityEnabled()||this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess()}shouldShowMenu(e){return this.isAuthenticatedFully()&&this.authorizationService.hasRole(e)}assignNavbarRef(){return e=>{this.navbarRef=e,this.navbarRef&&(this.navbarRef.menuItems=workbenchApi.WindowService.getPluginRegistry().get(workbenchApi.MainMenuExtensionPoint.NAME),this.setNavbarItemVisibility())}}setNavbarItemVisibility(){var e,i,t;if(!(null===(e=this.navbarRef)||void 0===e?void 0:e.menuItems))return;const a=e=>{var i;e.shouldShow=this.shouldShowMenu(e.role),(null===(i=e.children)||void 0===i?void 0:i.length)&&e.children.forEach(a)};null===(t=null===(i=this.navbarRef)||void 0===i?void 0:i.menuItems)||void 0===t||t.forEach(e=>{e.items.forEach(a)}),this.navbarRef.menuItems=[...this.navbarRef.menuItems]}subscribeToNavigationEnd(){this.subscriptions.add(this.eventService.subscribe(workbenchApi.EventName.NAVIGATION_END,e=>{this.navigationContextService.updatePreviousRoute(e.oldUrl),this.loading=!1}))}subscribeToApplicationChange(){this.subscriptions.add(this.applicationLifecycleContextService.onNavigationBeforeMountRouting(e=>{e&&(this.loading=!0)}))}get hostElement(){return index.getElement(this)}};OntoLayout.style=ontoLayoutCss,exports.onto_layout=OntoLayout;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{h,Host}from"@stencil/core";import{debounce}from"../../utils/function-utils";import{WINDOW_WIDTH_FOR_COLLAPSED_NAVBAR}from"../../models/constants";import{ApplicationLifecycleContextService,AuthenticationService,AuthenticationStorageService,AuthorizationService,EventName,EventService,LocalStorageSubscriptionHandlerService,navigate,NavigationContextService,RuntimeConfigurationContextService,SecurityContextService,service,StorageKey,SubscriptionList,WindowService,MainMenuExtensionPoint}from"../../../../../api/dist/ontotext-workbench-api";import{TranslationService}from"../../services/translation.service";export class OntoLayout{constructor(){this.authenticationService=service(AuthenticationService),this.authorizationService=service(AuthorizationService),this.navigationContextService=service(NavigationContextService),this.authStorageService=service(AuthenticationStorageService),this.runtimeConfigurationContextService=service(RuntimeConfigurationContextService),this.eventService=service(EventService),this.applicationLifecycleContextService=service(ApplicationLifecycleContextService),this.fullJwtKey=`${StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.jwtKey}`,this.fullAuthenticatedKey=`${StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.authenticatedKey}`,this.authEvents=[this.fullJwtKey,this.fullAuthenticatedKey],this.isLowResolution=!1,this.showHeader=this.isAuthenticatedFully(),this.showNavbar=!1,this.isEmbedded=!1,this.loading=!0,this.subscriptions=new SubscriptionList,this.isNavbarCollapsed=!1,this.handleStorageChange=e=>{service(LocalStorageSubscriptionHandlerService).handleStorageChange(e),this.handleAuthChange(e.key)},this.windowResizeObserver=debounce(()=>this.windowResizeHandler(),50),WindowService.getWindow().addEventListener("storage",this.handleStorageChange)}componentDidLoad(){this.windowResizeHandler()}connectedCallback(){this.subscribeToSecurityChanges(),this.updateVisibility(),this.subscribeToNavigationEnd(),this.subscribeToRuntimeConfigurationChanges(),this.subscribeToApplicationChange()}disconnectedCallback(){this.subscriptions.unsubscribeAll()}render(){return h(Host,{key:"
|
|
1
|
+
import{h,Host}from"@stencil/core";import{debounce}from"../../utils/function-utils";import{WINDOW_WIDTH_FOR_COLLAPSED_NAVBAR}from"../../models/constants";import{ApplicationLifecycleContextService,AuthenticationService,AuthenticationStorageService,AuthorizationService,EventName,EventService,LocalStorageSubscriptionHandlerService,navigate,NavigationContextService,RuntimeConfigurationContextService,SecurityContextService,service,StorageKey,SubscriptionList,WindowService,MainMenuExtensionPoint}from"../../../../../api/dist/ontotext-workbench-api";import{TranslationService}from"../../services/translation.service";export class OntoLayout{constructor(){this.authenticationService=service(AuthenticationService),this.authorizationService=service(AuthorizationService),this.navigationContextService=service(NavigationContextService),this.authStorageService=service(AuthenticationStorageService),this.runtimeConfigurationContextService=service(RuntimeConfigurationContextService),this.eventService=service(EventService),this.applicationLifecycleContextService=service(ApplicationLifecycleContextService),this.fullJwtKey=`${StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.jwtKey}`,this.fullAuthenticatedKey=`${StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.authenticatedKey}`,this.authEvents=[this.fullJwtKey,this.fullAuthenticatedKey],this.isLowResolution=!1,this.showHeader=this.isAuthenticatedFully(),this.showNavbar=!1,this.isEmbedded=!1,this.loading=!0,this.subscriptions=new SubscriptionList,this.isNavbarCollapsed=!1,this.handleStorageChange=e=>{service(LocalStorageSubscriptionHandlerService).handleStorageChange(e),this.handleAuthChange(e.key)},this.windowResizeObserver=debounce(()=>this.windowResizeHandler(),50),WindowService.getWindow().addEventListener("storage",this.handleStorageChange)}componentDidLoad(){this.windowResizeHandler()}connectedCallback(){this.subscribeToSecurityChanges(),this.updateVisibility(),this.subscribeToNavigationEnd(),this.subscribeToRuntimeConfigurationChanges(),this.subscribeToApplicationChange(),this.loading=!1}disconnectedCallback(){this.subscriptions.unsubscribeAll()}render(){return h(Host,{key:"8405c68277c496e168c09db7b7beb56ad0544e65",class:{"wb-layout":!0,"is-embedded":this.isEmbedded,"hide-navbar":!this.showNavbar}},h("div",{key:"c34b51800a424c8acc6a45dc48373180e314928d",class:"default-slot-wrapper"},h("slot",{key:"e0a8b5817b7dc65c8694f56427ecad40268e57ea",name:"default"})),!this.isEmbedded&&h("header",{key:"5c66d576e4f78f7306e65b8ce0731081c98bbaf3",class:"wb-header"},this.showHeader&&h("onto-header",{key:"079068ddfbab4253e6b346907fc116f0e79cfb72"})),!this.isEmbedded&&this.showNavbar&&h("nav",{key:"e609d24c84e6d75e637f3b64d21d3d7f0fc529a9",class:"wb-navbar"},h("onto-navbar",{key:"d36c1fc0d2553b04d906fcc95f786061176dbd67",ref:this.assignNavbarRef(),"navbar-collapsed":this.isLowResolution})),h("div",{key:"b9e0b411e260a3736681e46c3f14b117c906678c",class:{"main-slot-wrapper":!0,loading:this.loading}},this.loading&&h("div",{key:"9bed00bdf6db35d27264dc86a4b228879284f1f2",class:"loader-wrapper"},h("onto-loader",{key:"0c232e3a750d656ddd7fa14611521801309d7b5f",size:96,messageText:TranslationService.translate("common.loading")})),h("slot",{key:"82594cea920038f3207b91e10c82a11e266d51d2",name:"main"})),!this.isEmbedded&&h("footer",{key:"3efbb9aa9525e5ba893081979300e2c2fe8e7866",class:"wb-footer"},h("onto-footer",{key:"6a6a076bdd2a0edfbe0cf954e1d60e5a70e5d3b0"})),h("onto-tooltip",{key:"15024b393011ed0b0cff5113c72650776ac72bea"}),h("onto-confirm-cancel-dialog",{key:"19ba2f104c717bc2a51f2fa2c011e50bdf91f59a"}))}onNavbarToggled(e){this.isNavbarCollapsed=e.detail.payload,this.isNavbarCollapsed?this.hostElement.classList.add("expanded"):this.hostElement.classList.remove("expanded")}onResize(){this.windowResizeObserver()}windowResizeHandler(){var e,i,t,s;this.isLowResolution=WindowService.getWindow().innerWidth<=WINDOW_WIDTH_FOR_COLLAPSED_NAVBAR;const a=document.querySelector(".navbar-component");if(a){const n=document.querySelector(".cookie-consent-banner"),o=document.querySelector(".header-component"),r=null!==(i=null===(e=null==o?void 0:o.getBoundingClientRect())||void 0===e?void 0:e.height)&&void 0!==i?i:0,c=null!==(s=null===(t=null==n?void 0:n.getBoundingClientRect())||void 0===t?void 0:t.height)&&void 0!==s?s:0;a.style.height=`calc(100% - ${r}px - ${c}px)`}this.isLowResolution||this.isNavbarCollapsed?this.hostElement.classList.add("expanded"):this.hostElement.classList.remove("expanded")}handleAuthChange(e){var i;if(e&&this.authEvents.includes(e)){const e=this.authStorageService.isAuthenticated();navigate(e?null!==(i=this.navigationContextService.getPreviousRoute())&&void 0!==i?i:"./":"login"),WindowService.getWindow().location.reload()}}subscribeToSecurityChanges(){const e=service(SecurityContextService);this.subscriptions.add(e.onAuthenticatedUserChanged(e=>{this.authenticatedUser=e,this.updateVisibility()})),this.subscriptions.add(e.onSecurityConfigChanged(e=>{this.securityConfig=e,this.updateVisibility()})),this.subscriptions.add(this.eventService.subscribe(EventName.LOGIN,()=>{this.setNavbarItemVisibility(),this.updateVisibility()})),this.subscriptions.add(this.eventService.subscribe(EventName.LOGOUT,()=>{this.setNavbarItemVisibility(),this.updateVisibility(),navigate("login")}))}subscribeToRuntimeConfigurationChanges(){this.subscriptions.add(this.runtimeConfigurationContextService.onRuntimeConfigurationChanged(e=>{var i;this.isEmbedded=null!==(i=null==e?void 0:e.isEmbedded)&&void 0!==i&&i}))}updateVisibility(){this.authenticationService.isSecurityEnabled()?(this.showHeader=this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess(),this.showNavbar=this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess()):(this.showNavbar=!0,this.showHeader=!0)}isAuthenticatedFully(){return!this.authenticationService.isSecurityEnabled()||this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess()}shouldShowMenu(e){return this.isAuthenticatedFully()&&this.authorizationService.hasRole(e)}assignNavbarRef(){return e=>{this.navbarRef=e,this.navbarRef&&(this.navbarRef.menuItems=WindowService.getPluginRegistry().get(MainMenuExtensionPoint.NAME),this.setNavbarItemVisibility())}}setNavbarItemVisibility(){var e,i,t;if(!(null===(e=this.navbarRef)||void 0===e?void 0:e.menuItems))return;const s=e=>{var i;e.shouldShow=this.shouldShowMenu(e.role),(null===(i=e.children)||void 0===i?void 0:i.length)&&e.children.forEach(s)};null===(t=null===(i=this.navbarRef)||void 0===i?void 0:i.menuItems)||void 0===t||t.forEach(e=>{e.items.forEach(s)}),this.navbarRef.menuItems=[...this.navbarRef.menuItems]}subscribeToNavigationEnd(){this.subscriptions.add(this.eventService.subscribe(EventName.NAVIGATION_END,e=>{this.navigationContextService.updatePreviousRoute(e.oldUrl),this.loading=!1}))}subscribeToApplicationChange(){this.subscriptions.add(this.applicationLifecycleContextService.onNavigationBeforeMountRouting(e=>{e&&(this.loading=!0)}))}static get is(){return"onto-layout"}static get originalStyleUrls(){return{$:["onto-layout.scss"]}}static get styleUrls(){return{$:["onto-layout.css"]}}static get states(){return{authenticatedUser:{},authToken:{},securityConfig:{},isLowResolution:{},showHeader:{},showNavbar:{},isEmbedded:{},loading:{}}}static get elementRef(){return"hostElement"}static get listeners(){return[{name:"navbarToggled",method:"onNavbarToggled",target:void 0,capture:!1,passive:!1},{name:"resize",method:"onResize",target:"window",capture:!1,passive:!0}]}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,d as getElement}from"./index-BntG-4Sv.js";import{d as debounce}from"./function-utils-D1ZpXQQS.js";import{service,AuthenticationService,AuthorizationService,NavigationContextService,AuthenticationStorageService,RuntimeConfigurationContextService,EventService,ApplicationLifecycleContextService,StorageKey,SubscriptionList,LocalStorageSubscriptionHandlerService,WindowService,navigate,SecurityContextService,EventName,MainMenuExtensionPoint}from"@ontotext/workbench-api";import{T as TranslationService}from"./translation.service-FB05Sh97.js";const RESPONSIVE_BREAKPOINTS={MD:768},WINDOW_WIDTH_FOR_COLLAPSED_NAVBAR=RESPONSIVE_BREAKPOINTS.MD,ontoLayoutCss=':host{display:block;height:100%}.wb-layout{display:grid;grid-template:"header header" auto "nav main" 1fr "nav footer" auto/15rem minmax(200px, 1fr);min-height:100vh;margin:0;}.wb-layout.expanded{grid-template-columns:4.375rem 1fr}.wb-layout.is-embedded{grid-template-columns:1fr;grid-template-areas:"main";padding-top:1rem}.wb-layout.hide-navbar{grid-template:"header" auto "main" 1fr "footer" auto/1fr;}.wb-layout.hide-navbar.expanded{grid-template-columns:1fr}.wb-layout main .main-container{margin-left:0}.wb-layout .main-slot-wrapper .loader-wrapper{flex-grow:1;display:flex;align-items:center;justify-content:center}.wb-layout .main-slot-wrapper.loading{display:flex;flex-direction:column}.wb-layout .main-slot-wrapper.loading .page-content{visibility:hidden}.wb-layout .default-slot-wrapper{display:none}.wb-layout .wb-header{position:sticky;top:0;z-index:999}.wb-layout nav{grid-area:nav}.wb-layout header{grid-area:header}.wb-layout main{grid-area:main}.wb-layout footer{grid-area:footer}',OntoLayout=class{constructor(e){registerInstance(this,e),this.authenticationService=service(AuthenticationService),this.authorizationService=service(AuthorizationService),this.navigationContextService=service(NavigationContextService),this.authStorageService=service(AuthenticationStorageService),this.runtimeConfigurationContextService=service(RuntimeConfigurationContextService),this.eventService=service(EventService),this.applicationLifecycleContextService=service(ApplicationLifecycleContextService),this.fullJwtKey=`${StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.jwtKey}`,this.fullAuthenticatedKey=`${StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.authenticatedKey}`,this.authEvents=[this.fullJwtKey,this.fullAuthenticatedKey],this.isLowResolution=!1,this.showHeader=this.isAuthenticatedFully(),this.showNavbar=!1,this.isEmbedded=!1,this.loading=!0,this.subscriptions=new SubscriptionList,this.isNavbarCollapsed=!1,this.handleStorageChange=e=>{service(LocalStorageSubscriptionHandlerService).handleStorageChange(e),this.handleAuthChange(e.key)},this.windowResizeObserver=debounce(()=>this.windowResizeHandler(),50),WindowService.getWindow().addEventListener("storage",this.handleStorageChange)}componentDidLoad(){this.windowResizeHandler()}connectedCallback(){this.subscribeToSecurityChanges(),this.updateVisibility(),this.subscribeToNavigationEnd(),this.subscribeToRuntimeConfigurationChanges(),this.subscribeToApplicationChange()}disconnectedCallback(){this.subscriptions.unsubscribeAll()}render(){return h(Host,{key:"
|
|
1
|
+
import{r as registerInstance,h,a as Host,d as getElement}from"./index-BntG-4Sv.js";import{d as debounce}from"./function-utils-D1ZpXQQS.js";import{service,AuthenticationService,AuthorizationService,NavigationContextService,AuthenticationStorageService,RuntimeConfigurationContextService,EventService,ApplicationLifecycleContextService,StorageKey,SubscriptionList,LocalStorageSubscriptionHandlerService,WindowService,navigate,SecurityContextService,EventName,MainMenuExtensionPoint}from"@ontotext/workbench-api";import{T as TranslationService}from"./translation.service-FB05Sh97.js";const RESPONSIVE_BREAKPOINTS={MD:768},WINDOW_WIDTH_FOR_COLLAPSED_NAVBAR=RESPONSIVE_BREAKPOINTS.MD,ontoLayoutCss=':host{display:block;height:100%}.wb-layout{display:grid;grid-template:"header header" auto "nav main" 1fr "nav footer" auto/15rem minmax(200px, 1fr);min-height:100vh;margin:0;}.wb-layout.expanded{grid-template-columns:4.375rem 1fr}.wb-layout.is-embedded{grid-template-columns:1fr;grid-template-areas:"main";padding-top:1rem}.wb-layout.hide-navbar{grid-template:"header" auto "main" 1fr "footer" auto/1fr;}.wb-layout.hide-navbar.expanded{grid-template-columns:1fr}.wb-layout main .main-container{margin-left:0}.wb-layout .main-slot-wrapper .loader-wrapper{flex-grow:1;display:flex;align-items:center;justify-content:center}.wb-layout .main-slot-wrapper.loading{display:flex;flex-direction:column}.wb-layout .main-slot-wrapper.loading .page-content{visibility:hidden}.wb-layout .default-slot-wrapper{display:none}.wb-layout .wb-header{position:sticky;top:0;z-index:999}.wb-layout nav{grid-area:nav}.wb-layout header{grid-area:header}.wb-layout main{grid-area:main}.wb-layout footer{grid-area:footer}',OntoLayout=class{constructor(e){registerInstance(this,e),this.authenticationService=service(AuthenticationService),this.authorizationService=service(AuthorizationService),this.navigationContextService=service(NavigationContextService),this.authStorageService=service(AuthenticationStorageService),this.runtimeConfigurationContextService=service(RuntimeConfigurationContextService),this.eventService=service(EventService),this.applicationLifecycleContextService=service(ApplicationLifecycleContextService),this.fullJwtKey=`${StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.jwtKey}`,this.fullAuthenticatedKey=`${StorageKey.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.authenticatedKey}`,this.authEvents=[this.fullJwtKey,this.fullAuthenticatedKey],this.isLowResolution=!1,this.showHeader=this.isAuthenticatedFully(),this.showNavbar=!1,this.isEmbedded=!1,this.loading=!0,this.subscriptions=new SubscriptionList,this.isNavbarCollapsed=!1,this.handleStorageChange=e=>{service(LocalStorageSubscriptionHandlerService).handleStorageChange(e),this.handleAuthChange(e.key)},this.windowResizeObserver=debounce(()=>this.windowResizeHandler(),50),WindowService.getWindow().addEventListener("storage",this.handleStorageChange)}componentDidLoad(){this.windowResizeHandler()}connectedCallback(){this.subscribeToSecurityChanges(),this.updateVisibility(),this.subscribeToNavigationEnd(),this.subscribeToRuntimeConfigurationChanges(),this.subscribeToApplicationChange(),this.loading=!1}disconnectedCallback(){this.subscriptions.unsubscribeAll()}render(){return h(Host,{key:"8405c68277c496e168c09db7b7beb56ad0544e65",class:{"wb-layout":!0,"is-embedded":this.isEmbedded,"hide-navbar":!this.showNavbar}},h("div",{key:"c34b51800a424c8acc6a45dc48373180e314928d",class:"default-slot-wrapper"},h("slot",{key:"e0a8b5817b7dc65c8694f56427ecad40268e57ea",name:"default"})),!this.isEmbedded&&h("header",{key:"5c66d576e4f78f7306e65b8ce0731081c98bbaf3",class:"wb-header"},this.showHeader&&h("onto-header",{key:"079068ddfbab4253e6b346907fc116f0e79cfb72"})),!this.isEmbedded&&this.showNavbar&&h("nav",{key:"e609d24c84e6d75e637f3b64d21d3d7f0fc529a9",class:"wb-navbar"},h("onto-navbar",{key:"d36c1fc0d2553b04d906fcc95f786061176dbd67",ref:this.assignNavbarRef(),"navbar-collapsed":this.isLowResolution})),h("div",{key:"b9e0b411e260a3736681e46c3f14b117c906678c",class:{"main-slot-wrapper":!0,loading:this.loading}},this.loading&&h("div",{key:"9bed00bdf6db35d27264dc86a4b228879284f1f2",class:"loader-wrapper"},h("onto-loader",{key:"0c232e3a750d656ddd7fa14611521801309d7b5f",size:96,messageText:TranslationService.translate("common.loading")})),h("slot",{key:"82594cea920038f3207b91e10c82a11e266d51d2",name:"main"})),!this.isEmbedded&&h("footer",{key:"3efbb9aa9525e5ba893081979300e2c2fe8e7866",class:"wb-footer"},h("onto-footer",{key:"6a6a076bdd2a0edfbe0cf954e1d60e5a70e5d3b0"})),h("onto-tooltip",{key:"15024b393011ed0b0cff5113c72650776ac72bea"}),h("onto-confirm-cancel-dialog",{key:"19ba2f104c717bc2a51f2fa2c011e50bdf91f59a"}))}onNavbarToggled(e){this.isNavbarCollapsed=e.detail.payload,this.isNavbarCollapsed?this.hostElement.classList.add("expanded"):this.hostElement.classList.remove("expanded")}onResize(){this.windowResizeObserver()}windowResizeHandler(){var e,i,t,a;this.isLowResolution=WindowService.getWindow().innerWidth<=WINDOW_WIDTH_FOR_COLLAPSED_NAVBAR;const s=document.querySelector(".navbar-component");if(s){const n=document.querySelector(".cookie-consent-banner"),o=document.querySelector(".header-component"),r=null!==(i=null===(e=null==o?void 0:o.getBoundingClientRect())||void 0===e?void 0:e.height)&&void 0!==i?i:0,d=null!==(a=null===(t=null==n?void 0:n.getBoundingClientRect())||void 0===t?void 0:t.height)&&void 0!==a?a:0;s.style.height=`calc(100% - ${r}px - ${d}px)`}this.isLowResolution||this.isNavbarCollapsed?this.hostElement.classList.add("expanded"):this.hostElement.classList.remove("expanded")}handleAuthChange(e){var i;if(e&&this.authEvents.includes(e)){const e=this.authStorageService.isAuthenticated();navigate(e?null!==(i=this.navigationContextService.getPreviousRoute())&&void 0!==i?i:"./":"login"),WindowService.getWindow().location.reload()}}subscribeToSecurityChanges(){const e=service(SecurityContextService);this.subscriptions.add(e.onAuthenticatedUserChanged(e=>{this.authenticatedUser=e,this.updateVisibility()})),this.subscriptions.add(e.onSecurityConfigChanged(e=>{this.securityConfig=e,this.updateVisibility()})),this.subscriptions.add(this.eventService.subscribe(EventName.LOGIN,()=>{this.setNavbarItemVisibility(),this.updateVisibility()})),this.subscriptions.add(this.eventService.subscribe(EventName.LOGOUT,()=>{this.setNavbarItemVisibility(),this.updateVisibility(),navigate("login")}))}subscribeToRuntimeConfigurationChanges(){this.subscriptions.add(this.runtimeConfigurationContextService.onRuntimeConfigurationChanged(e=>{var i;this.isEmbedded=null!==(i=null==e?void 0:e.isEmbedded)&&void 0!==i&&i}))}updateVisibility(){this.authenticationService.isSecurityEnabled()?(this.showHeader=this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess(),this.showNavbar=this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess()):(this.showNavbar=!0,this.showHeader=!0)}isAuthenticatedFully(){return!this.authenticationService.isSecurityEnabled()||this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess()}shouldShowMenu(e){return this.isAuthenticatedFully()&&this.authorizationService.hasRole(e)}assignNavbarRef(){return e=>{this.navbarRef=e,this.navbarRef&&(this.navbarRef.menuItems=WindowService.getPluginRegistry().get(MainMenuExtensionPoint.NAME),this.setNavbarItemVisibility())}}setNavbarItemVisibility(){var e,i,t;if(!(null===(e=this.navbarRef)||void 0===e?void 0:e.menuItems))return;const a=e=>{var i;e.shouldShow=this.shouldShowMenu(e.role),(null===(i=e.children)||void 0===i?void 0:i.length)&&e.children.forEach(a)};null===(t=null===(i=this.navbarRef)||void 0===i?void 0:i.menuItems)||void 0===t||t.forEach(e=>{e.items.forEach(a)}),this.navbarRef.menuItems=[...this.navbarRef.menuItems]}subscribeToNavigationEnd(){this.subscriptions.add(this.eventService.subscribe(EventName.NAVIGATION_END,e=>{this.navigationContextService.updatePreviousRoute(e.oldUrl),this.loading=!1}))}subscribeToApplicationChange(){this.subscriptions.add(this.applicationLifecycleContextService.onNavigationBeforeMountRouting(e=>{e&&(this.loading=!0)}))}get hostElement(){return getElement(this)}};OntoLayout.style=ontoLayoutCss;export{OntoLayout as onto_layout};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as i,a as e,d as a}from"./p-BntG-4Sv.js";import{d as s}from"./p-D1ZpXQQS.js";import{service as o,AuthenticationService as d,AuthorizationService as h,NavigationContextService as n,AuthenticationStorageService as r,RuntimeConfigurationContextService as l,EventService as c,ApplicationLifecycleContextService as b,StorageKey as f,SubscriptionList as u,LocalStorageSubscriptionHandlerService as p,WindowService as m,navigate as v,SecurityContextService as y,EventName as g,MainMenuExtensionPoint as w}from"@ontotext/workbench-api";import{T as k}from"./p-FB05Sh97.js";const x=class{constructor(e){t(this,e),this.authenticationService=o(d),this.authorizationService=o(h),this.navigationContextService=o(n),this.authStorageService=o(r),this.runtimeConfigurationContextService=o(l),this.eventService=o(c),this.applicationLifecycleContextService=o(b),this.fullJwtKey=`${f.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.jwtKey}`,this.fullAuthenticatedKey=`${f.GLOBAL_NAMESPACE}.${this.authStorageService.NAMESPACE}.${this.authStorageService.authenticatedKey}`,this.authEvents=[this.fullJwtKey,this.fullAuthenticatedKey],this.isLowResolution=!1,this.showHeader=this.isAuthenticatedFully(),this.showNavbar=!1,this.isEmbedded=!1,this.loading=!0,this.subscriptions=new u,this.isNavbarCollapsed=!1,this.handleStorageChange=e=>{o(p).handleStorageChange(e),this.handleAuthChange(e.key)},this.windowResizeObserver=s(()=>this.windowResizeHandler(),50),m.getWindow().addEventListener("storage",this.handleStorageChange)}componentDidLoad(){this.windowResizeHandler()}connectedCallback(){this.subscribeToSecurityChanges(),this.updateVisibility(),this.subscribeToNavigationEnd(),this.subscribeToRuntimeConfigurationChanges(),this.subscribeToApplicationChange(),this.loading=!1}disconnectedCallback(){this.subscriptions.unsubscribeAll()}render(){return i(e,{key:"8405c68277c496e168c09db7b7beb56ad0544e65",class:{"wb-layout":!0,"is-embedded":this.isEmbedded,"hide-navbar":!this.showNavbar}},i("div",{key:"c34b51800a424c8acc6a45dc48373180e314928d",class:"default-slot-wrapper"},i("slot",{key:"e0a8b5817b7dc65c8694f56427ecad40268e57ea",name:"default"})),!this.isEmbedded&&i("header",{key:"5c66d576e4f78f7306e65b8ce0731081c98bbaf3",class:"wb-header"},this.showHeader&&i("onto-header",{key:"079068ddfbab4253e6b346907fc116f0e79cfb72"})),!this.isEmbedded&&this.showNavbar&&i("nav",{key:"e609d24c84e6d75e637f3b64d21d3d7f0fc529a9",class:"wb-navbar"},i("onto-navbar",{key:"d36c1fc0d2553b04d906fcc95f786061176dbd67",ref:this.assignNavbarRef(),"navbar-collapsed":this.isLowResolution})),i("div",{key:"b9e0b411e260a3736681e46c3f14b117c906678c",class:{"main-slot-wrapper":!0,loading:this.loading}},this.loading&&i("div",{key:"9bed00bdf6db35d27264dc86a4b228879284f1f2",class:"loader-wrapper"},i("onto-loader",{key:"0c232e3a750d656ddd7fa14611521801309d7b5f",size:96,messageText:k.translate("common.loading")})),i("slot",{key:"82594cea920038f3207b91e10c82a11e266d51d2",name:"main"})),!this.isEmbedded&&i("footer",{key:"3efbb9aa9525e5ba893081979300e2c2fe8e7866",class:"wb-footer"},i("onto-footer",{key:"6a6a076bdd2a0edfbe0cf954e1d60e5a70e5d3b0"})),i("onto-tooltip",{key:"15024b393011ed0b0cff5113c72650776ac72bea"}),i("onto-confirm-cancel-dialog",{key:"19ba2f104c717bc2a51f2fa2c011e50bdf91f59a"}))}onNavbarToggled(e){this.isNavbarCollapsed=e.detail.payload,this.isNavbarCollapsed?this.hostElement.classList.add("expanded"):this.hostElement.classList.remove("expanded")}onResize(){this.windowResizeObserver()}windowResizeHandler(){var e,i,t,a;this.isLowResolution=m.getWindow().innerWidth<=768;const s=document.querySelector(".navbar-component");if(s){const o=document.querySelector(".cookie-consent-banner"),n=document.querySelector(".header-component"),r=null!==(i=null===(e=null==n?void 0:n.getBoundingClientRect())||void 0===e?void 0:e.height)&&void 0!==i?i:0,d=null!==(a=null===(t=null==o?void 0:o.getBoundingClientRect())||void 0===t?void 0:t.height)&&void 0!==a?a:0;s.style.height=`calc(100% - ${r}px - ${d}px)`}this.isLowResolution||this.isNavbarCollapsed?this.hostElement.classList.add("expanded"):this.hostElement.classList.remove("expanded")}handleAuthChange(e){var i;if(e&&this.authEvents.includes(e)){const e=this.authStorageService.isAuthenticated();v(e?null!==(i=this.navigationContextService.getPreviousRoute())&&void 0!==i?i:"./":"login"),m.getWindow().location.reload()}}subscribeToSecurityChanges(){const e=o(y);this.subscriptions.add(e.onAuthenticatedUserChanged(e=>{this.authenticatedUser=e,this.updateVisibility()})),this.subscriptions.add(e.onSecurityConfigChanged(e=>{this.securityConfig=e,this.updateVisibility()})),this.subscriptions.add(this.eventService.subscribe(g.LOGIN,()=>{this.setNavbarItemVisibility(),this.updateVisibility()})),this.subscriptions.add(this.eventService.subscribe(g.LOGOUT,()=>{this.setNavbarItemVisibility(),this.updateVisibility(),v("login")}))}subscribeToRuntimeConfigurationChanges(){this.subscriptions.add(this.runtimeConfigurationContextService.onRuntimeConfigurationChanged(e=>{var i;this.isEmbedded=null!==(i=null==e?void 0:e.isEmbedded)&&void 0!==i&&i}))}updateVisibility(){this.authenticationService.isSecurityEnabled()?(this.showHeader=this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess(),this.showNavbar=this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess()):(this.showNavbar=!0,this.showHeader=!0)}isAuthenticatedFully(){return!this.authenticationService.isSecurityEnabled()||this.authenticationService.isAuthenticated()||this.authorizationService.hasFreeAccess()}shouldShowMenu(e){return this.isAuthenticatedFully()&&this.authorizationService.hasRole(e)}assignNavbarRef(){return e=>{this.navbarRef=e,this.navbarRef&&(this.navbarRef.menuItems=m.getPluginRegistry().get(w.NAME),this.setNavbarItemVisibility())}}setNavbarItemVisibility(){var e,i,t;if(!(null===(e=this.navbarRef)||void 0===e?void 0:e.menuItems))return;const a=e=>{var i;e.shouldShow=this.shouldShowMenu(e.role),(null===(i=e.children)||void 0===i?void 0:i.length)&&e.children.forEach(a)};null===(t=null===(i=this.navbarRef)||void 0===i?void 0:i.menuItems)||void 0===t||t.forEach(e=>{e.items.forEach(a)}),this.navbarRef.menuItems=[...this.navbarRef.menuItems]}subscribeToNavigationEnd(){this.subscriptions.add(this.eventService.subscribe(g.NAVIGATION_END,e=>{this.navigationContextService.updatePreviousRoute(e.oldUrl),this.loading=!1}))}subscribeToApplicationChange(){this.subscriptions.add(this.applicationLifecycleContextService.onNavigationBeforeMountRouting(e=>{e&&(this.loading=!0)}))}get hostElement(){return a(this)}};x.style=':host{display:block;height:100%}.wb-layout{display:grid;grid-template:"header header" auto "nav main" 1fr "nav footer" auto/15rem minmax(200px, 1fr);min-height:100vh;margin:0;}.wb-layout.expanded{grid-template-columns:4.375rem 1fr}.wb-layout.is-embedded{grid-template-columns:1fr;grid-template-areas:"main";padding-top:1rem}.wb-layout.hide-navbar{grid-template:"header" auto "main" 1fr "footer" auto/1fr;}.wb-layout.hide-navbar.expanded{grid-template-columns:1fr}.wb-layout main .main-container{margin-left:0}.wb-layout .main-slot-wrapper .loader-wrapper{flex-grow:1;display:flex;align-items:center;justify-content:center}.wb-layout .main-slot-wrapper.loading{display:flex;flex-direction:column}.wb-layout .main-slot-wrapper.loading .page-content{visibility:hidden}.wb-layout .default-slot-wrapper{display:none}.wb-layout .wb-header{position:sticky;top:0;z-index:999}.wb-layout nav{grid-area:nav}.wb-layout header{grid-area:header}.wb-layout main{grid-area:main}.wb-layout footer{grid-area:footer}';export{x as onto_layout};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as o,H as e,g as t,b as n}from"./p-BntG-4Sv.js";export{s as setNonce}from"./p-BntG-4Sv.js";var a=o=>{const e=o.cloneNode;o.cloneNode=function(o){if("TEMPLATE"===this.nodeName)return e.call(this,o);const t=e.call(this,!1),n=this.childNodes;if(o)for(let o=0;o<n.length;o++)2!==n[o].nodeType&&t.appendChild(n[o].cloneNode(!0));return t}};(()=>{a(e.prototype);const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),o(n)})().then(async o=>(await t(),n([["p-2d54c018",[[0,"translate-label",{labelKey:[1,"label-key"],translationParameters:[16,"translation-parameters"],translatedLabel:[32]}]]],["p-
|
|
1
|
+
import{p as o,H as e,g as t,b as n}from"./p-BntG-4Sv.js";export{s as setNonce}from"./p-BntG-4Sv.js";var a=o=>{const e=o.cloneNode;o.cloneNode=function(o){if("TEMPLATE"===this.nodeName)return e.call(this,o);const t=e.call(this,!1),n=this.childNodes;if(o)for(let o=0;o<n.length;o++)2!==n[o].nodeType&&t.appendChild(n[o].cloneNode(!0));return t}};(()=>{a(e.prototype);const t=import.meta.url,n={};return""!==t&&(n.resourcesUrl=new URL(".",t).href),o(n)})().then(async o=>(await t(),n([["p-2d54c018",[[0,"translate-label",{labelKey:[1,"label-key"],translationParameters:[16,"translation-parameters"],translatedLabel:[32]}]]],["p-676674e7",[[4,"onto-layout",{authenticatedUser:[32],authToken:[32],securityConfig:[32],isLowResolution:[32],showHeader:[32],showNavbar:[32],isEmbedded:[32],loading:[32]},[[0,"navbarToggled","onNavbarToggled"],[9,"resize","onResize"]]]]],["p-cd5cc683",[[0,"onto-graph-explore-split-button",{label:[1],fetchGraphConfigs:[16,"fetch-graph-configs"],items:[32],isDropdownOpen:[32]}]]],["p-c42b54b2",[[0,"onto-permission-banner"]]],["p-c0604335",[[0,"onto-test-context",{initConfigurationContext:[64],updateLicense:[64],updateProductInfo:[64],loadRepositories:[64],setAuthenticatedUser:[64],setSecurityConfig:[64],login:[64],changeLanguage:[64],emitNavigateEndEvent:[64],updateSelectedRepository:[64],updateIsLoadingActiveRepositoryLocation:[64],openConfirmCancel:[64],addToastr:[64],addNotification:[64],setAutocomplete:[64],updateNamespaces:[64]}]]],["p-f1d19514",[[0,"onto-toastr",{toasts:[32]},[[16,"create-toast-event","handleToastCreate"]]]]],["p-9533177a",[[0,"onto-toggle-switch",{checked:[1028],labelKey:[1,"label-key"],tooltipTranslationKey:[1,"tooltip-translation-key"],context:[1],tooltipLabel:[32]}],[4,"onto-dialog",{config:[16]}]]],["p-bf9b2a58",[[0,"onto-cookie-consent",{showModal:[32]},[[0,"closeDialog","onDialogClose"]]],[0,"onto-cookie-policy-dialog",null,[[0,"toggleChanged","toggleChangeHandler"]]]]],["p-60175612",[[0,"onto-dropdown",{dropdownButtonName:[1,"dropdown-button-name"],dropdownButtonNameLabelKey:[1,"dropdown-button-name-label-key"],dropdownButtonGuideSelector:[1,"dropdown-button-guide-selector"],dropdownButtonTooltip:[1,"dropdown-button-tooltip"],dropdownButtonTooltipLabelKey:[1,"dropdown-button-tooltip-label-key"],iconClass:[1,"icon-class"],iconImage:[1,"icon-image"],items:[16],tooltipTheme:[1,"tooltip-theme"],tooltipPlacement:[1,"tooltip-placement"],dropdownAlignment:[1,"dropdown-alignment"],autoClose:[4,"auto-close"],open:[32],buttonTooltipContent:[32]},[[8,"keydown","keydownListener"],[8,"click","mouseClickListener"]]]]],["p-c5471e53",[[0,"onto-rdf-search",{isOpen:[32],buttonConfig:[32]},[[8,"click","handleClick"]]],[0,"onto-language-selector",{dropdownAlignment:[1,"dropdown-alignment"],currentLanguage:[32]}],[0,"onto-license-alert",{license:[16]}],[0,"onto-operations-notification",{activeOperations:[16,"active-operations"],isOpen:[32]},[[8,"click","handleOutsideClick"]]],[0,"onto-repository-selector",{currentRepository:[16,"current-repository"],items:[16],repositorySizeInfoFetcher:[16,"repository-size-info-fetcher"],totalTripletsFormatter:[16,"total-triplets-formatter"],expansionRatioFormatter:[16,"expansion-ratio-formatter"],canWriteRepo:[16,"can-write-repo"],defaultToggleButtonName:[32],noRepositoriesButtonMessage:[32]},null,{items:["onItemsChanged"]}],[0,"onto-user-login"],[0,"onto-user-menu",{user:[16],securityConfig:[16,"security-config"],isOpen:[32]}],[0,"onto-search-icon",{tooltipLabel:[32]}],[0,"onto-search-resource-input",{context:[1],skipValidation:[4,"skip-validation"],preserveSearch:[4,"preserve-search"],isHidden:[4,"is-hidden"],buttonConfig:[16,"button-config"],inputValue:[32],searchResult:[32],isAutocompleteEnabled:[32]},null,{isHidden:["onVisibilityChange"]}]]],["p-06ebe7a2",[[0,"onto-header",{activeOperations:[32],license:[32],isFreeAccessEnabled:[32],shouldShowSearch:[32],isHomePage:[32],repositoryList:[32],currentRoute:[32],currentRepository:[32],securityConfig:[32],user:[32],showUserMenu:[32],showLoginButton:[32],applicationLogoPath:[32]}],[0,"onto-footer",{productInfo:[32],shouldShowCookieConsent:[32]},[[0,"consentGiven","handleConsentGiven"]]],[0,"onto-confirm-cancel-dialog",{isOpen:[32],hasDontShowAgain:[32]},[[16,"confirm-cancel-event","onConfirmCancelEvent"]]],[0,"onto-navbar",{navbarCollapsed:[4,"navbar-collapsed"],menuItems:[16,"menu-items"],menuModel:[32],isCollapsed:[32]},null,{navbarCollapsed:["navbarCollapsedChange"],menuItems:["menuItemsChanged"]}],[1,"onto-loader",{size:[2],messageText:[1,"message-text"]}],[0,"onto-tooltip",null,[[5,"mouseover","onMouseover"],[5,"mouseout","onMouseout"]]]]]],o)));
|