ontotext-yasgui-web-component 1.3.19 → 1.3.21
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/cjs/confirmation-dialog_9.cjs.entry.js +10 -4
- package/dist/collection/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.js +2 -1
- package/dist/collection/components/saved-queries-popup/saved-queries-popup.js +5 -1
- package/dist/collection/components/yasgui/yasgui-script.js +1 -1
- package/dist/collection/models/saved-query-configuration.js +2 -1
- package/dist/collection/pages/actions/main.js +4 -2
- package/dist/components/ontotext-yasgui.js +3 -2
- package/dist/components/saved-queries-popup2.js +5 -1
- package/dist/components/saved-query-configuration.js +2 -1
- package/dist/esm/confirmation-dialog_9.entry.js +10 -4
- package/dist/ontotext-yasgui-web-component/ontotext-yasgui-web-component.esm.js +1 -1
- package/dist/ontotext-yasgui-web-component/p-e1e37638.entry.js +1 -0
- package/dist/types/models/saved-query-configuration.d.ts +3 -1
- package/package.json +1 -1
- package/dist/ontotext-yasgui-web-component/p-90bbd3f0.entry.js +0 -1
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
// TODO: rename to be like internal model
|
|
2
2
|
export class SaveQueryData {
|
|
3
|
-
constructor(queryName, query, isPublic, isNew, owner, messages) {
|
|
3
|
+
constructor(queryName, query, isPublic, isNew, readonly, owner, messages) {
|
|
4
4
|
this.queryName = queryName;
|
|
5
5
|
this.query = query;
|
|
6
6
|
this.isPublic = isPublic;
|
|
7
7
|
this.isNew = isNew;
|
|
8
|
+
this.readonly = readonly;
|
|
8
9
|
this.owner = owner;
|
|
9
10
|
this.messages = messages;
|
|
10
11
|
}
|
|
@@ -290,13 +290,15 @@ let savedQueries = [
|
|
|
290
290
|
"queryName": "Add statements",
|
|
291
291
|
"query": "PREFIX dc: <http://purl.org/dc/elements/1.1/>\nINSERT DATA\n {\n GRAPH <http://example> {\n <http://example/book1> dc:title \"A new book\" ;\n dc:creator \"A.N.Other\" .\n }\n }",
|
|
292
292
|
"isPublic": false,
|
|
293
|
-
"owner": "admin"
|
|
293
|
+
"owner": "admin",
|
|
294
|
+
"readonly": true
|
|
294
295
|
},
|
|
295
296
|
{
|
|
296
297
|
"queryName": "Clear graph",
|
|
297
298
|
"query": "CLEAR GRAPH <http://example>",
|
|
298
299
|
"isPublic": false,
|
|
299
|
-
"owner": "admin"
|
|
300
|
+
"owner": "admin",
|
|
301
|
+
"readonly": false
|
|
300
302
|
},
|
|
301
303
|
{
|
|
302
304
|
"queryName": "new query",
|