@matdata/yasgui 5.16.0 → 5.17.0
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/build/ts/src/Tab.js +6 -2
- package/build/ts/src/Tab.js.map +1 -1
- package/build/ts/src/version.d.ts +1 -1
- package/build/ts/src/version.js +1 -1
- package/build/yasgui.min.css.map +1 -1
- package/build/yasgui.min.js +217 -205
- package/build/yasgui.min.js.map +4 -4
- package/package.json +3 -3
- package/src/Tab.ts +13 -3
- package/src/version.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@matdata/yasgui",
|
|
3
3
|
"description": "Yet Another SPARQL GUI",
|
|
4
|
-
"version": "5.
|
|
4
|
+
"version": "5.17.0",
|
|
5
5
|
"main": "build/yasgui.min.js",
|
|
6
6
|
"types": "build/ts/src/index.d.ts",
|
|
7
7
|
"license": "MIT",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"jsuri": "^1.3.1",
|
|
34
34
|
"lodash-es": "^4.17.15",
|
|
35
35
|
"sortablejs": "^1.10.2",
|
|
36
|
-
"@matdata/yasgui-graph-plugin": "^1.
|
|
37
|
-
"@matdata/yasgui-table-plugin": "^1.
|
|
36
|
+
"@matdata/yasgui-graph-plugin": "^1.6.1",
|
|
37
|
+
"@matdata/yasgui-table-plugin": "^1.3.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/autosuggest-highlight": "^3.1.0",
|
package/src/Tab.ts
CHANGED
|
@@ -3,7 +3,13 @@ import { addClass, removeClass, getAsValue } from "@matdata/yasgui-utils";
|
|
|
3
3
|
import { TabListEl } from "./TabElements";
|
|
4
4
|
import TabSettingsModal from "./TabSettingsModal";
|
|
5
5
|
import { default as Yasqe, RequestConfig, PlainRequestConfig, PartialConfig as YasqeConfig } from "@matdata/yasqe";
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
default as Yasr,
|
|
8
|
+
Parser,
|
|
9
|
+
Config as YasrConfig,
|
|
10
|
+
PersistentConfig as YasrPersistentConfig,
|
|
11
|
+
PluginQueryOptions as YasrPluginQueryOptions,
|
|
12
|
+
} from "@matdata/yasr";
|
|
7
13
|
import { mapValues, eq, mergeWith, words, deburr, invert } from "lodash-es";
|
|
8
14
|
import * as shareLink from "./linkUtils";
|
|
9
15
|
import EndpointSelect from "./endpointSelect";
|
|
@@ -1584,6 +1590,7 @@ WHERE {
|
|
|
1584
1590
|
{
|
|
1585
1591
|
customQuery: query,
|
|
1586
1592
|
customAccept: "text/turtle",
|
|
1593
|
+
silent: true,
|
|
1587
1594
|
},
|
|
1588
1595
|
);
|
|
1589
1596
|
|
|
@@ -1672,12 +1679,15 @@ WHERE {
|
|
|
1672
1679
|
// Add default renderers to the end, to give our custom ones priority.
|
|
1673
1680
|
...(Yasr.defaults.errorRenderers || []),
|
|
1674
1681
|
],
|
|
1675
|
-
executeQuery: async (query: string, options?:
|
|
1682
|
+
executeQuery: async (query: string, options?: YasrPluginQueryOptions) => {
|
|
1676
1683
|
if (!this.yasqe) throw new Error("No YASQE instance available");
|
|
1677
|
-
|
|
1684
|
+
const response = await Yasqe.Sparql.executeQuery(this.yasqe, undefined, {
|
|
1678
1685
|
customQuery: query,
|
|
1679
1686
|
customAccept: options?.acceptHeader,
|
|
1687
|
+
signal: options?.signal,
|
|
1688
|
+
silent: true,
|
|
1680
1689
|
});
|
|
1690
|
+
return response;
|
|
1681
1691
|
},
|
|
1682
1692
|
};
|
|
1683
1693
|
// Allow getDownloadFilName to be overwritten by the global config
|
package/src/version.ts
CHANGED