diff x/static/js/9675.b4f16970.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/9675.b4f16970.chunk.js.map	Sat Oct 05 23:58:05 2024 +0000
@@ -0,0 +1,1 @@
+{"version":3,"file":"static/js/9675.b4f16970.chunk.js","mappings":"sOAKA,MA2DA,GA3D0BA,EAAAA,EAAAA,WAAS,UAAU,UAC3CC,EAAS,QACTC,IAUA,MAAM,QAAEC,EAAO,QAAEC,GAAYH,EAE7B,OACEI,EAAAA,cAACC,EAAAA,OAAM,CAACC,MAAI,EAACL,QAASA,EAASM,MAAM,uBACnCH,EAAAA,cAACI,EAAAA,EAAa,KACZJ,EAAAA,cAACK,EAAAA,EAAU,KAAC,qMAMdL,EAAAA,cAACM,EAAAA,EAAa,KACZN,EAAAA,cAACO,EAAAA,EAAM,CACLC,MAAM,YACNC,QAAQ,YACRC,QAASA,KACPb,GAAS,GAEZ,UAGDG,EAAAA,cAACO,EAAAA,EAAM,CACLE,QAAQ,YACRC,QAASA,KACPZ,EAAQa,sBAAsB,CAC5BC,KAAM,gBAERf,GAAS,GAEZ,yBAGDG,EAAAA,cAACO,EAAAA,EAAM,CACLC,MAAM,UACNC,QAAQ,YACRC,QAASA,KACPZ,EAAQa,sBAAsBZ,GAC9BF,GAAS,GAEZ,2CAMT,G","sources":["components/SetDefaultSession.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react'\nimport { DialogContent, DialogActions, Button, Typography } from '@mui/material'\nimport { Dialog } from '@jbrowse/core/ui'\n\nconst SetDefaultSession = observer(function ({\n  rootModel,\n  onClose,\n}: {\n  rootModel: {\n    jbrowse: {\n      setDefaultSessionConf: (arg: unknown) => void\n    }\n    session?: unknown\n  }\n  onClose: () => void\n}) {\n  const { jbrowse, session } = rootModel\n\n  return (\n    <Dialog open onClose={onClose} title=\"Set default session\">\n      <DialogContent>\n        <Typography>\n          Select &quot;Set current session as default&quot; to make your current\n          session saved to the config file. You can also hit &quot;Clear default\n          session&quot;, which would remove the default session from the config.\n        </Typography>\n      </DialogContent>\n      <DialogActions>\n        <Button\n          color=\"secondary\"\n          variant=\"contained\"\n          onClick={() => {\n            onClose()\n          }}\n        >\n          Cancel\n        </Button>\n        <Button\n          variant=\"contained\"\n          onClick={() => {\n            jbrowse.setDefaultSessionConf({\n              name: 'New session',\n            })\n            onClose()\n          }}\n        >\n          Clear default session\n        </Button>\n        <Button\n          color=\"primary\"\n          variant=\"contained\"\n          onClick={() => {\n            jbrowse.setDefaultSessionConf(session)\n            onClose()\n          }}\n        >\n          Set current session as default session\n        </Button>\n      </DialogActions>\n    </Dialog>\n  )\n})\n\nexport default SetDefaultSession\n"],"names":["observer","rootModel","onClose","jbrowse","session","React","Dialog","open","title","DialogContent","Typography","DialogActions","Button","color","variant","onClick","setDefaultSessionConf","name"],"sourceRoot":""}
\ No newline at end of file