gramene-search 1.2.80 → 1.2.81
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/.parcel-cache/2126881b633272fa.txt +2 -2
- package/.parcel-cache/425346ba6a54d932 +0 -0
- package/.parcel-cache/878e3ffbad677982 +0 -0
- package/.parcel-cache/cdecf11601322051 +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/dist/index.js +27 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/results/details/Expression.js +21 -2
- /package/.parcel-cache/{ac32af3a76ae9f63 → 5773ed256fb3814a} +0 -0
- /package/.parcel-cache/{fc52d23bc970edda → 90d76df40781d46c} +0 -0
- /package/.parcel-cache/{20b355a17a7b6962 → 91e22901ec9c04cb} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
412207113
|
|
2
|
+
1698694476766638000
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1804,6 +1804,31 @@ var $541b8b0d8c5501d2$export$2e2bcd8739ae039 = (0, $gXNCa$reduxbundlerreact.conn
|
|
|
1804
1804
|
|
|
1805
1805
|
|
|
1806
1806
|
|
|
1807
|
+
const $9e29a4f60318db7a$var$ImageLoader = (props)=>{
|
|
1808
|
+
const [loading, setLoading] = (0, $gXNCa$react.useState)(true);
|
|
1809
|
+
(0, $gXNCa$react.useEffect)(()=>{
|
|
1810
|
+
const image = new Image();
|
|
1811
|
+
image.src = props.url;
|
|
1812
|
+
image.onload = ()=>{
|
|
1813
|
+
setLoading(false);
|
|
1814
|
+
};
|
|
1815
|
+
}, []);
|
|
1816
|
+
return /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("div", {
|
|
1817
|
+
className: "BAR-container",
|
|
1818
|
+
children: [
|
|
1819
|
+
loading && /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("img", {
|
|
1820
|
+
src: "https://www.sorghumbase.org/static/images/dna_spinner.svg",
|
|
1821
|
+
alt: "Loading..."
|
|
1822
|
+
}),
|
|
1823
|
+
!loading && /*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("img", {
|
|
1824
|
+
style: {
|
|
1825
|
+
"max-width": "100%"
|
|
1826
|
+
},
|
|
1827
|
+
src: props.url
|
|
1828
|
+
})
|
|
1829
|
+
]
|
|
1830
|
+
});
|
|
1831
|
+
};
|
|
1807
1832
|
const $9e29a4f60318db7a$var$Detail = (props)=>{
|
|
1808
1833
|
const gene = props.geneDocs[props.searchResult.id];
|
|
1809
1834
|
let paralogs_url;
|
|
@@ -1849,13 +1874,9 @@ const $9e29a4f60318db7a$var$Detail = (props)=>{
|
|
|
1849
1874
|
}))
|
|
1850
1875
|
}),
|
|
1851
1876
|
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("br", {}),
|
|
1852
|
-
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)(
|
|
1853
|
-
|
|
1854
|
-
"max-width": "100%"
|
|
1855
|
-
},
|
|
1856
|
-
src: `${efp_browser.path}/${selectedStudy}/Absolute/${efp_browser.gene}`
|
|
1877
|
+
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)($9e29a4f60318db7a$var$ImageLoader, {
|
|
1878
|
+
url: `${efp_browser.path}/${selectedStudy}/Absolute/${efp_browser.gene}`
|
|
1857
1879
|
}),
|
|
1858
|
-
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsx)("br", {}),
|
|
1859
1880
|
/*#__PURE__*/ (0, $gXNCa$reactjsxruntime.jsxs)("a", {
|
|
1860
1881
|
href: `${efp_browser.bar}?dataSource=${selectedStudy}&mode=Absolute&primaryGene=${efp_browser.gene}`,
|
|
1861
1882
|
children: [
|