Mercurial > repos > fubar > jbrowse2
annotate x/static/js/2241.3d359b22.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 |
rev | line source |
---|---|
125
49f3d3878413
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/jbrowse2 commit 5ea1f9c1eef1de76232e69aa6d34cda77d90d566
fubar
parents:
diff
changeset
|
1 {"version":3,"file":"static/js/2241.3d359b22.chunk.js","mappings":"qMAQA,MAAMA,EAAkBC,EAAAA,YACtB,UAA0B,QAAEC,GAAWC,GACrC,OACEF,EAAAA,cAAA,OAAKE,IAAKA,GACPF,EAAAA,eAAqBC,GACpBA,EACEA,EACFD,EAAAA,cAACG,EAAAA,cAAa,CAACC,KAAMC,OAAOJ,KAC1B,KAGV,IAaF,GAVmBK,EAAAA,EAAAA,WAAS,UAAU,SAAEC,IACtC,OAAOA,EACLP,EAAAA,cAACQ,EAAAA,SAAQ,CAACC,SAAU,MAClBT,EAAAA,cAACU,EAAAA,QAAW,KACVV,EAAAA,cAACD,EAAe,CAACE,QAASM,MAG5B,IACN,G","sources":["../../../plugins/arc/src/ArcTooltip.tsx"],"sourcesContent":["import React, { Suspense } from 'react'\nimport { SanitizedHTML } from '@jbrowse/core/ui'\nimport { observer } from 'mobx-react'\nimport BaseTooltip from '@jbrowse/core/ui/BaseTooltip'\n\ninterface Props {\n message: React.ReactNode | string\n}\nconst TooltipContents = React.forwardRef<HTMLDivElement, Props>(\n function TooltipContents2({ message }, ref) {\n return (\n <div ref={ref}>\n {React.isValidElement(message) ? (\n message\n ) : message ? (\n <SanitizedHTML html={String(message)} />\n ) : null}\n </div>\n )\n },\n)\n\nconst ArcTooltip = observer(function ({ contents }: { contents?: string }) {\n return contents ? (\n <Suspense fallback={null}>\n <BaseTooltip>\n <TooltipContents message={contents} />\n </BaseTooltip>\n </Suspense>\n ) : null\n})\n\nexport default ArcTooltip\n"],"names":["TooltipContents","React","message","ref","SanitizedHTML","html","String","observer","contents","Suspense","fallback","BaseTooltip"],"sourceRoot":""} |