graphdb-workbench 3.2.0-RC3 → 3.2.0-RC5
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/{38644.415c961a594eee59589b.bundle.js → 38644.5170461f73341cab9638.bundle.js} +2 -2
- package/dist/{38644.415c961a594eee59589b.bundle.js.map → 38644.5170461f73341cab9638.bundle.js.map} +1 -1
- package/dist/{39518.773abfe893ae02d58978.bundle.js → 39518.ba4c92df61fb4b9fe63f.bundle.js} +2 -2
- package/dist/{39518.773abfe893ae02d58978.bundle.js.map → 39518.ba4c92df61fb4b9fe63f.bundle.js.map} +1 -1
- package/dist/{67888.dc0a5dd0937a17571689.bundle.js → 67888.08c02c2c671f67002cd9.bundle.js} +2 -2
- package/dist/{67888.dc0a5dd0937a17571689.bundle.js.map → 67888.08c02c2c671f67002cd9.bundle.js.map} +1 -1
- package/dist/78681.802c54c74b9d7ea16373.bundle.js +2 -0
- package/dist/{78681.814866dd42e43167385f.bundle.js.map → 78681.802c54c74b9d7ea16373.bundle.js.map} +1 -1
- package/dist/{82926.29de33c593153e0c41ce.bundle.js → 82926.ee6ef06a66c213d37f95.bundle.js} +2 -2
- package/dist/{82926.29de33c593153e0c41ce.bundle.js.map → 82926.ee6ef06a66c213d37f95.bundle.js.map} +1 -1
- package/dist/{99448.9f5cf75eddd63590310c.bundle.js → 99448.9bc1798801ce5489d558.bundle.js} +2 -2
- package/dist/{99448.9f5cf75eddd63590310c.bundle.js.map → 99448.9bc1798801ce5489d558.bundle.js.map} +1 -1
- package/dist/css/bootstrap-graphdb-theme.css +1 -1
- package/dist/css/lib/ontotext-yasgui-web-component.css +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 +1 -1
- 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 +1 -1
- 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.74464603beb21b16ee3f.js → legacyWorkbench.d6f5d47d64b9c2273a5f.js} +3 -3
- package/dist/{legacyWorkbench.74464603beb21b16ee3f.js.map → legacyWorkbench.d6f5d47d64b9c2273a5f.js.map} +1 -1
- package/dist/license-checker.json +2 -2
- package/dist/{main.f4b1fbec182d8427ee8a.js → main.e44c2b8519c3879e67bf.js} +3 -3
- package/dist/{main.f4b1fbec182d8427ee8a.js.map → main.e44c2b8519c3879e67bf.js.map} +1 -1
- package/dist/pages/aclmanagement.html +2 -2
- package/dist/pages/autocomplete.html +1 -1
- package/dist/pages/choose-repository-type.html +1 -1
- package/dist/pages/cluster-management/clusterInfo.html +3 -3
- package/dist/pages/create-index.html +1 -1
- package/dist/pages/dependencies.html +1 -1
- package/dist/pages/domainRangeInfo.html +2 -2
- package/dist/pages/edit.html +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/login.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 +27 -6
- package/dist/pages/webapi.html +2 -2
- package/dist/res/swagger5/index.html +11 -11
- package/dist/shared-components/cjs/onto-dialog_2.cjs.entry.js +1 -1
- package/dist/shared-components/collection/components/onto-toggle-switch/onto-toggle-switch.css +1 -1
- package/dist/shared-components/collection/pages/toggle-switch/main.js +1 -0
- package/dist/shared-components/esm/onto-dialog_2.entry.js +1 -1
- package/dist/shared-components/shared-components/{p-80575562.entry.js → p-f332de27.entry.js} +1 -1
- package/dist/shared-components/shared-components/shared-components.esm.js +1 -1
- package/dist/styleguide.ff5ea0909c83c420650b.js +2 -0
- package/dist/styleguide.ff5ea0909c83c420650b.js.map +1 -0
- package/dist/workbench/license-checker.json +2 -2
- package/package.json +1 -1
- package/dist/78681.814866dd42e43167385f.bundle.js +0 -2
- package/dist/styleguide.bc9dcbaac347a57319f2.js +0 -2
- package/dist/styleguide.bc9dcbaac347a57319f2.js.map +0 -1
- /package/dist/{legacyWorkbench.74464603beb21b16ee3f.js.LICENSE.txt → legacyWorkbench.d6f5d47d64b9c2273a5f.js.LICENSE.txt} +0 -0
- /package/dist/{main.f4b1fbec182d8427ee8a.js.LICENSE.txt → main.e44c2b8519c3879e67bf.js.LICENSE.txt} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<link href="css/aclmanagement.css?v=3.2.0-
|
|
2
|
-
<link href="css/autocomplete-select.css?v=3.2.0-
|
|
1
|
+
<link href="css/aclmanagement.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
2
|
+
<link href="css/autocomplete-select.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
3
3
|
|
|
4
4
|
<div class="acl-management-view">
|
|
5
5
|
<h1 id="acl-management-view-title">
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<link href="css/clustermanagement.css?v=3.2.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=3.2.0-
|
|
3
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=3.2.0-
|
|
1
|
+
<link href="css/clustermanagement.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
3
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=3.2.0-RC5" 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.2.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=3.2.0-
|
|
1
|
+
<link href="css/domain-range-graph.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=3.2.0-RC5" 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.2.0-
|
|
1
|
+
<link href="css/graphs-config.css?v=3.2.0-RC5" 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.2.0-
|
|
62
|
+
<img class="image-label-image" src="css/images/search.png?v=3.2.0-RC5" 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.2.0-
|
|
73
|
+
<img class="image-label-image" src="css/images/node.png?v=3.2.0-RC5" 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.2.0-
|
|
84
|
+
<img class="image-label-image" src="css/images/query.png?v=3.2.0-RC5" 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.2.0-
|
|
131
|
+
<img src="css/images/expand.png?v=3.2.0-RC5" 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.2.0-
|
|
159
|
+
<img src="css/images/labels-size.png?v=3.2.0-RC5" 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.2.0-
|
|
182
|
+
<img src="css/images/predicates.png?v=3.2.0-RC5" 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.2.0-
|
|
214
|
+
<img src="css/images/side-panel.png?v=3.2.0-RC5" 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.2.0-
|
|
2
|
-
<link href="css/rdf-details-side-panel.css?v=3.2.0-
|
|
3
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.2.0-
|
|
4
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=3.2.0-
|
|
1
|
+
<link href="css/graphs-vizualizations.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-details-side-panel.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
3
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=3.2.0-RC5" 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.2.0-
|
|
131
|
-
<img ng-if="config.startMode == 'node'" src="css/images/node.png?v=3.2.0-
|
|
132
|
-
<img ng-if="config.startMode == 'query'" src="css/images/query.png?v=3.2.0-
|
|
130
|
+
<img ng-if="config.startMode == 'search'" src="css/images/search.png?v=3.2.0-RC5" 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.2.0-RC5" 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.2.0-RC5" 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>
|
package/dist/pages/guides.html
CHANGED
package/dist/pages/home.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/home.css?v=3.2.0-
|
|
1
|
+
<link href="css/home.css?v=3.2.0-RC5" rel="stylesheet">
|
|
2
2
|
<div class="ot-loader ot-loader-home" onto-loader-fancy size="100" ng-show="isLoadingLocation()"></div>
|
|
3
3
|
<div 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.2.0-
|
|
2
|
-
<link rel="stylesheet" type="text/css" href="css/import-resource-tree.css?v=3.2.0-
|
|
1
|
+
<link rel="stylesheet" type="text/css" href="css/import.css?v=3.2.0-RC5">
|
|
2
|
+
<link rel="stylesheet" type="text/css" href="css/import-resource-tree.css?v=3.2.0-RC5">
|
|
3
3
|
|
|
4
4
|
<div id="wb-import">
|
|
5
5
|
<h1>
|
package/dist/pages/jdbc.html
CHANGED
package/dist/pages/login.html
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<link href="css/backup-and-restore.css?v=3.2.0-
|
|
1
|
+
<link href="css/backup-and-restore.css?v=3.2.0-RC5" 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.2.0-
|
|
2
|
-
<link href="css/export.css?v=3.2.0-
|
|
1
|
+
<link href="css/lib/angular-xeditable/xeditable.min.css?v=3.2.0-RC5" rel="stylesheet">
|
|
2
|
+
<link href="css/export.css?v=3.2.0-RC5" 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.2.0-
|
|
2
|
-
<link href="css/rdf-class-hierarchy-labels.css?v=3.2.0-
|
|
3
|
-
<link href="css/rdf-details-side-panel.css?v=3.2.0-
|
|
4
|
-
<link href="js/lib/rzslider/rzslider.min.css?v=3.2.0-
|
|
5
|
-
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=3.2.0-
|
|
6
|
-
<link href="js/lib/d3-tip/d3-tip.css?v=3.2.0-
|
|
7
|
-
<link href="css/lib/animate/3.2.0/animate.min.css?v=3.2.0-
|
|
1
|
+
<link href="css/rdf-class-hierarchy.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
2
|
+
<link href="css/rdf-class-hierarchy-labels.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
3
|
+
<link href="css/rdf-details-side-panel.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
4
|
+
<link href="js/lib/rzslider/rzslider.min.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
5
|
+
<link href="js/lib/angucomplete-alt/angucomplete-alt.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
6
|
+
<link href="js/lib/d3-tip/d3-tip.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
7
|
+
<link href="css/lib/animate/3.2.0/animate.min.css?v=3.2.0-RC5" 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.2.0-
|
|
2
|
-
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.2.0-
|
|
1
|
+
<link href="css/rdfrank.css?v=3.2.0-RC5" rel="stylesheet">
|
|
2
|
+
<link href="css/lib/ng-tags-input/ng-tags-input.min.css?v=3.2.0-RC5" 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.2.0-
|
|
4
|
+
<link href="js/lib/rzslider/rzslider.min.css?v=3.2.0-RC5" rel="stylesheet"/>
|
|
5
5
|
|
|
6
6
|
<div class="content-wrapper">
|
|
7
7
|
<div core-errors></div>
|
|
@@ -311,10 +311,31 @@
|
|
|
311
311
|
<br/>
|
|
312
312
|
<h3>Toggle and slider</h3>
|
|
313
313
|
<div>
|
|
314
|
-
<
|
|
315
|
-
<
|
|
316
|
-
|
|
317
|
-
|
|
314
|
+
<table border="1" cellpadding="10" cellspacing="0">
|
|
315
|
+
<tr>
|
|
316
|
+
<td>legacy</td>
|
|
317
|
+
<td>
|
|
318
|
+
<div>
|
|
319
|
+
<span gdb-tooltip="Toggle" tooltip-placement="top" class="switch">
|
|
320
|
+
<input id="toggle" type="checkbox" class="switch" ng-checked="true"/>
|
|
321
|
+
<label for="toggle"></label>
|
|
322
|
+
</span>
|
|
323
|
+
</div>
|
|
324
|
+
</td>
|
|
325
|
+
</tr>
|
|
326
|
+
<tr>
|
|
327
|
+
<td>Default attributes: [checked=false], no label</td>
|
|
328
|
+
<td><onto-toggle-switch></onto-toggle-switch></td>
|
|
329
|
+
</tr>
|
|
330
|
+
<tr>
|
|
331
|
+
<td>checked: true, label-key</td>
|
|
332
|
+
<td><onto-toggle-switch checked="true" label-key="checked"></onto-toggle-switch></td>
|
|
333
|
+
</tr>
|
|
334
|
+
<tr>
|
|
335
|
+
<td>checked: false, label-key</td>
|
|
336
|
+
<td><onto-toggle-switch checked="false" label-key="unchecked"></onto-toggle-switch></td>
|
|
337
|
+
</tr>
|
|
338
|
+
</table>
|
|
318
339
|
</div>
|
|
319
340
|
<br/>
|
|
320
341
|
<div class="class-cnt-slider animate-show">
|
|
@@ -489,7 +510,7 @@
|
|
|
489
510
|
{{'sample.query.used' | translate}}</p>
|
|
490
511
|
</div>
|
|
491
512
|
<div>
|
|
492
|
-
<img src="css/images/expand.png?v=3.2.0-
|
|
513
|
+
<img src="css/images/expand.png?v=3.2.0-RC5" class="info-box-img" height="220"
|
|
493
514
|
alt="expand image">
|
|
494
515
|
</div>
|
|
495
516
|
</div>
|
package/dist/pages/webapi.html
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
|
-
<link href='css/lib/swagger-ui.min.css?v=3.2.0-
|
|
3
|
-
<link href='css/swagger.custom.css?v=3.2.0-
|
|
2
|
+
<link href='css/lib/swagger-ui.min.css?v=3.2.0-RC5' rel='stylesheet' type='text/css'/>
|
|
3
|
+
<link href='css/swagger.custom.css?v=3.2.0-RC5' rel='stylesheet' type='text/css'/>
|
|
4
4
|
|
|
5
5
|
<h1>
|
|
6
6
|
{{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.2.0-
|
|
8
|
-
<link rel="stylesheet" type="text/css" href="./index.css?v=3.2.0-
|
|
9
|
-
<link rel="icon" type="image/png" href="./favicon-32x32.png?v=3.2.0-
|
|
10
|
-
<link rel="icon" type="image/png" href="./favicon-16x16.png?v=3.2.0-
|
|
11
|
-
<link href='css/reset.css?v=3.2.0-
|
|
12
|
-
<link href='css/screen.css?v=3.2.0-
|
|
13
|
-
<link href='css/onto-theme.css?v=3.2.0-
|
|
14
|
-
<link href='css/print.css?v=3.2.0-
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="./swagger-ui.css?v=3.2.0-RC5" />
|
|
8
|
+
<link rel="stylesheet" type="text/css" href="./index.css?v=3.2.0-RC5" />
|
|
9
|
+
<link rel="icon" type="image/png" href="./favicon-32x32.png?v=3.2.0-RC5" sizes="32x32" />
|
|
10
|
+
<link rel="icon" type="image/png" href="./favicon-16x16.png?v=3.2.0-RC5" sizes="16x16" />
|
|
11
|
+
<link href='css/reset.css?v=3.2.0-RC5' media='screen' rel='stylesheet' type='text/css'/>
|
|
12
|
+
<link href='css/screen.css?v=3.2.0-RC5' media='screen' rel='stylesheet' type='text/css'/>
|
|
13
|
+
<link href='css/onto-theme.css?v=3.2.0-RC5' media='screen' rel='stylesheet' type='text/css'/>
|
|
14
|
+
<link href='css/print.css?v=3.2.0-RC5' 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.2.0-
|
|
24
|
-
<script src="./swagger-ui-standalone-preset.js?v=3.2.0-
|
|
25
|
-
<script src="./swagger-initializer.js?v=3.2.0-
|
|
23
|
+
<script src="./swagger-ui-bundle.js?v=3.2.0-RC5" charset="UTF-8"> </script>
|
|
24
|
+
<script src="./swagger-ui-standalone-preset.js?v=3.2.0-RC5" charset="UTF-8"> </script>
|
|
25
|
+
<script src="./swagger-initializer.js?v=3.2.0-RC5" charset="UTF-8"> </script>
|
|
26
26
|
</body>
|
|
27
27
|
</html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var index=require("./index-jdsA9lN2.js"),htmlUtil=require("./html-util-e108SpX7.js"),translation_service=require("./translation.service-CC6jY4U-.js"),ontoTooltipPlacement=require("./onto-tooltip-placement-CTomd-7A.js");require("@ontotext/workbench-api");const ontoDialogCss=".dialog-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;z-index:9998;margin-left:-10px;background-color:rgba(0, 0, 0, 0.5);font-family:var(--main-font), sans-serif;font-weight:var(--main-font-weight);color:var(--gw-secondary-base, var(--base-text-color))}.dialog{z-index:1001;max-width:60vw;max-height:90vh;font-family:inherit;font-weight:inherit;display:flex;flex-direction:column;position:relative;justify-content:space-between;border:none;color:var(--gw-dialog-color);background-color:var(--gw-dialog-background);box-shadow:0 5px 15px rgba(0, 0, 0, 0.5)}.dialog .dialog-header{display:flex;justify-content:space-between;padding:15px;font-size:20px}.dialog .dialog-header .dialog-title{margin:0.5rem 0;font-weight:400}.dialog .dialog-body{padding:0 15px 15px;overflow:auto}.dialog .dialog-footer{display:flex;justify-content:flex-end;padding:15px}",OntoDialog=class{constructor(e){index.registerInstance(this,e),this.handleClose=e=>{this.config.onClose(e)}}componentDidLoad(){this.documentOverflow=htmlUtil.HtmlUtil.hideDocumentBodyOverflow(),this.hostElement.addEventListener("keydown",this.preventLeavingDialog.bind(this)),this.closeButton.focus()}disconnectedCallback(){this.hostElement.removeEventListener("keydown",this.preventLeavingDialog.bind(this)),htmlUtil.HtmlUtil.setDocumentBodyOverflow(this.documentOverflow)}render(){return index.h(index.Host,{key:"eeffeaac1aa5b80b89d0d176d89dc44291fd0cbb",tabindex:"-1"},index.h("div",{key:"2ba8415fa038ad2666cc0b340a3ceba6f0919bc6",class:`dialog-overlay ${this.config.modalClass?this.config.modalClass:""}`},index.h("dialog",{key:"39b9fc94944e12e8dcae98a65e74593dc173b336",class:"dialog"},index.h("header",{key:"183327aad084ff6fd619d204a537871cace84684",class:"dialog-header"},index.h("h3",{key:"ae4c514e0f75e46d5787d284154392de808100ca",class:"dialog-title"},this.config.dialogTitle)),index.h("main",{key:"dc991f0ef3baa22f42f683528a4ca67ab8d5e7f4",class:"dialog-body"},index.h("slot",{key:"ddc1c5176d976f5a518fed1d2faa138d0bc5082a",name:"body"})),index.h("footer",{key:"b3cb9449b54583a7b5489b7d56fa084e456b4d75",class:"dialog-footer"},index.h("slot",{key:"b3bc85bdfe12da62019be2e542737e5b6f7db4f6",name:"footer"}),index.h("button",{key:"c58a84d33d8d07ae67a9988adaa320166371cc5b",class:"onto-btn onto-btn-primary",onClick:this.handleClose,ref:e=>this.closeButton=e},index.h("translate-label",{key:"b593b5e113baa66e6878a2e885a46bc6581bf27f",labelKey:"common.button.close"}))))))}preventLeavingDialog(e){htmlUtil.HtmlUtil.preventLeavingDialog(this.hostElement,e)}get hostElement(){return index.getElement(this)}};OntoDialog.style=ontoDialogCss;class ObjectUtil{static deepEqual(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!ObjectUtil.deepEqual(e[o],t[o]))return!1;return!0}if(!Array.isArray(e)&&!Array.isArray(t)){const o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(const i of o)if(!(i in t)||!ObjectUtil.deepEqual(e[i],t[i]))return!1;return!0}return!1}return!1}static deepCopy(e){if("object"!=typeof e||null==e||"function"==typeof e)return e;if(Array.isArray(e))return e.map(e=>ObjectUtil.deepCopy(e));const t=Object.create(Object.getPrototypeOf(e));for(const o of Object.keys(e))t[o]=ObjectUtil.deepCopy(e[o]);return t}static hasCopyMethod(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"copy")&&"function"==typeof e.copy}}class Model{copy(){return ObjectUtil.deepCopy(this)}}class ModelList extends Model{constructor(e=[]){super(),this.items=e}getItems(){return this.items}sort(e){this.items.sort(e)}filter(e){return this.items.filter(e)}find(e){return this.items.find(e)}isEmpty(){return 0===this.items.length}addToStart(e){this.items.unshift(e)}addItems(e){this.items.push(...e)}remove(e){const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1)}}class SubscriptionList extends ModelList{constructor(e){super(e)}add(e){this.items.push(e)}addAll(e){this.items.push(...e)}unsubscribeAll(){this.items.forEach(e=>e()),this.items=[]}}const ontoToggleSwitchCss='.toggle-switch{all:unset;clear:both;margin:0 5px;width:36px}.toggle-switch:focus{outline:none;box-shadow:none}.toggle-switch:focus-visible{outline:none;box-shadow:none}.toggle-switch input:empty{display:none}.toggle-switch input:empty~label{position:relative;cursor:pointer;user-select:none;margin:0.05em 0.6em -0.05em 0}.toggle-switch input:empty~label:before{display:block;content:" ";width:2.2em;height:
|
|
1
|
+
"use strict";var index=require("./index-jdsA9lN2.js"),htmlUtil=require("./html-util-e108SpX7.js"),translation_service=require("./translation.service-CC6jY4U-.js"),ontoTooltipPlacement=require("./onto-tooltip-placement-CTomd-7A.js");require("@ontotext/workbench-api");const ontoDialogCss=".dialog-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;z-index:9998;margin-left:-10px;background-color:rgba(0, 0, 0, 0.5);font-family:var(--main-font), sans-serif;font-weight:var(--main-font-weight);color:var(--gw-secondary-base, var(--base-text-color))}.dialog{z-index:1001;max-width:60vw;max-height:90vh;font-family:inherit;font-weight:inherit;display:flex;flex-direction:column;position:relative;justify-content:space-between;border:none;color:var(--gw-dialog-color);background-color:var(--gw-dialog-background);box-shadow:0 5px 15px rgba(0, 0, 0, 0.5)}.dialog .dialog-header{display:flex;justify-content:space-between;padding:15px;font-size:20px}.dialog .dialog-header .dialog-title{margin:0.5rem 0;font-weight:400}.dialog .dialog-body{padding:0 15px 15px;overflow:auto}.dialog .dialog-footer{display:flex;justify-content:flex-end;padding:15px}",OntoDialog=class{constructor(e){index.registerInstance(this,e),this.handleClose=e=>{this.config.onClose(e)}}componentDidLoad(){this.documentOverflow=htmlUtil.HtmlUtil.hideDocumentBodyOverflow(),this.hostElement.addEventListener("keydown",this.preventLeavingDialog.bind(this)),this.closeButton.focus()}disconnectedCallback(){this.hostElement.removeEventListener("keydown",this.preventLeavingDialog.bind(this)),htmlUtil.HtmlUtil.setDocumentBodyOverflow(this.documentOverflow)}render(){return index.h(index.Host,{key:"eeffeaac1aa5b80b89d0d176d89dc44291fd0cbb",tabindex:"-1"},index.h("div",{key:"2ba8415fa038ad2666cc0b340a3ceba6f0919bc6",class:`dialog-overlay ${this.config.modalClass?this.config.modalClass:""}`},index.h("dialog",{key:"39b9fc94944e12e8dcae98a65e74593dc173b336",class:"dialog"},index.h("header",{key:"183327aad084ff6fd619d204a537871cace84684",class:"dialog-header"},index.h("h3",{key:"ae4c514e0f75e46d5787d284154392de808100ca",class:"dialog-title"},this.config.dialogTitle)),index.h("main",{key:"dc991f0ef3baa22f42f683528a4ca67ab8d5e7f4",class:"dialog-body"},index.h("slot",{key:"ddc1c5176d976f5a518fed1d2faa138d0bc5082a",name:"body"})),index.h("footer",{key:"b3cb9449b54583a7b5489b7d56fa084e456b4d75",class:"dialog-footer"},index.h("slot",{key:"b3bc85bdfe12da62019be2e542737e5b6f7db4f6",name:"footer"}),index.h("button",{key:"c58a84d33d8d07ae67a9988adaa320166371cc5b",class:"onto-btn onto-btn-primary",onClick:this.handleClose,ref:e=>this.closeButton=e},index.h("translate-label",{key:"b593b5e113baa66e6878a2e885a46bc6581bf27f",labelKey:"common.button.close"}))))))}preventLeavingDialog(e){htmlUtil.HtmlUtil.preventLeavingDialog(this.hostElement,e)}get hostElement(){return index.getElement(this)}};OntoDialog.style=ontoDialogCss;class ObjectUtil{static deepEqual(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!ObjectUtil.deepEqual(e[o],t[o]))return!1;return!0}if(!Array.isArray(e)&&!Array.isArray(t)){const o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(const i of o)if(!(i in t)||!ObjectUtil.deepEqual(e[i],t[i]))return!1;return!0}return!1}return!1}static deepCopy(e){if("object"!=typeof e||null==e||"function"==typeof e)return e;if(Array.isArray(e))return e.map(e=>ObjectUtil.deepCopy(e));const t=Object.create(Object.getPrototypeOf(e));for(const o of Object.keys(e))t[o]=ObjectUtil.deepCopy(e[o]);return t}static hasCopyMethod(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"copy")&&"function"==typeof e.copy}}class Model{copy(){return ObjectUtil.deepCopy(this)}}class ModelList extends Model{constructor(e=[]){super(),this.items=e}getItems(){return this.items}sort(e){this.items.sort(e)}filter(e){return this.items.filter(e)}find(e){return this.items.find(e)}isEmpty(){return 0===this.items.length}addToStart(e){this.items.unshift(e)}addItems(e){this.items.push(...e)}remove(e){const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1)}}class SubscriptionList extends ModelList{constructor(e){super(e)}add(e){this.items.push(e)}addAll(e){this.items.push(...e)}unsubscribeAll(){this.items.forEach(e=>e()),this.items=[]}}const ontoToggleSwitchCss='.toggle-switch{all:unset;clear:both;margin:0 5px;width:36px}.toggle-switch:focus{outline:none;box-shadow:none}.toggle-switch:focus-visible{outline:none;box-shadow:none}.toggle-switch input:empty{display:none}.toggle-switch input:empty~label{position:relative;cursor:pointer;user-select:none;margin:0.05em 0.6em -0.05em 0;vertical-align:text-bottom}.toggle-switch input:empty~label:before{display:block;content:" ";width:2.2em;height:1.25em;background-color:var(--gw-toggleswitch-background);border-radius:10em;transition:all 100ms ease-in}.toggle-switch input:empty~label:after{position:absolute;display:block;top:0.08em;left:0.1em;content:" ";width:0.9em;height:0.9em;background-color:var(--gw-toggleswitch-handle-background);border:1px solid var(--gw-toggleswitch-background);border-radius:50%;transition:all 100ms ease-in}.toggle-switch input:checked~label:before{background-color:var(--gw-toggleswitch-checked-background)}.toggle-switch input:checked~label:after{left:1em;background-color:var(--gw-toggleswitch-handle-checked-background);border:1px solid var(--gw-toggleswitch-checked-background)}',OntoToggleSwitch=class{constructor(e){index.registerInstance(this,e),this.toggleChanged=index.createEvent(this,"toggleChanged"),this.subscriptions=new SubscriptionList,this.checked=!1,this.toggle=()=>{this.checked=!this.checked,this.toggleChanged.emit({checked:this.checked,context:this.context})}}subscribeToLanguageChange(){this.tooltipTranslationKey&&this.subscriptions.add(translation_service.TranslationService.onTranslate(this.tooltipTranslationKey,[],e=>{this.tooltipLabel=e}))}disconnectedCallback(){this.subscriptions.unsubscribeAll()}connectedCallback(){this.subscribeToLanguageChange()}render(){return index.h("section",{key:"d9d7433b0d5d86830bc124483a3982f255ea3851"},this.labelKey&&index.h("label",{key:"30e1f9c5a47b7a17f614ed2c31c191e4364f0552"},index.h("strong",{key:"e573b14579f77efd38636093143519451042e386"},index.h("translate-label",{key:"1653cbf17a0cd2f57e9011ed7bf3acc589ae9bde",labelKey:this.labelKey})," ")),index.h("button",{key:"3ff359d2c065db8653f12233d69934483c00b0d8",class:"toggle-switch",onClick:this.toggle,"tooltip-append-to":"parent","tooltip-content":this.tooltipLabel,"tooltip-placement":ontoTooltipPlacement.OntoTooltipPlacement.TOP},index.h("input",{key:"c36ab591c99d5030ab4528774bd8226ecacb855e",type:"checkbox",checked:this.checked}),index.h("label",{key:"86c93d3ccebd7f1324b6d39192472464580f1120"})))}};OntoToggleSwitch.style=ontoToggleSwitchCss,exports.onto_dialog=OntoDialog,exports.onto_toggle_switch=OntoToggleSwitch;
|
package/dist/shared-components/collection/components/onto-toggle-switch/onto-toggle-switch.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.toggle-switch{all:unset;clear:both;margin:0 5px;width:36px}.toggle-switch:focus{box-shadow:none;outline:none}.toggle-switch:focus-visible{box-shadow:none;outline:none}.toggle-switch input:empty{display:none}.toggle-switch input:empty~label{cursor:pointer;margin:.05em .6em -.05em 0;position:relative;user-select:none}.toggle-switch input:empty~label:before{background-color:
|
|
1
|
+
.toggle-switch{all:unset;clear:both;margin:0 5px;width:36px}.toggle-switch:focus{box-shadow:none;outline:none}.toggle-switch:focus-visible{box-shadow:none;outline:none}.toggle-switch input:empty{display:none}.toggle-switch input:empty~label{cursor:pointer;margin:.05em .6em -.05em 0;position:relative;user-select:none;vertical-align:text-bottom}.toggle-switch input:empty~label:before{background-color:var(--gw-toggleswitch-background);border-radius:10em;content:" ";display:block;height:1.25em;transition:all .1s ease-in;width:2.2em}.toggle-switch input:empty~label:after{background-color:var(--gw-toggleswitch-handle-background);border:1px solid var(--gw-toggleswitch-background);border-radius:50%;content:" ";display:block;height:.9em;left:.1em;position:absolute;top:.08em;transition:all .1s ease-in;width:.9em}.toggle-switch input:checked~label:before{background-color:var(--gw-toggleswitch-checked-background)}.toggle-switch input:checked~label:after{background-color:var(--gw-toggleswitch-handle-checked-background);border:1px solid var(--gw-toggleswitch-checked-background);left:1em}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const toggle=document.querySelector("onto-toggle-switch");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as registerInstance,h,a as Host,g as getElement,c as createEvent}from"./index-I_gcXFWK.js";import{H as HtmlUtil}from"./html-util-C8DO915D.js";import{T as TranslationService}from"./translation.service-nljGIprK.js";import{O as OntoTooltipPlacement}from"./onto-tooltip-placement-D_J2-9CG.js";import"@ontotext/workbench-api";const ontoDialogCss=".dialog-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;z-index:9998;margin-left:-10px;background-color:rgba(0, 0, 0, 0.5);font-family:var(--main-font), sans-serif;font-weight:var(--main-font-weight);color:var(--gw-secondary-base, var(--base-text-color))}.dialog{z-index:1001;max-width:60vw;max-height:90vh;font-family:inherit;font-weight:inherit;display:flex;flex-direction:column;position:relative;justify-content:space-between;border:none;color:var(--gw-dialog-color);background-color:var(--gw-dialog-background);box-shadow:0 5px 15px rgba(0, 0, 0, 0.5)}.dialog .dialog-header{display:flex;justify-content:space-between;padding:15px;font-size:20px}.dialog .dialog-header .dialog-title{margin:0.5rem 0;font-weight:400}.dialog .dialog-body{padding:0 15px 15px;overflow:auto}.dialog .dialog-footer{display:flex;justify-content:flex-end;padding:15px}",OntoDialog=class{constructor(e){registerInstance(this,e),this.handleClose=e=>{this.config.onClose(e)}}componentDidLoad(){this.documentOverflow=HtmlUtil.hideDocumentBodyOverflow(),this.hostElement.addEventListener("keydown",this.preventLeavingDialog.bind(this)),this.closeButton.focus()}disconnectedCallback(){this.hostElement.removeEventListener("keydown",this.preventLeavingDialog.bind(this)),HtmlUtil.setDocumentBodyOverflow(this.documentOverflow)}render(){return h(Host,{key:"eeffeaac1aa5b80b89d0d176d89dc44291fd0cbb",tabindex:"-1"},h("div",{key:"2ba8415fa038ad2666cc0b340a3ceba6f0919bc6",class:`dialog-overlay ${this.config.modalClass?this.config.modalClass:""}`},h("dialog",{key:"39b9fc94944e12e8dcae98a65e74593dc173b336",class:"dialog"},h("header",{key:"183327aad084ff6fd619d204a537871cace84684",class:"dialog-header"},h("h3",{key:"ae4c514e0f75e46d5787d284154392de808100ca",class:"dialog-title"},this.config.dialogTitle)),h("main",{key:"dc991f0ef3baa22f42f683528a4ca67ab8d5e7f4",class:"dialog-body"},h("slot",{key:"ddc1c5176d976f5a518fed1d2faa138d0bc5082a",name:"body"})),h("footer",{key:"b3cb9449b54583a7b5489b7d56fa084e456b4d75",class:"dialog-footer"},h("slot",{key:"b3bc85bdfe12da62019be2e542737e5b6f7db4f6",name:"footer"}),h("button",{key:"c58a84d33d8d07ae67a9988adaa320166371cc5b",class:"onto-btn onto-btn-primary",onClick:this.handleClose,ref:e=>this.closeButton=e},h("translate-label",{key:"b593b5e113baa66e6878a2e885a46bc6581bf27f",labelKey:"common.button.close"}))))))}preventLeavingDialog(e){HtmlUtil.preventLeavingDialog(this.hostElement,e)}get hostElement(){return getElement(this)}};OntoDialog.style=ontoDialogCss;class ObjectUtil{static deepEqual(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!ObjectUtil.deepEqual(e[o],t[o]))return!1;return!0}if(!Array.isArray(e)&&!Array.isArray(t)){const o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(const i of o)if(!(i in t)||!ObjectUtil.deepEqual(e[i],t[i]))return!1;return!0}return!1}return!1}static deepCopy(e){if("object"!=typeof e||null==e||"function"==typeof e)return e;if(Array.isArray(e))return e.map(e=>ObjectUtil.deepCopy(e));const t=Object.create(Object.getPrototypeOf(e));for(const o of Object.keys(e))t[o]=ObjectUtil.deepCopy(e[o]);return t}static hasCopyMethod(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"copy")&&"function"==typeof e.copy}}class Model{copy(){return ObjectUtil.deepCopy(this)}}class ModelList extends Model{constructor(e=[]){super(),this.items=e}getItems(){return this.items}sort(e){this.items.sort(e)}filter(e){return this.items.filter(e)}find(e){return this.items.find(e)}isEmpty(){return 0===this.items.length}addToStart(e){this.items.unshift(e)}addItems(e){this.items.push(...e)}remove(e){const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1)}}class SubscriptionList extends ModelList{constructor(e){super(e)}add(e){this.items.push(e)}addAll(e){this.items.push(...e)}unsubscribeAll(){this.items.forEach(e=>e()),this.items=[]}}const ontoToggleSwitchCss='.toggle-switch{all:unset;clear:both;margin:0 5px;width:36px}.toggle-switch:focus{outline:none;box-shadow:none}.toggle-switch:focus-visible{outline:none;box-shadow:none}.toggle-switch input:empty{display:none}.toggle-switch input:empty~label{position:relative;cursor:pointer;user-select:none;margin:0.05em 0.6em -0.05em 0}.toggle-switch input:empty~label:before{display:block;content:" ";width:2.2em;height:
|
|
1
|
+
import{r as registerInstance,h,a as Host,g as getElement,c as createEvent}from"./index-I_gcXFWK.js";import{H as HtmlUtil}from"./html-util-C8DO915D.js";import{T as TranslationService}from"./translation.service-nljGIprK.js";import{O as OntoTooltipPlacement}from"./onto-tooltip-placement-D_J2-9CG.js";import"@ontotext/workbench-api";const ontoDialogCss=".dialog-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;z-index:9998;margin-left:-10px;background-color:rgba(0, 0, 0, 0.5);font-family:var(--main-font), sans-serif;font-weight:var(--main-font-weight);color:var(--gw-secondary-base, var(--base-text-color))}.dialog{z-index:1001;max-width:60vw;max-height:90vh;font-family:inherit;font-weight:inherit;display:flex;flex-direction:column;position:relative;justify-content:space-between;border:none;color:var(--gw-dialog-color);background-color:var(--gw-dialog-background);box-shadow:0 5px 15px rgba(0, 0, 0, 0.5)}.dialog .dialog-header{display:flex;justify-content:space-between;padding:15px;font-size:20px}.dialog .dialog-header .dialog-title{margin:0.5rem 0;font-weight:400}.dialog .dialog-body{padding:0 15px 15px;overflow:auto}.dialog .dialog-footer{display:flex;justify-content:flex-end;padding:15px}",OntoDialog=class{constructor(e){registerInstance(this,e),this.handleClose=e=>{this.config.onClose(e)}}componentDidLoad(){this.documentOverflow=HtmlUtil.hideDocumentBodyOverflow(),this.hostElement.addEventListener("keydown",this.preventLeavingDialog.bind(this)),this.closeButton.focus()}disconnectedCallback(){this.hostElement.removeEventListener("keydown",this.preventLeavingDialog.bind(this)),HtmlUtil.setDocumentBodyOverflow(this.documentOverflow)}render(){return h(Host,{key:"eeffeaac1aa5b80b89d0d176d89dc44291fd0cbb",tabindex:"-1"},h("div",{key:"2ba8415fa038ad2666cc0b340a3ceba6f0919bc6",class:`dialog-overlay ${this.config.modalClass?this.config.modalClass:""}`},h("dialog",{key:"39b9fc94944e12e8dcae98a65e74593dc173b336",class:"dialog"},h("header",{key:"183327aad084ff6fd619d204a537871cace84684",class:"dialog-header"},h("h3",{key:"ae4c514e0f75e46d5787d284154392de808100ca",class:"dialog-title"},this.config.dialogTitle)),h("main",{key:"dc991f0ef3baa22f42f683528a4ca67ab8d5e7f4",class:"dialog-body"},h("slot",{key:"ddc1c5176d976f5a518fed1d2faa138d0bc5082a",name:"body"})),h("footer",{key:"b3cb9449b54583a7b5489b7d56fa084e456b4d75",class:"dialog-footer"},h("slot",{key:"b3bc85bdfe12da62019be2e542737e5b6f7db4f6",name:"footer"}),h("button",{key:"c58a84d33d8d07ae67a9988adaa320166371cc5b",class:"onto-btn onto-btn-primary",onClick:this.handleClose,ref:e=>this.closeButton=e},h("translate-label",{key:"b593b5e113baa66e6878a2e885a46bc6581bf27f",labelKey:"common.button.close"}))))))}preventLeavingDialog(e){HtmlUtil.preventLeavingDialog(this.hostElement,e)}get hostElement(){return getElement(this)}};OntoDialog.style=ontoDialogCss;class ObjectUtil{static deepEqual(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!ObjectUtil.deepEqual(e[o],t[o]))return!1;return!0}if(!Array.isArray(e)&&!Array.isArray(t)){const o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(const i of o)if(!(i in t)||!ObjectUtil.deepEqual(e[i],t[i]))return!1;return!0}return!1}return!1}static deepCopy(e){if("object"!=typeof e||null==e||"function"==typeof e)return e;if(Array.isArray(e))return e.map(e=>ObjectUtil.deepCopy(e));const t=Object.create(Object.getPrototypeOf(e));for(const o of Object.keys(e))t[o]=ObjectUtil.deepCopy(e[o]);return t}static hasCopyMethod(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"copy")&&"function"==typeof e.copy}}class Model{copy(){return ObjectUtil.deepCopy(this)}}class ModelList extends Model{constructor(e=[]){super(),this.items=e}getItems(){return this.items}sort(e){this.items.sort(e)}filter(e){return this.items.filter(e)}find(e){return this.items.find(e)}isEmpty(){return 0===this.items.length}addToStart(e){this.items.unshift(e)}addItems(e){this.items.push(...e)}remove(e){const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1)}}class SubscriptionList extends ModelList{constructor(e){super(e)}add(e){this.items.push(e)}addAll(e){this.items.push(...e)}unsubscribeAll(){this.items.forEach(e=>e()),this.items=[]}}const ontoToggleSwitchCss='.toggle-switch{all:unset;clear:both;margin:0 5px;width:36px}.toggle-switch:focus{outline:none;box-shadow:none}.toggle-switch:focus-visible{outline:none;box-shadow:none}.toggle-switch input:empty{display:none}.toggle-switch input:empty~label{position:relative;cursor:pointer;user-select:none;margin:0.05em 0.6em -0.05em 0;vertical-align:text-bottom}.toggle-switch input:empty~label:before{display:block;content:" ";width:2.2em;height:1.25em;background-color:var(--gw-toggleswitch-background);border-radius:10em;transition:all 100ms ease-in}.toggle-switch input:empty~label:after{position:absolute;display:block;top:0.08em;left:0.1em;content:" ";width:0.9em;height:0.9em;background-color:var(--gw-toggleswitch-handle-background);border:1px solid var(--gw-toggleswitch-background);border-radius:50%;transition:all 100ms ease-in}.toggle-switch input:checked~label:before{background-color:var(--gw-toggleswitch-checked-background)}.toggle-switch input:checked~label:after{left:1em;background-color:var(--gw-toggleswitch-handle-checked-background);border:1px solid var(--gw-toggleswitch-checked-background)}',OntoToggleSwitch=class{constructor(e){registerInstance(this,e),this.toggleChanged=createEvent(this,"toggleChanged"),this.subscriptions=new SubscriptionList,this.checked=!1,this.toggle=()=>{this.checked=!this.checked,this.toggleChanged.emit({checked:this.checked,context:this.context})}}subscribeToLanguageChange(){this.tooltipTranslationKey&&this.subscriptions.add(TranslationService.onTranslate(this.tooltipTranslationKey,[],e=>{this.tooltipLabel=e}))}disconnectedCallback(){this.subscriptions.unsubscribeAll()}connectedCallback(){this.subscribeToLanguageChange()}render(){return h("section",{key:"d9d7433b0d5d86830bc124483a3982f255ea3851"},this.labelKey&&h("label",{key:"30e1f9c5a47b7a17f614ed2c31c191e4364f0552"},h("strong",{key:"e573b14579f77efd38636093143519451042e386"},h("translate-label",{key:"1653cbf17a0cd2f57e9011ed7bf3acc589ae9bde",labelKey:this.labelKey})," ")),h("button",{key:"3ff359d2c065db8653f12233d69934483c00b0d8",class:"toggle-switch",onClick:this.toggle,"tooltip-append-to":"parent","tooltip-content":this.tooltipLabel,"tooltip-placement":OntoTooltipPlacement.TOP},h("input",{key:"c36ab591c99d5030ab4528774bd8226ecacb855e",type:"checkbox",checked:this.checked}),h("label",{key:"86c93d3ccebd7f1324b6d39192472464580f1120"})))}};OntoToggleSwitch.style=ontoToggleSwitchCss;export{OntoDialog as onto_dialog,OntoToggleSwitch as onto_toggle_switch};
|
package/dist/shared-components/shared-components/{p-80575562.entry.js → p-f332de27.entry.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,a as o,g as a,c as i}from"./p-I_gcXFWK.js";import{H as s}from"./p-C8DO915D.js";import{T as n}from"./p-nljGIprK.js";import{O as
|
|
1
|
+
import{r as e,h as t,a as o,g as a,c as i}from"./p-I_gcXFWK.js";import{H as s}from"./p-C8DO915D.js";import{T as n}from"./p-nljGIprK.js";import{O as c}from"./p-D_J2-9CG.js";import"@ontotext/workbench-api";const r=class{constructor(t){e(this,t),this.handleClose=e=>{this.config.onClose(e)}}componentDidLoad(){this.documentOverflow=s.hideDocumentBodyOverflow(),this.hostElement.addEventListener("keydown",this.preventLeavingDialog.bind(this)),this.closeButton.focus()}disconnectedCallback(){this.hostElement.removeEventListener("keydown",this.preventLeavingDialog.bind(this)),s.setDocumentBodyOverflow(this.documentOverflow)}render(){return t(o,{key:"eeffeaac1aa5b80b89d0d176d89dc44291fd0cbb",tabindex:"-1"},t("div",{key:"2ba8415fa038ad2666cc0b340a3ceba6f0919bc6",class:`dialog-overlay ${this.config.modalClass?this.config.modalClass:""}`},t("dialog",{key:"39b9fc94944e12e8dcae98a65e74593dc173b336",class:"dialog"},t("header",{key:"183327aad084ff6fd619d204a537871cace84684",class:"dialog-header"},t("h3",{key:"ae4c514e0f75e46d5787d284154392de808100ca",class:"dialog-title"},this.config.dialogTitle)),t("main",{key:"dc991f0ef3baa22f42f683528a4ca67ab8d5e7f4",class:"dialog-body"},t("slot",{key:"ddc1c5176d976f5a518fed1d2faa138d0bc5082a",name:"body"})),t("footer",{key:"b3cb9449b54583a7b5489b7d56fa084e456b4d75",class:"dialog-footer"},t("slot",{key:"b3bc85bdfe12da62019be2e542737e5b6f7db4f6",name:"footer"}),t("button",{key:"c58a84d33d8d07ae67a9988adaa320166371cc5b",class:"onto-btn onto-btn-primary",onClick:this.handleClose,ref:e=>this.closeButton=e},t("translate-label",{key:"b593b5e113baa66e6878a2e885a46bc6581bf27f",labelKey:"common.button.close"}))))))}preventLeavingDialog(e){s.preventLeavingDialog(this.hostElement,e)}get hostElement(){return a(this)}};r.style=".dialog-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;z-index:9998;margin-left:-10px;background-color:rgba(0, 0, 0, 0.5);font-family:var(--main-font), sans-serif;font-weight:var(--main-font-weight);color:var(--gw-secondary-base, var(--base-text-color))}.dialog{z-index:1001;max-width:60vw;max-height:90vh;font-family:inherit;font-weight:inherit;display:flex;flex-direction:column;position:relative;justify-content:space-between;border:none;color:var(--gw-dialog-color);background-color:var(--gw-dialog-background);box-shadow:0 5px 15px rgba(0, 0, 0, 0.5)}.dialog .dialog-header{display:flex;justify-content:space-between;padding:15px;font-size:20px}.dialog .dialog-header .dialog-title{margin:0.5rem 0;font-weight:400}.dialog .dialog-body{padding:0 15px 15px;overflow:auto}.dialog .dialog-footer{display:flex;justify-content:flex-end;padding:15px}";class l{static deepEqual(e,t){if(e===t)return!0;if(null==e||null==t)return!1;if("object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let o=0;o<e.length;o++)if(!l.deepEqual(e[o],t[o]))return!1;return!0}if(!Array.isArray(e)&&!Array.isArray(t)){const o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;for(const i of o)if(!(i in t)||!l.deepEqual(e[i],t[i]))return!1;return!0}return!1}return!1}static deepCopy(e){if("object"!=typeof e||null==e||"function"==typeof e)return e;if(Array.isArray(e))return e.map(e=>l.deepCopy(e));const t=Object.create(Object.getPrototypeOf(e));for(const o of Object.keys(e))t[o]=l.deepCopy(e[o]);return t}static hasCopyMethod(e){return"object"==typeof e&&null!==e&&Object.prototype.hasOwnProperty.call(e,"copy")&&"function"==typeof e.copy}}class d{copy(){return l.deepCopy(this)}}class b extends d{constructor(e=[]){super(),this.items=e}getItems(){return this.items}sort(e){this.items.sort(e)}filter(e){return this.items.filter(e)}find(e){return this.items.find(e)}isEmpty(){return 0===this.items.length}addToStart(e){this.items.unshift(e)}addItems(e){this.items.push(...e)}remove(e){const t=this.items.indexOf(e);-1!==t&&this.items.splice(t,1)}}class h extends b{constructor(e){super(e)}add(e){this.items.push(e)}addAll(e){this.items.push(...e)}unsubscribeAll(){this.items.forEach(e=>e()),this.items=[]}}const g=class{constructor(t){e(this,t),this.toggleChanged=i(this,"toggleChanged"),this.subscriptions=new h,this.checked=!1,this.toggle=()=>{this.checked=!this.checked,this.toggleChanged.emit({checked:this.checked,context:this.context})}}subscribeToLanguageChange(){this.tooltipTranslationKey&&this.subscriptions.add(n.onTranslate(this.tooltipTranslationKey,[],e=>{this.tooltipLabel=e}))}disconnectedCallback(){this.subscriptions.unsubscribeAll()}connectedCallback(){this.subscribeToLanguageChange()}render(){return t("section",{key:"d9d7433b0d5d86830bc124483a3982f255ea3851"},this.labelKey&&t("label",{key:"30e1f9c5a47b7a17f614ed2c31c191e4364f0552"},t("strong",{key:"e573b14579f77efd38636093143519451042e386"},t("translate-label",{key:"1653cbf17a0cd2f57e9011ed7bf3acc589ae9bde",labelKey:this.labelKey})," ")),t("button",{key:"3ff359d2c065db8653f12233d69934483c00b0d8",class:"toggle-switch",onClick:this.toggle,"tooltip-append-to":"parent","tooltip-content":this.tooltipLabel,"tooltip-placement":c.TOP},t("input",{key:"c36ab591c99d5030ab4528774bd8226ecacb855e",type:"checkbox",checked:this.checked}),t("label",{key:"86c93d3ccebd7f1324b6d39192472464580f1120"})))}};g.style='.toggle-switch{all:unset;clear:both;margin:0 5px;width:36px}.toggle-switch:focus{outline:none;box-shadow:none}.toggle-switch:focus-visible{outline:none;box-shadow:none}.toggle-switch input:empty{display:none}.toggle-switch input:empty~label{position:relative;cursor:pointer;user-select:none;margin:0.05em 0.6em -0.05em 0;vertical-align:text-bottom}.toggle-switch input:empty~label:before{display:block;content:" ";width:2.2em;height:1.25em;background-color:var(--gw-toggleswitch-background);border-radius:10em;transition:all 100ms ease-in}.toggle-switch input:empty~label:after{position:absolute;display:block;top:0.08em;left:0.1em;content:" ";width:0.9em;height:0.9em;background-color:var(--gw-toggleswitch-handle-background);border:1px solid var(--gw-toggleswitch-background);border-radius:50%;transition:all 100ms ease-in}.toggle-switch input:checked~label:before{background-color:var(--gw-toggleswitch-checked-background)}.toggle-switch input:checked~label:after{left:1em;background-color:var(--gw-toggleswitch-handle-checked-background);border:1px solid var(--gw-toggleswitch-checked-background)}';export{r as onto_dialog,g as onto_toggle_switch};
|