@galaxyproject/jsonviewer 0.0.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/package.json +26 -0
- package/static/index.css +1 -0
- package/static/index.html +19 -0
- package/static/index.js +3893 -0
- package/static/jsonviewer.xml +70 -0
- package/static/logo.svg +5 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<!DOCTYPE visualization SYSTEM "../../visualization.dtd">
|
|
3
|
+
<visualization name="JSON/YAML Viewer" embeddable="true">
|
|
4
|
+
<description>Interactive viewer for JSON, YAML, and JSON-LD data</description>
|
|
5
|
+
<tags>
|
|
6
|
+
<tag>JSON</tag>
|
|
7
|
+
<tag>YAML</tag>
|
|
8
|
+
<tag>JSON-LD</tag>
|
|
9
|
+
<tag>Viewer</tag>
|
|
10
|
+
</tags>
|
|
11
|
+
<data_sources>
|
|
12
|
+
<data_source>
|
|
13
|
+
<model_class>HistoryDatasetAssociation</model_class>
|
|
14
|
+
<test test_attr="ext">json</test>
|
|
15
|
+
<test test_attr="ext">yaml</test>
|
|
16
|
+
<test test_attr="ext">geojson</test>
|
|
17
|
+
<test test_attr="ext">jsonld</test>
|
|
18
|
+
</data_source>
|
|
19
|
+
</data_sources>
|
|
20
|
+
<params>
|
|
21
|
+
<param required="true">dataset_id</param>
|
|
22
|
+
</params>
|
|
23
|
+
<settings>
|
|
24
|
+
<input>
|
|
25
|
+
<name>mode</name>
|
|
26
|
+
<label>Default view mode</label>
|
|
27
|
+
<type>select</type>
|
|
28
|
+
<value>tree</value>
|
|
29
|
+
<data>
|
|
30
|
+
<data><label>Tree</label><value>tree</value></data>
|
|
31
|
+
<data><label>Text</label><value>text</value></data>
|
|
32
|
+
<data><label>Table</label><value>table</value></data>
|
|
33
|
+
</data>
|
|
34
|
+
</input>
|
|
35
|
+
<input>
|
|
36
|
+
<name>expand_jsonld</name>
|
|
37
|
+
<label>Expand JSON-LD</label>
|
|
38
|
+
<type>boolean</type>
|
|
39
|
+
<value>false</value>
|
|
40
|
+
</input>
|
|
41
|
+
</settings>
|
|
42
|
+
<entry_point src="index.js" css="index.css" />
|
|
43
|
+
<tests>
|
|
44
|
+
<test>
|
|
45
|
+
<param name="dataset_id" value="https://cdn.jsdelivr.net/gh/galaxyproject/galaxy-test-data/genomes.json" ftype="json" />
|
|
46
|
+
</test>
|
|
47
|
+
</tests>
|
|
48
|
+
<help format="markdown"><
|
|
69
|
+
]]></help>
|
|
70
|
+
</visualization>
|
package/static/logo.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<svg viewBox="1 1 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M14 19H16C17.1046 19 18 18.1046 18 17V14.5616C18 13.6438 18.6246 12.8439 19.5149 12.6213L21.0299 12.2425C21.2823 12.1794 21.2823 11.8206 21.0299 11.7575L19.5149 11.3787C18.6246 11.1561 18 10.3562 18 9.43845V5H14" stroke="#E30A17" stroke-width="2"/>
|
|
4
|
+
<path d="M10 5H8C6.89543 5 6 5.89543 6 7V9.43845C6 10.3562 5.37541 11.1561 4.48507 11.3787L2.97014 11.7575C2.71765 11.8206 2.71765 12.1794 2.97014 12.2425L4.48507 12.6213C5.37541 12.8439 6 13.6438 6 14.5616V19H10" stroke="#E30A17" stroke-width="2"/>
|
|
5
|
+
</svg>
|