view x/static/js/6043.e402bf73.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([[6043],{8424:(e,t,a)=>{a.r(t),a.d(t,{default:()=>m});var r=a(7552),o=a(68446),l=a(29499),n=a(36715),c=a(1343),s=a(58507),i=a(5401),d=a(49823);const m=(0,o.observer)((function({model:e,handleClose:t}){const[a,o]=(0,r.useState)(""),m=/^[A-Za-z][A-Za-z0-9]$/.exec(a);return r.createElement(d.Dialog,{open:!0,onClose:t,title:"Color by tag"},r.createElement(l.A,{style:{overflowX:"hidden"}},r.createElement(n.A,null,"Enter tag to color by: "),r.createElement(n.A,{color:"textSecondary"},"Examples: XS or TS for RNA-seq inferred read strand, ts (lower-case) for minimap2 read strand, HP for haplotype, RG for read group, etc."),r.createElement(c.A,{value:a,onChange:e=>{o(e.target.value)},placeholder:"Enter tag name",inputProps:{maxLength:2},error:2===a.length&&!m,helperText:2!==a.length||m?"":"Not a valid tag",autoComplete:"off"}),r.createElement(s.A,null,r.createElement(i.A,{variant:"contained",color:"primary",onClick:()=>{e.setColorScheme({type:"tag",tag:a}),t()},disabled:!m},"Submit"),r.createElement(i.A,{variant:"contained",color:"secondary",onClick:t},"Cancel"))))}))}}]);
//# sourceMappingURL=6043.e402bf73.chunk.js.map