@rcsb/rcsb-statistics 0.3.9-dev.1 → 0.3.9-dev.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/build/index.html +1 -1
- package/build/static/js/{630.2dea95ff.chunk.js → 630.a48fb2c0.chunk.js} +4 -4
- package/build/static/js/main.2435573e.js +334 -0
- package/build/static/js/{main.092dba6d.js.LICENSE.txt → main.2435573e.js.LICENSE.txt} +7 -0
- package/package.json +1 -1
- package/build/static/js/637.b828423e.chunk.js +0 -1
- package/build/static/js/652.0c4185f9.chunk.js +0 -2
- package/build/static/js/652.0c4185f9.chunk.js.LICENSE.txt +0 -6
- package/build/static/js/main.092dba6d.js +0 -334
package/build/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="RCSB Protein Data Bank: A Resource for Studying Biological Macromolecules"/><title>RCSB Statistics</title><script defer="defer" src="/static/js/main.
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="RCSB Protein Data Bank: A Resource for Studying Biological Macromolecules"/><title>RCSB Statistics</title><script defer="defer" src="/static/js/main.2435573e.js"></script><link href="/static/css/main.861341d0.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript sto run this app.</noscript><div id="statsroot"></div></body></html>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[630],{1630:(e,t,r)=>{r.r(t),r.d(t,{default:()=>f});var i=r(6540),a=r(4976),n=r(7581);const
|
|
1
|
+
"use strict";(self.webpackChunk_rcsb_rcsb_statistics=self.webpackChunk_rcsb_rcsb_statistics||[]).push([[630],{1630:(e,t,r)=>{r.r(t),r.d(t,{default:()=>f});var i=r(6540),a=r(4976),n=r(7581);const s=n.Ay.ul`
|
|
2
2
|
padding: 0;
|
|
3
3
|
max-height: 300px;
|
|
4
4
|
overflow-y: auto;
|
|
5
|
-
`,
|
|
5
|
+
`,o=(0,n.Ay)(a.N_).attrs({className:"list-group-item"})`
|
|
6
6
|
padding: 7px 10px;
|
|
7
|
-
`,l=e=>{let{items:t}=e;return i.createElement(
|
|
7
|
+
`,l=e=>{let{items:t}=e;return i.createElement(s,null,t.map(((e,t)=>i.createElement(o,{key:t,to:e.link},e.description_menu))))},d=(n.Ay.label`
|
|
8
8
|
display: block;
|
|
9
9
|
font-size: 1.2em;
|
|
10
10
|
margin-bottom: 0.5em;
|
|
@@ -44,4 +44,4 @@
|
|
|
44
44
|
border-top-right-radius: 4px;
|
|
45
45
|
font-size: 16px;
|
|
46
46
|
font-weight: bold;
|
|
47
|
-
`;var x=r(637);const f=()=>{const[e,t]=(0,i.useState)(""),[r,a]=(0,i.useState)({});return(0,i.useEffect)((()=>{const t=x._1.filter((t=>(t.description_menu??"").toLowerCase().includes(e.toLowerCase()))).reduce(((e,t)=>{const r=t.
|
|
47
|
+
`;var x=r(637);const f=()=>{const[e,t]=(0,i.useState)(""),[r,a]=(0,i.useState)({});return(0,i.useEffect)((()=>{const t=x._1.filter((t=>(t.description_menu??"").toLowerCase().includes(e.toLowerCase()))).reduce(((e,t)=>{const r=t.displayCategory||"Uncategorized";return e[r]||(e[r]=[]),e[r].push(t),e}),{});a(t)}),[e]),i.createElement("article",null,i.createElement(p,null,i.createElement(d,{id:"statistics-filter",type:"text",placeholder:"Browse Statistics",value:e,onChange:e=>t(e.target.value)})),i.createElement(c,null,Object.entries(r).map((e=>{let[t,r]=e;return i.createElement(m,{key:t},i.createElement(u,null,t),i.createElement(l,{items:r}))}))))}}}]);
|