ontotext-yasgui-web-component 1.3.22 → 1.3.24
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 +31 -15
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/ontotext-yasgui-web-component.cjs.js +1 -1
- package/dist/collection/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.js +5 -0
- package/dist/collection/components/save-query-dialog/save-query-dialog.js +6 -3
- package/dist/collection/components/saved-queries-popup/saved-queries-popup.js +1 -1
- package/dist/collection/models/saved-query-configuration.js +2 -1
- package/dist/collection/services/yasr/toolbar/download-as-yasr-toolbar-plugin.js +2 -2
- package/dist/components/ontotext-yasgui.js +7 -2
- package/dist/components/save-query-dialog2.js +6 -3
- package/dist/components/saved-queries-popup2.js +1 -1
- package/dist/components/saved-query-configuration.js +2 -1
- package/dist/components/translation.service.js +16 -8
- package/dist/esm/confirmation-dialog_9.entry.js +31 -15
- package/dist/esm/loader.js +1 -1
- package/dist/esm/ontotext-yasgui-web-component.js +1 -1
- package/dist/ontotext-yasgui-web-component/ontotext-yasgui-web-component.esm.js +1 -1
- package/dist/ontotext-yasgui-web-component/p-997d5d21.entry.js +1 -0
- package/dist/types/components/save-query-dialog/save-query-dialog.d.ts +4 -0
- package/dist/types/models/saved-query-configuration.d.ts +3 -1
- package/package.json +1 -1
- package/dist/ontotext-yasgui-web-component/p-87a5e5df.entry.js +0 -1
|
@@ -370,17 +370,19 @@ const en = {
|
|
|
370
370
|
"yasr.plugin_control.response_chip.message.result_info.total_results": " of {{totalResults}}",
|
|
371
371
|
"yasr.plugin_control.response_chip.message.result_info.at_least_results": " of at least {{atLeastResults}}",
|
|
372
372
|
"yasr.plugin_control.response_chip.message.seconds": "{{seconds}}s",
|
|
373
|
-
"yasr.plugin_control.download_as.extended_table.dropdown.label": "Download as
|
|
373
|
+
"yasr.plugin_control.download_as.extended_table.dropdown.label": "Download as",
|
|
374
374
|
"yasr.plugin_control.download_as.pivot_table.dropdown.label": "Download result",
|
|
375
375
|
"yasr.plugin_control.download_as.raw_response.dropdown.label": "Download as",
|
|
376
376
|
"yasr.plugin_control.download_as.charts.dropdown.label": "Download result",
|
|
377
377
|
"yasr.plugin_control.download_as.sparql_results_json.label": "JSON",
|
|
378
|
+
"yasr.plugin_control.download_as.sparql_results_json.select.label": "SPARQL Results JSON",
|
|
379
|
+
"yasr.plugin_control.download_as.sparql_results_json.describe.construct.label": "RDF JSON",
|
|
378
380
|
"yasr.plugin_control.download_as.sparql_results_json_ld.label": "JSON-LD",
|
|
379
381
|
"yasr.plugin_control.download_as.sparql_results_ndjson_ld.label": "NDJSON-LD",
|
|
380
|
-
"yasr.plugin_control.download_as.x_sparqlstar_results_json.label": "JSON*",
|
|
382
|
+
"yasr.plugin_control.download_as.x_sparqlstar_results_json.label": "SPARQL Results JSON*",
|
|
381
383
|
"yasr.plugin_control.download_as.x_sparqlstar_results_rdf_xml.label": "RDF-XML",
|
|
382
|
-
"yasr.plugin_control.download_as.sparql_results_xml.label": "XML",
|
|
383
|
-
"yasr.plugin_control.download_as.x_sparqlstar_results_xml.label": "XML*",
|
|
384
|
+
"yasr.plugin_control.download_as.sparql_results_xml.label": "SPARQL Results XML",
|
|
385
|
+
"yasr.plugin_control.download_as.x_sparqlstar_results_xml.label": "SPARQL Results XML*",
|
|
384
386
|
"yasr.plugin_control.download_as.csv.label": "CSV",
|
|
385
387
|
"yasr.plugin_control.download_as.tab_separated_values.label": "TSV",
|
|
386
388
|
"yasr.plugin_control.download_as.x_tab_separated_values_star.label": "TSV*",
|
|
@@ -434,6 +436,8 @@ const en = {
|
|
|
434
436
|
"yasqe.actions.save_query.dialog.cancel.button": "Cancel",
|
|
435
437
|
"yasqe.actions.show_saved_queries.button.tooltip": "Show saved queries",
|
|
436
438
|
"yasqe.actions.edit_saved_query.button.tooltip": "Edit",
|
|
439
|
+
"yasqe.actions.edit_query.dialog.title": "Edit Saved Query",
|
|
440
|
+
"yasqe.actions.save_query.dialog.save.button": "Save",
|
|
437
441
|
"yasqe.actions.delete_saved_query.button.tooltip": "Delete",
|
|
438
442
|
"yasqe.actions.delete_saved_query.confirm.dialog.label": "Confirm",
|
|
439
443
|
"yasqe.actions.delete_saved_query.confirm.dialog.message": "Are you sure you want to delete the saved query '{{query}}'?",
|
|
@@ -643,17 +647,19 @@ const fr = {
|
|
|
643
647
|
"yasr.plugin_control.response_chip.message.result_info.total_results": " pour un total de {{totalResults}}",
|
|
644
648
|
"yasr.plugin_control.response_chip.message.result_info.at_least_results": " d'au moins {{atLeastResults}}",
|
|
645
649
|
"yasr.plugin_control.response_chip.message.seconds": "{{seconds}}s",
|
|
646
|
-
"yasr.plugin_control.download_as.extended_table.dropdown.label": "
|
|
650
|
+
"yasr.plugin_control.download_as.extended_table.dropdown.label": "Téléchargement",
|
|
647
651
|
"yasr.plugin_control.download_as.raw_response.dropdown.label": "Téléchargement",
|
|
648
652
|
"yasr.plugin_control.download_as.pivot_table.dropdown.label": "Télécharger le résultat",
|
|
649
653
|
"yasr.plugin_control.download_as.charts.dropdown.label": "Télécharger le résultat",
|
|
650
654
|
"yasr.plugin_control.download_as.sparql_results_json.label": "JSON",
|
|
655
|
+
"yasr.plugin_control.download_as.sparql_results_json.select.label": "Résultats SPARQL JSON",
|
|
656
|
+
"yasr.plugin_control.download_as.sparql_results_json.describe.construct.label": "RDF JSON",
|
|
651
657
|
"yasr.plugin_control.download_as.sparql_results_json_ld.label": "JSON-LD",
|
|
652
658
|
"yasr.plugin_control.download_as.sparql_results_ndjson_ld.label": "NDJSON-LD",
|
|
653
|
-
"yasr.plugin_control.download_as.x_sparqlstar_results_json.label": "JSON*",
|
|
659
|
+
"yasr.plugin_control.download_as.x_sparqlstar_results_json.label": "Résultats SPARQL JSON*",
|
|
654
660
|
"yasr.plugin_control.download_as.x_sparqlstar_results_rdf_xml.label": "RDF-XML",
|
|
655
|
-
"yasr.plugin_control.download_as.sparql_results_xml.label": "XML",
|
|
656
|
-
"yasr.plugin_control.download_as.x_sparqlstar_results_xml.label": "XML*",
|
|
661
|
+
"yasr.plugin_control.download_as.sparql_results_xml.label": "Résultats SPARQL XML",
|
|
662
|
+
"yasr.plugin_control.download_as.x_sparqlstar_results_xml.label": "Résultats SPARQL XML*",
|
|
657
663
|
"yasr.plugin_control.download_as.csv.label": "CSV",
|
|
658
664
|
"yasr.plugin_control.download_as.tab_separated_values.label": "TSV",
|
|
659
665
|
"yasr.plugin_control.download_as.x_tab_separated_values_star.label": "TSV*",
|
|
@@ -707,6 +713,8 @@ const fr = {
|
|
|
707
713
|
"yasqe.actions.save_query.dialog.cancel.button": "Annuler",
|
|
708
714
|
"yasqe.actions.show_saved_queries.button.tooltip": "Afficher les requêtes enregistrées",
|
|
709
715
|
"yasqe.actions.edit_saved_query.button.tooltip": "Modifier",
|
|
716
|
+
"yasqe.actions.edit_query.dialog.title": "Modifier la requête enregistrée",
|
|
717
|
+
"yasqe.actions.save_query.dialog.save.button": "Enregistrer",
|
|
710
718
|
"yasqe.actions.delete_saved_query.button.tooltip": "Supprimer",
|
|
711
719
|
"yasqe.actions.delete_saved_query.confirm.dialog.label": "Confirmer",
|
|
712
720
|
"yasqe.actions.delete_saved_query.confirm.dialog.message": "Êtes-vous sûr de vouloir supprimer la requête enregistrée '{{query}}' ?",
|
|
@@ -2698,7 +2706,7 @@ class ExtendedTableDownloadAsConfiguration extends DownloadAsPluginConfiguration
|
|
|
2698
2706
|
switch (yasr.yasqe.getQueryType()) {
|
|
2699
2707
|
case 'SELECT':
|
|
2700
2708
|
return [{
|
|
2701
|
-
labelKey: "yasr.plugin_control.download_as.sparql_results_json.label",
|
|
2709
|
+
labelKey: "yasr.plugin_control.download_as.sparql_results_json.select.label",
|
|
2702
2710
|
value: "application/sparql-results+json",
|
|
2703
2711
|
}, {
|
|
2704
2712
|
labelKey: "yasr.plugin_control.download_as.x_sparqlstar_results_json.label",
|
|
@@ -2725,7 +2733,7 @@ class ExtendedTableDownloadAsConfiguration extends DownloadAsPluginConfiguration
|
|
|
2725
2733
|
case 'CONSTRUCT':
|
|
2726
2734
|
case 'DESCRIBE':
|
|
2727
2735
|
return [{
|
|
2728
|
-
labelKey: "yasr.plugin_control.download_as.sparql_results_json.label",
|
|
2736
|
+
labelKey: "yasr.plugin_control.download_as.sparql_results_json.describe.construct.label",
|
|
2729
2737
|
value: "application/rdf+json",
|
|
2730
2738
|
}, {
|
|
2731
2739
|
labelKey: "yasr.plugin_control.download_as.sparql_results_json_ld.label",
|
|
@@ -4684,12 +4692,14 @@ const OntotextYasguiWebComponent = class {
|
|
|
4684
4692
|
* Handler for the event fired when the query should be saved by the component client.
|
|
4685
4693
|
*/
|
|
4686
4694
|
createSavedQueryHandler(event) {
|
|
4695
|
+
this.savedQueryData = undefined;
|
|
4687
4696
|
this.createSavedQuery.emit(event.detail);
|
|
4688
4697
|
}
|
|
4689
4698
|
/**
|
|
4690
4699
|
* Handler for the event fired when the query should be saved by the component client.
|
|
4691
4700
|
*/
|
|
4692
4701
|
updateSavedQueryHandler(event) {
|
|
4702
|
+
this.savedQueryData = undefined;
|
|
4693
4703
|
this.updateSavedQuery.emit(event.detail);
|
|
4694
4704
|
}
|
|
4695
4705
|
/**
|
|
@@ -4697,6 +4707,8 @@ const OntotextYasguiWebComponent = class {
|
|
|
4697
4707
|
*/
|
|
4698
4708
|
closeSaveDialogHandler() {
|
|
4699
4709
|
this.showSaveQueryDialog = false;
|
|
4710
|
+
this.savedQueryData = undefined;
|
|
4711
|
+
this.saveQueryData = undefined;
|
|
4700
4712
|
}
|
|
4701
4713
|
/**
|
|
4702
4714
|
* Handler for the event fired when the show saved queries button in the yasqe toolbar is triggered.
|
|
@@ -4905,6 +4917,7 @@ const OntotextYasguiWebComponent = class {
|
|
|
4905
4917
|
data.savedQueriesList = this.savedQueryConfig.savedQueries.map((savedQuery) => {
|
|
4906
4918
|
return {
|
|
4907
4919
|
queryName: savedQuery.queryName,
|
|
4920
|
+
originalQueryName: savedQuery.queryName,
|
|
4908
4921
|
query: savedQuery.query,
|
|
4909
4922
|
isPublic: savedQuery.isPublic,
|
|
4910
4923
|
owner: savedQuery.owner,
|
|
@@ -5123,10 +5136,11 @@ OntotextYasguiWebComponent.style = ontotextYasguiWebComponentCss;
|
|
|
5123
5136
|
|
|
5124
5137
|
// TODO: rename to be like internal model
|
|
5125
5138
|
class SaveQueryData {
|
|
5126
|
-
constructor(queryName, query, isPublic, isNew, readonly, owner, messages) {
|
|
5139
|
+
constructor(queryName, query, isPublic, originalQueryName, isNew, readonly, owner, messages) {
|
|
5127
5140
|
this.queryName = queryName;
|
|
5128
5141
|
this.query = query;
|
|
5129
5142
|
this.isPublic = isPublic;
|
|
5143
|
+
this.originalQueryName = originalQueryName;
|
|
5130
5144
|
this.isNew = isNew;
|
|
5131
5145
|
this.readonly = readonly;
|
|
5132
5146
|
this.owner = owner;
|
|
@@ -5149,6 +5163,7 @@ const SaveQueryDialog = class {
|
|
|
5149
5163
|
this.serviceFactory = undefined;
|
|
5150
5164
|
this.data = undefined;
|
|
5151
5165
|
this.queryName = '';
|
|
5166
|
+
this.originalQueryName = '';
|
|
5152
5167
|
this.query = '';
|
|
5153
5168
|
this.isPublic = false;
|
|
5154
5169
|
this.isNew = false;
|
|
@@ -5169,6 +5184,7 @@ const SaveQueryDialog = class {
|
|
|
5169
5184
|
this.translationService = this.serviceFactory.get(TranslationService);
|
|
5170
5185
|
if (this.data) {
|
|
5171
5186
|
this.queryName = this.data.queryName || this.queryName;
|
|
5187
|
+
this.originalQueryName = this.data.queryName || this.queryName;
|
|
5172
5188
|
this.query = this.data.query || this.query;
|
|
5173
5189
|
this.isPublic = this.data.isPublic !== undefined ? this.data.isPublic : this.isPublic;
|
|
5174
5190
|
this.isNew = this.data.isNew !== undefined ? this.data.isNew : this.isNew;
|
|
@@ -5200,10 +5216,10 @@ const SaveQueryDialog = class {
|
|
|
5200
5216
|
const query = this.query;
|
|
5201
5217
|
const isPublic = this.isPublic;
|
|
5202
5218
|
if (this.isNew) {
|
|
5203
|
-
this.internalSaveQueryEvent.emit(new SaveQueryData(queryName, query, isPublic));
|
|
5219
|
+
this.internalSaveQueryEvent.emit(new SaveQueryData(queryName, query, isPublic, this.originalQueryName));
|
|
5204
5220
|
}
|
|
5205
5221
|
else {
|
|
5206
|
-
this.internalUpdateQueryEvent.emit(new UpdateQueryData(queryName, query, isPublic));
|
|
5222
|
+
this.internalUpdateQueryEvent.emit(new UpdateQueryData(queryName, query, isPublic, this.originalQueryName));
|
|
5207
5223
|
}
|
|
5208
5224
|
}
|
|
5209
5225
|
handleQueryNameChange(event) {
|
|
@@ -5250,7 +5266,7 @@ const SaveQueryDialog = class {
|
|
|
5250
5266
|
return this.hasMissingFields() || ((_a = this.data.messages) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
5251
5267
|
}
|
|
5252
5268
|
render() {
|
|
5253
|
-
return (index.h(index.Host, { tabindex: '-1' }, index.h("div", { class: "dialog-overlay", onClick: (evt) => this.onClose(evt) }, index.h("div", { class: "dialog" }, index.h("div", { class: "dialog-header" }, index.h("h3", { class: "dialog-title" }, this.translationService.translate('yasqe.actions.save_query.dialog.title')), index.h("button", { class: "close-button icon-close", onClick: (evt) => this.onClose(evt) })), index.h("div", { class: "dialog-body" }, index.h("div", { class: "save-query-form" }, index.h("div", { class: "form-field query-name-field" }, index.h("input", { type: "text", name: "queryName", id: "queryName", required: true, value: this.queryName, class: !this.queryName.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query_name.label'), onInput: (evt) => this.handleQueryNameChange(evt) })), index.h("div", { class: "form-field is-public-field" }, index.h("yasgui-tooltip", { placement: "top", "data-tooltip": this.translationService.translate('yasqe.actions.save_query.dialog.public_query.tooltip') }, index.h("label", null, index.h("input", { type: "checkbox", name: "publicQuery", id: "publicQuery", checked: this.isPublic, onChange: (evt) => this.handleIsPublicChange(evt) }), this.translationService.translate('yasqe.actions.save_query.dialog.public_query.label')))), index.h("div", { class: "form-field query-field" }, index.h("textarea", { name: "query", id: "query", required: true, rows: 8, class: !this.query.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query.label'), value: this.query, onInput: (evt) => this.handleQueryChange(evt) })), this.showErrorMessage() && index.h(Alert, { messages: this.getErrorMessages() }, "\u00A0"))), index.h("div", { class: "dialog-footer" }, index.h("button", { class: "cancel-button", onClick: (evt) => this.onClose(evt), ref: (el) => (this.cancelButton = el) }, this.translationService.translate('yasqe.actions.save_query.dialog.cancel.button')), index.h("button", { class: "ok-button", disabled: !this.isSaveAllowed, onClick: (evt) => this.onCreate(evt) }, this.translationService.translate('yasqe.actions.save_query.dialog.create.button')))))));
|
|
5269
|
+
return (index.h(index.Host, { tabindex: '-1' }, index.h("div", { class: "dialog-overlay", onClick: (evt) => this.onClose(evt) }, index.h("div", { class: "dialog" }, index.h("div", { class: "dialog-header" }, index.h("h3", { class: "dialog-title" }, this.translationService.translate(this.isNew ? 'yasqe.actions.save_query.dialog.title' : 'yasqe.actions.edit_query.dialog.title')), index.h("button", { class: "close-button icon-close", onClick: (evt) => this.onClose(evt) })), index.h("div", { class: "dialog-body" }, index.h("div", { class: "save-query-form" }, index.h("div", { class: "form-field query-name-field" }, index.h("input", { type: "text", name: "queryName", id: "queryName", required: true, value: this.queryName, class: !this.queryName.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query_name.label'), onInput: (evt) => this.handleQueryNameChange(evt) })), index.h("div", { class: "form-field is-public-field" }, index.h("yasgui-tooltip", { placement: "top", "data-tooltip": this.translationService.translate('yasqe.actions.save_query.dialog.public_query.tooltip') }, index.h("label", null, index.h("input", { type: "checkbox", name: "publicQuery", id: "publicQuery", checked: this.isPublic, onChange: (evt) => this.handleIsPublicChange(evt) }), this.translationService.translate('yasqe.actions.save_query.dialog.public_query.label')))), index.h("div", { class: "form-field query-field" }, index.h("textarea", { name: "query", id: "query", required: true, rows: 8, class: !this.query.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query.label'), value: this.query, onInput: (evt) => this.handleQueryChange(evt) })), this.showErrorMessage() && index.h(Alert, { messages: this.getErrorMessages() }, "\u00A0"))), index.h("div", { class: "dialog-footer" }, index.h("button", { class: "cancel-button", onClick: (evt) => this.onClose(evt), ref: (el) => (this.cancelButton = el) }, this.translationService.translate('yasqe.actions.save_query.dialog.cancel.button')), index.h("button", { class: "ok-button", disabled: !this.isSaveAllowed, onClick: (evt) => this.onCreate(evt) }, this.translationService.translate(this.isNew ? 'yasqe.actions.save_query.dialog.create.button' : 'yasqe.actions.save_query.dialog.save.button')))))));
|
|
5254
5270
|
}
|
|
5255
5271
|
get hostElement() { return index.getElement(this); }
|
|
5256
5272
|
};
|
|
@@ -5299,7 +5315,7 @@ const SavedQueriesPopup = class {
|
|
|
5299
5315
|
}
|
|
5300
5316
|
onEdit(evt, selectedQuery) {
|
|
5301
5317
|
evt.stopPropagation();
|
|
5302
|
-
this.internalEditSavedQueryEvent.emit(new UpdateQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic, false));
|
|
5318
|
+
this.internalEditSavedQueryEvent.emit(new UpdateQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic, selectedQuery.originalQueryName, false));
|
|
5303
5319
|
}
|
|
5304
5320
|
onDelete(evt, selectedQuery) {
|
|
5305
5321
|
evt.stopPropagation();
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -14,7 +14,7 @@ const patchEsm = () => {
|
|
|
14
14
|
const defineCustomElements = (win, options) => {
|
|
15
15
|
if (typeof window === 'undefined') return Promise.resolve();
|
|
16
16
|
return patchEsm().then(() => {
|
|
17
|
-
return index.bootstrapLazy([["ontotext-download-as.cjs",[[0,"ontotext-download-as",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"pluginName":[1,"plugin-name"],"query":[1],"infer":[4],"sameAs":[4,"same-as"]}]]],["keyboard-shortcuts-dialog.cjs",[[0,"keyboard-shortcuts-dialog",{"items":[16],"translationService":[16],"open":[32]},[[8,"keydown","keydownListener"]]]]],["alert-box.cjs",[[0,"alert-box",{"type":[1],"message":[1],"noIcon":[4,"no-icon"],"noButton":[4,"no-button"],"isVisible":[32]}]]],["copy-resource-link-button.cjs",[[0,"copy-resource-link-button",{"uri":[1],"classes":[1]}]]],["loader-component.cjs",[[1,"loader-component",{"timeFormattingService":[16],"showQueryProgress":[4,"show-query-progress"],"message":[1],"additionalMessage":[1,"additional-message"],"size":[1],"hidden":[4],"queryProgress":[32]}]]],["ontotext-editable-text-field.cjs",[[0,"ontotext-editable-text-field",{"value":[1025],"edit":[1028],"translationService":[16]},[[8,"click","handleClickOutside"],[4,"keydown","keydownListener"]]]]],["ontotext-pagination.cjs",[[0,"ontotext-pagination",{"pageNumber":[2,"page-number"],"pageSize":[2,"page-size"],"totalElements":[2,"total-elements"],"pageElements":[2,"page-elements"],"hasMorePages":[4,"has-more-pages"]}]]],["confirmation-dialog_9.cjs",[[0,"ontotext-yasgui",{"config":[16],"language":[1],"savedQueryConfig":[16],"saveQueryData":[32],"savedQueryData":[32],"deleteQueryData":[32],"isVerticalOrientation":[32],"renderingMode":[32],"showSaveQueryDialog":[32],"showSavedQueriesPopup":[32],"showSavedQueriesPopupTarget":[32],"showConfirmationDialog":[32],"showShareQueryDialog":[32],"showCopyResourceLinkDialog":[32],"copiedResourceLink":[32],"loaderMessage":[32],"additionalLoaderMessage":[32],"yasqeBtnLabel":[32],"yasguiBtnLabel":[32],"yasrBtnLabel":[32],"changeRenderMode":[64],"setQuery":[64],"query":[64],"getQuery":[64],"isQueryValid":[64],"openTab":[64],"getQueryMode":[64],"getQueryType":[64],"getEmbeddedResultAsJson":[64],"getEmbeddedResultAsCSV":[64],"hideYasqeActionButton":[64],"showYasqeActionButton":[64],"getOngoingRequestsInfo":[64],"abortQuery":[64],"abortAllRequests":[64],"reInitYasgui":[64],"isQueryDirty":[64]},[[9,"resize","onResize"],[8,"beforeunload","onBeforeunloadHandler"],[0,"internalCreateSavedQueryEvent","saveQueryHandler"],[0,"internalSaveQueryEvent","createSavedQueryHandler"],[0,"internalUpdateQueryEvent","updateSavedQueryHandler"],[0,"internalSaveQueryDialogClosedEvent","closeSaveDialogHandler"],[0,"internalShowSavedQueriesEvent","showSavedQueriesHandler"],[0,"internalSaveQuerySelectedEvent","savedQuerySelectedHandler"],[0,"internalEditSavedQueryEvent","editSavedQueryHandler"],[0,"internalSavedQuerySelectedForDeleteEvent","savedQuerySelectedForEditHandler"],[0,"internalConfirmationApprovedEvent","deleteSavedQueryHandler"],[0,"internalConfirmationRejectedEvent","closeSavedQueryDeleteConfirmationHandler"],[0,"internalCloseSavedQueriesPopupEvent","closeSavedQueriesPopupHandler"],[0,"internalSavedQuerySelectedForShareEvent","savedQuerySelectedForShareHandler"],[0,"internalShareQueryEvent","shareQueryHandler"],[0,"internalQueryShareLinkCopiedEvent","savedQueryShareLinkCopiedHandler"],[0,"internalShareQueryDialogClosedEvent","closeShareQueryDialogHandler"],[0,"internalResourceLinkDialogClosedEvent","resourceLinkDialogClosedHandler"],[0,"internalResourceLinkCopiedEvent","resourceLinkCopiedHandler"],[0,"internalShowResourceCopyLinkDialogEvent","showResourceCopyLinkDialogHandler"],[0,"internalDownloadAsEvent","onDownloadAsEventHandler"],[0,"internalNotificationMessageEvent","notificationMessageHandler"],[0,"internalQueryEvent","onQuery"],[0,"internalQueryExecuted","onInternalQueryExecuted"],[0,"internalCountQueryEvent","onCountQuery"],[0,"internalCountQueryResponseEvent","onCountQueryResponse"],[0,"internalRequestAbortedEvent","onQueryAborted"]]],[0,"copy-resource-link-dialog",{"serviceFactory":[16],"resourceLink":[1,"resource-link"]}],[0,"share-query-dialog",{"config":[16],"serviceFactory":[16]}],[0,"save-query-dialog",{"serviceFactory":[16],"data":[16],"queryName":[32],"query":[32],"isPublic":[32],"isNew":[32],"isSaveAllowed":[32]},[[8,"keydown","keydownListener"]]],[0,"confirmation-dialog",{"translationService":[16],"config":[16]},[[8,"keydown","keydownListener"]]],[0,"saved-queries-popup",{"config":[16],"serviceFactory":[16]},[[8,"click","onWindowResize"],[8,"keydown","keydownListener"]]],[0,"copy-link-dialog",{"config":[16],"serviceFactory":[16],"copyLinkEventsObserver":[16],"classes":[1]}],[4,"yasgui-tooltip",{"dataTooltip":[1,"data-tooltip"],"placement":[1],"showOnClick":[4,"show-on-click"]}],[4,"ontotext-dialog-web-component",{"config":[16]},[[4,"keydown","keydownListener"]]]]],["ontotext-dropdown.cjs",[[0,"ontotext-dropdown",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"iconClass":[1,"icon-class"],"open":[32],"showTooltip":[32]},[[8,"keydown","keydownListener"],[8,"click","mouseClickListener"]]]]]], options);
|
|
17
|
+
return index.bootstrapLazy([["ontotext-download-as.cjs",[[0,"ontotext-download-as",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"pluginName":[1,"plugin-name"],"query":[1],"infer":[4],"sameAs":[4,"same-as"]}]]],["keyboard-shortcuts-dialog.cjs",[[0,"keyboard-shortcuts-dialog",{"items":[16],"translationService":[16],"open":[32]},[[8,"keydown","keydownListener"]]]]],["alert-box.cjs",[[0,"alert-box",{"type":[1],"message":[1],"noIcon":[4,"no-icon"],"noButton":[4,"no-button"],"isVisible":[32]}]]],["copy-resource-link-button.cjs",[[0,"copy-resource-link-button",{"uri":[1],"classes":[1]}]]],["loader-component.cjs",[[1,"loader-component",{"timeFormattingService":[16],"showQueryProgress":[4,"show-query-progress"],"message":[1],"additionalMessage":[1,"additional-message"],"size":[1],"hidden":[4],"queryProgress":[32]}]]],["ontotext-editable-text-field.cjs",[[0,"ontotext-editable-text-field",{"value":[1025],"edit":[1028],"translationService":[16]},[[8,"click","handleClickOutside"],[4,"keydown","keydownListener"]]]]],["ontotext-pagination.cjs",[[0,"ontotext-pagination",{"pageNumber":[2,"page-number"],"pageSize":[2,"page-size"],"totalElements":[2,"total-elements"],"pageElements":[2,"page-elements"],"hasMorePages":[4,"has-more-pages"]}]]],["confirmation-dialog_9.cjs",[[0,"ontotext-yasgui",{"config":[16],"language":[1],"savedQueryConfig":[16],"saveQueryData":[32],"savedQueryData":[32],"deleteQueryData":[32],"isVerticalOrientation":[32],"renderingMode":[32],"showSaveQueryDialog":[32],"showSavedQueriesPopup":[32],"showSavedQueriesPopupTarget":[32],"showConfirmationDialog":[32],"showShareQueryDialog":[32],"showCopyResourceLinkDialog":[32],"copiedResourceLink":[32],"loaderMessage":[32],"additionalLoaderMessage":[32],"yasqeBtnLabel":[32],"yasguiBtnLabel":[32],"yasrBtnLabel":[32],"changeRenderMode":[64],"setQuery":[64],"query":[64],"getQuery":[64],"isQueryValid":[64],"openTab":[64],"getQueryMode":[64],"getQueryType":[64],"getEmbeddedResultAsJson":[64],"getEmbeddedResultAsCSV":[64],"hideYasqeActionButton":[64],"showYasqeActionButton":[64],"getOngoingRequestsInfo":[64],"abortQuery":[64],"abortAllRequests":[64],"reInitYasgui":[64],"isQueryDirty":[64]},[[9,"resize","onResize"],[8,"beforeunload","onBeforeunloadHandler"],[0,"internalCreateSavedQueryEvent","saveQueryHandler"],[0,"internalSaveQueryEvent","createSavedQueryHandler"],[0,"internalUpdateQueryEvent","updateSavedQueryHandler"],[0,"internalSaveQueryDialogClosedEvent","closeSaveDialogHandler"],[0,"internalShowSavedQueriesEvent","showSavedQueriesHandler"],[0,"internalSaveQuerySelectedEvent","savedQuerySelectedHandler"],[0,"internalEditSavedQueryEvent","editSavedQueryHandler"],[0,"internalSavedQuerySelectedForDeleteEvent","savedQuerySelectedForEditHandler"],[0,"internalConfirmationApprovedEvent","deleteSavedQueryHandler"],[0,"internalConfirmationRejectedEvent","closeSavedQueryDeleteConfirmationHandler"],[0,"internalCloseSavedQueriesPopupEvent","closeSavedQueriesPopupHandler"],[0,"internalSavedQuerySelectedForShareEvent","savedQuerySelectedForShareHandler"],[0,"internalShareQueryEvent","shareQueryHandler"],[0,"internalQueryShareLinkCopiedEvent","savedQueryShareLinkCopiedHandler"],[0,"internalShareQueryDialogClosedEvent","closeShareQueryDialogHandler"],[0,"internalResourceLinkDialogClosedEvent","resourceLinkDialogClosedHandler"],[0,"internalResourceLinkCopiedEvent","resourceLinkCopiedHandler"],[0,"internalShowResourceCopyLinkDialogEvent","showResourceCopyLinkDialogHandler"],[0,"internalDownloadAsEvent","onDownloadAsEventHandler"],[0,"internalNotificationMessageEvent","notificationMessageHandler"],[0,"internalQueryEvent","onQuery"],[0,"internalQueryExecuted","onInternalQueryExecuted"],[0,"internalCountQueryEvent","onCountQuery"],[0,"internalCountQueryResponseEvent","onCountQueryResponse"],[0,"internalRequestAbortedEvent","onQueryAborted"]]],[0,"copy-resource-link-dialog",{"serviceFactory":[16],"resourceLink":[1,"resource-link"]}],[0,"share-query-dialog",{"config":[16],"serviceFactory":[16]}],[0,"save-query-dialog",{"serviceFactory":[16],"data":[16],"queryName":[32],"originalQueryName":[32],"query":[32],"isPublic":[32],"isNew":[32],"isSaveAllowed":[32]},[[8,"keydown","keydownListener"]]],[0,"confirmation-dialog",{"translationService":[16],"config":[16]},[[8,"keydown","keydownListener"]]],[0,"saved-queries-popup",{"config":[16],"serviceFactory":[16]},[[8,"click","onWindowResize"],[8,"keydown","keydownListener"]]],[0,"copy-link-dialog",{"config":[16],"serviceFactory":[16],"copyLinkEventsObserver":[16],"classes":[1]}],[4,"yasgui-tooltip",{"dataTooltip":[1,"data-tooltip"],"placement":[1],"showOnClick":[4,"show-on-click"]}],[4,"ontotext-dialog-web-component",{"config":[16]},[[4,"keydown","keydownListener"]]]]],["ontotext-dropdown.cjs",[[0,"ontotext-dropdown",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"iconClass":[1,"icon-class"],"open":[32],"showTooltip":[32]},[[8,"keydown","keydownListener"],[8,"click","mouseClickListener"]]]]]], options);
|
|
18
18
|
});
|
|
19
19
|
};
|
|
20
20
|
|
|
@@ -15,5 +15,5 @@ const patchBrowser = () => {
|
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(options => {
|
|
18
|
-
return index.bootstrapLazy([["ontotext-download-as.cjs",[[0,"ontotext-download-as",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"pluginName":[1,"plugin-name"],"query":[1],"infer":[4],"sameAs":[4,"same-as"]}]]],["keyboard-shortcuts-dialog.cjs",[[0,"keyboard-shortcuts-dialog",{"items":[16],"translationService":[16],"open":[32]},[[8,"keydown","keydownListener"]]]]],["alert-box.cjs",[[0,"alert-box",{"type":[1],"message":[1],"noIcon":[4,"no-icon"],"noButton":[4,"no-button"],"isVisible":[32]}]]],["copy-resource-link-button.cjs",[[0,"copy-resource-link-button",{"uri":[1],"classes":[1]}]]],["loader-component.cjs",[[1,"loader-component",{"timeFormattingService":[16],"showQueryProgress":[4,"show-query-progress"],"message":[1],"additionalMessage":[1,"additional-message"],"size":[1],"hidden":[4],"queryProgress":[32]}]]],["ontotext-editable-text-field.cjs",[[0,"ontotext-editable-text-field",{"value":[1025],"edit":[1028],"translationService":[16]},[[8,"click","handleClickOutside"],[4,"keydown","keydownListener"]]]]],["ontotext-pagination.cjs",[[0,"ontotext-pagination",{"pageNumber":[2,"page-number"],"pageSize":[2,"page-size"],"totalElements":[2,"total-elements"],"pageElements":[2,"page-elements"],"hasMorePages":[4,"has-more-pages"]}]]],["confirmation-dialog_9.cjs",[[0,"ontotext-yasgui",{"config":[16],"language":[1],"savedQueryConfig":[16],"saveQueryData":[32],"savedQueryData":[32],"deleteQueryData":[32],"isVerticalOrientation":[32],"renderingMode":[32],"showSaveQueryDialog":[32],"showSavedQueriesPopup":[32],"showSavedQueriesPopupTarget":[32],"showConfirmationDialog":[32],"showShareQueryDialog":[32],"showCopyResourceLinkDialog":[32],"copiedResourceLink":[32],"loaderMessage":[32],"additionalLoaderMessage":[32],"yasqeBtnLabel":[32],"yasguiBtnLabel":[32],"yasrBtnLabel":[32],"changeRenderMode":[64],"setQuery":[64],"query":[64],"getQuery":[64],"isQueryValid":[64],"openTab":[64],"getQueryMode":[64],"getQueryType":[64],"getEmbeddedResultAsJson":[64],"getEmbeddedResultAsCSV":[64],"hideYasqeActionButton":[64],"showYasqeActionButton":[64],"getOngoingRequestsInfo":[64],"abortQuery":[64],"abortAllRequests":[64],"reInitYasgui":[64],"isQueryDirty":[64]},[[9,"resize","onResize"],[8,"beforeunload","onBeforeunloadHandler"],[0,"internalCreateSavedQueryEvent","saveQueryHandler"],[0,"internalSaveQueryEvent","createSavedQueryHandler"],[0,"internalUpdateQueryEvent","updateSavedQueryHandler"],[0,"internalSaveQueryDialogClosedEvent","closeSaveDialogHandler"],[0,"internalShowSavedQueriesEvent","showSavedQueriesHandler"],[0,"internalSaveQuerySelectedEvent","savedQuerySelectedHandler"],[0,"internalEditSavedQueryEvent","editSavedQueryHandler"],[0,"internalSavedQuerySelectedForDeleteEvent","savedQuerySelectedForEditHandler"],[0,"internalConfirmationApprovedEvent","deleteSavedQueryHandler"],[0,"internalConfirmationRejectedEvent","closeSavedQueryDeleteConfirmationHandler"],[0,"internalCloseSavedQueriesPopupEvent","closeSavedQueriesPopupHandler"],[0,"internalSavedQuerySelectedForShareEvent","savedQuerySelectedForShareHandler"],[0,"internalShareQueryEvent","shareQueryHandler"],[0,"internalQueryShareLinkCopiedEvent","savedQueryShareLinkCopiedHandler"],[0,"internalShareQueryDialogClosedEvent","closeShareQueryDialogHandler"],[0,"internalResourceLinkDialogClosedEvent","resourceLinkDialogClosedHandler"],[0,"internalResourceLinkCopiedEvent","resourceLinkCopiedHandler"],[0,"internalShowResourceCopyLinkDialogEvent","showResourceCopyLinkDialogHandler"],[0,"internalDownloadAsEvent","onDownloadAsEventHandler"],[0,"internalNotificationMessageEvent","notificationMessageHandler"],[0,"internalQueryEvent","onQuery"],[0,"internalQueryExecuted","onInternalQueryExecuted"],[0,"internalCountQueryEvent","onCountQuery"],[0,"internalCountQueryResponseEvent","onCountQueryResponse"],[0,"internalRequestAbortedEvent","onQueryAborted"]]],[0,"copy-resource-link-dialog",{"serviceFactory":[16],"resourceLink":[1,"resource-link"]}],[0,"share-query-dialog",{"config":[16],"serviceFactory":[16]}],[0,"save-query-dialog",{"serviceFactory":[16],"data":[16],"queryName":[32],"query":[32],"isPublic":[32],"isNew":[32],"isSaveAllowed":[32]},[[8,"keydown","keydownListener"]]],[0,"confirmation-dialog",{"translationService":[16],"config":[16]},[[8,"keydown","keydownListener"]]],[0,"saved-queries-popup",{"config":[16],"serviceFactory":[16]},[[8,"click","onWindowResize"],[8,"keydown","keydownListener"]]],[0,"copy-link-dialog",{"config":[16],"serviceFactory":[16],"copyLinkEventsObserver":[16],"classes":[1]}],[4,"yasgui-tooltip",{"dataTooltip":[1,"data-tooltip"],"placement":[1],"showOnClick":[4,"show-on-click"]}],[4,"ontotext-dialog-web-component",{"config":[16]},[[4,"keydown","keydownListener"]]]]],["ontotext-dropdown.cjs",[[0,"ontotext-dropdown",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"iconClass":[1,"icon-class"],"open":[32],"showTooltip":[32]},[[8,"keydown","keydownListener"],[8,"click","mouseClickListener"]]]]]], options);
|
|
18
|
+
return index.bootstrapLazy([["ontotext-download-as.cjs",[[0,"ontotext-download-as",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"pluginName":[1,"plugin-name"],"query":[1],"infer":[4],"sameAs":[4,"same-as"]}]]],["keyboard-shortcuts-dialog.cjs",[[0,"keyboard-shortcuts-dialog",{"items":[16],"translationService":[16],"open":[32]},[[8,"keydown","keydownListener"]]]]],["alert-box.cjs",[[0,"alert-box",{"type":[1],"message":[1],"noIcon":[4,"no-icon"],"noButton":[4,"no-button"],"isVisible":[32]}]]],["copy-resource-link-button.cjs",[[0,"copy-resource-link-button",{"uri":[1],"classes":[1]}]]],["loader-component.cjs",[[1,"loader-component",{"timeFormattingService":[16],"showQueryProgress":[4,"show-query-progress"],"message":[1],"additionalMessage":[1,"additional-message"],"size":[1],"hidden":[4],"queryProgress":[32]}]]],["ontotext-editable-text-field.cjs",[[0,"ontotext-editable-text-field",{"value":[1025],"edit":[1028],"translationService":[16]},[[8,"click","handleClickOutside"],[4,"keydown","keydownListener"]]]]],["ontotext-pagination.cjs",[[0,"ontotext-pagination",{"pageNumber":[2,"page-number"],"pageSize":[2,"page-size"],"totalElements":[2,"total-elements"],"pageElements":[2,"page-elements"],"hasMorePages":[4,"has-more-pages"]}]]],["confirmation-dialog_9.cjs",[[0,"ontotext-yasgui",{"config":[16],"language":[1],"savedQueryConfig":[16],"saveQueryData":[32],"savedQueryData":[32],"deleteQueryData":[32],"isVerticalOrientation":[32],"renderingMode":[32],"showSaveQueryDialog":[32],"showSavedQueriesPopup":[32],"showSavedQueriesPopupTarget":[32],"showConfirmationDialog":[32],"showShareQueryDialog":[32],"showCopyResourceLinkDialog":[32],"copiedResourceLink":[32],"loaderMessage":[32],"additionalLoaderMessage":[32],"yasqeBtnLabel":[32],"yasguiBtnLabel":[32],"yasrBtnLabel":[32],"changeRenderMode":[64],"setQuery":[64],"query":[64],"getQuery":[64],"isQueryValid":[64],"openTab":[64],"getQueryMode":[64],"getQueryType":[64],"getEmbeddedResultAsJson":[64],"getEmbeddedResultAsCSV":[64],"hideYasqeActionButton":[64],"showYasqeActionButton":[64],"getOngoingRequestsInfo":[64],"abortQuery":[64],"abortAllRequests":[64],"reInitYasgui":[64],"isQueryDirty":[64]},[[9,"resize","onResize"],[8,"beforeunload","onBeforeunloadHandler"],[0,"internalCreateSavedQueryEvent","saveQueryHandler"],[0,"internalSaveQueryEvent","createSavedQueryHandler"],[0,"internalUpdateQueryEvent","updateSavedQueryHandler"],[0,"internalSaveQueryDialogClosedEvent","closeSaveDialogHandler"],[0,"internalShowSavedQueriesEvent","showSavedQueriesHandler"],[0,"internalSaveQuerySelectedEvent","savedQuerySelectedHandler"],[0,"internalEditSavedQueryEvent","editSavedQueryHandler"],[0,"internalSavedQuerySelectedForDeleteEvent","savedQuerySelectedForEditHandler"],[0,"internalConfirmationApprovedEvent","deleteSavedQueryHandler"],[0,"internalConfirmationRejectedEvent","closeSavedQueryDeleteConfirmationHandler"],[0,"internalCloseSavedQueriesPopupEvent","closeSavedQueriesPopupHandler"],[0,"internalSavedQuerySelectedForShareEvent","savedQuerySelectedForShareHandler"],[0,"internalShareQueryEvent","shareQueryHandler"],[0,"internalQueryShareLinkCopiedEvent","savedQueryShareLinkCopiedHandler"],[0,"internalShareQueryDialogClosedEvent","closeShareQueryDialogHandler"],[0,"internalResourceLinkDialogClosedEvent","resourceLinkDialogClosedHandler"],[0,"internalResourceLinkCopiedEvent","resourceLinkCopiedHandler"],[0,"internalShowResourceCopyLinkDialogEvent","showResourceCopyLinkDialogHandler"],[0,"internalDownloadAsEvent","onDownloadAsEventHandler"],[0,"internalNotificationMessageEvent","notificationMessageHandler"],[0,"internalQueryEvent","onQuery"],[0,"internalQueryExecuted","onInternalQueryExecuted"],[0,"internalCountQueryEvent","onCountQuery"],[0,"internalCountQueryResponseEvent","onCountQueryResponse"],[0,"internalRequestAbortedEvent","onQueryAborted"]]],[0,"copy-resource-link-dialog",{"serviceFactory":[16],"resourceLink":[1,"resource-link"]}],[0,"share-query-dialog",{"config":[16],"serviceFactory":[16]}],[0,"save-query-dialog",{"serviceFactory":[16],"data":[16],"queryName":[32],"originalQueryName":[32],"query":[32],"isPublic":[32],"isNew":[32],"isSaveAllowed":[32]},[[8,"keydown","keydownListener"]]],[0,"confirmation-dialog",{"translationService":[16],"config":[16]},[[8,"keydown","keydownListener"]]],[0,"saved-queries-popup",{"config":[16],"serviceFactory":[16]},[[8,"click","onWindowResize"],[8,"keydown","keydownListener"]]],[0,"copy-link-dialog",{"config":[16],"serviceFactory":[16],"copyLinkEventsObserver":[16],"classes":[1]}],[4,"yasgui-tooltip",{"dataTooltip":[1,"data-tooltip"],"placement":[1],"showOnClick":[4,"show-on-click"]}],[4,"ontotext-dialog-web-component",{"config":[16]},[[4,"keydown","keydownListener"]]]]],["ontotext-dropdown.cjs",[[0,"ontotext-dropdown",{"translationService":[16],"nameLabelKey":[1,"name-label-key"],"tooltipLabelKey":[1,"tooltip-label-key"],"items":[16],"iconClass":[1,"icon-class"],"open":[32],"showTooltip":[32]},[[8,"keydown","keydownListener"],[8,"click","mouseClickListener"]]]]]], options);
|
|
19
19
|
});
|
package/dist/collection/components/ontotext-yasgui-web-component/ontotext-yasgui-web-component.js
CHANGED
|
@@ -296,12 +296,14 @@ export class OntotextYasguiWebComponent {
|
|
|
296
296
|
* Handler for the event fired when the query should be saved by the component client.
|
|
297
297
|
*/
|
|
298
298
|
createSavedQueryHandler(event) {
|
|
299
|
+
this.savedQueryData = undefined;
|
|
299
300
|
this.createSavedQuery.emit(event.detail);
|
|
300
301
|
}
|
|
301
302
|
/**
|
|
302
303
|
* Handler for the event fired when the query should be saved by the component client.
|
|
303
304
|
*/
|
|
304
305
|
updateSavedQueryHandler(event) {
|
|
306
|
+
this.savedQueryData = undefined;
|
|
305
307
|
this.updateSavedQuery.emit(event.detail);
|
|
306
308
|
}
|
|
307
309
|
/**
|
|
@@ -309,6 +311,8 @@ export class OntotextYasguiWebComponent {
|
|
|
309
311
|
*/
|
|
310
312
|
closeSaveDialogHandler() {
|
|
311
313
|
this.showSaveQueryDialog = false;
|
|
314
|
+
this.savedQueryData = undefined;
|
|
315
|
+
this.saveQueryData = undefined;
|
|
312
316
|
}
|
|
313
317
|
/**
|
|
314
318
|
* Handler for the event fired when the show saved queries button in the yasqe toolbar is triggered.
|
|
@@ -517,6 +521,7 @@ export class OntotextYasguiWebComponent {
|
|
|
517
521
|
data.savedQueriesList = this.savedQueryConfig.savedQueries.map((savedQuery) => {
|
|
518
522
|
return {
|
|
519
523
|
queryName: savedQuery.queryName,
|
|
524
|
+
originalQueryName: savedQuery.queryName,
|
|
520
525
|
query: savedQuery.query,
|
|
521
526
|
isPublic: savedQuery.isPublic,
|
|
522
527
|
owner: savedQuery.owner,
|
|
@@ -7,6 +7,7 @@ export class SaveQueryDialog {
|
|
|
7
7
|
this.serviceFactory = undefined;
|
|
8
8
|
this.data = undefined;
|
|
9
9
|
this.queryName = '';
|
|
10
|
+
this.originalQueryName = '';
|
|
10
11
|
this.query = '';
|
|
11
12
|
this.isPublic = false;
|
|
12
13
|
this.isNew = false;
|
|
@@ -27,6 +28,7 @@ export class SaveQueryDialog {
|
|
|
27
28
|
this.translationService = this.serviceFactory.get(TranslationService);
|
|
28
29
|
if (this.data) {
|
|
29
30
|
this.queryName = this.data.queryName || this.queryName;
|
|
31
|
+
this.originalQueryName = this.data.queryName || this.queryName;
|
|
30
32
|
this.query = this.data.query || this.query;
|
|
31
33
|
this.isPublic = this.data.isPublic !== undefined ? this.data.isPublic : this.isPublic;
|
|
32
34
|
this.isNew = this.data.isNew !== undefined ? this.data.isNew : this.isNew;
|
|
@@ -58,10 +60,10 @@ export class SaveQueryDialog {
|
|
|
58
60
|
const query = this.query;
|
|
59
61
|
const isPublic = this.isPublic;
|
|
60
62
|
if (this.isNew) {
|
|
61
|
-
this.internalSaveQueryEvent.emit(new SaveQueryData(queryName, query, isPublic));
|
|
63
|
+
this.internalSaveQueryEvent.emit(new SaveQueryData(queryName, query, isPublic, this.originalQueryName));
|
|
62
64
|
}
|
|
63
65
|
else {
|
|
64
|
-
this.internalUpdateQueryEvent.emit(new UpdateQueryData(queryName, query, isPublic));
|
|
66
|
+
this.internalUpdateQueryEvent.emit(new UpdateQueryData(queryName, query, isPublic, this.originalQueryName));
|
|
65
67
|
}
|
|
66
68
|
}
|
|
67
69
|
handleQueryNameChange(event) {
|
|
@@ -108,7 +110,7 @@ export class SaveQueryDialog {
|
|
|
108
110
|
return this.hasMissingFields() || ((_a = this.data.messages) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
109
111
|
}
|
|
110
112
|
render() {
|
|
111
|
-
return (h(Host, { tabindex: '-1' }, h("div", { class: "dialog-overlay", onClick: (evt) => this.onClose(evt) }, h("div", { class: "dialog" }, h("div", { class: "dialog-header" }, h("h3", { class: "dialog-title" }, this.translationService.translate('yasqe.actions.save_query.dialog.title')), h("button", { class: "close-button icon-close", onClick: (evt) => this.onClose(evt) })), h("div", { class: "dialog-body" }, h("div", { class: "save-query-form" }, h("div", { class: "form-field query-name-field" }, h("input", { type: "text", name: "queryName", id: "queryName", required: true, value: this.queryName, class: !this.queryName.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query_name.label'), onInput: (evt) => this.handleQueryNameChange(evt) })), h("div", { class: "form-field is-public-field" }, h("yasgui-tooltip", { placement: "top", "data-tooltip": this.translationService.translate('yasqe.actions.save_query.dialog.public_query.tooltip') }, h("label", null, h("input", { type: "checkbox", name: "publicQuery", id: "publicQuery", checked: this.isPublic, onChange: (evt) => this.handleIsPublicChange(evt) }), this.translationService.translate('yasqe.actions.save_query.dialog.public_query.label')))), h("div", { class: "form-field query-field" }, h("textarea", { name: "query", id: "query", required: true, rows: 8, class: !this.query.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query.label'), value: this.query, onInput: (evt) => this.handleQueryChange(evt) })), this.showErrorMessage() && h(Alert, { messages: this.getErrorMessages() }, "\u00A0"))), h("div", { class: "dialog-footer" }, h("button", { class: "cancel-button", onClick: (evt) => this.onClose(evt), ref: (el) => (this.cancelButton = el) }, this.translationService.translate('yasqe.actions.save_query.dialog.cancel.button')), h("button", { class: "ok-button", disabled: !this.isSaveAllowed, onClick: (evt) => this.onCreate(evt) }, this.translationService.translate('yasqe.actions.save_query.dialog.create.button')))))));
|
|
113
|
+
return (h(Host, { tabindex: '-1' }, h("div", { class: "dialog-overlay", onClick: (evt) => this.onClose(evt) }, h("div", { class: "dialog" }, h("div", { class: "dialog-header" }, h("h3", { class: "dialog-title" }, this.translationService.translate(this.isNew ? 'yasqe.actions.save_query.dialog.title' : 'yasqe.actions.edit_query.dialog.title')), h("button", { class: "close-button icon-close", onClick: (evt) => this.onClose(evt) })), h("div", { class: "dialog-body" }, h("div", { class: "save-query-form" }, h("div", { class: "form-field query-name-field" }, h("input", { type: "text", name: "queryName", id: "queryName", required: true, value: this.queryName, class: !this.queryName.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query_name.label'), onInput: (evt) => this.handleQueryNameChange(evt) })), h("div", { class: "form-field is-public-field" }, h("yasgui-tooltip", { placement: "top", "data-tooltip": this.translationService.translate('yasqe.actions.save_query.dialog.public_query.tooltip') }, h("label", null, h("input", { type: "checkbox", name: "publicQuery", id: "publicQuery", checked: this.isPublic, onChange: (evt) => this.handleIsPublicChange(evt) }), this.translationService.translate('yasqe.actions.save_query.dialog.public_query.label')))), h("div", { class: "form-field query-field" }, h("textarea", { name: "query", id: "query", required: true, rows: 8, class: !this.query.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query.label'), value: this.query, onInput: (evt) => this.handleQueryChange(evt) })), this.showErrorMessage() && h(Alert, { messages: this.getErrorMessages() }, "\u00A0"))), h("div", { class: "dialog-footer" }, h("button", { class: "cancel-button", onClick: (evt) => this.onClose(evt), ref: (el) => (this.cancelButton = el) }, this.translationService.translate('yasqe.actions.save_query.dialog.cancel.button')), h("button", { class: "ok-button", disabled: !this.isSaveAllowed, onClick: (evt) => this.onCreate(evt) }, this.translationService.translate(this.isNew ? 'yasqe.actions.save_query.dialog.create.button' : 'yasqe.actions.save_query.dialog.save.button')))))));
|
|
112
114
|
}
|
|
113
115
|
static get is() { return "save-query-dialog"; }
|
|
114
116
|
static get originalStyleUrls() {
|
|
@@ -168,6 +170,7 @@ export class SaveQueryDialog {
|
|
|
168
170
|
static get states() {
|
|
169
171
|
return {
|
|
170
172
|
"queryName": {},
|
|
173
|
+
"originalQueryName": {},
|
|
171
174
|
"query": {},
|
|
172
175
|
"isPublic": {},
|
|
173
176
|
"isNew": {},
|
|
@@ -35,7 +35,7 @@ export class SavedQueriesPopup {
|
|
|
35
35
|
}
|
|
36
36
|
onEdit(evt, selectedQuery) {
|
|
37
37
|
evt.stopPropagation();
|
|
38
|
-
this.internalEditSavedQueryEvent.emit(new UpdateQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic, false));
|
|
38
|
+
this.internalEditSavedQueryEvent.emit(new UpdateQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic, selectedQuery.originalQueryName, false));
|
|
39
39
|
}
|
|
40
40
|
onDelete(evt, selectedQuery) {
|
|
41
41
|
evt.stopPropagation();
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
// TODO: rename to be like internal model
|
|
2
2
|
export class SaveQueryData {
|
|
3
|
-
constructor(queryName, query, isPublic, isNew, readonly, owner, messages) {
|
|
3
|
+
constructor(queryName, query, isPublic, originalQueryName, isNew, readonly, owner, messages) {
|
|
4
4
|
this.queryName = queryName;
|
|
5
5
|
this.query = query;
|
|
6
6
|
this.isPublic = isPublic;
|
|
7
|
+
this.originalQueryName = originalQueryName;
|
|
7
8
|
this.isNew = isNew;
|
|
8
9
|
this.readonly = readonly;
|
|
9
10
|
this.owner = owner;
|
|
@@ -137,7 +137,7 @@ class ExtendedTableDownloadAsConfiguration extends DownloadAsPluginConfiguration
|
|
|
137
137
|
switch (yasr.yasqe.getQueryType()) {
|
|
138
138
|
case 'SELECT':
|
|
139
139
|
return [{
|
|
140
|
-
labelKey: "yasr.plugin_control.download_as.sparql_results_json.label",
|
|
140
|
+
labelKey: "yasr.plugin_control.download_as.sparql_results_json.select.label",
|
|
141
141
|
value: "application/sparql-results+json",
|
|
142
142
|
}, {
|
|
143
143
|
labelKey: "yasr.plugin_control.download_as.x_sparqlstar_results_json.label",
|
|
@@ -164,7 +164,7 @@ class ExtendedTableDownloadAsConfiguration extends DownloadAsPluginConfiguration
|
|
|
164
164
|
case 'CONSTRUCT':
|
|
165
165
|
case 'DESCRIBE':
|
|
166
166
|
return [{
|
|
167
|
-
labelKey: "yasr.plugin_control.download_as.sparql_results_json.label",
|
|
167
|
+
labelKey: "yasr.plugin_control.download_as.sparql_results_json.describe.construct.label",
|
|
168
168
|
value: "application/rdf+json",
|
|
169
169
|
}, {
|
|
170
170
|
labelKey: "yasr.plugin_control.download_as.sparql_results_json_ld.label",
|
|
@@ -1682,7 +1682,7 @@ class ExtendedTableDownloadAsConfiguration extends DownloadAsPluginConfiguration
|
|
|
1682
1682
|
switch (yasr.yasqe.getQueryType()) {
|
|
1683
1683
|
case 'SELECT':
|
|
1684
1684
|
return [{
|
|
1685
|
-
labelKey: "yasr.plugin_control.download_as.sparql_results_json.label",
|
|
1685
|
+
labelKey: "yasr.plugin_control.download_as.sparql_results_json.select.label",
|
|
1686
1686
|
value: "application/sparql-results+json",
|
|
1687
1687
|
}, {
|
|
1688
1688
|
labelKey: "yasr.plugin_control.download_as.x_sparqlstar_results_json.label",
|
|
@@ -1709,7 +1709,7 @@ class ExtendedTableDownloadAsConfiguration extends DownloadAsPluginConfiguration
|
|
|
1709
1709
|
case 'CONSTRUCT':
|
|
1710
1710
|
case 'DESCRIBE':
|
|
1711
1711
|
return [{
|
|
1712
|
-
labelKey: "yasr.plugin_control.download_as.sparql_results_json.label",
|
|
1712
|
+
labelKey: "yasr.plugin_control.download_as.sparql_results_json.describe.construct.label",
|
|
1713
1713
|
value: "application/rdf+json",
|
|
1714
1714
|
}, {
|
|
1715
1715
|
labelKey: "yasr.plugin_control.download_as.sparql_results_json_ld.label",
|
|
@@ -3669,12 +3669,14 @@ const OntotextYasguiWebComponent = /*@__PURE__*/ proxyCustomElement(class extend
|
|
|
3669
3669
|
* Handler for the event fired when the query should be saved by the component client.
|
|
3670
3670
|
*/
|
|
3671
3671
|
createSavedQueryHandler(event) {
|
|
3672
|
+
this.savedQueryData = undefined;
|
|
3672
3673
|
this.createSavedQuery.emit(event.detail);
|
|
3673
3674
|
}
|
|
3674
3675
|
/**
|
|
3675
3676
|
* Handler for the event fired when the query should be saved by the component client.
|
|
3676
3677
|
*/
|
|
3677
3678
|
updateSavedQueryHandler(event) {
|
|
3679
|
+
this.savedQueryData = undefined;
|
|
3678
3680
|
this.updateSavedQuery.emit(event.detail);
|
|
3679
3681
|
}
|
|
3680
3682
|
/**
|
|
@@ -3682,6 +3684,8 @@ const OntotextYasguiWebComponent = /*@__PURE__*/ proxyCustomElement(class extend
|
|
|
3682
3684
|
*/
|
|
3683
3685
|
closeSaveDialogHandler() {
|
|
3684
3686
|
this.showSaveQueryDialog = false;
|
|
3687
|
+
this.savedQueryData = undefined;
|
|
3688
|
+
this.saveQueryData = undefined;
|
|
3685
3689
|
}
|
|
3686
3690
|
/**
|
|
3687
3691
|
* Handler for the event fired when the show saved queries button in the yasqe toolbar is triggered.
|
|
@@ -3890,6 +3894,7 @@ const OntotextYasguiWebComponent = /*@__PURE__*/ proxyCustomElement(class extend
|
|
|
3890
3894
|
data.savedQueriesList = this.savedQueryConfig.savedQueries.map((savedQuery) => {
|
|
3891
3895
|
return {
|
|
3892
3896
|
queryName: savedQuery.queryName,
|
|
3897
|
+
originalQueryName: savedQuery.queryName,
|
|
3893
3898
|
query: savedQuery.query,
|
|
3894
3899
|
isPublic: savedQuery.isPublic,
|
|
3895
3900
|
owner: savedQuery.owner,
|
|
@@ -16,6 +16,7 @@ const SaveQueryDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
16
16
|
this.serviceFactory = undefined;
|
|
17
17
|
this.data = undefined;
|
|
18
18
|
this.queryName = '';
|
|
19
|
+
this.originalQueryName = '';
|
|
19
20
|
this.query = '';
|
|
20
21
|
this.isPublic = false;
|
|
21
22
|
this.isNew = false;
|
|
@@ -36,6 +37,7 @@ const SaveQueryDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
36
37
|
this.translationService = this.serviceFactory.get(TranslationService);
|
|
37
38
|
if (this.data) {
|
|
38
39
|
this.queryName = this.data.queryName || this.queryName;
|
|
40
|
+
this.originalQueryName = this.data.queryName || this.queryName;
|
|
39
41
|
this.query = this.data.query || this.query;
|
|
40
42
|
this.isPublic = this.data.isPublic !== undefined ? this.data.isPublic : this.isPublic;
|
|
41
43
|
this.isNew = this.data.isNew !== undefined ? this.data.isNew : this.isNew;
|
|
@@ -67,10 +69,10 @@ const SaveQueryDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
67
69
|
const query = this.query;
|
|
68
70
|
const isPublic = this.isPublic;
|
|
69
71
|
if (this.isNew) {
|
|
70
|
-
this.internalSaveQueryEvent.emit(new SaveQueryData(queryName, query, isPublic));
|
|
72
|
+
this.internalSaveQueryEvent.emit(new SaveQueryData(queryName, query, isPublic, this.originalQueryName));
|
|
71
73
|
}
|
|
72
74
|
else {
|
|
73
|
-
this.internalUpdateQueryEvent.emit(new UpdateQueryData(queryName, query, isPublic));
|
|
75
|
+
this.internalUpdateQueryEvent.emit(new UpdateQueryData(queryName, query, isPublic, this.originalQueryName));
|
|
74
76
|
}
|
|
75
77
|
}
|
|
76
78
|
handleQueryNameChange(event) {
|
|
@@ -117,7 +119,7 @@ const SaveQueryDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
117
119
|
return this.hasMissingFields() || ((_a = this.data.messages) === null || _a === void 0 ? void 0 : _a.length) > 0;
|
|
118
120
|
}
|
|
119
121
|
render() {
|
|
120
|
-
return (h(Host, { tabindex: '-1' }, h("div", { class: "dialog-overlay", onClick: (evt) => this.onClose(evt) }, h("div", { class: "dialog" }, h("div", { class: "dialog-header" }, h("h3", { class: "dialog-title" }, this.translationService.translate('yasqe.actions.save_query.dialog.title')), h("button", { class: "close-button icon-close", onClick: (evt) => this.onClose(evt) })), h("div", { class: "dialog-body" }, h("div", { class: "save-query-form" }, h("div", { class: "form-field query-name-field" }, h("input", { type: "text", name: "queryName", id: "queryName", required: true, value: this.queryName, class: !this.queryName.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query_name.label'), onInput: (evt) => this.handleQueryNameChange(evt) })), h("div", { class: "form-field is-public-field" }, h("yasgui-tooltip", { placement: "top", "data-tooltip": this.translationService.translate('yasqe.actions.save_query.dialog.public_query.tooltip') }, h("label", null, h("input", { type: "checkbox", name: "publicQuery", id: "publicQuery", checked: this.isPublic, onChange: (evt) => this.handleIsPublicChange(evt) }), this.translationService.translate('yasqe.actions.save_query.dialog.public_query.label')))), h("div", { class: "form-field query-field" }, h("textarea", { name: "query", id: "query", required: true, rows: 8, class: !this.query.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query.label'), value: this.query, onInput: (evt) => this.handleQueryChange(evt) })), this.showErrorMessage() && h(Alert, { messages: this.getErrorMessages() }, "\u00A0"))), h("div", { class: "dialog-footer" }, h("button", { class: "cancel-button", onClick: (evt) => this.onClose(evt), ref: (el) => (this.cancelButton = el) }, this.translationService.translate('yasqe.actions.save_query.dialog.cancel.button')), h("button", { class: "ok-button", disabled: !this.isSaveAllowed, onClick: (evt) => this.onCreate(evt) }, this.translationService.translate('yasqe.actions.save_query.dialog.create.button')))))));
|
|
122
|
+
return (h(Host, { tabindex: '-1' }, h("div", { class: "dialog-overlay", onClick: (evt) => this.onClose(evt) }, h("div", { class: "dialog" }, h("div", { class: "dialog-header" }, h("h3", { class: "dialog-title" }, this.translationService.translate(this.isNew ? 'yasqe.actions.save_query.dialog.title' : 'yasqe.actions.edit_query.dialog.title')), h("button", { class: "close-button icon-close", onClick: (evt) => this.onClose(evt) })), h("div", { class: "dialog-body" }, h("div", { class: "save-query-form" }, h("div", { class: "form-field query-name-field" }, h("input", { type: "text", name: "queryName", id: "queryName", required: true, value: this.queryName, class: !this.queryName.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query_name.label'), onInput: (evt) => this.handleQueryNameChange(evt) })), h("div", { class: "form-field is-public-field" }, h("yasgui-tooltip", { placement: "top", "data-tooltip": this.translationService.translate('yasqe.actions.save_query.dialog.public_query.tooltip') }, h("label", null, h("input", { type: "checkbox", name: "publicQuery", id: "publicQuery", checked: this.isPublic, onChange: (evt) => this.handleIsPublicChange(evt) }), this.translationService.translate('yasqe.actions.save_query.dialog.public_query.label')))), h("div", { class: "form-field query-field" }, h("textarea", { name: "query", id: "query", required: true, rows: 8, class: !this.query.trim().length ? 'invalid' : '', placeholder: this.translationService.translate('yasqe.actions.save_query.dialog.query.label'), value: this.query, onInput: (evt) => this.handleQueryChange(evt) })), this.showErrorMessage() && h(Alert, { messages: this.getErrorMessages() }, "\u00A0"))), h("div", { class: "dialog-footer" }, h("button", { class: "cancel-button", onClick: (evt) => this.onClose(evt), ref: (el) => (this.cancelButton = el) }, this.translationService.translate('yasqe.actions.save_query.dialog.cancel.button')), h("button", { class: "ok-button", disabled: !this.isSaveAllowed, onClick: (evt) => this.onCreate(evt) }, this.translationService.translate(this.isNew ? 'yasqe.actions.save_query.dialog.create.button' : 'yasqe.actions.save_query.dialog.save.button')))))));
|
|
121
123
|
}
|
|
122
124
|
get hostElement() { return this; }
|
|
123
125
|
static get style() { return saveQueryDialogCss; }
|
|
@@ -125,6 +127,7 @@ const SaveQueryDialog = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
125
127
|
"serviceFactory": [16],
|
|
126
128
|
"data": [16],
|
|
127
129
|
"queryName": [32],
|
|
130
|
+
"originalQueryName": [32],
|
|
128
131
|
"query": [32],
|
|
129
132
|
"isPublic": [32],
|
|
130
133
|
"isNew": [32],
|
|
@@ -45,7 +45,7 @@ const SavedQueriesPopup = /*@__PURE__*/ proxyCustomElement(class extends HTMLEle
|
|
|
45
45
|
}
|
|
46
46
|
onEdit(evt, selectedQuery) {
|
|
47
47
|
evt.stopPropagation();
|
|
48
|
-
this.internalEditSavedQueryEvent.emit(new UpdateQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic, false));
|
|
48
|
+
this.internalEditSavedQueryEvent.emit(new UpdateQueryData(selectedQuery.queryName, selectedQuery.query, selectedQuery.isPublic, selectedQuery.originalQueryName, false));
|
|
49
49
|
}
|
|
50
50
|
onDelete(evt, selectedQuery) {
|
|
51
51
|
evt.stopPropagation();
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
// TODO: rename to be like internal model
|
|
2
2
|
class SaveQueryData {
|
|
3
|
-
constructor(queryName, query, isPublic, isNew, readonly, owner, messages) {
|
|
3
|
+
constructor(queryName, query, isPublic, originalQueryName, isNew, readonly, owner, messages) {
|
|
4
4
|
this.queryName = queryName;
|
|
5
5
|
this.query = query;
|
|
6
6
|
this.isPublic = isPublic;
|
|
7
|
+
this.originalQueryName = originalQueryName;
|
|
7
8
|
this.isNew = isNew;
|
|
8
9
|
this.readonly = readonly;
|
|
9
10
|
this.owner = owner;
|
|
@@ -185,17 +185,19 @@ const en = {
|
|
|
185
185
|
"yasr.plugin_control.response_chip.message.result_info.total_results": " of {{totalResults}}",
|
|
186
186
|
"yasr.plugin_control.response_chip.message.result_info.at_least_results": " of at least {{atLeastResults}}",
|
|
187
187
|
"yasr.plugin_control.response_chip.message.seconds": "{{seconds}}s",
|
|
188
|
-
"yasr.plugin_control.download_as.extended_table.dropdown.label": "Download as
|
|
188
|
+
"yasr.plugin_control.download_as.extended_table.dropdown.label": "Download as",
|
|
189
189
|
"yasr.plugin_control.download_as.pivot_table.dropdown.label": "Download result",
|
|
190
190
|
"yasr.plugin_control.download_as.raw_response.dropdown.label": "Download as",
|
|
191
191
|
"yasr.plugin_control.download_as.charts.dropdown.label": "Download result",
|
|
192
192
|
"yasr.plugin_control.download_as.sparql_results_json.label": "JSON",
|
|
193
|
+
"yasr.plugin_control.download_as.sparql_results_json.select.label": "SPARQL Results JSON",
|
|
194
|
+
"yasr.plugin_control.download_as.sparql_results_json.describe.construct.label": "RDF JSON",
|
|
193
195
|
"yasr.plugin_control.download_as.sparql_results_json_ld.label": "JSON-LD",
|
|
194
196
|
"yasr.plugin_control.download_as.sparql_results_ndjson_ld.label": "NDJSON-LD",
|
|
195
|
-
"yasr.plugin_control.download_as.x_sparqlstar_results_json.label": "JSON*",
|
|
197
|
+
"yasr.plugin_control.download_as.x_sparqlstar_results_json.label": "SPARQL Results JSON*",
|
|
196
198
|
"yasr.plugin_control.download_as.x_sparqlstar_results_rdf_xml.label": "RDF-XML",
|
|
197
|
-
"yasr.plugin_control.download_as.sparql_results_xml.label": "XML",
|
|
198
|
-
"yasr.plugin_control.download_as.x_sparqlstar_results_xml.label": "XML*",
|
|
199
|
+
"yasr.plugin_control.download_as.sparql_results_xml.label": "SPARQL Results XML",
|
|
200
|
+
"yasr.plugin_control.download_as.x_sparqlstar_results_xml.label": "SPARQL Results XML*",
|
|
199
201
|
"yasr.plugin_control.download_as.csv.label": "CSV",
|
|
200
202
|
"yasr.plugin_control.download_as.tab_separated_values.label": "TSV",
|
|
201
203
|
"yasr.plugin_control.download_as.x_tab_separated_values_star.label": "TSV*",
|
|
@@ -249,6 +251,8 @@ const en = {
|
|
|
249
251
|
"yasqe.actions.save_query.dialog.cancel.button": "Cancel",
|
|
250
252
|
"yasqe.actions.show_saved_queries.button.tooltip": "Show saved queries",
|
|
251
253
|
"yasqe.actions.edit_saved_query.button.tooltip": "Edit",
|
|
254
|
+
"yasqe.actions.edit_query.dialog.title": "Edit Saved Query",
|
|
255
|
+
"yasqe.actions.save_query.dialog.save.button": "Save",
|
|
252
256
|
"yasqe.actions.delete_saved_query.button.tooltip": "Delete",
|
|
253
257
|
"yasqe.actions.delete_saved_query.confirm.dialog.label": "Confirm",
|
|
254
258
|
"yasqe.actions.delete_saved_query.confirm.dialog.message": "Are you sure you want to delete the saved query '{{query}}'?",
|
|
@@ -458,17 +462,19 @@ const fr = {
|
|
|
458
462
|
"yasr.plugin_control.response_chip.message.result_info.total_results": " pour un total de {{totalResults}}",
|
|
459
463
|
"yasr.plugin_control.response_chip.message.result_info.at_least_results": " d'au moins {{atLeastResults}}",
|
|
460
464
|
"yasr.plugin_control.response_chip.message.seconds": "{{seconds}}s",
|
|
461
|
-
"yasr.plugin_control.download_as.extended_table.dropdown.label": "
|
|
465
|
+
"yasr.plugin_control.download_as.extended_table.dropdown.label": "Téléchargement",
|
|
462
466
|
"yasr.plugin_control.download_as.raw_response.dropdown.label": "Téléchargement",
|
|
463
467
|
"yasr.plugin_control.download_as.pivot_table.dropdown.label": "Télécharger le résultat",
|
|
464
468
|
"yasr.plugin_control.download_as.charts.dropdown.label": "Télécharger le résultat",
|
|
465
469
|
"yasr.plugin_control.download_as.sparql_results_json.label": "JSON",
|
|
470
|
+
"yasr.plugin_control.download_as.sparql_results_json.select.label": "Résultats SPARQL JSON",
|
|
471
|
+
"yasr.plugin_control.download_as.sparql_results_json.describe.construct.label": "RDF JSON",
|
|
466
472
|
"yasr.plugin_control.download_as.sparql_results_json_ld.label": "JSON-LD",
|
|
467
473
|
"yasr.plugin_control.download_as.sparql_results_ndjson_ld.label": "NDJSON-LD",
|
|
468
|
-
"yasr.plugin_control.download_as.x_sparqlstar_results_json.label": "JSON*",
|
|
474
|
+
"yasr.plugin_control.download_as.x_sparqlstar_results_json.label": "Résultats SPARQL JSON*",
|
|
469
475
|
"yasr.plugin_control.download_as.x_sparqlstar_results_rdf_xml.label": "RDF-XML",
|
|
470
|
-
"yasr.plugin_control.download_as.sparql_results_xml.label": "XML",
|
|
471
|
-
"yasr.plugin_control.download_as.x_sparqlstar_results_xml.label": "XML*",
|
|
476
|
+
"yasr.plugin_control.download_as.sparql_results_xml.label": "Résultats SPARQL XML",
|
|
477
|
+
"yasr.plugin_control.download_as.x_sparqlstar_results_xml.label": "Résultats SPARQL XML*",
|
|
472
478
|
"yasr.plugin_control.download_as.csv.label": "CSV",
|
|
473
479
|
"yasr.plugin_control.download_as.tab_separated_values.label": "TSV",
|
|
474
480
|
"yasr.plugin_control.download_as.x_tab_separated_values_star.label": "TSV*",
|
|
@@ -522,6 +528,8 @@ const fr = {
|
|
|
522
528
|
"yasqe.actions.save_query.dialog.cancel.button": "Annuler",
|
|
523
529
|
"yasqe.actions.show_saved_queries.button.tooltip": "Afficher les requêtes enregistrées",
|
|
524
530
|
"yasqe.actions.edit_saved_query.button.tooltip": "Modifier",
|
|
531
|
+
"yasqe.actions.edit_query.dialog.title": "Modifier la requête enregistrée",
|
|
532
|
+
"yasqe.actions.save_query.dialog.save.button": "Enregistrer",
|
|
525
533
|
"yasqe.actions.delete_saved_query.button.tooltip": "Supprimer",
|
|
526
534
|
"yasqe.actions.delete_saved_query.confirm.dialog.label": "Confirmer",
|
|
527
535
|
"yasqe.actions.delete_saved_query.confirm.dialog.message": "Êtes-vous sûr de vouloir supprimer la requête enregistrée '{{query}}' ?",
|