Mercurial > repos > fubar > jbrowse2
view x/static/js/5951.251be759.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([[5951],{56089:(e,r,o)=>{o.d(r,{A:()=>p});var t=o(7552),a=o(93878),u=o(70799),n=o(83867),s=o(87625),l=o(51584),c=o(77259),d=o(76258),i=o(89456),A=o(69500);const p=t.forwardRef((function(e,r){const{actions:o,children:p,className:f,defaultValue:v,name:h,onChange:b,value:w,...g}=e,C=t.useRef(null),m=(e=>{const{classes:r,row:o,error:t}=e,a={root:["root",o&&"row",t&&"error"]};return(0,u.A)(a,s.B,r)})(e),[R,G]=(0,c.A)({controlled:w,default:v,name:"RadioGroup"});t.useImperativeHandle(o,(()=>({focus:()=>{let e=C.current.querySelector("input:not(:disabled):checked");e||(e=C.current.querySelector("input:not(:disabled)")),e&&e.focus()}})),[]);const k=(0,l.A)(r,C),j=(0,i.A)(h),x=t.useMemo((()=>({name:j,onChange(e){G(e.target.value),b&&b(e,e.target.value)},value:R})),[j,b,G,R]);return(0,A.jsx)(d.A.Provider,{value:x,children:(0,A.jsx)(n.A,{role:"radiogroup",ref:k,className:(0,a.A)(m.root,f),...g,children:p})})}))},76258:(e,r,o)=>{o.d(r,{A:()=>t});const t=o(7552).createContext(void 0)},25951:(e,r,o)=>{o.r(r),o.d(r,{default:()=>t.A,getRadioGroupUtilityClass:()=>u.B,radioGroupClasses:()=>u.A,useRadioGroup:()=>a.A});var t=o(56089),a=o(39006),u=o(87625)},87625:(e,r,o)=>{o.d(r,{A:()=>n,B:()=>u});var t=o(33761),a=o(85693);function u(e){return(0,a.Ay)("MuiRadioGroup",e)}const n=(0,t.A)("MuiRadioGroup",["root","row","error"])},39006:(e,r,o)=>{o.d(r,{A:()=>u});var t=o(7552),a=o(76258);function u(){return t.useContext(a.A)}}}]); //# sourceMappingURL=5951.251be759.chunk.js.map