Mercurial > repos > fubar > jbrowse2
view x/static/js/9305.4d748fb5.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 |
line wrap: on
line source
"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[9305],{69305:(e,t,a)=>{a.r(t),a.d(t,{default:()=>k});var l=a(7552),n=a(29499),r=a(36715),c=a(1343),o=a(58507),i=a(5401),u=a(92562),m=a(68584);const k=({tracks:e,onClose:t})=>{const[a,k]=(0,l.useState)(`MultiWiggle ${Date.now()}`),s=e.every((e=>"QuantitativeTrack"===e.type));return l.createElement(u.A,{open:!0,onClose:()=>{t(!1)},title:"Confirm multi-wiggle track create"},l.createElement(n.A,null,l.createElement(r.A,null,s?null:"Not every track looks like a QuantitativeTrack. This could have unexpected behavior, confirm if it looks ok.","Listing:"),l.createElement("ul",null,e.map((e=>l.createElement("li",{key:e.trackId},(0,m.readConfObject)(e,"name")," - ",e.type)))),l.createElement(c.A,{value:a,onChange:e=>{k(e.target.value)},helperText:"Track name"}),l.createElement(r.A,null,"Confirm creation of track?")),l.createElement(o.A,null,l.createElement(i.A,{onClick:()=>{t(!1)},color:"primary"},"Cancel"),l.createElement(i.A,{onClick:()=>{t(!0,{name:a})},color:"primary",variant:"contained",autoFocus:!0},"Submit")))}}}]); //# sourceMappingURL=9305.4d748fb5.chunk.js.map