Mercurial > repos > fubar > jbrowse2
comparison x/static/js/2928.4ac8c386.chunk.js.map @ 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 {"version":3,"file":"static/js/2928.4ac8c386.chunk.js","mappings":"gPAYA,MAAMA,GAAYC,EAAAA,EAAAA,KAAAA,EAAa,KAAM,CACnCC,UAAW,CACTC,MAAO,SAII,SAASC,GAAkB,YACxCC,EAAW,QACXC,IASA,MAAM,QAAEC,GAAYP,IACpB,OACEQ,EAAAA,cAACC,EAAAA,OAAM,CAACC,MAAM,cAAcC,MAAI,EAACC,QAASP,EAAaQ,SAAS,MAC9DL,EAAAA,cAACM,EAAAA,EAAa,CAACC,UAAWR,EAAQL,WAChCM,EAAAA,cAACQ,EAAAA,EAAS,CACRC,QAAM,EACNC,MAAM,QACNC,MAAOb,EAAQc,UACfC,SAAUC,IACRhB,EAAQiB,aAAaD,EAAME,OAAOL,MAAM,GAGzCM,OAAOC,QAAQpB,EAAQqB,aAAaC,KAAI,EAAEC,EAAKC,KAC9CtB,EAAAA,cAACuB,EAAAA,EAAQ,CAACF,IAAKA,EAAKV,MAAOU,GACxBC,EAAIE,MAAQ,sBAKrBxB,EAAAA,cAACyB,EAAAA,EAAa,KACZzB,EAAAA,cAAC0B,EAAAA,EAAM,CAACC,QAAS9B,GAAa,UAItC,C","sources":["components/PreferencesDialog.tsx"],"sourcesContent":["import React from 'react'\nimport {\n Button,\n DialogActions,\n DialogContent,\n MenuItem,\n TextField,\n ThemeOptions,\n} from '@mui/material'\nimport { makeStyles } from 'tss-react/mui'\nimport { Dialog } from '@jbrowse/core/ui'\n\nconst useStyles = makeStyles()(() => ({\n container: {\n width: 800,\n },\n}))\n\nexport default function PreferencesDialog({\n handleClose,\n session,\n}: {\n handleClose: () => void\n session: {\n allThemes: () => Record<string, ThemeOptions & { name?: string }>\n themeName?: string\n setThemeName: (arg: string) => void\n }\n}) {\n const { classes } = useStyles()\n return (\n <Dialog title=\"Preferences\" open onClose={handleClose} maxWidth=\"xl\">\n <DialogContent className={classes.container}>\n <TextField\n select\n label=\"Theme\"\n value={session.themeName}\n onChange={event => {\n session.setThemeName(event.target.value)\n }}\n >\n {Object.entries(session.allThemes()).map(([key, val]) => (\n <MenuItem key={key} value={key}>\n {val.name || '(Unknown name)'}\n </MenuItem>\n ))}\n </TextField>\n </DialogContent>\n <DialogActions>\n <Button onClick={handleClose}>Close</Button>\n </DialogActions>\n </Dialog>\n )\n}\n"],"names":["useStyles","makeStyles","container","width","PreferencesDialog","handleClose","session","classes","React","Dialog","title","open","onClose","maxWidth","DialogContent","className","TextField","select","label","value","themeName","onChange","event","setThemeName","target","Object","entries","allThemes","map","key","val","MenuItem","name","DialogActions","Button","onClick"],"sourceRoot":""} |