view x/static/js/8076.fc478e91.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
line wrap: on
line source

{"version":3,"file":"static/js/8076.fc478e91.chunk.js","mappings":"gPAOA,MAAMA,GAAYC,EAAAA,EAAAA,KAAAA,EAAaC,IAAS,CACtCC,MAAO,CACLC,UAAW,OACXC,OAAQ,OACRC,SAAU,WACVC,OAAQL,EAAMK,OAAOC,OACrBC,QAAS,OACTC,WAAYR,EAAMS,QAAQD,WAAWE,SAEvCC,aAAc,CACZC,MAAO,EACPR,SAAU,QACVS,IAAK,EACLR,OAAQL,EAAMK,OAAOC,OAAS,OAwDlC,GApDeQ,EAAAA,EAAAA,WAAS,UAAU,SAChCC,EAAQ,QACRC,IAKA,MAAM,eAAEC,EAAc,YAAEC,GAAgBF,GAClC,QAAEG,GAAYrB,IACdsB,GAAMC,EAAAA,EAAAA,QAAuB,MAqBnC,OAnBAC,EAAAA,EAAAA,YAAU,KACR,SAASC,EAAiBC,GACxB,GAAIA,EAAEC,kBAAkBC,SAAWN,EAAIO,SAASC,SAASJ,EAAEC,QAAS,CAElE,MAAMI,EAAkBb,EAAQc,eAAeC,MAAMC,GACjDH,GACFb,EAAQiB,iBAAiBJ,EAE7B,CACF,CAIA,OAFAK,SAASC,iBAAiB,YAAaZ,GACvCW,SAASC,iBAAiB,UAAWZ,GAC9B,KACLW,SAASE,oBAAoB,YAAab,GAC1CW,SAASE,oBAAoB,UAAWb,EAAiB,CAC1D,GACA,CAACP,IAGFqB,EAAAA,cAACC,EAAAA,EAAK,CAAClB,IAAKA,EAAKmB,UAAWpB,EAAQlB,MAAOuC,UAAW,GAAIC,QAAM,GAC1C,UAAnBxB,EACCoB,EAAAA,cAACK,EAAAA,EAAY,CACXC,OAAQ3B,EAAQ4B,aAChBL,UAAWpB,EAAQR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ACxBnE,EAAAA,cAACmF,EAAc,CAACxG,QAASA,KAIjC,ICzDMyG,GAAcC,EAAAA,EAAAA,OAAK,IAAM,kCAoE/B,GAlEqB5G,EAAAA,EAAAA,WAAS,UAAU,QACtCE,IAIA,MAAM,cAAEc,GAAkBd,GACpB,cAAEwC,IAAkBC,EAAAA,EAAAA,QAAOzC,GAE3B2G,EAAkB7F,EACnB0B,EAAcoE,uBACb,qBACApE,EAAca,cAAcvC,EAAcwC,MAAOuD,eACjD,CACE7G,UACAyD,MAAO3C,IAGX,MAKGgG,EAAehB,IAAoBtB,EAAAA,EAAAA,UAAS,IAC5CuC,EAAcC,IAAmBxC,EAAAA,EAAAA,WAAS,GAEjD,OACEnD,EAAAA,cAAC4F,EAAM,CAACjH,QAASA,GACfqB,EAAAA,cAAC6F,EAAY,CACXnB,eAAgBA,KACdiB,GAAgB,EAAK,EAEvBhH,QAASA,EACT8F,iBAAkBA,IAEpBzE,EAAAA,cAAC8F,EAAAA,SAAQ,CAACC,SAAU/F,EAAAA,cAACgG,EAAAA,gBAAe,OAClChG,EAAAA,cAACiG,EAAAA,GAAa,CACZC,kBAAmBA,EAAGC,WAAYnG,EAAAA,cAACoG,EAAAA,aAAY,CAACD,MAAOA,KAEtDb,EACCI,EACE1F,EAAAA,cAAAA,EAAAA,SAAA,KACEA,EAAAA,cAAA,WAAK,uBACLA,EAAAA,cAACoF,EAAW,CACVzG,QAASA,EACToF,QAASA,KACP4B,GAAgB,EAAM,KAK5B3F,EAAAA,cAAAA,EAAAA,SAAA,KACEA,EAAAA,cAACsF,EAAe,CACdlD,MAAO3C,EACPd,QAASA,EACT8G,cAAeA,IAEjBzF,EAAAA,cAAA,OAAKS,MAAO,CAAE3C,OAAQ,QAGxB,OAKd,G","sources":["../../../packages/app-core/src/ui/App/Drawer.tsx","../../../packages/app-core/src/ui/App/DrawerWidgetSelector.tsx","../../../packages/app-core/src/ui/App/DrawerControls.tsx","../../../packages/app-core/src/ui/App/DrawerHeader.tsx","../../../packages/app-core/src/ui/App/DrawerWidget.tsx"],"sourcesContent":["import React, { useEffect, useRef } from 'react'\nimport { Paper } from '@mui/material'\nimport { makeStyles } from 'tss-react/mui'\nimport { observer } from 'mobx-react'\nimport ResizeHandle from '@jbrowse/core/ui/ResizeHandle'\nimport { SessionWithFocusedViewAndDrawerWidgets } from '@jbrowse/core/util/types'\n\nconst useStyles = makeStyles()(theme => ({\n  paper: {\n    overflowY: 'auto',\n    height: '100%',\n    position: 'relative',\n    zIndex: theme.zIndex.drawer,\n    outline: 'none',\n    background: theme.palette.background.default,\n  },\n  resizeHandle: {\n    width: 4,\n    position: 'fixed',\n    top: 0,\n    zIndex: theme.zIndex.drawer + 1,\n  },\n}))\n\nconst Drawer = observer(function ({\n  children,\n  session,\n}: {\n  children: React.ReactNode\n  session: SessionWithFocusedViewAndDrawerWidgets\n}) {\n  const { drawerPosition, drawerWidth } = session\n  const { classes } = useStyles()\n  const ref = useRef<HTMLDivElement>(null)\n\n  useEffect(() => {\n    function handleSelectView(e: Event) {\n      if (e.target instanceof Element && ref.current?.contains(e.target)) {\n        // @ts-ignore\n        const visibleWidgetId = session.visibleWidget?.view?.id\n        if (visibleWidgetId) {\n          session.setFocusedViewId(visibleWidgetId)\n        }\n      }\n    }\n\n    document.addEventListener('mousedown', handleSelectView)\n    document.addEventListener('keydown', handleSelectView)\n    return () => {\n      document.removeEventListener('mousedown', handleSelectView)\n      document.removeEventListener('keydown', handleSelectView)\n    }\n  }, [session])\n\n  return (\n    <Paper ref={ref} className={classes.paper} elevation={16} square>\n      {drawerPosition === 'right' ? (\n        <ResizeHandle\n          onDrag={session.resizeDrawer}\n          className={classes.resizeHandle}\n          vertical\n        />\n      ) : null}\n      {children}\n      {drawerPosition === 'left' ? (\n        <ResizeHandle\n          onDrag={session.resizeDrawer}\n          className={classes.resizeHandle}\n          style={{ left: drawerWidth }}\n          vertical\n        />\n      ) : null}\n    </Paper>\n  )\n})\n\nexport default Drawer\n","import React from 'react'\nimport {\n  FormControl,\n  IconButton,\n  MenuItem,\n  Select,\n  Typography,\n} from '@mui/material'\nimport { makeStyles } from 'tss-react/mui'\nimport { observer } from 'mobx-react'\nimport { getEnv } from '@jbrowse/core/util'\nimport { SessionWithFocusedViewAndDrawerWidgets } from '@jbrowse/core/util/types'\n\n// icons\nimport DeleteIcon from '@mui/icons-material/Delete'\n\nconst useStyles = makeStyles()(theme => ({\n  formControl: {\n    margin: 0,\n  },\n\n  drawerSelect: {\n    margin: 0,\n    color: theme.palette.secondary.contrastText,\n  },\n\n  dropDownIcon: {\n    color: theme.palette.secondary.contrastText,\n  },\n}))\n\nconst DrawerWidgetSelector = observer(function ({\n  session,\n}: {\n  session: SessionWithFocusedViewAndDrawerWidgets\n}) {\n  const { visibleWidget, activeWidgets } = session\n  const { classes } = useStyles()\n  const { pluginManager } = getEnv(session)\n  return (\n    <FormControl className={classes.formControl}>\n      <Select\n        value={visibleWidget?.id}\n        data-testid=\"widget-drawer-selects\"\n        className={classes.drawerSelect}\n        classes={{ icon: classes.dropDownIcon }}\n        renderValue={widgetId => {\n          const widget = session.activeWidgets.get(widgetId)\n          if (!widget) {\n            return (\n              <Typography variant=\"h6\" color=\"inherit\">\n                Unknown widget\n              </Typography>\n            )\n          }\n          const widgetType = pluginManager.getWidgetType(widget.type)!\n          const { HeadingComponent, heading } = widgetType\n          return HeadingComponent ? (\n            <HeadingComponent model={widget} />\n          ) : (\n            <Typography variant=\"h6\" color=\"inherit\">\n              {heading}\n            </Typography>\n          )\n        }}\n        onChange={e => {\n          const w = session.activeWidgets.get(e.target.value)\n          if (w) {\n            session.showWidget(w)\n          } else {\n            session.notify(`Widget not found ${e.target.value}`, 'warning')\n          }\n        }}\n      >\n        {[...activeWidgets.values()].map(widget => {\n          const widgetType = pluginManager.getWidgetType(widget.type)!\n          const { HeadingComponent, heading } = widgetType\n          return (\n            <MenuItem\n              data-testid={`widget-drawer-selects-item-${widget.type}`}\n              key={widget.id}\n              value={widget.id}\n            >\n              {HeadingComponent ? (\n                <HeadingComponent model={widget} />\n              ) : (\n                <Typography variant=\"h6\" color=\"inherit\">\n                  {heading}\n                </Typography>\n              )}\n              <IconButton\n                data-testid={`${widget.type}-drawer-delete`}\n                color=\"inherit\"\n                aria-label=\"Delete\"\n                onClick={() => {\n                  session.hideWidget(widget)\n                }}\n              >\n                <DeleteIcon />\n              </IconButton>\n            </MenuItem>\n          )\n        })}\n      </Select>\n    </FormControl>\n  )\n})\n\nexport default DrawerWidgetSelector\n","import React, { useState } from 'react'\nimport { IconButton, Menu, MenuItem, Tooltip } from '@mui/material'\nimport { observer } from 'mobx-react'\nimport { SessionWithFocusedViewAndDrawerWidgets } from '@jbrowse/core/util/types'\n\n// icons\nimport CloseIcon from '@mui/icons-material/Close'\nimport MinimizeIcon from '@mui/icons-material/Minimize'\nimport MoreVertIcon from '@mui/icons-material/MoreVert'\n\nconst DrawerControls = observer(function ({\n  session,\n}: {\n  session: SessionWithFocusedViewAndDrawerWidgets\n}) {\n  const [anchorEl, setAnchorEl] = useState<null | HTMLElement>(null)\n  const { drawerPosition, visibleWidget } = session\n  return (\n    <>\n      <IconButton\n        color=\"inherit\"\n        onClick={event => {\n          setAnchorEl(event.currentTarget)\n        }}\n      >\n        <MoreVertIcon />\n      </IconButton>\n      <Tooltip title=\"Minimize drawer\">\n        <IconButton\n          data-testid=\"drawer-minimize\"\n          color=\"inherit\"\n          onClick={() => {\n            session.notify(\n              `Drawer minimized, click button on ${drawerPosition} side of screen to re-open`,\n              'info',\n            )\n            session.minimizeWidgetDrawer()\n          }}\n        >\n          <MinimizeIcon />\n        </IconButton>\n      </Tooltip>\n      <Tooltip title=\"Close drawer\">\n        <IconButton\n          color=\"inherit\"\n          onClick={() => {\n            session.hideWidget(visibleWidget)\n          }}\n        >\n          <CloseIcon />\n        </IconButton>\n      </Tooltip>\n      <Menu\n        anchorEl={anchorEl}\n        open={Boolean(anchorEl)}\n        onClose={() => {\n          setAnchorEl(null)\n        }}\n      >\n        {['left', 'right'].map(option => (\n          <MenuItem\n            key={option}\n            selected={drawerPosition === 'option'}\n            onClick={() => {\n              session.setDrawerPosition(option)\n              setAnchorEl(null)\n            }}\n          >\n            {option}\n          </MenuItem>\n        ))}\n      </Menu>\n    </>\n  )\n})\n\nexport default DrawerControls\n","import React from 'react'\nimport { AppBar, IconButton, Toolbar, Tooltip } from '@mui/material'\nimport { makeStyles } from 'tss-react/mui'\nimport { observer } from 'mobx-react'\nimport { SessionWithFocusedViewAndDrawerWidgets } from '@jbrowse/core/util/types'\n\n// locals\nimport DrawerWidgetSelector from './DrawerWidgetSelector'\nimport DrawerControls from './DrawerControls'\n\n// icons\nimport LaunchIcon from '@mui/icons-material/Launch'\n\nconst useStyles = makeStyles()(theme => ({\n  spacer: {\n    flexGrow: 1,\n  },\n\n  headerFocused: {\n    background: theme.palette.secondary.main,\n  },\n  headerUnfocused: {\n    background: theme.palette.secondary.dark,\n  },\n}))\n\nconst DrawerHeader = observer(function ({\n  session,\n  setToolbarHeight,\n  onPopoutDrawer,\n}: {\n  session: SessionWithFocusedViewAndDrawerWidgets\n  setToolbarHeight: (arg: number) => void\n  onPopoutDrawer: () => void\n}) {\n  const { classes } = useStyles()\n  const focusedViewId = session.focusedViewId\n  // @ts-ignore\n  const viewWidgetId = session.visibleWidget?.view?.id\n\n  return (\n    <AppBar\n      position=\"sticky\"\n      className={\n        focusedViewId === viewWidgetId\n          ? classes.headerFocused\n          : classes.headerUnfocused\n      }\n      ref={ref => {\n        setToolbarHeight(ref?.getBoundingClientRect().height || 0)\n      }}\n    >\n      <Toolbar disableGutters>\n        <DrawerWidgetSelector session={session} />\n        <Tooltip title=\"Open drawer in dialog\">\n          <IconButton\n            color=\"inherit\"\n            onClick={() => {\n              onPopoutDrawer()\n            }}\n          >\n            <LaunchIcon />\n          </IconButton>\n        </Tooltip>\n        <div className={classes.spacer} />\n        <DrawerControls session={session} />\n      </Toolbar>\n    </AppBar>\n  )\n})\n\nexport default DrawerHeader\n","import React, { Suspense, lazy, useState } from 'react'\nimport { ErrorBoundary } from 'react-error-boundary'\n\nimport { observer } from 'mobx-react'\nimport { getEnv } from '@jbrowse/core/util'\nimport { ErrorMessage, LoadingEllipses } from '@jbrowse/core/ui'\nimport { SessionWithFocusedViewAndDrawerWidgets } from '@jbrowse/core/util/types'\n\n// locals\nimport Drawer from './Drawer'\nimport DrawerHeader from './DrawerHeader'\n\nconst ModalWidget = lazy(() => import('./ModalWidget'))\n\nconst DrawerWidget = observer(function ({\n  session,\n}: {\n  session: SessionWithFocusedViewAndDrawerWidgets\n}) {\n  const { visibleWidget } = session\n  const { pluginManager } = getEnv(session)\n\n  const DrawerComponent = visibleWidget\n    ? (pluginManager.evaluateExtensionPoint(\n        'Core-replaceWidget',\n        pluginManager.getWidgetType(visibleWidget.type)!.ReactComponent,\n        {\n          session,\n          model: visibleWidget,\n        },\n      ) as React.FC<any>)\n    : null\n\n  // we track the toolbar height because components that use virtualized\n  // height want to be able to fill the contained, minus the toolbar height\n  // (the position static/sticky is included in AutoSizer estimates)\n  const [toolbarHeight, setToolbarHeight] = useState(0)\n  const [popoutDrawer, setPopoutDrawer] = useState(false)\n\n  return (\n    <Drawer session={session}>\n      <DrawerHeader\n        onPopoutDrawer={() => {\n          setPopoutDrawer(true)\n        }}\n        session={session}\n        setToolbarHeight={setToolbarHeight}\n      />\n      <Suspense fallback={<LoadingEllipses />}>\n        <ErrorBoundary\n          FallbackComponent={({ error }) => <ErrorMessage error={error} />}\n        >\n          {DrawerComponent ? (\n            popoutDrawer ? (\n              <>\n                <div>Opened in dialog...</div>\n                <ModalWidget\n                  session={session}\n                  onClose={() => {\n                    setPopoutDrawer(false)\n                  }}\n                />\n              </>\n            ) : (\n              <>\n                <DrawerComponent\n                  model={visibleWidget}\n                  session={session}\n                  toolbarHeight={toolbarHeight}\n                />\n                <div style={{ height: 300 }} />\n              </>\n            )\n          ) : null}\n        </ErrorBoundary>\n      </Suspense>\n    </Drawer>\n  )\n})\n\nexport default DrawerWidget\n"],"names":["useStyles","makeStyles","theme","paper","overflowY","height","position","zIndex","drawer","outline","background","palette","default","resizeHandle","width","top","observer","children","session","drawerPosition","drawerWidth","classes","ref","useRef","useEffect","handleSelectView","e","target","Element","current","contains","visibleWidgetId","visibleWidget","view","id","setFocusedViewId","document","addEventListener","removeEventListener","React","Paper","className","elevation","square","ResizeHandle","onDrag","resizeDrawer","vertical","style","left","formControl","margin","drawerSelect","color","secondary","contrastText","dropDownIcon","activeWidgets","pluginManager","getEnv","FormControl","Select","value","icon","renderValue","widgetId","widget","get","Typography","variant","widgetType","getWidgetType","type","HeadingComponent","heading","model","onChange","w","showWidget","notify","values","map","MenuItem","key","IconButton","onClick","hideWidget","DeleteIcon","anchorEl","setAnchorEl","useState","event","currentTarget","MoreVertIcon","Tooltip","title","minimizeWidgetDrawer","MinimizeIcon","CloseIcon","Menu","open","Boolean","onClose","option","selected","setDrawerPosition","spacer","flexGrow","headerFocused","main","headerUnfocused","dark","setToolbarHeight","onPopoutDrawer","focusedViewId","viewWidgetId","AppBar","getBoundingClientRect","Toolbar","disableGutters","DrawerWidgetSelector","LaunchIcon","DrawerControls","ModalWidget","lazy","DrawerComponent","evaluateExtensionPoint","ReactComponent","toolbarHeight","popoutDrawer","setPopoutDrawer","Drawer","DrawerHeader","Suspense","fallback","LoadingEllipses","ErrorBoundary","FallbackComponent","error","ErrorMessage"],"sourceRoot":""}