diff x/static/js/5896.622b5e88.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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/x/static/js/5896.622b5e88.chunk.js.map	Sat Oct 05 23:58:05 2024 +0000
@@ -0,0 +1,1 @@
+{"version":3,"file":"static/js/5896.622b5e88.chunk.js","mappings":"2NAYA,MA4CA,GA5C+BA,E,SAAAA,WAAS,UAAgC,oBACtEC,EAAmB,QACnBC,EAAO,YACPC,IASA,MAAM,eAAEC,EAAc,KAAEC,GAASJ,EACjC,OACEK,EAAAA,cAACC,EAAAA,OAAM,CAACC,MAAI,EAACC,MAAO,sBAAsBJ,MACxCC,EAAAA,cAACI,EAAAA,EAAa,KACZJ,EAAAA,cAACK,EAAAA,EAAiB,KAAC,qDAIrBL,EAAAA,cAACM,EAAAA,EAAa,KACZN,EAAAA,cAACO,EAAAA,EAAM,CACLC,QAASA,KACPX,GAAa,EAEfY,MAAM,WACP,UAGDT,EAAAA,cAACO,EAAAA,EAAM,CACLG,QAAQ,YACRD,MAAM,UACND,QAASA,KACPZ,EAAQe,mBAAmBb,GAC3BD,GAAa,GAEhB,OAMT,G","sources":["../../../plugins/data-management/src/HierarchicalTrackSelectorWidget/components/dialogs/DeleteConnectionDialog.tsx"],"sourcesContent":["import React from 'react'\nimport {\n  DialogContent,\n  DialogContentText,\n  DialogActions,\n  Button,\n} from '@mui/material'\nimport { Dialog } from '@jbrowse/core/ui'\nimport { observer } from 'mobx-react'\nimport { AnyConfigurationModel } from '@jbrowse/core/configuration'\nimport { AbstractSessionModel } from '@jbrowse/core/util'\n\nconst DeleteConnectionDialog = observer(function DeleteConnectionDialog({\n  deleteDialogDetails,\n  session,\n  handleClose,\n}: {\n  deleteDialogDetails: {\n    name: string\n    connectionConf: AnyConfigurationModel\n  }\n  session: AbstractSessionModel\n  handleClose: () => void\n}) {\n  const { connectionConf, name } = deleteDialogDetails\n  return (\n    <Dialog open title={`Delete connection \"${name}\"`}>\n      <DialogContent>\n        <DialogContentText>\n          Are you sure you want to delete this connection?\n        </DialogContentText>\n      </DialogContent>\n      <DialogActions>\n        <Button\n          onClick={() => {\n            handleClose()\n          }}\n          color=\"primary\"\n        >\n          Cancel\n        </Button>\n        <Button\n          variant=\"contained\"\n          color=\"primary\"\n          onClick={() => {\n            session.deleteConnection?.(connectionConf)\n            handleClose()\n          }}\n        >\n          OK\n        </Button>\n      </DialogActions>\n    </Dialog>\n  )\n})\n\nexport default DeleteConnectionDialog\n"],"names":["observer","deleteDialogDetails","session","handleClose","connectionConf","name","React","Dialog","open","title","DialogContent","DialogContentText","DialogActions","Button","onClick","color","variant","deleteConnection"],"sourceRoot":""}
\ No newline at end of file