Mercurial > repos > fubar > jbrowse2
comparison x/static/js/772.83c2d2db.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 |
comparison
equal
deleted
inserted
replaced
124:137e08517410 | 125:49f3d3878413 |
---|---|
1 "use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[772],{70772:(e,t,o)=>{o.r(t),o.d(t,{default:()=>p});var a=o(7552),r=o(68446),i=o(29499),n=o(36715),s=o(54617),l=o(17177),c=o(58507),d=o(5401),h=o(49823);const p=(0,r.observer)((function({onClose:e,model:t}){return a.createElement(h.Dialog,{open:!0,onClose:e,title:"Highlight bookmarks"},a.createElement(i.A,null,a.createElement(n.A,{variant:"h6"},"Highlight toggles"),a.createElement(s.A,{direction:"row",alignItems:"center"},a.createElement(l.A,{"data-testid":"toggle_highlight_all_switch",checked:t.areBookmarksHighlightedOnAllOpenViews,onChange:()=>{t.setHighlightToggle(!t.areBookmarksHighlightedOnAllOpenViews)}}),a.createElement(n.A,null,"Toggle bookmark highlights on all open views")),a.createElement(s.A,{direction:"row",alignItems:"center"},a.createElement(l.A,{"data-testid":"toggle_highlight_label_all_switch",checked:t.areBookmarksHighlightLabelsOnAllOpenViews,onChange:()=>{t.setLabelToggle(!t.areBookmarksHighlightLabelsOnAllOpenViews)}}),a.createElement(n.A,null,"Toggle 'bookmark' icon on LGV tracks"))),a.createElement(c.A,null,a.createElement(d.A,{variant:"contained",color:"primary",onClick:()=>{e()}},"Close")))}))},54617:(e,t,o)=>{o.d(t,{A:()=>$});var a=o(7552),r=o(93878),i=o(78745),n=o(85693),s=o(70799),l=o(24959),c=o(82081),d=o(8455),h=o(72861),p=o(43059),m=o(34901),u=o(69500);const g=(0,h.A)(),k=(0,l.A)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function v(e){return(0,c.A)({props:e,name:"MuiStack",defaultTheme:g})}function A(e,t){const o=a.Children.toArray(e).filter(Boolean);return o.reduce(((e,r,i)=>(e.push(r),i<o.length-1&&e.push(a.cloneElement(t,{key:`separator-${i}`})),e)),[])}const b=({ownerState:e,theme:t})=>{let o={display:"flex",flexDirection:"column",...(0,p.NI)({theme:t},(0,p.kW)({values:e.direction,breakpoints:t.breakpoints.values}),(e=>({flexDirection:e})))};if(e.spacing){const a=(0,m.LX)(t),r=Object.keys(t.breakpoints.values).reduce(((t,o)=>(("object"==typeof e.spacing&&null!=e.spacing[o]||"object"==typeof e.direction&&null!=e.direction[o])&&(t[o]=!0),t)),{}),n=(0,p.kW)({values:e.direction,base:r}),s=(0,p.kW)({values:e.spacing,base:r});"object"==typeof n&&Object.keys(n).forEach(((e,t,o)=>{if(!n[e]){const a=t>0?n[o[t-1]]:"column";n[e]=a}}));const l=(t,o)=>{return e.useFlexGap?{gap:(0,m._W)(a,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${r=o?n[o]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[r]}`]:(0,m._W)(a,t)}};var r};o=(0,i.A)(o,(0,p.NI)({theme:t},s,l))}return o=(0,p.iZ)(t.breakpoints,o),o};var w=o(51148),y=o(31049);const f=function(e={}){const{createStyledComponent:t=k,useThemeProps:o=v,componentName:i="MuiStack"}=e,l=t(b),c=a.forwardRef((function(e,t){const a=o(e),c=(0,d.A)(a),{component:h="div",direction:p="column",spacing:m=0,divider:g,children:k,className:v,useFlexGap:b=!1,...w}=c,y={direction:p,spacing:m,useFlexGap:b},f=(0,s.A)({root:["root"]},(e=>(0,n.Ay)(i,e)),{});return(0,u.jsx)(l,{as:h,ownerState:y,ref:t,className:(0,r.A)(f.root,v),...w,children:g?A(k,g):k})}));return c}({createStyledComponent:(0,w.Ay)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,y.A)({props:e,name:"MuiStack"})}),$=f},17177:(e,t,o)=>{o.d(t,{A:()=>b});var a=o(7552),r=o(93878),i=o(70799),n=o(72639),s=o(15622),l=o(58520),c=o(15110),d=o(51148),h=o(60129),p=o(4785),m=o(66889),u=o(69500);const g=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.edge&&t[`edge${(0,s.A)(o.edge)}`],t[`size${(0,s.A)(o.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${m.A.thumb}`]:{width:16,height:16},[`& .${m.A.switchBase}`]:{padding:4,[`&.${m.A.checked}`]:{transform:"translateX(16px)"}}}}]}),k=(0,d.Ay)(c.A,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.switchBase,{[`& .${m.A.input}`]:t.input},"default"!==o.color&&t[`color${(0,s.A)(o.color)}`]]}})((0,h.A)((({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${m.A.checked}`]:{transform:"translateX(20px)"},[`&.${m.A.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${m.A.checked} + .${m.A.track}`]:{opacity:.5},[`&.${m.A.disabled} + .${m.A.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${m.A.input}`]:{left:"-100%",width:"300%"}}))),(0,h.A)((({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,n.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter((0,l.A)(["light"])).map((([t])=>({props:{color:t},style:{[`&.${m.A.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,n.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${m.A.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,n.a)(e.palette[t].main,.62):(0,n.e$)(e.palette[t].main,.55)}`}},[`&.${m.A.checked} + .${m.A.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}})))]})))),v=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})((0,h.A)((({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)})))),A=(0,d.Ay)("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})((0,h.A)((({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})))),b=a.forwardRef((function(e,t){const o=(0,p.b)({props:e,name:"MuiSwitch"}),{className:a,color:n="primary",edge:l=!1,size:c="medium",sx:d,...h}=o,b={...o,color:n,edge:l,size:c},w=(e=>{const{classes:t,edge:o,size:a,color:r,checked:n,disabled:l}=e,c={root:["root",o&&`edge${(0,s.A)(o)}`,`size${(0,s.A)(a)}`],switchBase:["switchBase",`color${(0,s.A)(r)}`,n&&"checked",l&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=(0,i.A)(c,m.n,t);return{...t,...d}})(b),y=(0,u.jsx)(A,{className:w.thumb,ownerState:b});return(0,u.jsxs)(g,{className:(0,r.A)(w.root,a),sx:d,ownerState:b,children:[(0,u.jsx)(k,{type:"checkbox",icon:y,checkedIcon:y,ref:t,ownerState:b,...h,classes:{...w,root:w.switchBase}}),(0,u.jsx)(v,{className:w.track,ownerState:b})]})}))},66889:(e,t,o)=>{o.d(t,{A:()=>n,n:()=>i});var a=o(33761),r=o(85693);function i(e){return(0,r.Ay)("MuiSwitch",e)}const n=(0,a.A)("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"])}}]); | |
2 //# sourceMappingURL=772.83c2d2db.chunk.js.map |