@matdata/yasr 4.6.1 → 4.7.4
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/CHANGELOG.md +150 -150
- package/build/yasr.html +31 -31
- package/build/yasr.min.css.map +1 -1
- package/build/yasr.min.js +1 -1
- package/build/yasr.min.js.map +1 -1
- package/package.json +56 -56
- package/src/bin/takeScreenshot.js +373 -373
- package/src/bindingsToCsv.ts +18 -18
- package/src/defaults.ts +28 -28
- package/src/helpers/addCSS.ts +7 -7
- package/src/helpers/addScript.ts +12 -12
- package/src/helpers/index.ts +3 -3
- package/src/helpers/sanitize.ts +11 -11
- package/src/jquery/extendJquery.js +1 -1
- package/src/jquery/tableToCsv.js +88 -88
- package/src/parsers/csv.ts +30 -30
- package/src/parsers/index.ts +311 -311
- package/src/parsers/json.ts +22 -22
- package/src/parsers/tsv.ts +43 -43
- package/src/parsers/turtleFamily.ts +60 -60
- package/src/parsers/xml.ts +79 -79
- package/src/plugins/boolean/index.scss +11 -11
- package/src/plugins/error/index.scss +57 -57
- package/src/plugins/index.ts +24 -24
- package/src/plugins/response/index.scss +63 -63
- package/src/plugins/table/index.scss +154 -154
- package/src/scss/global.scss +10 -10
- package/src/scss/variables.scss +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,150 +1,150 @@
|
|
|
1
|
-
# Change Log
|
|
2
|
-
|
|
3
|
-
## 4.6.1
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- 2285bff: Fix the display of results of DESCRIBE and CONSTRUCT queries.
|
|
8
|
-
- Updated dependencies [2285bff]
|
|
9
|
-
- @zazuko/yasqe@4.6.1
|
|
10
|
-
- @zazuko/yasgui-utils@4.6.1
|
|
11
|
-
|
|
12
|
-
## 4.6.0
|
|
13
|
-
|
|
14
|
-
### Patch Changes
|
|
15
|
-
|
|
16
|
-
- 2e04999: Upgrade various dependencies
|
|
17
|
-
- 0cd6b8e: Fix the documentation links
|
|
18
|
-
- Updated dependencies [2e04999]
|
|
19
|
-
- @zazuko/yasqe@4.6.0
|
|
20
|
-
- @zazuko/yasgui-utils@4.6.0
|
|
21
|
-
|
|
22
|
-
## 4.5.0
|
|
23
|
-
|
|
24
|
-
### Patch Changes
|
|
25
|
-
|
|
26
|
-
- @zazuko/yasgui-utils@4.5.0
|
|
27
|
-
- @zazuko/yasqe@4.5.0
|
|
28
|
-
|
|
29
|
-
## 4.4.3
|
|
30
|
-
|
|
31
|
-
### Patch Changes
|
|
32
|
-
|
|
33
|
-
- Updated dependencies [b835764]
|
|
34
|
-
- @zazuko/yasqe@4.4.3
|
|
35
|
-
- @zazuko/yasgui-utils@4.4.3
|
|
36
|
-
|
|
37
|
-
## 4.4.2
|
|
38
|
-
|
|
39
|
-
### Patch Changes
|
|
40
|
-
|
|
41
|
-
- Updated dependencies [c7ae45e]
|
|
42
|
-
- @zazuko/yasqe@4.4.2
|
|
43
|
-
- @zazuko/yasgui-utils@4.4.2
|
|
44
|
-
|
|
45
|
-
## 4.4.1
|
|
46
|
-
|
|
47
|
-
### Patch Changes
|
|
48
|
-
|
|
49
|
-
- @zazuko/yasgui-utils@4.4.1
|
|
50
|
-
- @zazuko/yasqe@4.4.1
|
|
51
|
-
|
|
52
|
-
## 4.4.0
|
|
53
|
-
|
|
54
|
-
### Minor Changes
|
|
55
|
-
|
|
56
|
-
- 2489238: Replace `superagent` with standard `fetch` (from @vemonet in #19)
|
|
57
|
-
|
|
58
|
-
### Patch Changes
|
|
59
|
-
|
|
60
|
-
- Updated dependencies [2489238]
|
|
61
|
-
- @zazuko/yasqe@4.4.0
|
|
62
|
-
- @zazuko/yasgui-utils@4.4.0
|
|
63
|
-
|
|
64
|
-
## 4.3.3
|
|
65
|
-
|
|
66
|
-
### Patch Changes
|
|
67
|
-
|
|
68
|
-
- d918c63: Upgrade some dependencies
|
|
69
|
-
- Updated dependencies [d918c63]
|
|
70
|
-
- Updated dependencies [d918c63]
|
|
71
|
-
- Updated dependencies [d918c63]
|
|
72
|
-
- @zazuko/yasgui-utils@4.3.3
|
|
73
|
-
- @zazuko/yasqe@4.3.3
|
|
74
|
-
|
|
75
|
-
## 4.3.2
|
|
76
|
-
|
|
77
|
-
### Patch Changes
|
|
78
|
-
|
|
79
|
-
- @zazuko/yasgui-utils@4.3.2
|
|
80
|
-
- @zazuko/yasqe@4.3.2
|
|
81
|
-
|
|
82
|
-
## 4.3.1
|
|
83
|
-
|
|
84
|
-
### Patch Changes
|
|
85
|
-
|
|
86
|
-
- 8aef253: Upgrade datatables.net to 2.0.5
|
|
87
|
-
- cbf8286: Use the right type for DataTables configuration
|
|
88
|
-
- 6e78f30: This fixes the style of the table by using the new `layout` property from DataTables
|
|
89
|
-
- @zazuko/yasgui-utils@4.3.1
|
|
90
|
-
- @zazuko/yasqe@4.3.1
|
|
91
|
-
|
|
92
|
-
## 4.3.0
|
|
93
|
-
|
|
94
|
-
### Minor Changes
|
|
95
|
-
|
|
96
|
-
- 981b776: Upgrade datatables to v2
|
|
97
|
-
|
|
98
|
-
### Patch Changes
|
|
99
|
-
|
|
100
|
-
- b14ed24: Update Git repository to https://github.com/zazuko/Yasgui
|
|
101
|
-
- Updated dependencies [b14ed24]
|
|
102
|
-
- @zazuko/yasgui-utils@4.3.0
|
|
103
|
-
- @zazuko/yasqe@4.3.0
|
|
104
|
-
|
|
105
|
-
All notable changes to this project will be documented in this file.
|
|
106
|
-
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
107
|
-
|
|
108
|
-
## [4.0.113](https://github.com/TriplyDB/yasgui/compare/v4.0.112...v4.0.113) (2020-04-08)
|
|
109
|
-
|
|
110
|
-
**Note:** Version bump only for package @triply/yasr
|
|
111
|
-
|
|
112
|
-
## [4.0.112](https://github.com/TriplyDB/yasgui/compare/v4.0.111...v4.0.112) (2020-04-07)
|
|
113
|
-
|
|
114
|
-
**Note:** Version bump only for package @triply/yasr
|
|
115
|
-
|
|
116
|
-
## [4.0.111](https://github.com/TriplyDB/yasgui/compare/v4.0.109...v4.0.111) (2020-03-20)
|
|
117
|
-
|
|
118
|
-
**Note:** Version bump only for package @triply/yasr
|
|
119
|
-
|
|
120
|
-
## [4.0.110](https://github.com/TriplyDB/yasgui/compare/v4.0.109...v4.0.110) (2020-03-20)
|
|
121
|
-
|
|
122
|
-
**Note:** Version bump only for package @triply/yasr
|
|
123
|
-
|
|
124
|
-
## [4.0.108](https://github.com/TriplyDB/yasgui/compare/v4.0.107...v4.0.108) (2020-03-10)
|
|
125
|
-
|
|
126
|
-
**Note:** Version bump only for package @triply/yasr
|
|
127
|
-
|
|
128
|
-
## [4.0.107](https://github.com/TriplyDB/yasgui/compare/v4.0.106...v4.0.107) (2020-03-01)
|
|
129
|
-
|
|
130
|
-
**Note:** Version bump only for package @triply/yasr
|
|
131
|
-
|
|
132
|
-
## [4.0.106](https://github.com/TriplyDB/yasgui/compare/v4.0.105...v4.0.106) (2020-02-25)
|
|
133
|
-
|
|
134
|
-
**Note:** Version bump only for package @triply/yasr
|
|
135
|
-
|
|
136
|
-
## [4.0.105](https://github.com/TriplyDB/yasgui/compare/v4.0.104...v4.0.105) (2020-02-10)
|
|
137
|
-
|
|
138
|
-
**Note:** Version bump only for package @triply/yasr
|
|
139
|
-
|
|
140
|
-
## [4.0.104](https://github.com/TriplyDB/yasgui/compare/v4.0.103...v4.0.104) (2020-02-10)
|
|
141
|
-
|
|
142
|
-
**Note:** Version bump only for package @triply/yasr
|
|
143
|
-
|
|
144
|
-
## [4.0.103](https://github.com/TriplyDB/yasgui/compare/v4.0.102...v4.0.103) (2020-02-10)
|
|
145
|
-
|
|
146
|
-
**Note:** Version bump only for package @triply/yasr
|
|
147
|
-
|
|
148
|
-
## [4.0.102](https://github.com/TriplyDB/yasgui/compare/v4.0.101...v4.0.102) (2020-02-07)
|
|
149
|
-
|
|
150
|
-
**Note:** Version bump only for package @triply/yasr
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
## 4.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 2285bff: Fix the display of results of DESCRIBE and CONSTRUCT queries.
|
|
8
|
+
- Updated dependencies [2285bff]
|
|
9
|
+
- @zazuko/yasqe@4.6.1
|
|
10
|
+
- @zazuko/yasgui-utils@4.6.1
|
|
11
|
+
|
|
12
|
+
## 4.6.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- 2e04999: Upgrade various dependencies
|
|
17
|
+
- 0cd6b8e: Fix the documentation links
|
|
18
|
+
- Updated dependencies [2e04999]
|
|
19
|
+
- @zazuko/yasqe@4.6.0
|
|
20
|
+
- @zazuko/yasgui-utils@4.6.0
|
|
21
|
+
|
|
22
|
+
## 4.5.0
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- @zazuko/yasgui-utils@4.5.0
|
|
27
|
+
- @zazuko/yasqe@4.5.0
|
|
28
|
+
|
|
29
|
+
## 4.4.3
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- Updated dependencies [b835764]
|
|
34
|
+
- @zazuko/yasqe@4.4.3
|
|
35
|
+
- @zazuko/yasgui-utils@4.4.3
|
|
36
|
+
|
|
37
|
+
## 4.4.2
|
|
38
|
+
|
|
39
|
+
### Patch Changes
|
|
40
|
+
|
|
41
|
+
- Updated dependencies [c7ae45e]
|
|
42
|
+
- @zazuko/yasqe@4.4.2
|
|
43
|
+
- @zazuko/yasgui-utils@4.4.2
|
|
44
|
+
|
|
45
|
+
## 4.4.1
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- @zazuko/yasgui-utils@4.4.1
|
|
50
|
+
- @zazuko/yasqe@4.4.1
|
|
51
|
+
|
|
52
|
+
## 4.4.0
|
|
53
|
+
|
|
54
|
+
### Minor Changes
|
|
55
|
+
|
|
56
|
+
- 2489238: Replace `superagent` with standard `fetch` (from @vemonet in #19)
|
|
57
|
+
|
|
58
|
+
### Patch Changes
|
|
59
|
+
|
|
60
|
+
- Updated dependencies [2489238]
|
|
61
|
+
- @zazuko/yasqe@4.4.0
|
|
62
|
+
- @zazuko/yasgui-utils@4.4.0
|
|
63
|
+
|
|
64
|
+
## 4.3.3
|
|
65
|
+
|
|
66
|
+
### Patch Changes
|
|
67
|
+
|
|
68
|
+
- d918c63: Upgrade some dependencies
|
|
69
|
+
- Updated dependencies [d918c63]
|
|
70
|
+
- Updated dependencies [d918c63]
|
|
71
|
+
- Updated dependencies [d918c63]
|
|
72
|
+
- @zazuko/yasgui-utils@4.3.3
|
|
73
|
+
- @zazuko/yasqe@4.3.3
|
|
74
|
+
|
|
75
|
+
## 4.3.2
|
|
76
|
+
|
|
77
|
+
### Patch Changes
|
|
78
|
+
|
|
79
|
+
- @zazuko/yasgui-utils@4.3.2
|
|
80
|
+
- @zazuko/yasqe@4.3.2
|
|
81
|
+
|
|
82
|
+
## 4.3.1
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- 8aef253: Upgrade datatables.net to 2.0.5
|
|
87
|
+
- cbf8286: Use the right type for DataTables configuration
|
|
88
|
+
- 6e78f30: This fixes the style of the table by using the new `layout` property from DataTables
|
|
89
|
+
- @zazuko/yasgui-utils@4.3.1
|
|
90
|
+
- @zazuko/yasqe@4.3.1
|
|
91
|
+
|
|
92
|
+
## 4.3.0
|
|
93
|
+
|
|
94
|
+
### Minor Changes
|
|
95
|
+
|
|
96
|
+
- 981b776: Upgrade datatables to v2
|
|
97
|
+
|
|
98
|
+
### Patch Changes
|
|
99
|
+
|
|
100
|
+
- b14ed24: Update Git repository to https://github.com/zazuko/Yasgui
|
|
101
|
+
- Updated dependencies [b14ed24]
|
|
102
|
+
- @zazuko/yasgui-utils@4.3.0
|
|
103
|
+
- @zazuko/yasqe@4.3.0
|
|
104
|
+
|
|
105
|
+
All notable changes to this project will be documented in this file.
|
|
106
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
107
|
+
|
|
108
|
+
## [4.0.113](https://github.com/TriplyDB/yasgui/compare/v4.0.112...v4.0.113) (2020-04-08)
|
|
109
|
+
|
|
110
|
+
**Note:** Version bump only for package @triply/yasr
|
|
111
|
+
|
|
112
|
+
## [4.0.112](https://github.com/TriplyDB/yasgui/compare/v4.0.111...v4.0.112) (2020-04-07)
|
|
113
|
+
|
|
114
|
+
**Note:** Version bump only for package @triply/yasr
|
|
115
|
+
|
|
116
|
+
## [4.0.111](https://github.com/TriplyDB/yasgui/compare/v4.0.109...v4.0.111) (2020-03-20)
|
|
117
|
+
|
|
118
|
+
**Note:** Version bump only for package @triply/yasr
|
|
119
|
+
|
|
120
|
+
## [4.0.110](https://github.com/TriplyDB/yasgui/compare/v4.0.109...v4.0.110) (2020-03-20)
|
|
121
|
+
|
|
122
|
+
**Note:** Version bump only for package @triply/yasr
|
|
123
|
+
|
|
124
|
+
## [4.0.108](https://github.com/TriplyDB/yasgui/compare/v4.0.107...v4.0.108) (2020-03-10)
|
|
125
|
+
|
|
126
|
+
**Note:** Version bump only for package @triply/yasr
|
|
127
|
+
|
|
128
|
+
## [4.0.107](https://github.com/TriplyDB/yasgui/compare/v4.0.106...v4.0.107) (2020-03-01)
|
|
129
|
+
|
|
130
|
+
**Note:** Version bump only for package @triply/yasr
|
|
131
|
+
|
|
132
|
+
## [4.0.106](https://github.com/TriplyDB/yasgui/compare/v4.0.105...v4.0.106) (2020-02-25)
|
|
133
|
+
|
|
134
|
+
**Note:** Version bump only for package @triply/yasr
|
|
135
|
+
|
|
136
|
+
## [4.0.105](https://github.com/TriplyDB/yasgui/compare/v4.0.104...v4.0.105) (2020-02-10)
|
|
137
|
+
|
|
138
|
+
**Note:** Version bump only for package @triply/yasr
|
|
139
|
+
|
|
140
|
+
## [4.0.104](https://github.com/TriplyDB/yasgui/compare/v4.0.103...v4.0.104) (2020-02-10)
|
|
141
|
+
|
|
142
|
+
**Note:** Version bump only for package @triply/yasr
|
|
143
|
+
|
|
144
|
+
## [4.0.103](https://github.com/TriplyDB/yasgui/compare/v4.0.102...v4.0.103) (2020-02-10)
|
|
145
|
+
|
|
146
|
+
**Note:** Version bump only for package @triply/yasr
|
|
147
|
+
|
|
148
|
+
## [4.0.102](https://github.com/TriplyDB/yasgui/compare/v4.0.101...v4.0.102) (2020-02-07)
|
|
149
|
+
|
|
150
|
+
**Note:** Version bump only for package @triply/yasr
|
package/build/yasr.html
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
<!doctype html><html><head><meta charset="UTF-8"/><style>body {
|
|
2
|
-
font-family: "Roboto", sans-serif;
|
|
3
|
-
margin: 0px;
|
|
4
|
-
}
|
|
5
|
-
.navItem a {
|
|
6
|
-
color: #555;
|
|
7
|
-
text-decoration: none;
|
|
8
|
-
padding: 5px;
|
|
9
|
-
padding-right:15px;
|
|
10
|
-
}
|
|
11
|
-
.navItem a:hover {
|
|
12
|
-
color:#222
|
|
13
|
-
}
|
|
14
|
-
.navItem.active a {
|
|
15
|
-
color: black;
|
|
16
|
-
font-size:110%;
|
|
17
|
-
}</style><link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"/><script src="../../packages/yasgui/static/yasgui.polyfill.min.js"></script><script defer="defer" src="/yasqe.min.js"></script><script defer="defer" src="/yasr.min.js"></script><link href="/yasqe.min.css" rel="stylesheet"><link href="/yasr.min.css" rel="stylesheet"></head><body><div style="background:#eee"><nav style="display: flex"><img src="webpack/yasgui.png" style="max-height:50px;padding:5px;margin-left: 10px" alt="Yasgui Logo"><ul style="display: flex; list-style: none; align-self: center"><li class="navItem false"><a class="nav-link" href="yasgui.html">Yasgui</a></li><li class="navItem false"><a class="nav-link" href="yasqe.html">Yasqe</a></li><li class="navItem active"><a class="nav-link" href="yasr.html">Yasr</a></li></ul></nav></div><div id="yasqe"></div><div id="yasr"></div><script>window.onpageshow = function() {
|
|
18
|
-
window.yasqe = new Yasqe(document.getElementById("yasqe"), {
|
|
19
|
-
requestConfig: {
|
|
20
|
-
endpoint: "https://dbpedia.org/sparql"
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
yasqe.on("queryResponse", function(yasqe, response, duration) {
|
|
24
|
-
console.log({ response: response });
|
|
25
|
-
window.yasr.setResponse(response, duration);
|
|
26
|
-
});
|
|
27
|
-
window.yasr = new Yasr(document.getElementById("yasr"), {
|
|
28
|
-
prefixes: function() {
|
|
29
|
-
return yasqe.getPrefixesFromQuery();
|
|
30
|
-
}
|
|
31
|
-
});
|
|
1
|
+
<!doctype html><html><head><meta charset="UTF-8"/><style>body {
|
|
2
|
+
font-family: "Roboto", sans-serif;
|
|
3
|
+
margin: 0px;
|
|
4
|
+
}
|
|
5
|
+
.navItem a {
|
|
6
|
+
color: #555;
|
|
7
|
+
text-decoration: none;
|
|
8
|
+
padding: 5px;
|
|
9
|
+
padding-right:15px;
|
|
10
|
+
}
|
|
11
|
+
.navItem a:hover {
|
|
12
|
+
color:#222
|
|
13
|
+
}
|
|
14
|
+
.navItem.active a {
|
|
15
|
+
color: black;
|
|
16
|
+
font-size:110%;
|
|
17
|
+
}</style><link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet"/><script src="../../packages/yasgui/static/yasgui.polyfill.min.js"></script><script defer="defer" src="/yasqe.min.js"></script><script defer="defer" src="/yasr.min.js"></script><link href="/yasqe.min.css" rel="stylesheet"><link href="/yasr.min.css" rel="stylesheet"></head><body><div style="background:#eee"><nav style="display: flex"><img src="webpack/yasgui.png" style="max-height:50px;padding:5px;margin-left: 10px" alt="Yasgui Logo"><ul style="display: flex; list-style: none; align-self: center"><li class="navItem false"><a class="nav-link" href="yasgui.html">Yasgui</a></li><li class="navItem false"><a class="nav-link" href="yasqe.html">Yasqe</a></li><li class="navItem active"><a class="nav-link" href="yasr.html">Yasr</a></li></ul></nav></div><div id="yasqe"></div><div id="yasr"></div><script>window.onpageshow = function() {
|
|
18
|
+
window.yasqe = new Yasqe(document.getElementById("yasqe"), {
|
|
19
|
+
requestConfig: {
|
|
20
|
+
endpoint: "https://dbpedia.org/sparql"
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
yasqe.on("queryResponse", function(yasqe, response, duration) {
|
|
24
|
+
console.log({ response: response });
|
|
25
|
+
window.yasr.setResponse(response, duration);
|
|
26
|
+
});
|
|
27
|
+
window.yasr = new Yasr(document.getElementById("yasr"), {
|
|
28
|
+
prefixes: function() {
|
|
29
|
+
return yasqe.getPrefixesFromQuery();
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
32
|
};</script></body></html>
|