visualizer-on-tabs 2.0.1 → 2.0.2
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/README.md +1 -0
- package/package.json +2 -2
- package/src/components/App.js +2 -0
package/README.md
CHANGED
|
@@ -56,6 +56,7 @@ const config = {
|
|
|
56
56
|
// See https://github.com/cheminfo/react-visualizer
|
|
57
57
|
visualizer: {
|
|
58
58
|
loadversion: 'exact',
|
|
59
|
+
queryType: 'query', // 'fragment' or 'query'
|
|
59
60
|
fallbackVersion: 'latest',
|
|
60
61
|
cdn: 'https://www.lactame.com/visualizer',
|
|
61
62
|
// Can be a URL string or an object
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "visualizer-on-tabs",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "visualizer-on-tabs webpack builder",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"react": "^18.3.1",
|
|
40
40
|
"react-bootstrap": "^3.0.0-beta.3",
|
|
41
41
|
"react-dom": "^18.3.1",
|
|
42
|
-
"react-visualizer": "^5.
|
|
42
|
+
"react-visualizer": "^5.4.0",
|
|
43
43
|
"webpack": "^5.105.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
package/src/components/App.js
CHANGED
|
@@ -323,6 +323,8 @@ class App extends React.Component {
|
|
|
323
323
|
<Visualizer
|
|
324
324
|
url="visualizer.html"
|
|
325
325
|
viewURL={view.rewrittenUrl || view.url}
|
|
326
|
+
// The query type passed here should be the same as the one passed to makeVisualizerPage
|
|
327
|
+
queryType={config.visualizer?.queryType}
|
|
326
328
|
style={iframeStyle}
|
|
327
329
|
/>
|
|
328
330
|
);
|