Mercurial > repos > fubar > jbrowse2
annotate x/static/js/4138.57ad92a3.chunk.js @ 125:49f3d3878413 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
author | fubar |
---|---|
date | Sat, 05 Oct 2024 23:58:05 +0000 |
parents | |
children |
rev | line source |
---|---|
125
49f3d3878413
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
fubar
parents:
diff
changeset
|
1 "use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[4138],{44138:(e,n,o)=>{o.r(n),o.d(n,{default:()=>d});var t=o(7552),c=o(33371),a=o(32808),r=o(36715),s=o(29499),i=o(58507),l=o(5401),m=o(49823),b=o(75785),u=o(68446),C=o(68584);const f=(0,b.n9)()((e=>({connectionContainer:{width:500,margin:e.spacing(4)}}))),h=(0,u.observer)((function({conf:e,session:n,breakConnection:o}){const{connectionInstances:r=[]}=n,s=(0,C.readConfObject)(e,"name"),i=(0,C.readConfObject)(e,"assemblyNames"),l=r.find((e=>s===e.name));return t.createElement(c.A,{key:e.connectionId,control:t.createElement(a.A,{checked:!!l,onChange:()=>{l?o(e):n.makeConnection?.(e)},color:"primary"}),label:[s,i.length?`(${m=i.join(","),m.length>20?`${m.slice(0,20)}...`:m})`:""].filter((e=>!!e)).join(" ")});var m})),k=(0,u.observer)((function({session:e,breakConnection:n}){const{classes:o}=f();return t.createElement("div",{className:o.connectionContainer},e.connections.length?e.connections.map(((o,c)=>t.createElement("div",{key:`${o.name}_${c}`},t.createElement(h,{conf:o,session:e,breakConnection:n})))):t.createElement(r.A,null,"No connections found"))})),d=(0,u.observer)((function({session:e,handleClose:n,breakConnection:o}){return t.createElement(m.Dialog,{open:!0,onClose:n,maxWidth:"lg",title:"Turn on/off connections"},t.createElement(s.A,null,t.createElement(r.A,null,"Use the checkbox to turn on/off connections"),t.createElement(k,{session:e,breakConnection:o})),t.createElement(i.A,null,t.createElement(l.A,{onClick:()=>{n()},variant:"contained",color:"primary"},"Close")))}))}}]); |
49f3d3878413
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
fubar
parents:
diff
changeset
|
2 //# sourceMappingURL=4138.57ad92a3.chunk.js.map |