view x/static/js/8556.0053a402.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/8556.0053a402.chunk.js","mappings":"2NAIe,SAASA,GAAmB,QACzCC,EAAO,OACPC,IAKA,OACEC,EAAAA,cAACC,EAAAA,OAAM,CACLC,MAAI,EACJJ,QAASA,KACPA,GAAS,EAEXK,MAAO,UAAUJ,KAEjBC,EAAAA,cAACI,EAAAA,EAAa,KACZJ,EAAAA,cAACK,EAAAA,EAAU,KAAC,0CAC8BN,EAAO,KAEjDC,EAAAA,cAACK,EAAAA,EAAU,CAACC,MAAM,SAAQ,qGAK5BN,EAAAA,cAACO,EAAAA,EAAa,KACZP,EAAAA,cAACQ,EAAAA,EAAM,CACLC,QAAQ,YACRH,MAAM,UACNI,QAASA,KAEPC,OAAOC,YAAW,KAChBd,EAAQC,EAAO,GACd,IAAI,GAEV,WAGDC,EAAAA,cAACQ,EAAAA,EAAM,CACLC,QAAQ,YACRH,MAAM,YACNI,QAASA,KACPZ,GAAS,GAEZ,WAMT,C","sources":["../../../plugins/data-management/src/PluginStoreWidget/components/DeletePluginDialog.tsx"],"sourcesContent":["import React from 'react'\nimport { Button, DialogActions, DialogContent, Typography } from '@mui/material'\nimport { Dialog } from '@jbrowse/core/ui'\n\nexport default function DeletePluginDialog({\n  onClose,\n  plugin,\n}: {\n  plugin: string\n  onClose: (s?: string) => void\n}) {\n  return (\n    <Dialog\n      open\n      onClose={() => {\n        onClose()\n      }}\n      title={`Remove ${plugin}`}\n    >\n      <DialogContent>\n        <Typography>\n          Please confirm that you want to remove {plugin}.\n        </Typography>\n        <Typography color=\"error\">\n          Note: if any resources in this session still use this plugin, it may\n          cause your session to crash\n        </Typography>\n      </DialogContent>\n      <DialogActions>\n        <Button\n          variant=\"contained\"\n          color=\"primary\"\n          onClick={() => {\n            // avoid showing runtime plugin warning\n            window.setTimeout(() => {\n              onClose(plugin)\n            }, 500)\n          }}\n        >\n          Confirm\n        </Button>\n        <Button\n          variant=\"contained\"\n          color=\"secondary\"\n          onClick={() => {\n            onClose()\n          }}\n        >\n          Cancel\n        </Button>\n      </DialogActions>\n    </Dialog>\n  )\n}\n"],"names":["DeletePluginDialog","onClose","plugin","React","Dialog","open","title","DialogContent","Typography","color","DialogActions","Button","variant","onClick","window","setTimeout"],"sourceRoot":""}