@sjcrh/proteinpaint-client 2.203.0 → 2.203.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/2dmaf-6CEBP4SA.js +1366 -0
- package/dist/AIProjectAdmin-2CKKFC3A.js +951 -0
- package/dist/AggregateMatrix-5TBUMFE5.js +665 -0
- package/dist/AppHeader-5YBPWF44.js +829 -0
- package/dist/BoxPlot-UOJS5SJV.js +1210 -0
- package/dist/CorrelationVolcano-KX6JPZMT.js +613 -0
- package/dist/Cuminc-TLOOLZWR.js +1208 -0
- package/dist/DE-HUQLQ2Z3.js +87 -0
- package/dist/DEinput-WWUISAF2.js +404 -0
- package/dist/DifferentialAnalysis-6DTAGCEY.js +237 -0
- package/dist/Disco-P6ZLPYLF.js +3388 -0
- package/dist/Disco.UI-WGTMAFK2.js +242 -0
- package/dist/DmrPlot-3FRU5KUK.js +636 -0
- package/dist/GB-NWOBARL3.js +1390 -0
- package/dist/GSEA-DEEUAAMI.js +850 -0
- package/dist/GeneExpInput-6QWGEAFV.js +361 -0
- package/dist/Geomap-6HT2B7RH.js +83 -0
- package/dist/HicApp-PCNOUULF.js +2244 -0
- package/dist/IDCViewer-H3QPXVM3.js +10811 -0
- package/dist/NumBinaryEditor-IU6OLMKN.js +278 -0
- package/dist/NumBinaryEditor.unit.spec-YUPUILIV.js +311 -0
- package/dist/NumContEditor-KFDA76QN.js +104 -0
- package/dist/NumContEditor.unit.spec-QBOT5QHU.js +163 -0
- package/dist/NumCustomBinEditor-EOSTEXLB.js +32 -0
- package/dist/NumCustomBinEditor.unit.spec-B46XWFYH.js +396 -0
- package/dist/NumDiscreteEditor-Y4EAADXC.js +169 -0
- package/dist/NumDiscreteEditor.unit.spec-SJGHLWSM.js +232 -0
- package/dist/NumRegularBinEditor-3BNG7DIN.js +32 -0
- package/dist/NumRegularBinEditor.unit.spec-KM45QXXG.js +277 -0
- package/dist/NumSplineEditor-K4KPDC4S.js +209 -0
- package/dist/NumSplineEditor.unit.spec-TKQP5XTS.js +223 -0
- package/dist/NumericDensity-Z6JFVN3D.js +32 -0
- package/dist/NumericDensity.unit.spec-YEYBVLEP.js +417 -0
- package/dist/NumericHandler-ITT6HMPN.js +33 -0
- package/dist/NumericHandler.unit.spec-QVONMXY4.js +213 -0
- package/dist/ProteomeInput-PRS3DEMZ.js +387 -0
- package/dist/Regression-LJJJBBT6.js +1413 -0
- package/dist/Regression-LJJJBBT6.js.map +7 -0
- package/dist/RunChart2-AMM2JFF5.js +749 -0
- package/dist/SC-F7IE66VZ.js +1106 -0
- package/dist/Violin-RJ6OJZ4F.js +1073 -0
- package/dist/Volcano-BJA5HN5Y.js +1414 -0
- package/dist/WSIViewer-RJZGRUIR.js +26194 -0
- package/dist/Wsi-DXP6KOQA.js +232 -0
- package/dist/WsiSamplesPlot-2IAWV2B6.js +159 -0
- package/dist/adSandbox-RGWOIV3W.js +32 -0
- package/dist/animatedBubbleChart-J4Q2NAEW.js +546 -0
- package/dist/app-3QXNR4VG.js +31 -0
- package/dist/app-B4B7YNP3.js +41 -0
- package/dist/app.js +12 -12
- package/dist/bam-LRUMN45P.js +875 -0
- package/dist/barchart-L2G6GEHK.js +41 -0
- package/dist/barchart2-DWNVAZAJ.js +308 -0
- package/dist/block-TVEVAXNP.js +6248 -0
- package/dist/block.init-YOHAKPRI.js +32 -0
- package/dist/block.mds.expressionrank-PU6JH4W5.js +353 -0
- package/dist/block.mds.geneboxplot-WYYFDNE3.js +822 -0
- package/dist/block.mds.junction-4WCTL7Y4.js +1538 -0
- package/dist/block.mds.svcnv-MR3VCYUW.js +6795 -0
- package/dist/block.svg-LR3Y4ZO7.js +158 -0
- package/dist/block.tk.aicheck-A5AWKJZI.js +277 -0
- package/dist/block.tk.ase-AQBBAQEH.js +359 -0
- package/dist/block.tk.bam-QBTA2O3V.js +1900 -0
- package/dist/block.tk.bedgraphdot-4ALZG2MY.js +378 -0
- package/dist/block.tk.bigwig.ui-32W6XW37.js +205 -0
- package/dist/block.tk.hicstraw-PKBHBAG2.js +817 -0
- package/dist/block.tk.junction-AO5CXUCU.js +2357 -0
- package/dist/block.tk.junction.textmatrixui-RORVUIPI.js +193 -0
- package/dist/block.tk.ld-TNBSR4FT.js +93 -0
- package/dist/block.tk.menu-QDJO54J5.js +1023 -0
- package/dist/block.tk.pgv-6222WWYR.js +937 -0
- package/dist/brainImaging-2TPE7MXB.js +426 -0
- package/dist/brainImaging-2TPE7MXB.js.map +7 -0
- package/dist/brainRegions-KTFH6DE2.js +215 -0
- package/dist/bubbleHeatmap-LNXZLFY6.js +377 -0
- package/dist/cellTypeBubbleHeatmap-SRHUNX3S.js +277 -0
- package/dist/chunk-3TXVDBGN.js +626 -0
- package/dist/chunk-4HLHKBHP.js +274 -0
- package/dist/chunk-5GG7Q2ZG.js +397 -0
- package/dist/chunk-5HVAVJKW.js +518 -0
- package/dist/chunk-5HVAVJKW.js.map +7 -0
- package/dist/chunk-5PMFCQKC.js +98 -0
- package/dist/chunk-67URJYN7.js +84 -0
- package/dist/chunk-67URJYN7.js.map +7 -0
- package/dist/chunk-6AKSOLBX.js +5071 -0
- package/dist/chunk-6AKSOLBX.js.map +7 -0
- package/dist/chunk-6X7PP7A4.js +2126 -0
- package/dist/chunk-A3EDLRUN.js +54 -0
- package/dist/chunk-ACXFPMJP.js +14 -0
- package/dist/chunk-ASRW3UJ5.js +102 -0
- package/dist/chunk-BBILSUDX.js +176 -0
- package/dist/chunk-BOWI37X2.js +100 -0
- package/dist/chunk-BVA26EFK.js +368 -0
- package/dist/chunk-D5J57ENI.js +797 -0
- package/dist/chunk-D5PX2UDG.js +23878 -0
- package/dist/chunk-D5PX2UDG.js.map +7 -0
- package/dist/chunk-DAGONMWK.js +261 -0
- package/dist/chunk-DAGONMWK.js.map +7 -0
- package/dist/chunk-DXLO4OAB.js +357 -0
- package/dist/chunk-DXLO4OAB.js.map +7 -0
- package/dist/chunk-E5BFGDLA.js +292 -0
- package/dist/chunk-ECISCOPF.js +134 -0
- package/dist/chunk-ECLUUJVE.js +158 -0
- package/dist/chunk-EGDQ5I54.js +272 -0
- package/dist/chunk-ELNVTA7O.js +56 -0
- package/dist/chunk-EO6M3LY3.js +339 -0
- package/dist/chunk-EO6M3LY3.js.map +7 -0
- package/dist/chunk-F4PMOAQK.js +494 -0
- package/dist/chunk-FISQTHD4.js +2327 -0
- package/dist/chunk-FXT2XM4E.js +1337 -0
- package/dist/chunk-FXT2XM4E.js.map +7 -0
- package/dist/chunk-HIWTGMTE.js +1721 -0
- package/dist/chunk-HIWTGMTE.js.map +7 -0
- package/dist/chunk-HL6GJIOH.js +1254 -0
- package/dist/chunk-IGZAOCTU.js +55 -0
- package/dist/chunk-JMDJI7KM.js +6360 -0
- package/dist/chunk-JQVA264Z.js +49 -0
- package/dist/chunk-JRF7SRLB.js +2784 -0
- package/dist/chunk-KLWSW6CC.js +203 -0
- package/dist/chunk-KNNSOOTG.js +194 -0
- package/dist/chunk-KTPXQH2N.js +170 -0
- package/dist/chunk-LGKXSWY4.js +276 -0
- package/dist/chunk-LP2GIXVK.js +4274 -0
- package/dist/chunk-M2ZZL5EV.js +2669 -0
- package/dist/chunk-M2ZZL5EV.js.map +7 -0
- package/dist/chunk-MBHERRJR.js +302 -0
- package/dist/chunk-MLYQDJUQ.js +480 -0
- package/dist/chunk-NBGDLLMX.js +446 -0
- package/dist/chunk-OPMMU6DQ.js +183 -0
- package/dist/chunk-OPMMU6DQ.js.map +7 -0
- package/dist/chunk-P3JEXVBT.js +50 -0
- package/dist/chunk-PZPPJY4K.js +34 -0
- package/dist/chunk-Q6JF4ZLT.js +141 -0
- package/dist/chunk-QF5IH7PC.js +263 -0
- package/dist/chunk-QJ6SO7CF.js +465 -0
- package/dist/chunk-QQUOVIOM.js +2899 -0
- package/dist/chunk-R3OBOAOF.js +240 -0
- package/dist/chunk-SNCZRDS5.js +557 -0
- package/dist/chunk-SNCZRDS5.js.map +7 -0
- package/dist/chunk-SPDNUC76.js +70 -0
- package/dist/chunk-T3663ZQL.js +37 -0
- package/dist/chunk-TSK4ZTFK.js +340 -0
- package/dist/chunk-USW6WRDZ.js +217 -0
- package/dist/chunk-WBMYHNKH.js +299 -0
- package/dist/chunk-X46LAU4Q.js +187 -0
- package/dist/chunk-XE6E526E.js +129 -0
- package/dist/chunk-XWCWBHLB.js +123 -0
- package/dist/chunk-YCECQV3T.js +160 -0
- package/dist/chunk-YROOKO3Q.js +1954 -0
- package/dist/chunk-YROOKO3Q.js.map +7 -0
- package/dist/chunk-Z4NADGZX.js +243 -0
- package/dist/chunk-Z53KOPRJ.js +102 -0
- package/dist/cohort-U7M6Q2UX.js +69 -0
- package/dist/condition-EGAV2PMJ.js +326 -0
- package/dist/controls-PTMYWUZV.js +33 -0
- package/dist/controls.config-DOA6PTP2.js +33 -0
- package/dist/correlation-Y3EL6GB7.js +94 -0
- package/dist/customdata.inputui-4NDDG6FL.js +283 -0
- package/dist/dataDownload-EQGUAOK2.js +328 -0
- package/dist/databrowser.ui-ABGOJUWQ.js +424 -0
- package/dist/dictionary-YOLLEDE5.js +112 -0
- package/dist/dnaMethylation-JZT63UHO.js +32 -0
- package/dist/dnaMethylation.integration.spec-EATCABJW.js +197 -0
- package/dist/dofetch-YNBIUFV5.js +48 -0
- package/dist/e2pca-RD6COCRL.js +343 -0
- package/dist/ep-BAI7WUET.js +1248 -0
- package/dist/expclust.gdc.spec-LKV2CQA5.js +301 -0
- package/dist/facet-X3SXQIAC.js +518 -0
- package/dist/gb-K324K7XB.js +80 -0
- package/dist/geneExpClustering-BJD5U3KG.js +243 -0
- package/dist/geneExpression-2TK3XLZ5.js +310 -0
- package/dist/geneExpression-F6NRTHZ4.js +32 -0
- package/dist/geneExpression.unit.spec-IFZN3J6A.js +96 -0
- package/dist/geneORA-DUEP735U.js +272 -0
- package/dist/geneRanking-LURDNT7L.js +547 -0
- package/dist/geneVariant-EAVCWQAZ.js +35 -0
- package/dist/geneVariant-IZTFYAG6.js +284 -0
- package/dist/geneVariant-IZTFYAG6.js.map +7 -0
- package/dist/geneVariant.integration.spec-LHL4ERFO.js +192 -0
- package/dist/genefusion.ui-4T5R7DT7.js +302 -0
- package/dist/geneset-3PWXPBG2.js +202 -0
- package/dist/genomeBrowser.spec-5SEN7R2P.js +275 -0
- package/dist/grin2-EXBG7TMS.js +1136 -0
- package/dist/grin2-XIXVFVWO.js +69 -0
- package/dist/hierCluster-5XQIWXAY.js +57 -0
- package/dist/hierCluster-I4TAQWPF.js +53 -0
- package/dist/hierCluster.config-T7HVAWES.js +34 -0
- package/dist/hierCluster.integration.spec-XWX43K4D.js +482 -0
- package/dist/hierCluster.interactivity-MYIDHFSL.js +48 -0
- package/dist/hierCluster.renderers-YRXA5ZUK.js +19 -0
- package/dist/imagePlot-4JQB6JUG.js +155 -0
- package/dist/importPlot-D3MXCCLN.js +8 -0
- package/dist/isoformExpression-WNGGUVIZ.js +34 -0
- package/dist/isoformExpression.unit.spec-NVJ5TIKM.js +236 -0
- package/dist/junction-O7N57JE3.js +35 -0
- package/dist/junction.unit.spec-Z63DRTRR.js +181 -0
- package/dist/launch.adhoc-MBDRXD3B.js +36 -0
- package/dist/leftlabel.sample-IG6FOQ26.js +257 -0
- package/dist/lollipop-ZUYBLPGN.js +165 -0
- package/dist/maf-QOS5LURG.js +454 -0
- package/dist/maftimeline-FEHP2J55.js +586 -0
- package/dist/matrix-BG4J4RXA.js +57 -0
- package/dist/matrix-PX4LWTGN.js +52 -0
- package/dist/matrix.cells-PTIDQVCI.js +26 -0
- package/dist/matrix.config-NHW7BLIE.js +35 -0
- package/dist/matrix.data-FMIQRXOA.js +23 -0
- package/dist/matrix.dom-4S2UYJOU.js +11 -0
- package/dist/matrix.groups-QMID5XAO.js +25 -0
- package/dist/matrix.integration.spec-H6T7KP5R.js +3066 -0
- package/dist/matrix.interactivity-WQUO25HB.js +36 -0
- package/dist/matrix.layout-CTPVZZ34.js +38 -0
- package/dist/matrix.legend-K6EYUN6L.js +20 -0
- package/dist/matrix.renderers-5DIAUY6R.js +32 -0
- package/dist/matrix.serieses-LRMN2J52.js +19 -0
- package/dist/matrix.sort-RGAGEA6Z.js +25 -0
- package/dist/matrix.sort.unit.spec-RGICZZJL.js +466 -0
- package/dist/matrix.sorterUi.unit.spec-45QPEGWE.js +336 -0
- package/dist/matrix.unit.spec-TMRZM5DU.js +148 -0
- package/dist/matrix.unit.spec-TMRZM5DU.js.map +7 -0
- package/dist/mavb-VEIVB62L.js +726 -0
- package/dist/mds.fimo-BG4LTWFB.js +512 -0
- package/dist/mds.samplescatterplot-PWADJZ2J.js +1544 -0
- package/dist/mds.survivalplot-BX4HZ23K.js +476 -0
- package/dist/multivalue-OZALSBFW.js +82 -0
- package/dist/numericDictTermCluster-7PGJ7KV4.js +63 -0
- package/dist/oncomatrix-Q2EQZPLS.js +289 -0
- package/dist/oncomatrix.spec-YEQOQRPW.js +442 -0
- package/dist/plot.2dvaf-NJSB3HNH.js +371 -0
- package/dist/plot.app-AEUR6XGI.js +35 -0
- package/dist/plot.barplot-OXN2P5KL.js +96 -0
- package/dist/plot.boxplot-2KHEVVFE.js +145 -0
- package/dist/plot.brainImaging-JWDX4BZG.js +51 -0
- package/dist/plot.disco-LUFC5GGC.js +99 -0
- package/dist/plot.ssgq-FMM3IRNA.js +133 -0
- package/dist/plot.vaf2cov-K5TAQUC5.js +252 -0
- package/dist/plot.wsi-CNQCNZ4Z.js +36 -0
- package/dist/polar2-AB6SVYRS.js +231 -0
- package/dist/profileForms-AIEHZ4GC.js +933 -0
- package/dist/profilePlot-PZDFGXKZ.js +48 -0
- package/dist/proteinView-7GWHQYXC.js +1561 -0
- package/dist/proteomeCohortCompare-BTN4HHFL.js +779 -0
- package/dist/proteomeCohortCompare-BTN4HHFL.js.map +7 -0
- package/dist/pseudbulk.unit.spec-NFT4VNTI.js +85 -0
- package/dist/pseudobulk-WDGWTXW4.js +34 -0
- package/dist/qualitative-PZYJENE7.js +37 -0
- package/dist/radar2-QHRGH3YS.js +326 -0
- package/dist/radarFacility2-2JD26FL6.js +334 -0
- package/dist/render-YA4Z56LT.js +32 -0
- package/dist/report-2NUKFJTF.js +216 -0
- package/dist/sampleView-2XVPJTVR.js +42 -0
- package/dist/samplelst-DMILFDT5.js +105 -0
- package/dist/samplematrix-LYA5XTUM.js +2192 -0
- package/dist/sc-CM2C34MN.js +80 -0
- package/dist/scatter-C3CH3HTF.js +879 -0
- package/dist/scatter-GO6LV6NY.js +87 -0
- package/dist/selectGenomeWithTklst-5C7UBTGZ.js +128 -0
- package/dist/singleCellCellType-EZYESBVZ.js +32 -0
- package/dist/singleCellCellType.unit.spec-DB6FM4XR.js +153 -0
- package/dist/singleCellGeneExpression-DZLEFPW4.js +32 -0
- package/dist/singleCellGeneExpression.unit.spec-ZTBK3V43.js +147 -0
- package/dist/singleCellPlot-VF4TZ4FT.js +48 -0
- package/dist/singlecell-2MHROPBN.js +1565 -0
- package/dist/singlecell-GPAFNOUZ.js +80 -0
- package/dist/snp-K4EAEVW4.js +32 -0
- package/dist/snp.unit.spec-BUVQLVOY.js +170 -0
- package/dist/snplocus-GEVISN6Z.js +202 -0
- package/dist/spliceevent.a53ss.diagram-5UPWNAZF.js +145 -0
- package/dist/spliceevent.exonskip.diagram-7TKAQURC.js +277 -0
- package/dist/spliceevent.noeventdiagram-CDXZLR3Z.js +454 -0
- package/dist/ssGSEA-NMCJUQXT.js +32 -0
- package/dist/ssGSEA.unit.spec-3FQALTPQ.js +82 -0
- package/dist/stattable-2RXQPWKK.js +116 -0
- package/dist/studyCatalog-WWFCTTX7.js +377 -0
- package/dist/studyCatalog-WWFCTTX7.js.map +7 -0
- package/dist/summarizeCnvGeneexp-4BQS5AFM.js +157 -0
- package/dist/summarizeGeneexpSurvival-HTBZQFB5.js +104 -0
- package/dist/summarizeMutationCnv-XUWZGPCM.js +158 -0
- package/dist/summarizeMutationDiagnosis-QUJX42TO.js +34 -0
- package/dist/summarizeMutationSurvival-3R47TTR6.js +93 -0
- package/dist/summary-6UUB63QR.js +41 -0
- package/dist/summary.integration.spec-JJDE6SRV.js +408 -0
- package/dist/summaryInput-JG4AW6FW.js +225 -0
- package/dist/sunburst-YKB42RZX.js +277 -0
- package/dist/survival-3IFFTDQA.js +52 -0
- package/dist/survival-HOFNJENX.js +1236 -0
- package/dist/survival.integration.spec-7YZYKEUW.js +612 -0
- package/dist/survival.integration.spec-7YZYKEUW.js.map +7 -0
- package/dist/svgraph-WFEY4ZIZ.js +1381 -0
- package/dist/svmr-44EIX7YD.js +3836 -0
- package/dist/table-6MKVJUNC.js +196 -0
- package/dist/termCollection-6JBVQL6Y.js +251 -0
- package/dist/termCollection-TTELZVC5.js +32 -0
- package/dist/termCollection.unit.spec-6Z7X646L.js +298 -0
- package/dist/termCollectionFractionSelection-5DVIJBM5.js +41 -0
- package/dist/termCollectionFractionSelection.unit.spec-3HIM5BIF.js +187 -0
- package/dist/tk-HSYWJCGQ.js +40 -0
- package/dist/tk-PNOVG2XS.js +1120 -0
- package/dist/tp.ui-COBBSUPB.js +1453 -0
- package/dist/tvs.dt-35AKURFI.js +33 -0
- package/dist/tvs.dtcnv.categorical-3EHXYROL.js +34 -0
- package/dist/tvs.dtcnv.continuous-AXQ2GU6S.js +66 -0
- package/dist/tvs.dtfusion-PLJIMPNX.js +34 -0
- package/dist/tvs.dtitd-JS6RFBV5.js +34 -0
- package/dist/tvs.dtsnvindel-MDEM5MPT.js +34 -0
- package/dist/tvs.dtsv-OU756YLO.js +34 -0
- package/dist/tvs.samplelst-5NDICES4.js +98 -0
- package/dist/tvs.termCollection-5URPDPH6.js +123 -0
- package/dist/vocabulary-CHCVMPK5.js +35 -0
- package/dist/wsi.direct-JSKV4H4X.js +75 -0
- package/package.json +4 -4
- package/dist/2dmaf-I4HBWRNQ.js +0 -1366
- package/dist/AIProjectAdmin-SZYSG7HR.js +0 -951
- package/dist/AggregateMatrix-U7HHALFR.js +0 -665
- package/dist/AppHeader-O4RBZQZF.js +0 -829
- package/dist/BoxPlot-NOXWAGX6.js +0 -1210
- package/dist/CorrelationVolcano-IJ5UT6N5.js +0 -613
- package/dist/Cuminc-NGUDAOAD.js +0 -1208
- package/dist/DE-MIAHOI5J.js +0 -87
- package/dist/DEinput-FYBSL2ER.js +0 -404
- package/dist/DifferentialAnalysis-I6S5YQXY.js +0 -237
- package/dist/Disco-VLUBOZDC.js +0 -3388
- package/dist/Disco.UI-QQYWQEW7.js +0 -242
- package/dist/DmrPlot-DFOBEN7A.js +0 -636
- package/dist/GB-5FSXJMEZ.js +0 -1390
- package/dist/GSEA-JISHQOVY.js +0 -850
- package/dist/GeneExpInput-5YEX22VD.js +0 -361
- package/dist/Geomap-YVF6YBK5.js +0 -83
- package/dist/HicApp-ZCMOOKTY.js +0 -2244
- package/dist/IDCViewer-5ZNTAEUG.js +0 -10811
- package/dist/NumBinaryEditor-BEF5YCKI.js +0 -278
- package/dist/NumBinaryEditor.unit.spec-GCYZGHB2.js +0 -311
- package/dist/NumContEditor-TUXPB6YJ.js +0 -104
- package/dist/NumContEditor.unit.spec-5CMHHWIP.js +0 -163
- package/dist/NumCustomBinEditor-HS7RSGFV.js +0 -32
- package/dist/NumCustomBinEditor.unit.spec-MM3JJXT4.js +0 -396
- package/dist/NumDiscreteEditor-ZL7PP6ZT.js +0 -169
- package/dist/NumDiscreteEditor.unit.spec-OEWX2KJC.js +0 -232
- package/dist/NumRegularBinEditor-YBXK7YV6.js +0 -32
- package/dist/NumRegularBinEditor.unit.spec-FVHN4J5L.js +0 -277
- package/dist/NumSplineEditor-VN4XBTTI.js +0 -209
- package/dist/NumSplineEditor.unit.spec-AI642DWP.js +0 -223
- package/dist/NumericDensity-2KTY7DGH.js +0 -32
- package/dist/NumericDensity.unit.spec-6EA72A24.js +0 -417
- package/dist/NumericHandler-62EN6AD3.js +0 -33
- package/dist/NumericHandler.unit.spec-FXOJ2L2L.js +0 -213
- package/dist/ProteomeInput-MBBDXO2Z.js +0 -387
- package/dist/Regression-OQETMZPL.js +0 -1408
- package/dist/Regression-OQETMZPL.js.map +0 -7
- package/dist/RunChart2-RHZFHH4M.js +0 -749
- package/dist/SC-FAQXOHO4.js +0 -1106
- package/dist/Violin-2A3ICNBP.js +0 -1073
- package/dist/Volcano-X5KGHLHZ.js +0 -1414
- package/dist/WSIViewer-F2SD6LLP.js +0 -26194
- package/dist/Wsi-KAFAC3Q5.js +0 -232
- package/dist/WsiSamplesPlot-VKPMLDZI.js +0 -159
- package/dist/adSandbox-QKG5EA23.js +0 -32
- package/dist/animatedBubbleChart-ES62XWMN.js +0 -546
- package/dist/app-2HLLOBTD.js +0 -41
- package/dist/app-GJL6K6V4.js +0 -31
- package/dist/bam-DCPAAVPX.js +0 -875
- package/dist/barchart-DCVGCEZO.js +0 -41
- package/dist/barchart2-5X57VSIN.js +0 -308
- package/dist/block-XYSUTBXJ.js +0 -6248
- package/dist/block.init-5B27QKPU.js +0 -32
- package/dist/block.mds.expressionrank-Z7BGGPZ7.js +0 -353
- package/dist/block.mds.geneboxplot-4U4UZH2J.js +0 -822
- package/dist/block.mds.junction-ZPCUEQZJ.js +0 -1538
- package/dist/block.mds.svcnv-OGGPBOL2.js +0 -6795
- package/dist/block.svg-BWGAMNDS.js +0 -158
- package/dist/block.tk.aicheck-XHHW7WST.js +0 -277
- package/dist/block.tk.ase-BZ2IL3CQ.js +0 -359
- package/dist/block.tk.bam-WRHOOWXN.js +0 -1900
- package/dist/block.tk.bedgraphdot-B536STRA.js +0 -378
- package/dist/block.tk.bigwig.ui-K5X3BSQC.js +0 -205
- package/dist/block.tk.hicstraw-OYOKZ45W.js +0 -817
- package/dist/block.tk.junction-S5JMMMR6.js +0 -2357
- package/dist/block.tk.junction.textmatrixui-OLZY5BYR.js +0 -193
- package/dist/block.tk.ld-KINDO5UU.js +0 -93
- package/dist/block.tk.menu-3FNBVZ7J.js +0 -1023
- package/dist/block.tk.pgv-UHDY3T4G.js +0 -937
- package/dist/brainImaging-KWFRX3XB.js +0 -422
- package/dist/brainImaging-KWFRX3XB.js.map +0 -7
- package/dist/brainRegions-YI7K4OVE.js +0 -215
- package/dist/bubbleHeatmap-EQ44CSG5.js +0 -377
- package/dist/cellTypeBubbleHeatmap-O3KL2YBF.js +0 -277
- package/dist/chunk-254KEDDH.js +0 -129
- package/dist/chunk-25RPYQRT.js +0 -203
- package/dist/chunk-2OEMKKLP.js +0 -272
- package/dist/chunk-34AV6DED.js +0 -299
- package/dist/chunk-3UOSDVFJ.js +0 -1710
- package/dist/chunk-3UOSDVFJ.js.map +0 -7
- package/dist/chunk-4GN3CSDT.js +0 -98
- package/dist/chunk-4KUGV44F.js +0 -397
- package/dist/chunk-4WF3XDQP.js +0 -220
- package/dist/chunk-4WF3XDQP.js.map +0 -7
- package/dist/chunk-55PGOBTR.js +0 -123
- package/dist/chunk-5RHE36DQ.js +0 -37
- package/dist/chunk-6456HESK.js +0 -160
- package/dist/chunk-6THPWBBU.js +0 -102
- package/dist/chunk-6ZLCBVJA.js +0 -54
- package/dist/chunk-7AYGTMED.js +0 -182
- package/dist/chunk-7AYGTMED.js.map +0 -7
- package/dist/chunk-7ROMS7YT.js +0 -626
- package/dist/chunk-7UFK4GVI.js +0 -263
- package/dist/chunk-7UFK4GVI.js.map +0 -7
- package/dist/chunk-ALXSSRGI.js +0 -263
- package/dist/chunk-AT7HWXMW.js +0 -302
- package/dist/chunk-AVR4LFOO.js +0 -194
- package/dist/chunk-BY5B5BM5.js +0 -170
- package/dist/chunk-BZ36NJHA.js +0 -797
- package/dist/chunk-BZKHE26Z.js +0 -340
- package/dist/chunk-CBRZIMNF.js +0 -217
- package/dist/chunk-CTO247UZ.js +0 -5069
- package/dist/chunk-CTO247UZ.js.map +0 -7
- package/dist/chunk-D27C6HZW.js +0 -50
- package/dist/chunk-D73PJ4WC.js +0 -512
- package/dist/chunk-D73PJ4WC.js.map +0 -7
- package/dist/chunk-DLXMO6EK.js +0 -494
- package/dist/chunk-EK7CQC3P.js +0 -100
- package/dist/chunk-FCMHDCMO.js +0 -56
- package/dist/chunk-GJFG2MML.js +0 -1254
- package/dist/chunk-GQQ4R6BI.js +0 -24060
- package/dist/chunk-GQQ4R6BI.js.map +0 -7
- package/dist/chunk-HENLCRVM.js +0 -2126
- package/dist/chunk-I56CSICA.js +0 -292
- package/dist/chunk-I5KBI5PC.js +0 -274
- package/dist/chunk-IHDVUZFC.js +0 -1947
- package/dist/chunk-IHDVUZFC.js.map +0 -7
- package/dist/chunk-IUA3PSTK.js +0 -6360
- package/dist/chunk-J3TIXBCS.js +0 -276
- package/dist/chunk-JJHMFHRC.js +0 -257
- package/dist/chunk-JJHMFHRC.js.map +0 -7
- package/dist/chunk-JPQSDB2H.js +0 -102
- package/dist/chunk-LIMDUEVX.js +0 -1336
- package/dist/chunk-LIMDUEVX.js.map +0 -7
- package/dist/chunk-MECQLU4J.js +0 -243
- package/dist/chunk-MEJMWIBD.js +0 -187
- package/dist/chunk-MT5MHYL3.js +0 -480
- package/dist/chunk-NVH5I6EP.js +0 -176
- package/dist/chunk-OGQMELRU.js +0 -14
- package/dist/chunk-PBRW6QLS.js +0 -4274
- package/dist/chunk-PPJMCBVT.js +0 -82
- package/dist/chunk-PPJMCBVT.js.map +0 -7
- package/dist/chunk-RRI3RX4A.js +0 -2669
- package/dist/chunk-RRI3RX4A.js.map +0 -7
- package/dist/chunk-S2D6GH6D.js +0 -465
- package/dist/chunk-SACNULB3.js +0 -368
- package/dist/chunk-SEJGXC2L.js +0 -141
- package/dist/chunk-TMZZ4Z7L.js +0 -34
- package/dist/chunk-TRWFL52W.js +0 -446
- package/dist/chunk-VP2FPPLA.js +0 -70
- package/dist/chunk-VTYMSJGY.js +0 -49
- package/dist/chunk-WEF6INPI.js +0 -2784
- package/dist/chunk-WO4CL5JL.js +0 -240
- package/dist/chunk-WVVH56ZU.js +0 -2327
- package/dist/chunk-WZTZJNSG.js +0 -2899
- package/dist/chunk-XPSUKXMF.js +0 -556
- package/dist/chunk-XPSUKXMF.js.map +0 -7
- package/dist/chunk-XXITHNR2.js +0 -134
- package/dist/chunk-YCLNEB4L.js +0 -158
- package/dist/chunk-ZPFN3CYR.js +0 -55
- package/dist/cohort-JCMVMOBQ.js +0 -69
- package/dist/condition-SHRWEMG7.js +0 -326
- package/dist/controls-EKIHLQS6.js +0 -33
- package/dist/controls.config-WSVX6UC6.js +0 -33
- package/dist/correlation-ALFFZLKD.js +0 -94
- package/dist/customdata.inputui-L2UAIU6I.js +0 -283
- package/dist/dataDownload-73N5364T.js +0 -328
- package/dist/databrowser.ui-NTOGXDYE.js +0 -424
- package/dist/dictionary-CUAU2X6Q.js +0 -112
- package/dist/dnaMethylation-AGWAGXVD.js +0 -32
- package/dist/dnaMethylation.integration.spec-K22XXOU4.js +0 -197
- package/dist/dofetch-BVJ77SP7.js +0 -48
- package/dist/e2pca-4HIJWLSC.js +0 -343
- package/dist/ep-U4RGH62P.js +0 -1248
- package/dist/expclust.gdc.spec-JJGGQDQK.js +0 -301
- package/dist/facet-NNUPVXCG.js +0 -518
- package/dist/gb-2MYXJEMY.js +0 -80
- package/dist/geneExpClustering-6ORRRH43.js +0 -243
- package/dist/geneExpression-4JVWKJWP.js +0 -310
- package/dist/geneExpression-MARWAIHW.js +0 -32
- package/dist/geneExpression.unit.spec-3CQTUSDK.js +0 -96
- package/dist/geneORA-M2L2YEX3.js +0 -272
- package/dist/geneRanking-S2B3LSTU.js +0 -547
- package/dist/geneVariant-D2ANGINP.js +0 -35
- package/dist/geneVariant-T4NG72OL.js +0 -33
- package/dist/geneVariant.integration.spec-62NJS7GD.js +0 -192
- package/dist/genefusion.ui-4ZZNKANU.js +0 -302
- package/dist/geneset-QCLFANPD.js +0 -202
- package/dist/genomeBrowser.spec-BV5M6JFN.js +0 -275
- package/dist/grin2-J4VDS2JT.js +0 -1136
- package/dist/grin2-K5G3N5XP.js +0 -69
- package/dist/hierCluster-FMK524WF.js +0 -57
- package/dist/hierCluster-XF7ZWVKD.js +0 -53
- package/dist/hierCluster.config-LYAQCO3L.js +0 -34
- package/dist/hierCluster.integration.spec-NSLTJBL4.js +0 -482
- package/dist/hierCluster.interactivity-VKAOR2DR.js +0 -48
- package/dist/hierCluster.renderers-6C5F7LRL.js +0 -19
- package/dist/imagePlot-IPTIFVLT.js +0 -155
- package/dist/importPlot-V3P6DCUR.js +0 -8
- package/dist/isoformExpression-6IIPJI4M.js +0 -34
- package/dist/isoformExpression.unit.spec-IYZWSLO5.js +0 -236
- package/dist/junction-E6FB2OP4.js +0 -35
- package/dist/junction.unit.spec-M4EN7KPG.js +0 -181
- package/dist/launch.adhoc-SU5L2YXN.js +0 -36
- package/dist/leftlabel.sample-5WTK5NBD.js +0 -257
- package/dist/lollipop-L64ZTEEX.js +0 -165
- package/dist/maf-QLNFANWO.js +0 -454
- package/dist/maftimeline-U7FMTMTV.js +0 -586
- package/dist/matrix-GFVK3PEB.js +0 -57
- package/dist/matrix-HFJQGPJJ.js +0 -52
- package/dist/matrix.cells-5JKTBI3X.js +0 -26
- package/dist/matrix.config-QPTQ22RR.js +0 -35
- package/dist/matrix.data-MXIUMSRR.js +0 -23
- package/dist/matrix.dom-ENBFB4CW.js +0 -11
- package/dist/matrix.groups-6DYTBVGR.js +0 -25
- package/dist/matrix.integration.spec-X4HM67TN.js +0 -3066
- package/dist/matrix.interactivity-QTB56LXE.js +0 -36
- package/dist/matrix.layout-VQAORIIH.js +0 -38
- package/dist/matrix.legend-SDJXYNHE.js +0 -20
- package/dist/matrix.renderers-6PMYIP2S.js +0 -32
- package/dist/matrix.serieses-WWY7474U.js +0 -19
- package/dist/matrix.sort-V46C2MAZ.js +0 -25
- package/dist/matrix.sort.unit.spec-3RM7V6CS.js +0 -466
- package/dist/matrix.sorterUi.unit.spec-YOV6FBRT.js +0 -336
- package/dist/mavb-PJA76T7F.js +0 -726
- package/dist/mds.fimo-GW7XPJGQ.js +0 -512
- package/dist/mds.samplescatterplot-ZAIEWPO4.js +0 -1544
- package/dist/mds.survivalplot-ETLLFDWR.js +0 -476
- package/dist/multivalue-AZPAQJQD.js +0 -82
- package/dist/numericDictTermCluster-KOJODGZT.js +0 -63
- package/dist/oncomatrix-2TRXETOJ.js +0 -289
- package/dist/oncomatrix.spec-DOVKLS24.js +0 -442
- package/dist/plot.2dvaf-RQN6QADW.js +0 -371
- package/dist/plot.app-MOIVGIS6.js +0 -35
- package/dist/plot.barplot-46QRWJOX.js +0 -96
- package/dist/plot.boxplot-54J4UWQX.js +0 -145
- package/dist/plot.brainImaging-Y32KQFLS.js +0 -51
- package/dist/plot.disco-4R5J7Z5S.js +0 -99
- package/dist/plot.ssgq-6LCKYRYD.js +0 -133
- package/dist/plot.vaf2cov-UCBH4NSC.js +0 -252
- package/dist/plot.wsi-DAC7NUQE.js +0 -36
- package/dist/polar2-JKV74QV5.js +0 -231
- package/dist/profileForms-VDYCFH4M.js +0 -933
- package/dist/profilePlot-PR3LVRYU.js +0 -48
- package/dist/proteinView-A3EM6OR5.js +0 -1561
- package/dist/proteomeCohortCompare-QGFEJTDQ.js +0 -793
- package/dist/proteomeCohortCompare-QGFEJTDQ.js.map +0 -7
- package/dist/pseudbulk.unit.spec-CUMTLAH7.js +0 -85
- package/dist/pseudobulk-5E5MSMU3.js +0 -34
- package/dist/qualitative-WPXUBISK.js +0 -37
- package/dist/radar2-A5OYMORS.js +0 -326
- package/dist/radarFacility2-4TPJB6M4.js +0 -334
- package/dist/render-XQBWWS33.js +0 -32
- package/dist/report-NCJOTYIC.js +0 -216
- package/dist/sampleView-2PUSMG4W.js +0 -42
- package/dist/samplelst-FV7BAUN5.js +0 -105
- package/dist/samplematrix-DFD3PNI4.js +0 -2192
- package/dist/sc-GIMTDVLG.js +0 -80
- package/dist/scatter-4GJ5HKUY.js +0 -879
- package/dist/scatter-P3ISZB3R.js +0 -87
- package/dist/selectGenomeWithTklst-ZZ4CEHDU.js +0 -128
- package/dist/singleCellCellType-CEERCVTR.js +0 -32
- package/dist/singleCellCellType.unit.spec-JNEIICK5.js +0 -153
- package/dist/singleCellGeneExpression-G5B7DDES.js +0 -32
- package/dist/singleCellGeneExpression.unit.spec-CGRZGY66.js +0 -147
- package/dist/singleCellPlot-US5KTHS4.js +0 -48
- package/dist/singlecell-IPTSIKNA.js +0 -1565
- package/dist/singlecell-VB4KLPJF.js +0 -80
- package/dist/snp-6V2SCCRN.js +0 -32
- package/dist/snp.unit.spec-Q537NGVG.js +0 -170
- package/dist/snplocus-BV6WJTVP.js +0 -202
- package/dist/spliceevent.a53ss.diagram-3BUQVK4Q.js +0 -145
- package/dist/spliceevent.exonskip.diagram-CQZ2DFQ5.js +0 -277
- package/dist/spliceevent.noeventdiagram-QAEPR6LD.js +0 -454
- package/dist/ssGSEA-XNI5S7AC.js +0 -32
- package/dist/ssGSEA.unit.spec-A337IMC7.js +0 -82
- package/dist/stattable-J4ZQKJFM.js +0 -116
- package/dist/studyCatalog-BJTJJGBC.js +0 -352
- package/dist/studyCatalog-BJTJJGBC.js.map +0 -7
- package/dist/summarizeCnvGeneexp-76UJXLA4.js +0 -157
- package/dist/summarizeGeneexpSurvival-ZUEHXA2R.js +0 -104
- package/dist/summarizeMutationCnv-EBCBVMG6.js +0 -158
- package/dist/summarizeMutationDiagnosis-VLFI2ZIZ.js +0 -34
- package/dist/summarizeMutationSurvival-QRFMJLLO.js +0 -93
- package/dist/summary-U3YKEMZC.js +0 -41
- package/dist/summary.integration.spec-52WP6SNY.js +0 -408
- package/dist/summaryInput-WUJNHCGH.js +0 -225
- package/dist/sunburst-IJ3ZG2BC.js +0 -277
- package/dist/survival-F2B5JKOO.js +0 -1236
- package/dist/survival-SQRYWGWZ.js +0 -52
- package/dist/survival.integration.spec-YGRZJ2OL.js +0 -967
- package/dist/survival.integration.spec-YGRZJ2OL.js.map +0 -7
- package/dist/svgraph-HVCMF6KI.js +0 -1381
- package/dist/svmr-PROHTMTP.js +0 -3836
- package/dist/table-3E64OJNV.js +0 -196
- package/dist/termCollection-MUH7P6B5.js +0 -32
- package/dist/termCollection-WKT6ESMI.js +0 -251
- package/dist/termCollection.unit.spec-XMOCMVER.js +0 -298
- package/dist/termCollectionFractionSelection-P5G6WIJJ.js +0 -41
- package/dist/termCollectionFractionSelection.unit.spec-MG7E3EIZ.js +0 -187
- package/dist/tk-HWUPUGOS.js +0 -1120
- package/dist/tk-SBM2GN3S.js +0 -40
- package/dist/tp.ui-RRB5MJRD.js +0 -1453
- package/dist/tvs.dt-I2ECKHQ2.js +0 -33
- package/dist/tvs.dtcnv.categorical-7RJPQKMX.js +0 -34
- package/dist/tvs.dtcnv.continuous-FW4ZXIYY.js +0 -66
- package/dist/tvs.dtfusion-3GDWW3ML.js +0 -34
- package/dist/tvs.dtitd-FER4H4UO.js +0 -34
- package/dist/tvs.dtsnvindel-ISEOJ5UA.js +0 -34
- package/dist/tvs.dtsv-JDML7EWE.js +0 -34
- package/dist/tvs.samplelst-MJTM6GSV.js +0 -98
- package/dist/tvs.termCollection-GMOXBJWF.js +0 -123
- package/dist/vocabulary-5EJMLXI2.js +0 -35
- package/dist/vocabulary-5EJMLXI2.js.map +0 -7
- package/dist/wsi.direct-IVPACPNT.js +0 -75
- /package/dist/{2dmaf-I4HBWRNQ.js.map → 2dmaf-6CEBP4SA.js.map} +0 -0
- /package/dist/{AIProjectAdmin-SZYSG7HR.js.map → AIProjectAdmin-2CKKFC3A.js.map} +0 -0
- /package/dist/{AggregateMatrix-U7HHALFR.js.map → AggregateMatrix-5TBUMFE5.js.map} +0 -0
- /package/dist/{AppHeader-O4RBZQZF.js.map → AppHeader-5YBPWF44.js.map} +0 -0
- /package/dist/{BoxPlot-NOXWAGX6.js.map → BoxPlot-UOJS5SJV.js.map} +0 -0
- /package/dist/{CorrelationVolcano-IJ5UT6N5.js.map → CorrelationVolcano-KX6JPZMT.js.map} +0 -0
- /package/dist/{Cuminc-NGUDAOAD.js.map → Cuminc-TLOOLZWR.js.map} +0 -0
- /package/dist/{DE-MIAHOI5J.js.map → DE-HUQLQ2Z3.js.map} +0 -0
- /package/dist/{DEinput-FYBSL2ER.js.map → DEinput-WWUISAF2.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-I6S5YQXY.js.map → DifferentialAnalysis-6DTAGCEY.js.map} +0 -0
- /package/dist/{Disco-VLUBOZDC.js.map → Disco-P6ZLPYLF.js.map} +0 -0
- /package/dist/{Disco.UI-QQYWQEW7.js.map → Disco.UI-WGTMAFK2.js.map} +0 -0
- /package/dist/{DmrPlot-DFOBEN7A.js.map → DmrPlot-3FRU5KUK.js.map} +0 -0
- /package/dist/{GB-5FSXJMEZ.js.map → GB-NWOBARL3.js.map} +0 -0
- /package/dist/{GSEA-JISHQOVY.js.map → GSEA-DEEUAAMI.js.map} +0 -0
- /package/dist/{GeneExpInput-5YEX22VD.js.map → GeneExpInput-6QWGEAFV.js.map} +0 -0
- /package/dist/{Geomap-YVF6YBK5.js.map → Geomap-6HT2B7RH.js.map} +0 -0
- /package/dist/{HicApp-ZCMOOKTY.js.map → HicApp-PCNOUULF.js.map} +0 -0
- /package/dist/{IDCViewer-5ZNTAEUG.js.map → IDCViewer-H3QPXVM3.js.map} +0 -0
- /package/dist/{NumBinaryEditor-BEF5YCKI.js.map → NumBinaryEditor-IU6OLMKN.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-GCYZGHB2.js.map → NumBinaryEditor.unit.spec-YUPUILIV.js.map} +0 -0
- /package/dist/{NumContEditor-TUXPB6YJ.js.map → NumContEditor-KFDA76QN.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-5CMHHWIP.js.map → NumContEditor.unit.spec-QBOT5QHU.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-HS7RSGFV.js.map → NumCustomBinEditor-EOSTEXLB.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-MM3JJXT4.js.map → NumCustomBinEditor.unit.spec-B46XWFYH.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-ZL7PP6ZT.js.map → NumDiscreteEditor-Y4EAADXC.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-OEWX2KJC.js.map → NumDiscreteEditor.unit.spec-SJGHLWSM.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-YBXK7YV6.js.map → NumRegularBinEditor-3BNG7DIN.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-FVHN4J5L.js.map → NumRegularBinEditor.unit.spec-KM45QXXG.js.map} +0 -0
- /package/dist/{NumSplineEditor-VN4XBTTI.js.map → NumSplineEditor-K4KPDC4S.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-AI642DWP.js.map → NumSplineEditor.unit.spec-TKQP5XTS.js.map} +0 -0
- /package/dist/{NumericDensity-2KTY7DGH.js.map → NumericDensity-Z6JFVN3D.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-6EA72A24.js.map → NumericDensity.unit.spec-YEYBVLEP.js.map} +0 -0
- /package/dist/{NumericHandler-62EN6AD3.js.map → NumericHandler-ITT6HMPN.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-FXOJ2L2L.js.map → NumericHandler.unit.spec-QVONMXY4.js.map} +0 -0
- /package/dist/{ProteomeInput-MBBDXO2Z.js.map → ProteomeInput-PRS3DEMZ.js.map} +0 -0
- /package/dist/{RunChart2-RHZFHH4M.js.map → RunChart2-AMM2JFF5.js.map} +0 -0
- /package/dist/{SC-FAQXOHO4.js.map → SC-F7IE66VZ.js.map} +0 -0
- /package/dist/{Violin-2A3ICNBP.js.map → Violin-RJ6OJZ4F.js.map} +0 -0
- /package/dist/{Volcano-X5KGHLHZ.js.map → Volcano-BJA5HN5Y.js.map} +0 -0
- /package/dist/{WSIViewer-F2SD6LLP.js.map → WSIViewer-RJZGRUIR.js.map} +0 -0
- /package/dist/{Wsi-KAFAC3Q5.js.map → Wsi-DXP6KOQA.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-VKPMLDZI.js.map → WsiSamplesPlot-2IAWV2B6.js.map} +0 -0
- /package/dist/{adSandbox-QKG5EA23.js.map → adSandbox-RGWOIV3W.js.map} +0 -0
- /package/dist/{animatedBubbleChart-ES62XWMN.js.map → animatedBubbleChart-J4Q2NAEW.js.map} +0 -0
- /package/dist/{app-2HLLOBTD.js.map → app-3QXNR4VG.js.map} +0 -0
- /package/dist/{app-GJL6K6V4.js.map → app-B4B7YNP3.js.map} +0 -0
- /package/dist/{bam-DCPAAVPX.js.map → bam-LRUMN45P.js.map} +0 -0
- /package/dist/{barchart-DCVGCEZO.js.map → barchart-L2G6GEHK.js.map} +0 -0
- /package/dist/{barchart2-5X57VSIN.js.map → barchart2-DWNVAZAJ.js.map} +0 -0
- /package/dist/{block-XYSUTBXJ.js.map → block-TVEVAXNP.js.map} +0 -0
- /package/dist/{block.init-5B27QKPU.js.map → block.init-YOHAKPRI.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-Z7BGGPZ7.js.map → block.mds.expressionrank-PU6JH4W5.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-4U4UZH2J.js.map → block.mds.geneboxplot-WYYFDNE3.js.map} +0 -0
- /package/dist/{block.mds.junction-ZPCUEQZJ.js.map → block.mds.junction-4WCTL7Y4.js.map} +0 -0
- /package/dist/{block.mds.svcnv-OGGPBOL2.js.map → block.mds.svcnv-MR3VCYUW.js.map} +0 -0
- /package/dist/{block.svg-BWGAMNDS.js.map → block.svg-LR3Y4ZO7.js.map} +0 -0
- /package/dist/{block.tk.aicheck-XHHW7WST.js.map → block.tk.aicheck-A5AWKJZI.js.map} +0 -0
- /package/dist/{block.tk.ase-BZ2IL3CQ.js.map → block.tk.ase-AQBBAQEH.js.map} +0 -0
- /package/dist/{block.tk.bam-WRHOOWXN.js.map → block.tk.bam-QBTA2O3V.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-B536STRA.js.map → block.tk.bedgraphdot-4ALZG2MY.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-K5X3BSQC.js.map → block.tk.bigwig.ui-32W6XW37.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-OYOKZ45W.js.map → block.tk.hicstraw-PKBHBAG2.js.map} +0 -0
- /package/dist/{block.tk.junction-S5JMMMR6.js.map → block.tk.junction-AO5CXUCU.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-OLZY5BYR.js.map → block.tk.junction.textmatrixui-RORVUIPI.js.map} +0 -0
- /package/dist/{block.tk.ld-KINDO5UU.js.map → block.tk.ld-TNBSR4FT.js.map} +0 -0
- /package/dist/{block.tk.menu-3FNBVZ7J.js.map → block.tk.menu-QDJO54J5.js.map} +0 -0
- /package/dist/{block.tk.pgv-UHDY3T4G.js.map → block.tk.pgv-6222WWYR.js.map} +0 -0
- /package/dist/{brainRegions-YI7K4OVE.js.map → brainRegions-KTFH6DE2.js.map} +0 -0
- /package/dist/{bubbleHeatmap-EQ44CSG5.js.map → bubbleHeatmap-LNXZLFY6.js.map} +0 -0
- /package/dist/{cellTypeBubbleHeatmap-O3KL2YBF.js.map → cellTypeBubbleHeatmap-SRHUNX3S.js.map} +0 -0
- /package/dist/{chunk-7ROMS7YT.js.map → chunk-3TXVDBGN.js.map} +0 -0
- /package/dist/{chunk-I5KBI5PC.js.map → chunk-4HLHKBHP.js.map} +0 -0
- /package/dist/{chunk-4KUGV44F.js.map → chunk-5GG7Q2ZG.js.map} +0 -0
- /package/dist/{chunk-4GN3CSDT.js.map → chunk-5PMFCQKC.js.map} +0 -0
- /package/dist/{chunk-HENLCRVM.js.map → chunk-6X7PP7A4.js.map} +0 -0
- /package/dist/{chunk-6ZLCBVJA.js.map → chunk-A3EDLRUN.js.map} +0 -0
- /package/dist/{chunk-OGQMELRU.js.map → chunk-ACXFPMJP.js.map} +0 -0
- /package/dist/{chunk-JPQSDB2H.js.map → chunk-ASRW3UJ5.js.map} +0 -0
- /package/dist/{chunk-NVH5I6EP.js.map → chunk-BBILSUDX.js.map} +0 -0
- /package/dist/{chunk-EK7CQC3P.js.map → chunk-BOWI37X2.js.map} +0 -0
- /package/dist/{chunk-SACNULB3.js.map → chunk-BVA26EFK.js.map} +0 -0
- /package/dist/{chunk-BZ36NJHA.js.map → chunk-D5J57ENI.js.map} +0 -0
- /package/dist/{chunk-I56CSICA.js.map → chunk-E5BFGDLA.js.map} +0 -0
- /package/dist/{chunk-XXITHNR2.js.map → chunk-ECISCOPF.js.map} +0 -0
- /package/dist/{chunk-YCLNEB4L.js.map → chunk-ECLUUJVE.js.map} +0 -0
- /package/dist/{chunk-2OEMKKLP.js.map → chunk-EGDQ5I54.js.map} +0 -0
- /package/dist/{chunk-FCMHDCMO.js.map → chunk-ELNVTA7O.js.map} +0 -0
- /package/dist/{chunk-DLXMO6EK.js.map → chunk-F4PMOAQK.js.map} +0 -0
- /package/dist/{chunk-WVVH56ZU.js.map → chunk-FISQTHD4.js.map} +0 -0
- /package/dist/{chunk-GJFG2MML.js.map → chunk-HL6GJIOH.js.map} +0 -0
- /package/dist/{chunk-ZPFN3CYR.js.map → chunk-IGZAOCTU.js.map} +0 -0
- /package/dist/{chunk-IUA3PSTK.js.map → chunk-JMDJI7KM.js.map} +0 -0
- /package/dist/{chunk-VTYMSJGY.js.map → chunk-JQVA264Z.js.map} +0 -0
- /package/dist/{chunk-WEF6INPI.js.map → chunk-JRF7SRLB.js.map} +0 -0
- /package/dist/{chunk-25RPYQRT.js.map → chunk-KLWSW6CC.js.map} +0 -0
- /package/dist/{chunk-AVR4LFOO.js.map → chunk-KNNSOOTG.js.map} +0 -0
- /package/dist/{chunk-BY5B5BM5.js.map → chunk-KTPXQH2N.js.map} +0 -0
- /package/dist/{chunk-J3TIXBCS.js.map → chunk-LGKXSWY4.js.map} +0 -0
- /package/dist/{chunk-PBRW6QLS.js.map → chunk-LP2GIXVK.js.map} +0 -0
- /package/dist/{chunk-AT7HWXMW.js.map → chunk-MBHERRJR.js.map} +0 -0
- /package/dist/{chunk-MT5MHYL3.js.map → chunk-MLYQDJUQ.js.map} +0 -0
- /package/dist/{chunk-TRWFL52W.js.map → chunk-NBGDLLMX.js.map} +0 -0
- /package/dist/{chunk-D27C6HZW.js.map → chunk-P3JEXVBT.js.map} +0 -0
- /package/dist/{chunk-TMZZ4Z7L.js.map → chunk-PZPPJY4K.js.map} +0 -0
- /package/dist/{chunk-SEJGXC2L.js.map → chunk-Q6JF4ZLT.js.map} +0 -0
- /package/dist/{chunk-ALXSSRGI.js.map → chunk-QF5IH7PC.js.map} +0 -0
- /package/dist/{chunk-S2D6GH6D.js.map → chunk-QJ6SO7CF.js.map} +0 -0
- /package/dist/{chunk-WZTZJNSG.js.map → chunk-QQUOVIOM.js.map} +0 -0
- /package/dist/{chunk-WO4CL5JL.js.map → chunk-R3OBOAOF.js.map} +0 -0
- /package/dist/{chunk-VP2FPPLA.js.map → chunk-SPDNUC76.js.map} +0 -0
- /package/dist/{chunk-5RHE36DQ.js.map → chunk-T3663ZQL.js.map} +0 -0
- /package/dist/{chunk-BZKHE26Z.js.map → chunk-TSK4ZTFK.js.map} +0 -0
- /package/dist/{chunk-CBRZIMNF.js.map → chunk-USW6WRDZ.js.map} +0 -0
- /package/dist/{chunk-34AV6DED.js.map → chunk-WBMYHNKH.js.map} +0 -0
- /package/dist/{chunk-MEJMWIBD.js.map → chunk-X46LAU4Q.js.map} +0 -0
- /package/dist/{chunk-254KEDDH.js.map → chunk-XE6E526E.js.map} +0 -0
- /package/dist/{chunk-55PGOBTR.js.map → chunk-XWCWBHLB.js.map} +0 -0
- /package/dist/{chunk-6456HESK.js.map → chunk-YCECQV3T.js.map} +0 -0
- /package/dist/{chunk-MECQLU4J.js.map → chunk-Z4NADGZX.js.map} +0 -0
- /package/dist/{chunk-6THPWBBU.js.map → chunk-Z53KOPRJ.js.map} +0 -0
- /package/dist/{cohort-JCMVMOBQ.js.map → cohort-U7M6Q2UX.js.map} +0 -0
- /package/dist/{condition-SHRWEMG7.js.map → condition-EGAV2PMJ.js.map} +0 -0
- /package/dist/{controls-EKIHLQS6.js.map → controls-PTMYWUZV.js.map} +0 -0
- /package/dist/{controls.config-WSVX6UC6.js.map → controls.config-DOA6PTP2.js.map} +0 -0
- /package/dist/{correlation-ALFFZLKD.js.map → correlation-Y3EL6GB7.js.map} +0 -0
- /package/dist/{customdata.inputui-L2UAIU6I.js.map → customdata.inputui-4NDDG6FL.js.map} +0 -0
- /package/dist/{dataDownload-73N5364T.js.map → dataDownload-EQGUAOK2.js.map} +0 -0
- /package/dist/{databrowser.ui-NTOGXDYE.js.map → databrowser.ui-ABGOJUWQ.js.map} +0 -0
- /package/dist/{dictionary-CUAU2X6Q.js.map → dictionary-YOLLEDE5.js.map} +0 -0
- /package/dist/{dnaMethylation-AGWAGXVD.js.map → dnaMethylation-JZT63UHO.js.map} +0 -0
- /package/dist/{dnaMethylation.integration.spec-K22XXOU4.js.map → dnaMethylation.integration.spec-EATCABJW.js.map} +0 -0
- /package/dist/{dofetch-BVJ77SP7.js.map → dofetch-YNBIUFV5.js.map} +0 -0
- /package/dist/{e2pca-4HIJWLSC.js.map → e2pca-RD6COCRL.js.map} +0 -0
- /package/dist/{ep-U4RGH62P.js.map → ep-BAI7WUET.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-JJGGQDQK.js.map → expclust.gdc.spec-LKV2CQA5.js.map} +0 -0
- /package/dist/{facet-NNUPVXCG.js.map → facet-X3SXQIAC.js.map} +0 -0
- /package/dist/{gb-2MYXJEMY.js.map → gb-K324K7XB.js.map} +0 -0
- /package/dist/{geneExpClustering-6ORRRH43.js.map → geneExpClustering-BJD5U3KG.js.map} +0 -0
- /package/dist/{geneExpression-4JVWKJWP.js.map → geneExpression-2TK3XLZ5.js.map} +0 -0
- /package/dist/{geneExpression-MARWAIHW.js.map → geneExpression-F6NRTHZ4.js.map} +0 -0
- /package/dist/{geneExpression.unit.spec-3CQTUSDK.js.map → geneExpression.unit.spec-IFZN3J6A.js.map} +0 -0
- /package/dist/{geneORA-M2L2YEX3.js.map → geneORA-DUEP735U.js.map} +0 -0
- /package/dist/{geneRanking-S2B3LSTU.js.map → geneRanking-LURDNT7L.js.map} +0 -0
- /package/dist/{geneVariant-D2ANGINP.js.map → geneVariant-EAVCWQAZ.js.map} +0 -0
- /package/dist/{geneVariant.integration.spec-62NJS7GD.js.map → geneVariant.integration.spec-LHL4ERFO.js.map} +0 -0
- /package/dist/{genefusion.ui-4ZZNKANU.js.map → genefusion.ui-4T5R7DT7.js.map} +0 -0
- /package/dist/{geneset-QCLFANPD.js.map → geneset-3PWXPBG2.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-BV5M6JFN.js.map → genomeBrowser.spec-5SEN7R2P.js.map} +0 -0
- /package/dist/{grin2-J4VDS2JT.js.map → grin2-EXBG7TMS.js.map} +0 -0
- /package/dist/{grin2-K5G3N5XP.js.map → grin2-XIXVFVWO.js.map} +0 -0
- /package/dist/{geneVariant-T4NG72OL.js.map → hierCluster-5XQIWXAY.js.map} +0 -0
- /package/dist/{hierCluster-FMK524WF.js.map → hierCluster-I4TAQWPF.js.map} +0 -0
- /package/dist/{hierCluster-XF7ZWVKD.js.map → hierCluster.config-T7HVAWES.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-NSLTJBL4.js.map → hierCluster.integration.spec-XWX43K4D.js.map} +0 -0
- /package/dist/{hierCluster.config-LYAQCO3L.js.map → hierCluster.interactivity-MYIDHFSL.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-VKAOR2DR.js.map → hierCluster.renderers-YRXA5ZUK.js.map} +0 -0
- /package/dist/{imagePlot-IPTIFVLT.js.map → imagePlot-4JQB6JUG.js.map} +0 -0
- /package/dist/{hierCluster.renderers-6C5F7LRL.js.map → importPlot-D3MXCCLN.js.map} +0 -0
- /package/dist/{importPlot-V3P6DCUR.js.map → isoformExpression-WNGGUVIZ.js.map} +0 -0
- /package/dist/{isoformExpression.unit.spec-IYZWSLO5.js.map → isoformExpression.unit.spec-NVJ5TIKM.js.map} +0 -0
- /package/dist/{isoformExpression-6IIPJI4M.js.map → junction-O7N57JE3.js.map} +0 -0
- /package/dist/{junction.unit.spec-M4EN7KPG.js.map → junction.unit.spec-Z63DRTRR.js.map} +0 -0
- /package/dist/{junction-E6FB2OP4.js.map → launch.adhoc-MBDRXD3B.js.map} +0 -0
- /package/dist/{leftlabel.sample-5WTK5NBD.js.map → leftlabel.sample-IG6FOQ26.js.map} +0 -0
- /package/dist/{lollipop-L64ZTEEX.js.map → lollipop-ZUYBLPGN.js.map} +0 -0
- /package/dist/{maf-QLNFANWO.js.map → maf-QOS5LURG.js.map} +0 -0
- /package/dist/{maftimeline-U7FMTMTV.js.map → maftimeline-FEHP2J55.js.map} +0 -0
- /package/dist/{launch.adhoc-SU5L2YXN.js.map → matrix-BG4J4RXA.js.map} +0 -0
- /package/dist/{matrix-GFVK3PEB.js.map → matrix-PX4LWTGN.js.map} +0 -0
- /package/dist/{matrix-HFJQGPJJ.js.map → matrix.cells-PTIDQVCI.js.map} +0 -0
- /package/dist/{matrix.cells-5JKTBI3X.js.map → matrix.config-NHW7BLIE.js.map} +0 -0
- /package/dist/{matrix.config-QPTQ22RR.js.map → matrix.data-FMIQRXOA.js.map} +0 -0
- /package/dist/{matrix.data-MXIUMSRR.js.map → matrix.dom-4S2UYJOU.js.map} +0 -0
- /package/dist/{matrix.dom-ENBFB4CW.js.map → matrix.groups-QMID5XAO.js.map} +0 -0
- /package/dist/{matrix.integration.spec-X4HM67TN.js.map → matrix.integration.spec-H6T7KP5R.js.map} +0 -0
- /package/dist/{matrix.groups-6DYTBVGR.js.map → matrix.interactivity-WQUO25HB.js.map} +0 -0
- /package/dist/{matrix.interactivity-QTB56LXE.js.map → matrix.layout-CTPVZZ34.js.map} +0 -0
- /package/dist/{matrix.layout-VQAORIIH.js.map → matrix.legend-K6EYUN6L.js.map} +0 -0
- /package/dist/{matrix.legend-SDJXYNHE.js.map → matrix.renderers-5DIAUY6R.js.map} +0 -0
- /package/dist/{matrix.renderers-6PMYIP2S.js.map → matrix.serieses-LRMN2J52.js.map} +0 -0
- /package/dist/{matrix.serieses-WWY7474U.js.map → matrix.sort-RGAGEA6Z.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-3RM7V6CS.js.map → matrix.sort.unit.spec-RGICZZJL.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-YOV6FBRT.js.map → matrix.sorterUi.unit.spec-45QPEGWE.js.map} +0 -0
- /package/dist/{mavb-PJA76T7F.js.map → mavb-VEIVB62L.js.map} +0 -0
- /package/dist/{mds.fimo-GW7XPJGQ.js.map → mds.fimo-BG4LTWFB.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-ZAIEWPO4.js.map → mds.samplescatterplot-PWADJZ2J.js.map} +0 -0
- /package/dist/{mds.survivalplot-ETLLFDWR.js.map → mds.survivalplot-BX4HZ23K.js.map} +0 -0
- /package/dist/{multivalue-AZPAQJQD.js.map → multivalue-OZALSBFW.js.map} +0 -0
- /package/dist/{numericDictTermCluster-KOJODGZT.js.map → numericDictTermCluster-7PGJ7KV4.js.map} +0 -0
- /package/dist/{oncomatrix-2TRXETOJ.js.map → oncomatrix-Q2EQZPLS.js.map} +0 -0
- /package/dist/{oncomatrix.spec-DOVKLS24.js.map → oncomatrix.spec-YEQOQRPW.js.map} +0 -0
- /package/dist/{plot.2dvaf-RQN6QADW.js.map → plot.2dvaf-NJSB3HNH.js.map} +0 -0
- /package/dist/{matrix.sort-V46C2MAZ.js.map → plot.app-AEUR6XGI.js.map} +0 -0
- /package/dist/{plot.barplot-46QRWJOX.js.map → plot.barplot-OXN2P5KL.js.map} +0 -0
- /package/dist/{plot.boxplot-54J4UWQX.js.map → plot.boxplot-2KHEVVFE.js.map} +0 -0
- /package/dist/{plot.brainImaging-Y32KQFLS.js.map → plot.brainImaging-JWDX4BZG.js.map} +0 -0
- /package/dist/{plot.disco-4R5J7Z5S.js.map → plot.disco-LUFC5GGC.js.map} +0 -0
- /package/dist/{plot.ssgq-6LCKYRYD.js.map → plot.ssgq-FMM3IRNA.js.map} +0 -0
- /package/dist/{plot.vaf2cov-UCBH4NSC.js.map → plot.vaf2cov-K5TAQUC5.js.map} +0 -0
- /package/dist/{plot.wsi-DAC7NUQE.js.map → plot.wsi-CNQCNZ4Z.js.map} +0 -0
- /package/dist/{polar2-JKV74QV5.js.map → polar2-AB6SVYRS.js.map} +0 -0
- /package/dist/{profileForms-VDYCFH4M.js.map → profileForms-AIEHZ4GC.js.map} +0 -0
- /package/dist/{plot.app-MOIVGIS6.js.map → profilePlot-PZDFGXKZ.js.map} +0 -0
- /package/dist/{proteinView-A3EM6OR5.js.map → proteinView-7GWHQYXC.js.map} +0 -0
- /package/dist/{pseudbulk.unit.spec-CUMTLAH7.js.map → pseudbulk.unit.spec-NFT4VNTI.js.map} +0 -0
- /package/dist/{profilePlot-PR3LVRYU.js.map → pseudobulk-WDGWTXW4.js.map} +0 -0
- /package/dist/{pseudobulk-5E5MSMU3.js.map → qualitative-PZYJENE7.js.map} +0 -0
- /package/dist/{radar2-A5OYMORS.js.map → radar2-QHRGH3YS.js.map} +0 -0
- /package/dist/{radarFacility2-4TPJB6M4.js.map → radarFacility2-2JD26FL6.js.map} +0 -0
- /package/dist/{qualitative-WPXUBISK.js.map → render-YA4Z56LT.js.map} +0 -0
- /package/dist/{report-NCJOTYIC.js.map → report-2NUKFJTF.js.map} +0 -0
- /package/dist/{render-XQBWWS33.js.map → sampleView-2XVPJTVR.js.map} +0 -0
- /package/dist/{samplelst-FV7BAUN5.js.map → samplelst-DMILFDT5.js.map} +0 -0
- /package/dist/{samplematrix-DFD3PNI4.js.map → samplematrix-LYA5XTUM.js.map} +0 -0
- /package/dist/{sc-GIMTDVLG.js.map → sc-CM2C34MN.js.map} +0 -0
- /package/dist/{scatter-4GJ5HKUY.js.map → scatter-C3CH3HTF.js.map} +0 -0
- /package/dist/{scatter-P3ISZB3R.js.map → scatter-GO6LV6NY.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-ZZ4CEHDU.js.map → selectGenomeWithTklst-5C7UBTGZ.js.map} +0 -0
- /package/dist/{sampleView-2PUSMG4W.js.map → singleCellCellType-EZYESBVZ.js.map} +0 -0
- /package/dist/{singleCellCellType.unit.spec-JNEIICK5.js.map → singleCellCellType.unit.spec-DB6FM4XR.js.map} +0 -0
- /package/dist/{singleCellCellType-CEERCVTR.js.map → singleCellGeneExpression-DZLEFPW4.js.map} +0 -0
- /package/dist/{singleCellGeneExpression.unit.spec-CGRZGY66.js.map → singleCellGeneExpression.unit.spec-ZTBK3V43.js.map} +0 -0
- /package/dist/{singleCellGeneExpression-G5B7DDES.js.map → singleCellPlot-VF4TZ4FT.js.map} +0 -0
- /package/dist/{singlecell-IPTSIKNA.js.map → singlecell-2MHROPBN.js.map} +0 -0
- /package/dist/{singlecell-VB4KLPJF.js.map → singlecell-GPAFNOUZ.js.map} +0 -0
- /package/dist/{singleCellPlot-US5KTHS4.js.map → snp-K4EAEVW4.js.map} +0 -0
- /package/dist/{snp.unit.spec-Q537NGVG.js.map → snp.unit.spec-BUVQLVOY.js.map} +0 -0
- /package/dist/{snplocus-BV6WJTVP.js.map → snplocus-GEVISN6Z.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-3BUQVK4Q.js.map → spliceevent.a53ss.diagram-5UPWNAZF.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-CQZ2DFQ5.js.map → spliceevent.exonskip.diagram-7TKAQURC.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-QAEPR6LD.js.map → spliceevent.noeventdiagram-CDXZLR3Z.js.map} +0 -0
- /package/dist/{snp-6V2SCCRN.js.map → ssGSEA-NMCJUQXT.js.map} +0 -0
- /package/dist/{ssGSEA.unit.spec-A337IMC7.js.map → ssGSEA.unit.spec-3FQALTPQ.js.map} +0 -0
- /package/dist/{stattable-J4ZQKJFM.js.map → stattable-2RXQPWKK.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-76UJXLA4.js.map → summarizeCnvGeneexp-4BQS5AFM.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-ZUEHXA2R.js.map → summarizeGeneexpSurvival-HTBZQFB5.js.map} +0 -0
- /package/dist/{summarizeMutationCnv-EBCBVMG6.js.map → summarizeMutationCnv-XUWZGPCM.js.map} +0 -0
- /package/dist/{ssGSEA-XNI5S7AC.js.map → summarizeMutationDiagnosis-QUJX42TO.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-QRFMJLLO.js.map → summarizeMutationSurvival-3R47TTR6.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-VLFI2ZIZ.js.map → summary-6UUB63QR.js.map} +0 -0
- /package/dist/{summary.integration.spec-52WP6SNY.js.map → summary.integration.spec-JJDE6SRV.js.map} +0 -0
- /package/dist/{summaryInput-WUJNHCGH.js.map → summaryInput-JG4AW6FW.js.map} +0 -0
- /package/dist/{sunburst-IJ3ZG2BC.js.map → sunburst-YKB42RZX.js.map} +0 -0
- /package/dist/{survival-SQRYWGWZ.js.map → survival-3IFFTDQA.js.map} +0 -0
- /package/dist/{survival-F2B5JKOO.js.map → survival-HOFNJENX.js.map} +0 -0
- /package/dist/{svgraph-HVCMF6KI.js.map → svgraph-WFEY4ZIZ.js.map} +0 -0
- /package/dist/{svmr-PROHTMTP.js.map → svmr-44EIX7YD.js.map} +0 -0
- /package/dist/{table-3E64OJNV.js.map → table-6MKVJUNC.js.map} +0 -0
- /package/dist/{termCollection-WKT6ESMI.js.map → termCollection-6JBVQL6Y.js.map} +0 -0
- /package/dist/{summary-U3YKEMZC.js.map → termCollection-TTELZVC5.js.map} +0 -0
- /package/dist/{termCollection.unit.spec-XMOCMVER.js.map → termCollection.unit.spec-6Z7X646L.js.map} +0 -0
- /package/dist/{termCollection-MUH7P6B5.js.map → termCollectionFractionSelection-5DVIJBM5.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection.unit.spec-MG7E3EIZ.js.map → termCollectionFractionSelection.unit.spec-3HIM5BIF.js.map} +0 -0
- /package/dist/{termCollectionFractionSelection-P5G6WIJJ.js.map → tk-HSYWJCGQ.js.map} +0 -0
- /package/dist/{tk-HWUPUGOS.js.map → tk-PNOVG2XS.js.map} +0 -0
- /package/dist/{tp.ui-RRB5MJRD.js.map → tp.ui-COBBSUPB.js.map} +0 -0
- /package/dist/{tk-SBM2GN3S.js.map → tvs.dt-35AKURFI.js.map} +0 -0
- /package/dist/{tvs.dtcnv.categorical-7RJPQKMX.js.map → tvs.dtcnv.categorical-3EHXYROL.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-FW4ZXIYY.js.map → tvs.dtcnv.continuous-AXQ2GU6S.js.map} +0 -0
- /package/dist/{tvs.dtfusion-3GDWW3ML.js.map → tvs.dtfusion-PLJIMPNX.js.map} +0 -0
- /package/dist/{tvs.dtitd-FER4H4UO.js.map → tvs.dtitd-JS6RFBV5.js.map} +0 -0
- /package/dist/{tvs.dtsnvindel-ISEOJ5UA.js.map → tvs.dtsnvindel-MDEM5MPT.js.map} +0 -0
- /package/dist/{tvs.dtsv-JDML7EWE.js.map → tvs.dtsv-OU756YLO.js.map} +0 -0
- /package/dist/{tvs.samplelst-MJTM6GSV.js.map → tvs.samplelst-5NDICES4.js.map} +0 -0
- /package/dist/{tvs.termCollection-GMOXBJWF.js.map → tvs.termCollection-5URPDPH6.js.map} +0 -0
- /package/dist/{tvs.dt-I2ECKHQ2.js.map → vocabulary-CHCVMPK5.js.map} +0 -0
- /package/dist/{wsi.direct-IVPACPNT.js.map → wsi.direct-JSKV4H4X.js.map} +0 -0
|
@@ -0,0 +1,1721 @@
|
|
|
1
|
+
import {
|
|
2
|
+
recoverInit
|
|
3
|
+
} from "./chunk-UILBQKQ6.js";
|
|
4
|
+
import {
|
|
5
|
+
parentCorsMessage
|
|
6
|
+
} from "./chunk-PRZWSBMA.js";
|
|
7
|
+
import {
|
|
8
|
+
chartsInit,
|
|
9
|
+
fillTermWrapper,
|
|
10
|
+
filterRxCompInit,
|
|
11
|
+
first_genetrack_tolist,
|
|
12
|
+
getDNAMethUnit,
|
|
13
|
+
getFilterItemByTag,
|
|
14
|
+
getSampleFilter,
|
|
15
|
+
groupsInit,
|
|
16
|
+
keyupEnter,
|
|
17
|
+
renderTable,
|
|
18
|
+
sayerror,
|
|
19
|
+
to_textfile
|
|
20
|
+
} from "./chunk-D5PX2UDG.js";
|
|
21
|
+
import {
|
|
22
|
+
importPlot
|
|
23
|
+
} from "./chunk-OPMMU6DQ.js";
|
|
24
|
+
import {
|
|
25
|
+
Menu
|
|
26
|
+
} from "./chunk-ELJX3QIQ.js";
|
|
27
|
+
import {
|
|
28
|
+
icons
|
|
29
|
+
} from "./chunk-VSSZJHOR.js";
|
|
30
|
+
import {
|
|
31
|
+
dofetch3
|
|
32
|
+
} from "./chunk-6X7PP7A4.js";
|
|
33
|
+
import {
|
|
34
|
+
trimGvTermsForSave
|
|
35
|
+
} from "./chunk-DXLO4OAB.js";
|
|
36
|
+
import {
|
|
37
|
+
DNA_METHYLATION,
|
|
38
|
+
dtcnv,
|
|
39
|
+
dtfusionrna,
|
|
40
|
+
dtsnvindel,
|
|
41
|
+
dtsv
|
|
42
|
+
} from "./chunk-4QBRVM4V.js";
|
|
43
|
+
import {
|
|
44
|
+
getCompInit,
|
|
45
|
+
multiInit
|
|
46
|
+
} from "./chunk-H6INPPUC.js";
|
|
47
|
+
import {
|
|
48
|
+
select_default
|
|
49
|
+
} from "./chunk-I6Y4O3RR.js";
|
|
50
|
+
|
|
51
|
+
// mass/sessionBtn.js
|
|
52
|
+
var MassSessionBtn = class _MassSessionBtn {
|
|
53
|
+
static type = "sessionBtn";
|
|
54
|
+
constructor() {
|
|
55
|
+
this.type = _MassSessionBtn.type;
|
|
56
|
+
this.route = "termdb";
|
|
57
|
+
this.embedderOrigin = window.location.origin;
|
|
58
|
+
this.hostURL = sessionStorage.getItem("hostURL") || this.embedderOrigin;
|
|
59
|
+
}
|
|
60
|
+
async init(appState) {
|
|
61
|
+
const tip = new Menu({ padding: "0px" });
|
|
62
|
+
const copytip = new Menu({ padding: "5px" });
|
|
63
|
+
this.dom = {
|
|
64
|
+
button: this.opts.button,
|
|
65
|
+
tip,
|
|
66
|
+
copytip
|
|
67
|
+
};
|
|
68
|
+
this.dom.button.on("click", (event2) => {
|
|
69
|
+
event2.stopPropagation();
|
|
70
|
+
this.dom.tip.clear();
|
|
71
|
+
this.showMenu();
|
|
72
|
+
});
|
|
73
|
+
this.dslabel = appState.vocab.dslabel;
|
|
74
|
+
this.savedSessions = JSON.parse(localStorage.getItem("savedMassSessions") || `{}`);
|
|
75
|
+
this.requiredAuth = appState.termdbConfig?.requiredAuth?.find((a) => a.route == this.route && a.type == "jwt");
|
|
76
|
+
}
|
|
77
|
+
async showMenu() {
|
|
78
|
+
this.dom.tip.clear().d.style("padding", 0);
|
|
79
|
+
this.dom.tip.d.attr("id", "sjpp-session-menu");
|
|
80
|
+
const gt = `<span style='margin-left: 24px; float: right'>></span>`;
|
|
81
|
+
const options = [
|
|
82
|
+
{ label: `Open`, title: "Recover a saved session", callback: this.open },
|
|
83
|
+
{ label: `Save`, title: "Save the current view", callback: this.save },
|
|
84
|
+
{ label: `Share`, title: "Share the current view", callback: this.getSessionUrl }
|
|
85
|
+
];
|
|
86
|
+
if (!this.serverCachedSessions) await this.setServerCachedSessions();
|
|
87
|
+
if (Object.keys(this.savedSessions).length || Object.keys(this.serverCachedSessions).length) {
|
|
88
|
+
options.push({ label: `Delete`, title: "Delete a saved session", callback: this.delete });
|
|
89
|
+
}
|
|
90
|
+
this.dom.tip.clear().d.selectAll(".sja_menuoption sja_sharp_border").data(options).enter().append("div").attr("class", "sja_menuoption sja_sharp_border").attr("data-testid", (d) => `sjpp-session-btn-${d.label.toLowerCase().replace(/\s/g, "-")}`).attr("aria-label", (d) => d.title).html((d) => d.label).on("click", (event2, d) => {
|
|
91
|
+
this.dom.tip.clear().d.style("padding", "10px");
|
|
92
|
+
event2.stopPropagation();
|
|
93
|
+
this.showBackBtn();
|
|
94
|
+
d.callback.call(this);
|
|
95
|
+
});
|
|
96
|
+
this.dom.tip.showunder(this.dom.button.node());
|
|
97
|
+
}
|
|
98
|
+
async open() {
|
|
99
|
+
const radioName = `sjpp-session-open-radio-` + Math.random().toString().slice(-6);
|
|
100
|
+
this.dom.tip.d.append("div").style("display", "none").style("padding", "3px 9px").html(`
|
|
101
|
+
<b>Open in</b>
|
|
102
|
+
<label>
|
|
103
|
+
<input type='radio' name='${radioName}' value='new' style='margin-right: 0; vertical-align: bottom'/>
|
|
104
|
+
<span>a new tab</span>
|
|
105
|
+
</label>
|
|
106
|
+
<label style='margin-left: 5px'>
|
|
107
|
+
<input type='radio' name='${radioName}' value='current' checked=checked style='margin-right: 0; vertical-align: bottom'/>
|
|
108
|
+
<span>current tab</span>
|
|
109
|
+
</label>
|
|
110
|
+
`);
|
|
111
|
+
const t = await this.listSessions({
|
|
112
|
+
trClickHandler: async (event2, d) => {
|
|
113
|
+
const { loc, id: id2 } = d;
|
|
114
|
+
if (!id2) return;
|
|
115
|
+
if (loc.includes("browser")) {
|
|
116
|
+
this.sessionName = id2;
|
|
117
|
+
const state = structuredClone(this.savedSessions[id2]);
|
|
118
|
+
await preprocessState(state, this.app);
|
|
119
|
+
const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
|
|
120
|
+
if (targetWindow == "current") {
|
|
121
|
+
this.app.dispatch({ type: "app_refresh", state });
|
|
122
|
+
} else if (window.location.origin == this.hostURL) {
|
|
123
|
+
window.open(`/?mass-session-id=${id2}&src=browser`);
|
|
124
|
+
} else {
|
|
125
|
+
if (state.embedder) parentCorsMessage({ state });
|
|
126
|
+
else {
|
|
127
|
+
const { protocol, host, search, origin, href } = window.location;
|
|
128
|
+
const embedder = { protocol, host, search, origin, href };
|
|
129
|
+
parentCorsMessage({ state: Object.assign({ embedder }, state) });
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
this.dom.tip.hide();
|
|
133
|
+
} else if (loc == "server") {
|
|
134
|
+
const headers = await this.app.vocabApi.mayGetAuthHeaders(this.route);
|
|
135
|
+
const body = { id: id2, route: this.route, dslabel: this.dslabel, embedder: window.location.hostname };
|
|
136
|
+
const res = await dofetch3(`/massSession?`, { headers, body });
|
|
137
|
+
if (!res.state) throw res.error || "unable to get the cached session from the server";
|
|
138
|
+
await preprocessState(res.state, this.app);
|
|
139
|
+
this.savedSessions[id2] = res.state;
|
|
140
|
+
const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
|
|
141
|
+
if (targetWindow == "current") {
|
|
142
|
+
this.app.dispatch({ type: "app_refresh", state: res.state });
|
|
143
|
+
} else if (window.location.origin == this.hostURL) {
|
|
144
|
+
window.open(`/?mass-session-id=${id2}&src=cred&dslabel=${this.dslabel}&route=${this.route}`);
|
|
145
|
+
} else {
|
|
146
|
+
parentCorsMessage(res);
|
|
147
|
+
}
|
|
148
|
+
this.dom.tip.hide();
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
t.headtr.select("th").html("Open from");
|
|
153
|
+
const tr1 = t.tbody.insert("tr", "tr");
|
|
154
|
+
tr1.append("td").style("text-align", "center").style("padding", "3px 9px").html("Local file");
|
|
155
|
+
const label = tr1.append("td").style("text-align", "left").append("label");
|
|
156
|
+
label.append("span").style("padding", "3px 9px").style("text-decoration", "underline").style("cursor", "pointer").html("Choose File");
|
|
157
|
+
label.append("input").attr("type", "file").attr("placeholder", "file name").style("opacity", 0).style("width", "0.1px").style("height", "0.1px").style("position", "absolute").on("change", async () => {
|
|
158
|
+
const file = event.target.files.item(0);
|
|
159
|
+
const json = await file.text();
|
|
160
|
+
let sessionName = file.name;
|
|
161
|
+
if (this.savedSessions[sessionName]) {
|
|
162
|
+
sessionName = prompt(
|
|
163
|
+
`Leave as-is to overwrite a session with the same name, or enter a different session name.`,
|
|
164
|
+
sessionName
|
|
165
|
+
);
|
|
166
|
+
}
|
|
167
|
+
this.sessionName = sessionName;
|
|
168
|
+
const state = JSON.parse(json);
|
|
169
|
+
await preprocessState(state, this.app);
|
|
170
|
+
this.savedSessions[sessionName] = state;
|
|
171
|
+
localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
|
|
172
|
+
const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
|
|
173
|
+
if (targetWindow == "current") {
|
|
174
|
+
this.app.dispatch({ type: "app_refresh", state });
|
|
175
|
+
} else if (window.location.origin == this.hostURL) {
|
|
176
|
+
window.open(`/?mass-session-id=${sessionName}&src=browser`);
|
|
177
|
+
} else {
|
|
178
|
+
if (state.embedder) parentCorsMessage({ state });
|
|
179
|
+
else {
|
|
180
|
+
const { protocol, host, search, origin, href } = window.location;
|
|
181
|
+
const embedder = { protocol, host, search, origin, href };
|
|
182
|
+
parentCorsMessage({ state: Object.assign({ embedder }, state) });
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
this.dom.tip.hide();
|
|
186
|
+
});
|
|
187
|
+
}
|
|
188
|
+
async listSessions(opts = {}) {
|
|
189
|
+
const table = this.dom.tip.d.append("table").attr("class", "sjpp-controls-table");
|
|
190
|
+
const headtr = table.append("thead").append("tr");
|
|
191
|
+
headtr.selectAll("th").data(["Cache Location", "Session ID"]).enter().append("th").style("text-align", (d, i) => i === 0 ? "center" : "left").style("padding", "3px 9px").html((d) => d);
|
|
192
|
+
const sessionIds = Object.keys(this.savedSessions).map((id2) => ({ loc: "browser", id: id2 }));
|
|
193
|
+
if (!this.serverCachedSessions) await this.setServerCachedSessions();
|
|
194
|
+
sessionIds.push(...this.serverCachedSessions.map((id2) => ({ loc: "server", id: id2 })));
|
|
195
|
+
const tbody = table.append("tbody");
|
|
196
|
+
const trs = tbody.selectAll("tr").data(sessionIds).enter().append("tr").on("click", opts.trClickHandler || null);
|
|
197
|
+
trs.selectAll("td").data((d) => [d, d]).enter().append("td").style("text-align", (d, i) => i === 0 ? "center" : "left").style("padding", "3px 9px").style("cursor", "pointer").html((d, i) => i === 0 ? d.loc : d.id);
|
|
198
|
+
if (!this.serverCachedSessions.length && this.requiredAuth && !this.app.vocabApi.hasVerifiedToken()) {
|
|
199
|
+
const tbody2 = table.append("tbody").append("tr").selectAll("td").data(["server", "requires sign-in"]).enter().append("td").style("text-align", (d, i) => i === 0 ? "center" : "left").style("padding", "3px 9px").html((d) => d);
|
|
200
|
+
}
|
|
201
|
+
return { table, headtr, tbody, trs };
|
|
202
|
+
}
|
|
203
|
+
async setServerCachedSessions() {
|
|
204
|
+
const state = this.app.getState();
|
|
205
|
+
this.requiredAuth = state.termdbConfig?.requiredAuth?.find((a) => a.route == this.route && a.type == "jwt");
|
|
206
|
+
if (!this.requiredAuth) {
|
|
207
|
+
this.serverCachedSessions = [];
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
const headers = this.app.vocabApi.mayGetAuthHeaders(this.route);
|
|
211
|
+
const body = { route: this.route, dslabel: this.dslabel, embedder: window.location.hostname };
|
|
212
|
+
const res = await dofetch3("/sessionIds", { headers, body });
|
|
213
|
+
this.serverCachedSessions = res.sessionIds || [];
|
|
214
|
+
}
|
|
215
|
+
async save(d) {
|
|
216
|
+
const div = this.dom.tip.d;
|
|
217
|
+
const inputDiv = div.append("div");
|
|
218
|
+
inputDiv.append("span").html("Save as");
|
|
219
|
+
const sessionNames = Object.keys(this.savedSessions);
|
|
220
|
+
if (!this.serverCachedSessions) await this.setServerCachedSessions();
|
|
221
|
+
sessionNames.push(...this.serverCachedSessions.filter((d2) => !sessionNames.includes(d2)));
|
|
222
|
+
const placeholder = this.sessionName || "unnamed-session";
|
|
223
|
+
const input = inputDiv.append("input").attr("type", "text").attr("placeholder", placeholder).style("width", "220px").on("input", () => {
|
|
224
|
+
searchResultDiv.selectAll("*").remove();
|
|
225
|
+
const value = input.property("value");
|
|
226
|
+
const exactMatch = sessionNames.filter((s) => s === value);
|
|
227
|
+
const startsWith = sessionNames.filter((s) => s.startsWith(value));
|
|
228
|
+
const includes = sessionNames.filter((s) => s.includes(value) && s !== value && !startsWith.includes(s));
|
|
229
|
+
searchResultDiv.selectAll("div").data([...exactMatch, ...startsWith, ...includes]).enter().append("div").attr("class", "sja_menuoption").attr("data-testid", `sjpp-save-session-option`).html((d2) => d2).on("click", (event2, d2) => {
|
|
230
|
+
input.property("value", d2);
|
|
231
|
+
searchResultDiv.selectAll("*").remove();
|
|
232
|
+
});
|
|
233
|
+
});
|
|
234
|
+
const searchResultDiv = div.append("div");
|
|
235
|
+
const submitDiv = div.append("div");
|
|
236
|
+
submitDiv.append("span").html("Save to ");
|
|
237
|
+
submitDiv.append("button").style("min-width", "80px").html("Browser").attr(
|
|
238
|
+
"title",
|
|
239
|
+
`Save the session in your current browser's cache. The session can be easily recovered, but not shared among your other devices`
|
|
240
|
+
).on("click", () => {
|
|
241
|
+
this.sessionName = input.property("value") || placeholder;
|
|
242
|
+
this.savedSessions[this.sessionName] = this.getSavableState();
|
|
243
|
+
localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
|
|
244
|
+
this.confirmAction(`Cached '<b>${this.sessionName}</b>' in browser`);
|
|
245
|
+
});
|
|
246
|
+
submitDiv.append("button").style("min-width", "80px").html("File").attr(
|
|
247
|
+
"title",
|
|
248
|
+
`Save the session into a local file. The session can be easily recoved using the 'Open from local file' option.`
|
|
249
|
+
).on("click", () => {
|
|
250
|
+
const name = input.property("value") || placeholder;
|
|
251
|
+
this.savedSessions[name] = this.getSavableState();
|
|
252
|
+
this.download(name);
|
|
253
|
+
this.confirmAction(`Downloaded '<b>${name}</b>'`);
|
|
254
|
+
});
|
|
255
|
+
if (this.requiredAuth) {
|
|
256
|
+
const requiresSignIn = this.app.vocabApi.hasVerifiedToken() ? "" : "Requires sign-in. ";
|
|
257
|
+
submitDiv.append("button").style("min-width", "80px").html("Server").attr(
|
|
258
|
+
"title",
|
|
259
|
+
`${requiresSignIn}Save the session into a remote server. The session can be easily shared across your different devices and recovered using the 'Open from server' option.`
|
|
260
|
+
).property("disabled", !this.app.vocabApi.hasVerifiedToken()).on("click", async () => {
|
|
261
|
+
if (!this.app.vocabApi.hasVerifiedToken()) {
|
|
262
|
+
alert("Requires sign-in");
|
|
263
|
+
return;
|
|
264
|
+
}
|
|
265
|
+
const name = input.property("value") || placeholder;
|
|
266
|
+
this.savedSessions[name] = this.getSavableState();
|
|
267
|
+
const res = await this.getSessionUrl(name);
|
|
268
|
+
if (res.id != name) throw `error saving ${name}`;
|
|
269
|
+
this.confirmAction(`Saved '<b>${name}</b>' on the server`);
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
/* the state to serialize into a saved session: a detached copy of the app state, since
|
|
274
|
+
getState() returns a deeply frozen one, minus everything that opening the session
|
|
275
|
+
rebuilds anyway */
|
|
276
|
+
getSavableState() {
|
|
277
|
+
const state = structuredClone(this.app.getState());
|
|
278
|
+
delete state.termdbConfig;
|
|
279
|
+
return trimGvTermsForSave(state);
|
|
280
|
+
}
|
|
281
|
+
download(name = "") {
|
|
282
|
+
const sessionName = name || this.sessionName;
|
|
283
|
+
const ext = sessionName?.endsWith(".txt") ? "" : ".txt";
|
|
284
|
+
const filename = `${sessionName}${ext}`;
|
|
285
|
+
to_textfile(filename, JSON.stringify(this.savedSessions[sessionName]));
|
|
286
|
+
}
|
|
287
|
+
async getSessionUrl(filename = "") {
|
|
288
|
+
const headers = await this.app.vocabApi.mayGetAuthHeaders("termdb");
|
|
289
|
+
const state = this.getSavableState();
|
|
290
|
+
const { protocol, host, search, origin, href } = window.location;
|
|
291
|
+
state.embedder = { protocol, host, search, origin, href };
|
|
292
|
+
if (filename) {
|
|
293
|
+
state.__sessionFor__ = {
|
|
294
|
+
route: this.route,
|
|
295
|
+
filename,
|
|
296
|
+
dslabel: this.dslabel,
|
|
297
|
+
embedder: window.location.hostname
|
|
298
|
+
};
|
|
299
|
+
}
|
|
300
|
+
const res = await dofetch3("/massSession", {
|
|
301
|
+
headers,
|
|
302
|
+
method: "POST",
|
|
303
|
+
body: JSON.stringify(state)
|
|
304
|
+
});
|
|
305
|
+
if (filename) {
|
|
306
|
+
return res;
|
|
307
|
+
} else {
|
|
308
|
+
const url = `${this.hostURL}/?mass-session-id=${res.id}&noheader=1`;
|
|
309
|
+
this.dom.tip.showunder(this.dom.button.node());
|
|
310
|
+
const linkDiv = this.dom.tip.d.append("div").style("margin", "10px");
|
|
311
|
+
linkDiv.append("div").style("display", "flex").style("margin-bottom", "12px").html(`Open or copy the session link.`);
|
|
312
|
+
const a = linkDiv.append("a").style("display", "none").attr("href", url).attr("target", "_blank").html(res.id);
|
|
313
|
+
linkDiv.append("button").style("cursor", "pointer").text("Open link").on("click", () => {
|
|
314
|
+
a.node().click();
|
|
315
|
+
});
|
|
316
|
+
linkDiv.append("button").style("cursor", "pointer").style("margin-left", "10px").text("Copy link").on("click", async (event2) => {
|
|
317
|
+
await navigator.clipboard.writeText(url);
|
|
318
|
+
this.dom.copytip.clear().showunder(event2.target);
|
|
319
|
+
this.dom.copytip.d.append("div").html("✓");
|
|
320
|
+
setTimeout(() => {
|
|
321
|
+
this.dom.copytip.hide();
|
|
322
|
+
}, 1e3);
|
|
323
|
+
});
|
|
324
|
+
if (this.hostURL != window.location.origin) {
|
|
325
|
+
a.on("click", (event2) => {
|
|
326
|
+
event2.preventDefault();
|
|
327
|
+
parentCorsMessage({ state }, "noredirect");
|
|
328
|
+
return false;
|
|
329
|
+
});
|
|
330
|
+
}
|
|
331
|
+
linkDiv.append("div").html(`
|
|
332
|
+
<br>
|
|
333
|
+
<div style="max-width: 400px; font-size: 1em; opacity:.6">
|
|
334
|
+
<span>NOTES</span>
|
|
335
|
+
<ul>
|
|
336
|
+
<li>A recovered session may hide data or views to users that are not authorized to access the saved datasets or features.</li>
|
|
337
|
+
<li>This session will be saved for ${this.opts.massSessionDuration} days.</li>
|
|
338
|
+
</ul>
|
|
339
|
+
</div>`);
|
|
340
|
+
setTimeout(() => {
|
|
341
|
+
this.dom.button.property("disabled", false);
|
|
342
|
+
}, 1e3);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
async delete() {
|
|
346
|
+
const t = await this.listSessions({
|
|
347
|
+
trClickHandler: function(event2) {
|
|
348
|
+
const input = this.lastChild.querySelector("input");
|
|
349
|
+
const checked = event2.target == input ? input.checked : !input.checked;
|
|
350
|
+
select_default(this).style("text-decoration", checked ? "line-through" : "");
|
|
351
|
+
if (event2.target != input) input.checked = checked;
|
|
352
|
+
const checkedRows = t.table.node().querySelectorAll("input:checked");
|
|
353
|
+
submitBtn.property("disabled", checkedRows.length ? false : true);
|
|
354
|
+
}
|
|
355
|
+
});
|
|
356
|
+
t.headtr.append("th").html("Delete");
|
|
357
|
+
t.trs.each(function(d) {
|
|
358
|
+
select_default(this).append("td").style("text-align", "center").append("input").attr("type", "checkbox").attr("value", d.id);
|
|
359
|
+
});
|
|
360
|
+
const submitBtn = this.dom.tip.d.append("div").style("text-align", "center").append("button").html("Delete selected sessions").property("disabled", true).on("click", async () => {
|
|
361
|
+
const inputs = t.table.node().querySelectorAll("input");
|
|
362
|
+
const sessionIdsDeletedFromServer = [];
|
|
363
|
+
for (const input of inputs) {
|
|
364
|
+
if (select_default(input).property("checked")) {
|
|
365
|
+
const d = input.parentNode.parentNode.__data__;
|
|
366
|
+
if (d.loc == "browser") {
|
|
367
|
+
delete this.savedSessions[input.value];
|
|
368
|
+
} else if (d.loc == "server") {
|
|
369
|
+
delete this.serverCachedSessions[input.value];
|
|
370
|
+
sessionIdsDeletedFromServer.push(input.value);
|
|
371
|
+
} else throw `unknown cache location=${d.loc}`;
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
|
|
375
|
+
try {
|
|
376
|
+
const headers = await this.app.vocabApi.mayGetAuthHeaders("termdb");
|
|
377
|
+
const body = {
|
|
378
|
+
ids: sessionIdsDeletedFromServer,
|
|
379
|
+
route: this.route,
|
|
380
|
+
dslabel: this.dslabel,
|
|
381
|
+
embedder: window.location.hostname
|
|
382
|
+
};
|
|
383
|
+
const res = dofetch3(`/massSession?`, { method: "DELETE", headers, body });
|
|
384
|
+
} catch (e) {
|
|
385
|
+
throw e;
|
|
386
|
+
}
|
|
387
|
+
this.dom.tip.hide();
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
showBackBtn() {
|
|
391
|
+
this.dom.tip.d.append("div").attr("class", "sja_clbtext2").style("margin-bottom", "10px").style("cursor", "pointer").html(`< Session Menu`).on("click", () => this.showMenu());
|
|
392
|
+
}
|
|
393
|
+
confirmAction(html) {
|
|
394
|
+
this.dom.tip.clear().d.append("div").html(html).transition().delay(3e3).duration(1e3).style("opacity", 0);
|
|
395
|
+
setTimeout(() => {
|
|
396
|
+
this.dom.tip.hide();
|
|
397
|
+
}, 3500);
|
|
398
|
+
}
|
|
399
|
+
};
|
|
400
|
+
async function preprocessState(state, app) {
|
|
401
|
+
delete state.termdbConfig;
|
|
402
|
+
if (state.plots) {
|
|
403
|
+
const promises = [];
|
|
404
|
+
for (const plot of state.plots) {
|
|
405
|
+
promises.push(
|
|
406
|
+
(async () => {
|
|
407
|
+
const _ = await importPlot(plot.chartType);
|
|
408
|
+
return await _.getPlotConfig(plot, app);
|
|
409
|
+
})()
|
|
410
|
+
);
|
|
411
|
+
}
|
|
412
|
+
try {
|
|
413
|
+
await Promise.all(promises);
|
|
414
|
+
} catch (e) {
|
|
415
|
+
console.log(e);
|
|
416
|
+
app.printError(e);
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
var sessionBtnInit = getCompInit(MassSessionBtn);
|
|
421
|
+
|
|
422
|
+
// mass/about.ts
|
|
423
|
+
var cohortTableActiveColor = "yellow";
|
|
424
|
+
var MassAbout = class _MassAbout {
|
|
425
|
+
constructor(opts) {
|
|
426
|
+
this.initCohort = (appState) => {
|
|
427
|
+
if (this.selectCohort == null) return;
|
|
428
|
+
if (!this.selectCohort.values) return;
|
|
429
|
+
const instanceNum2 = this.instanceNum;
|
|
430
|
+
const activeCohort = appState.activeCohort;
|
|
431
|
+
const app = this.app;
|
|
432
|
+
this.dom.cohortOpts.append("table").attr("data-testid", "sjpp-about-cohort-options-table").selectAll("tr").data(this.selectCohort.values).enter().append("tr").each(function(d, i, nodes) {
|
|
433
|
+
const tr = select_default(nodes[i]);
|
|
434
|
+
const td0 = tr.append("td");
|
|
435
|
+
const radioName = "sja-termdb-cohort-" + instanceNum2;
|
|
436
|
+
const radioId = radioName + "-" + i;
|
|
437
|
+
td0.append("input").style("scale", "1.2").attr("type", "radio").attr("name", radioName).attr("id", radioId).attr("value", i).property("checked", i === activeCohort).style("margin-right", "5px").style("margin-left", "0px").on("click", async (event2) => {
|
|
438
|
+
const state = app.getState();
|
|
439
|
+
const clearOnChange = state.termdbConfig.selectCohort.clearOnChange;
|
|
440
|
+
if (clearOnChange) {
|
|
441
|
+
const subactions = [];
|
|
442
|
+
const toBeCleared = [];
|
|
443
|
+
const plots = state.plots;
|
|
444
|
+
const filter = state.termfilter.filter.lst.find((f) => f.tag == "filterUiRoot")?.lst;
|
|
445
|
+
const groups = state.groups;
|
|
446
|
+
if (clearOnChange.plots && plots?.length) toBeCleared.push("plots");
|
|
447
|
+
for (const plot of plots) {
|
|
448
|
+
subactions.push({
|
|
449
|
+
type: "plot_delete",
|
|
450
|
+
id: plot.id
|
|
451
|
+
});
|
|
452
|
+
}
|
|
453
|
+
if (clearOnChange.filter && filter?.length) toBeCleared.push("filters");
|
|
454
|
+
subactions.push({
|
|
455
|
+
type: "filter_replace",
|
|
456
|
+
filter: {
|
|
457
|
+
type: "tvslst",
|
|
458
|
+
in: true,
|
|
459
|
+
join: "",
|
|
460
|
+
tag: "filterUiRoot",
|
|
461
|
+
lst: []
|
|
462
|
+
}
|
|
463
|
+
});
|
|
464
|
+
if (clearOnChange.groups && groups?.length) {
|
|
465
|
+
toBeCleared.push("groups");
|
|
466
|
+
for (const group of groups) {
|
|
467
|
+
subactions.push({
|
|
468
|
+
type: "delete_group",
|
|
469
|
+
name: group.name
|
|
470
|
+
});
|
|
471
|
+
}
|
|
472
|
+
for (const term of state.customTerms) {
|
|
473
|
+
subactions.push({
|
|
474
|
+
type: "delete_customTerm",
|
|
475
|
+
name: term.name
|
|
476
|
+
});
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
subactions.push({ type: "cohort_set", activeCohort: i });
|
|
480
|
+
if (toBeCleared.length) {
|
|
481
|
+
const confirm = window.confirm(
|
|
482
|
+
`Changing the cohort will clear all ${joinByComma(
|
|
483
|
+
toBeCleared
|
|
484
|
+
)}. To proceed, click "OK". To save the session, click "Cancel" and then click the "Session" button at the top of the page.`
|
|
485
|
+
);
|
|
486
|
+
if (!confirm) {
|
|
487
|
+
event2.preventDefault();
|
|
488
|
+
return;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
app.dispatch({
|
|
492
|
+
type: "app_refresh",
|
|
493
|
+
subactions
|
|
494
|
+
});
|
|
495
|
+
} else app.dispatch({ type: "cohort_set", activeCohort: i });
|
|
496
|
+
});
|
|
497
|
+
td0.append("label").style("font-size", "1.4em").attr("for", radioId).attr("colspan", 2).style("cursor", "pointer").html((d2) => d2.label);
|
|
498
|
+
tr.selectAll("td").style("max-width", "600px").style("padding-bottom", "10px").style("padding-right", "20px").style("vertical-align", "top");
|
|
499
|
+
});
|
|
500
|
+
this.dom.cohortTable = this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-table").style("margin-left", "12px");
|
|
501
|
+
if (this.selectCohort.asterisk) {
|
|
502
|
+
this.dom.cohortAsterisk = this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-asterisk").style("margin", "10px").style("font-size", ".8em").text(this.selectCohort.asterisk);
|
|
503
|
+
}
|
|
504
|
+
};
|
|
505
|
+
this.renderCohortsTable = async () => {
|
|
506
|
+
if (!this.dom.cohortTable) return;
|
|
507
|
+
this.dom.cohortTable.selectAll("*").remove();
|
|
508
|
+
const columns = [{ label: "Feature" }];
|
|
509
|
+
const rows = [];
|
|
510
|
+
const result = await this.app.vocabApi.getCohortsData();
|
|
511
|
+
if ("error" in result) throw result.error;
|
|
512
|
+
if (this.selectCohort?.values) {
|
|
513
|
+
const values = this.selectCohort.values;
|
|
514
|
+
result.cohorts.sort((a, b) => {
|
|
515
|
+
const aIndex = values.findIndex((v) => v.keys.toString() == a.cohort);
|
|
516
|
+
const bIndex = values.findIndex((v) => v.keys.toString() == b.cohort);
|
|
517
|
+
if (aIndex < bIndex) return -1;
|
|
518
|
+
if (aIndex > bIndex) return 1;
|
|
519
|
+
return 0;
|
|
520
|
+
});
|
|
521
|
+
}
|
|
522
|
+
if (!result.cfeatures.length) return;
|
|
523
|
+
for (const feature of result.features) rows.push([{ value: feature.name }]);
|
|
524
|
+
for (const cohort of result.cohorts) {
|
|
525
|
+
if (cohort.subcohorts?.length) continue;
|
|
526
|
+
columns.push({ label: cohort.name });
|
|
527
|
+
for (const [i, feature] of result.features.entries()) {
|
|
528
|
+
const cf = result.cfeatures.find((cf2) => cf2.idfeature === feature.idfeature && cf2.cohort === cohort.cohort);
|
|
529
|
+
if (cf) rows[i].push({ value: cf.value });
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
renderTable({
|
|
533
|
+
rows,
|
|
534
|
+
columns,
|
|
535
|
+
div: this.dom.cohortTable,
|
|
536
|
+
showLines: false,
|
|
537
|
+
maxHeight: "60vh",
|
|
538
|
+
header: { style: { "font-size": "1.2em", "font-weight": "bold" } }
|
|
539
|
+
});
|
|
540
|
+
this.dom.cohortTable.select("table").style("border-collapse", "collapse");
|
|
541
|
+
this.dom.cohortTable.selectAll(`tbody > tr > td`).style("background-color", "transparent").style("padding", "6px");
|
|
542
|
+
const state = this.app.getState();
|
|
543
|
+
const selectCohort = state.termdbConfig.selectCohort;
|
|
544
|
+
const activeCohort = state.activeCohort;
|
|
545
|
+
const keys = selectCohort.values[activeCohort].keys;
|
|
546
|
+
let selector = `tbody > tr > td:nth-child(${activeCohort + 2})`;
|
|
547
|
+
const combined = keys.length > 1;
|
|
548
|
+
if (combined) {
|
|
549
|
+
selector = "";
|
|
550
|
+
for (const key of keys) {
|
|
551
|
+
const i = result.cohorts.map((c) => c.cohort).indexOf(key);
|
|
552
|
+
if (selector !== "") selector += ",";
|
|
553
|
+
selector += `tbody > tr > td:nth-child(${i + 2})`;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
556
|
+
const activeColumns = this.dom.cohortTable.selectAll(selector);
|
|
557
|
+
const color = state.termdbConfig.massNav?.activeColor || cohortTableActiveColor;
|
|
558
|
+
activeColumns.style("background-color", color);
|
|
559
|
+
};
|
|
560
|
+
this.initCustomHtml = () => {
|
|
561
|
+
if (this.selectCohort != null) return;
|
|
562
|
+
if (!this.aboutOverrides?.html) return;
|
|
563
|
+
this.subheader.append("div").attr("data-testid", "sjpp-custom-about-content").style("padding", "10px").html(this.aboutOverrides.html);
|
|
564
|
+
};
|
|
565
|
+
// render the world map (from termdbConfig.geomap) directly on the landing tab when the dataset opts in.
|
|
566
|
+
// the renderer (and its ~170KB world.json basemap) is dynamically imported so it never loads for
|
|
567
|
+
// datasets that don't enable the map.
|
|
568
|
+
this.initGeomap = async (appState) => {
|
|
569
|
+
if (!this.aboutOverrides?.showGeomap) return;
|
|
570
|
+
const geomap = appState.termdbConfig?.geomap;
|
|
571
|
+
if (!geomap?.sites?.length) return;
|
|
572
|
+
const holder = this.subheader.append("div").attr("data-testid", "sjpp-about-geomap").style("padding", "10px");
|
|
573
|
+
const { renderGeomap } = await import("./render-YA4Z56LT.js");
|
|
574
|
+
renderGeomap(holder, geomap);
|
|
575
|
+
};
|
|
576
|
+
this.initActiveItems = () => {
|
|
577
|
+
if (!this.aboutOverrides?.activeItems) return;
|
|
578
|
+
if (this.aboutOverrides.activeItems.layout == "cards") {
|
|
579
|
+
this.initActiveItemCards();
|
|
580
|
+
return;
|
|
581
|
+
}
|
|
582
|
+
const div = this.subheader.append("div").attr("data-testid", "sjpp-custom-about-activeItems").style("padding", "0px 0px 10px 20px");
|
|
583
|
+
for (const item of this.aboutOverrides.activeItems.items) {
|
|
584
|
+
const btn = div.append("div").style("display", "inline-block").style("margin", "5px").attr("class", "sja_menuoption").attr("data-testid", "sjpp-custom-active-item-btn").html(item.title);
|
|
585
|
+
this.makeActivatable(btn, () => this.launchActiveItem(item, btn.node()));
|
|
586
|
+
}
|
|
587
|
+
};
|
|
588
|
+
// render activeItems as large square tiles (homepage style) that lift on hover
|
|
589
|
+
this.initActiveItemCards = () => {
|
|
590
|
+
const items = this.aboutOverrides.activeItems.items;
|
|
591
|
+
const holder = this.subheader.append("div").attr("data-testid", "sjpp-custom-about-activeItems").style("display", "flex").style("flex-wrap", "wrap").style("justify-content", "center").style("gap", "24px").style("padding", "20px 20px 30px 20px");
|
|
592
|
+
for (const item of items) {
|
|
593
|
+
const card = holder.append("div").attr("class", "sjpp-about-card").attr("data-testid", "sjpp-custom-active-item-card");
|
|
594
|
+
if (item.icon) card.append("div").attr("class", "sjpp-about-card-icon").html(item.icon);
|
|
595
|
+
card.append("div").attr("class", "sjpp-about-card-title").html(item.title);
|
|
596
|
+
card.append("div").attr("class", "sjpp-about-card-subtitle").text(item.subtitle || "");
|
|
597
|
+
this.makeActivatable(card, () => this.launchActiveItem(item, card.node()));
|
|
598
|
+
}
|
|
599
|
+
};
|
|
600
|
+
// make a non-native clickable element (a styled <div>) operable like a button:
|
|
601
|
+
this.makeActivatable = (sel, onActivate) => {
|
|
602
|
+
sel.attr("role", "button").attr("tabindex", 0).on("click", () => onActivate()).on("keydown", (event2) => {
|
|
603
|
+
if (event2.key == "Enter" || event2.key == " ") {
|
|
604
|
+
event2.preventDefault();
|
|
605
|
+
onActivate();
|
|
606
|
+
}
|
|
607
|
+
});
|
|
608
|
+
};
|
|
609
|
+
// launch behavior shared by button and card layouts
|
|
610
|
+
this.launchActiveItem = async (item, anchorEl) => {
|
|
611
|
+
if (item.openChartMenu) {
|
|
612
|
+
await this.openChartMenu(item.openChartMenu, anchorEl);
|
|
613
|
+
return;
|
|
614
|
+
}
|
|
615
|
+
if (!item.plot) {
|
|
616
|
+
console.error("about activeItem has neither .plot nor .openChartMenu", item);
|
|
617
|
+
return;
|
|
618
|
+
}
|
|
619
|
+
await this.app.dispatch({
|
|
620
|
+
type: "tab_set",
|
|
621
|
+
activeTab: 1
|
|
622
|
+
});
|
|
623
|
+
this.app.dispatch({
|
|
624
|
+
type: "plot_create",
|
|
625
|
+
id: getId(),
|
|
626
|
+
config: structuredClone(item.plot)
|
|
627
|
+
});
|
|
628
|
+
};
|
|
629
|
+
// open a chart-specific launch menu (e.g. gene search for proteinView) anchored to the tile.
|
|
630
|
+
// the chart module is dynamically imported so its code only loads when the tile is clicked.
|
|
631
|
+
this.openChartMenu = async (chartType, anchorEl) => {
|
|
632
|
+
const menu = this.chartMenu || (this.chartMenu = new Menu({ padding: "0px" }));
|
|
633
|
+
menu.clear();
|
|
634
|
+
const shimApp = {
|
|
635
|
+
opts: this.app.opts,
|
|
636
|
+
dispatch: async (action) => {
|
|
637
|
+
if (action.type == "plot_create") await this.app.dispatch({ type: "tab_set", activeTab: 1 });
|
|
638
|
+
return this.app.dispatch(action);
|
|
639
|
+
}
|
|
640
|
+
};
|
|
641
|
+
const chartsInstanceShim = { app: shimApp, dom: { tip: menu } };
|
|
642
|
+
const _ = await importPlot(chartType);
|
|
643
|
+
if (typeof _.makeChartBtnMenu != "function")
|
|
644
|
+
throw `about activeItem openChartMenu: chart '${chartType}' has no makeChartBtnMenu`;
|
|
645
|
+
_.makeChartBtnMenu(menu.d.append("div"), chartsInstanceShim, chartType);
|
|
646
|
+
menu.showunder(anchorEl);
|
|
647
|
+
};
|
|
648
|
+
this.initDisclaimer = () => {
|
|
649
|
+
const d = this.aboutOverrides?.disclaimer;
|
|
650
|
+
if (!d) return;
|
|
651
|
+
const div = this.subheader.append("div").attr("data-testid", "sjpp-custom-about-disclaimer").style("margin", "10px 0 20px 10px").style("opacity", 0.7).style("padding", "10px").style("background-color", "#f8f9fa").style("border-left", "4px solid #6c757d").style("font-size", "0.8em");
|
|
652
|
+
div.append("div").style("margin-bottom", "8px").style("font-weight", "bold").text("DISCLAIMER");
|
|
653
|
+
div.append("div").text(d.text);
|
|
654
|
+
};
|
|
655
|
+
this.showServerInfo = () => {
|
|
656
|
+
const state = this.app.getState();
|
|
657
|
+
const about = state.termdbConfig.massNav?.tabs?.about;
|
|
658
|
+
if (!about && !this.app.opts.pkgver && !this.app.opts.launchDate) return;
|
|
659
|
+
const dataRelease = about?.dataRelease;
|
|
660
|
+
const additionalInfo = about?.additionalInfo;
|
|
661
|
+
const div = this.subheader.append("div").attr("data-testid", "sjpp-about-server-info").style("margin", "10px").style("font-size", ".8em");
|
|
662
|
+
const htmlArr = [];
|
|
663
|
+
if (dataRelease) {
|
|
664
|
+
htmlArr.push(`Data Release: <a href=${dataRelease.link} target=_blank>${dataRelease.version}</a>`);
|
|
665
|
+
}
|
|
666
|
+
if (this.app.opts.pkgver) {
|
|
667
|
+
htmlArr.push(
|
|
668
|
+
`Software Release: <a href=https://github.com/stjude/proteinpaint/pkgs/container/ppfull target=_blank>${this.app.opts.pkgver}</a>`
|
|
669
|
+
);
|
|
670
|
+
}
|
|
671
|
+
if (this.app.opts.launchDate) {
|
|
672
|
+
htmlArr.push(`Server Launched: ${this.app.opts.launchDate}`);
|
|
673
|
+
}
|
|
674
|
+
if (additionalInfo) {
|
|
675
|
+
htmlArr.push(additionalInfo);
|
|
676
|
+
}
|
|
677
|
+
div.append("div").html(htmlArr.join("; "));
|
|
678
|
+
};
|
|
679
|
+
this.opts = opts;
|
|
680
|
+
this.type = _MassAbout.type;
|
|
681
|
+
this.app = opts.app;
|
|
682
|
+
this.subheader = opts.subheader;
|
|
683
|
+
this.instanceNum = opts.instanceNum;
|
|
684
|
+
this.aboutOverrides = opts.aboutOverrides;
|
|
685
|
+
this.selectCohort = opts.selectCohort;
|
|
686
|
+
this.dom = {
|
|
687
|
+
cohortDescription: this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-desc").style("margin-left", "10px")
|
|
688
|
+
};
|
|
689
|
+
if (opts?.selectCohort?.title) {
|
|
690
|
+
this.dom.cohortTitle = opts.subheader.append("h2").attr("data-testid", "sjpp-about-cohort-title").style("margin-left", "10px").text(opts.selectCohort.title);
|
|
691
|
+
}
|
|
692
|
+
if (opts.selectCohort?.prompt) {
|
|
693
|
+
this.dom.cohortPrompt = this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-prompt").style("margin-left", "10px").style("padding-top", "30px").style("padding-bottom", "10px").style("font-weight", "bold").style("font-size", "1.2em").text(opts.selectCohort.prompt);
|
|
694
|
+
}
|
|
695
|
+
if (opts.selectCohort) {
|
|
696
|
+
this.dom.cohortOpts = this.subheader.append("div").style("margin-bottom", "30px").style("margin-left", "10px");
|
|
697
|
+
}
|
|
698
|
+
}
|
|
699
|
+
static {
|
|
700
|
+
this.type = "about";
|
|
701
|
+
}
|
|
702
|
+
/* render all contents into this.subheader
|
|
703
|
+
do it through init() means that contents are rendered just once on launching mass ui and won't be rerendered or updated
|
|
704
|
+
since there's no reason to update about tab contents while user is interacting with mass ui
|
|
705
|
+
*/
|
|
706
|
+
init(appState) {
|
|
707
|
+
this.initCohort(appState);
|
|
708
|
+
this.initCustomHtml();
|
|
709
|
+
this.initGeomap(appState);
|
|
710
|
+
this.initActiveItems();
|
|
711
|
+
this.initDisclaimer();
|
|
712
|
+
this.showServerInfo();
|
|
713
|
+
}
|
|
714
|
+
async main() {
|
|
715
|
+
if (this.state.nav.activeTab !== 0) return;
|
|
716
|
+
await this.renderCohortsTable();
|
|
717
|
+
if (this.opts.selectCohort) {
|
|
718
|
+
if (this.opts.selectCohort.description) {
|
|
719
|
+
this.dom.cohortDescription.html(this.opts.selectCohort.description);
|
|
720
|
+
} else if (this.opts.selectCohort.descriptionByCohort) {
|
|
721
|
+
this.dom.cohortDescription.html(
|
|
722
|
+
this.opts.selectCohort.descriptionByCohort[this.state.termdbConfig.selectCohort.values[this.state.activeCohort].keys.join(",")]
|
|
723
|
+
);
|
|
724
|
+
}
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
var aboutInit = getCompInit(MassAbout);
|
|
729
|
+
function joinByComma(arr) {
|
|
730
|
+
if (!arr.length) return "";
|
|
731
|
+
else if (arr.length == 1) return arr[0];
|
|
732
|
+
else if (arr.length == 2) return arr.join(" and ");
|
|
733
|
+
else return `${arr.slice(0, -1).join(", ")}, and ${arr.slice(-1)}`;
|
|
734
|
+
}
|
|
735
|
+
|
|
736
|
+
// mass/search.ts
|
|
737
|
+
var MIN_PROMPT_LENGTH_FOR_GENE_SEARCH = 1;
|
|
738
|
+
var MIN_PROMPT_LENGTH_FOR_OTHER_SEARCH = 3;
|
|
739
|
+
var MAX_PROMPT_LENGTH_FOR_OMNISEARCH = 20;
|
|
740
|
+
function makeMethylationRegionTerm(opts, vocabApi) {
|
|
741
|
+
const { chr, start, stop } = opts;
|
|
742
|
+
if (!chr || !Number.isInteger(start) || !Number.isInteger(stop)) throw new Error("invalid coordinate");
|
|
743
|
+
return {
|
|
744
|
+
chr,
|
|
745
|
+
start,
|
|
746
|
+
stop,
|
|
747
|
+
type: DNA_METHYLATION,
|
|
748
|
+
unit: getDNAMethUnit("region", vocabApi),
|
|
749
|
+
genomicFeatureType: "region"
|
|
750
|
+
};
|
|
751
|
+
}
|
|
752
|
+
async function embedMethylationRegionPicker(opts) {
|
|
753
|
+
const { holder, genomeObj, vocabApi, chr, start, stop, callback } = opts;
|
|
754
|
+
if (!chr || !Number.isInteger(start) || !Number.isInteger(stop)) throw new Error("unable to retrieve gene coordinate");
|
|
755
|
+
holder.selectAll("*").remove();
|
|
756
|
+
holder.style("display", "block");
|
|
757
|
+
holder.append("div").style("opacity", 0.6).text("Navigate genome browser to desired region");
|
|
758
|
+
const arg = {
|
|
759
|
+
holder,
|
|
760
|
+
genome: genomeObj,
|
|
761
|
+
// genome obj
|
|
762
|
+
chr,
|
|
763
|
+
start,
|
|
764
|
+
stop,
|
|
765
|
+
tklst: [],
|
|
766
|
+
nobox: true,
|
|
767
|
+
width: 500,
|
|
768
|
+
hidegenelegend: true,
|
|
769
|
+
debugmode: opts.debug
|
|
770
|
+
};
|
|
771
|
+
first_genetrack_tolist(genomeObj, arg.tklst);
|
|
772
|
+
const _ = await import("./block-TVEVAXNP.js");
|
|
773
|
+
const blockInstance = new _.Block(arg);
|
|
774
|
+
holder.append("div").attr("data-testid", "sjpp-dnaMethylation-submitDiv").style("margin", "10px 0px").append("button").style("border", "none").style("border-radius", "20px").style("padding", "10px 15px").text("Submit Region").on("click", async () => {
|
|
775
|
+
const { chr: chr2, start: start2, stop: stop2 } = blockInstance.rglst[0];
|
|
776
|
+
await callback(makeMethylationRegionTerm({ chr: chr2, start: start2, stop: stop2 }, vocabApi));
|
|
777
|
+
});
|
|
778
|
+
return blockInstance;
|
|
779
|
+
}
|
|
780
|
+
function parseCoordCandidates(prompt2) {
|
|
781
|
+
const m = /^\s*(\w+)\s*:\s*([\d,]+)\s*-\s*([\d,]+)\s*$/.exec(prompt2);
|
|
782
|
+
if (!m) return null;
|
|
783
|
+
const [, chrToken, start, stop] = m;
|
|
784
|
+
const chrCandidates = /^chr/i.test(chrToken) ? [chrToken, chrToken.replace(/^chr/i, "")] : [chrToken, "chr" + chrToken];
|
|
785
|
+
return chrCandidates.map((chr) => `${chr}:${start}-${stop}`);
|
|
786
|
+
}
|
|
787
|
+
async function handleOmnisearchKeyup(self, event2) {
|
|
788
|
+
if (keyupEnter(event2)) return;
|
|
789
|
+
const prompt2 = event2.target.value.trim();
|
|
790
|
+
if (!prompt2) {
|
|
791
|
+
self.dom.noMatchShown = false;
|
|
792
|
+
self.clear({ hide: true });
|
|
793
|
+
return;
|
|
794
|
+
}
|
|
795
|
+
const coordCandidates = parseCoordCandidates(prompt2);
|
|
796
|
+
if (coordCandidates || MIN_PROMPT_LENGTH_FOR_GENE_SEARCH <= prompt2.length && prompt2.length <= MAX_PROMPT_LENGTH_FOR_OMNISEARCH) {
|
|
797
|
+
try {
|
|
798
|
+
await doSearch(self, prompt2, coordCandidates);
|
|
799
|
+
} catch (e) {
|
|
800
|
+
if (e.stack) console.log(e.stack);
|
|
801
|
+
sayerror(self.dom.resultDiv, "Error: " + (e.message || e));
|
|
802
|
+
}
|
|
803
|
+
} else {
|
|
804
|
+
self.dom.noMatchShown = false;
|
|
805
|
+
self.clear({ hide: true });
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
async function fetchOmnisearch(opts) {
|
|
809
|
+
const data = await dofetch3("termdb/chat", {
|
|
810
|
+
body: {
|
|
811
|
+
genome: opts.genome,
|
|
812
|
+
dslabel: opts.dslabel,
|
|
813
|
+
omnisearch: true,
|
|
814
|
+
prompt: opts.prompt,
|
|
815
|
+
cohortStr: opts.cohortStr,
|
|
816
|
+
usecase: opts.usecase,
|
|
817
|
+
treeFilter: opts.treeFilter,
|
|
818
|
+
coordCandidates: opts.coordCandidates || void 0,
|
|
819
|
+
// gene search runs from 1 char; dictionary + sample search only once the prompt reaches the
|
|
820
|
+
// longer cutoff, so the server skips them (and their all-samples scan) for short prompts
|
|
821
|
+
includeDictAndSampleSearch: opts.prompt.trim().length >= MIN_PROMPT_LENGTH_FOR_OTHER_SEARCH
|
|
822
|
+
}
|
|
823
|
+
});
|
|
824
|
+
if (data.error) throw data.error;
|
|
825
|
+
return data;
|
|
826
|
+
}
|
|
827
|
+
function renderOmnisearchResults(self, data) {
|
|
828
|
+
const coord = data.coord || null;
|
|
829
|
+
const dictItems = Array.isArray(data.dictionaryTerms) ? data.dictionaryTerms : [];
|
|
830
|
+
const genes = Array.isArray(data.genes) ? data.genes : [];
|
|
831
|
+
const dictNames = new Set(dictItems.map((t) => t.name?.toUpperCase()));
|
|
832
|
+
const geneMap = /* @__PURE__ */ new Map();
|
|
833
|
+
for (const g of genes) {
|
|
834
|
+
const gene = g?.gene;
|
|
835
|
+
if (!gene || dictNames.has(gene.toUpperCase())) continue;
|
|
836
|
+
const dt = g.dataTypes || {};
|
|
837
|
+
const geneVariantTypes = [];
|
|
838
|
+
if (dt.snvindel) geneVariantTypes.push({ label: "SNV/indel", testid: "snvindel", dtCandidates: [dtsnvindel] });
|
|
839
|
+
if (dt.cnv) geneVariantTypes.push({ label: "CNV", testid: "cnv", dtCandidates: [dtcnv] });
|
|
840
|
+
if (dt.svfusion)
|
|
841
|
+
geneVariantTypes.push({ label: "SV/fusion", testid: "svfusion", dtCandidates: [dtsv, dtfusionrna] });
|
|
842
|
+
const entry = { name: gene, gene, isGene: true };
|
|
843
|
+
if (dt.geneExpression) entry.isGeneExpression = true;
|
|
844
|
+
if (geneVariantTypes.length) {
|
|
845
|
+
entry.isGeneVariant = true;
|
|
846
|
+
entry.geneVariantTypes = geneVariantTypes;
|
|
847
|
+
}
|
|
848
|
+
if (dt.genomeBrowser) {
|
|
849
|
+
entry.isGenomeBrowser = true;
|
|
850
|
+
entry.coord = g.coord;
|
|
851
|
+
}
|
|
852
|
+
if (dt.dnaMethylation) {
|
|
853
|
+
entry.isMethylation = true;
|
|
854
|
+
entry.coord = g.coord;
|
|
855
|
+
}
|
|
856
|
+
if (entry.isGeneExpression || entry.isGeneVariant || entry.isGenomeBrowser || entry.isMethylation) {
|
|
857
|
+
geneMap.set(gene.toUpperCase(), entry);
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
const geneItems = [...geneMap.values()];
|
|
861
|
+
const sampleItems = (Array.isArray(data.samples) ? data.samples : []).filter((s) => s?.name).map((s) => ({
|
|
862
|
+
isSample: true,
|
|
863
|
+
name: s.name,
|
|
864
|
+
sampleId: s.id,
|
|
865
|
+
singleCell: s.singleCell,
|
|
866
|
+
facetTracks: s.assays
|
|
867
|
+
}));
|
|
868
|
+
const coordItems = coord ? [{ isCoord: true, name: `${coord.chr}:${coord.start.toLocaleString()}-${coord.stop.toLocaleString()}`, coord }] : [];
|
|
869
|
+
const totals = data.totals || {};
|
|
870
|
+
const lst = [];
|
|
871
|
+
for (const group of [
|
|
872
|
+
{
|
|
873
|
+
key: "dictionary",
|
|
874
|
+
heading: "Dictionary",
|
|
875
|
+
noun: "dictionary variable",
|
|
876
|
+
items: dictItems,
|
|
877
|
+
returned: dictItems.length,
|
|
878
|
+
total: totals.dictionaryTerms
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
key: "genes",
|
|
882
|
+
heading: "Genes",
|
|
883
|
+
noun: "gene",
|
|
884
|
+
items: geneItems,
|
|
885
|
+
returned: Array.isArray(data.genes) ? data.genes.length : 0,
|
|
886
|
+
total: totals.genes
|
|
887
|
+
},
|
|
888
|
+
{
|
|
889
|
+
key: "samples",
|
|
890
|
+
heading: "Samples",
|
|
891
|
+
noun: "sample",
|
|
892
|
+
items: sampleItems,
|
|
893
|
+
returned: sampleItems.length,
|
|
894
|
+
total: totals.samples
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
key: "coord",
|
|
898
|
+
heading: "Genomic region",
|
|
899
|
+
noun: "",
|
|
900
|
+
items: coordItems,
|
|
901
|
+
returned: coordItems.length,
|
|
902
|
+
total: void 0
|
|
903
|
+
}
|
|
904
|
+
]) {
|
|
905
|
+
if (!group.items.length) continue;
|
|
906
|
+
lst.push({ isHeading: true, name: group.heading });
|
|
907
|
+
for (const item of group.items) lst.push(item);
|
|
908
|
+
if (typeof group.total == "number" && group.total > group.returned) {
|
|
909
|
+
lst.push({
|
|
910
|
+
isNote: true,
|
|
911
|
+
testid: `sjpp-mass-chat-note-${group.key}`,
|
|
912
|
+
name: `Displaying ${group.items.length} out of a total of ${group.total} ${group.noun} matches`
|
|
913
|
+
});
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
if (!lst.length) {
|
|
917
|
+
if (!self.dom.noMatchShown) {
|
|
918
|
+
self.dom.noMatchShown = true;
|
|
919
|
+
self.noResult();
|
|
920
|
+
}
|
|
921
|
+
} else {
|
|
922
|
+
self.dom.noMatchShown = false;
|
|
923
|
+
self.showTerms({ lst });
|
|
924
|
+
}
|
|
925
|
+
}
|
|
926
|
+
async function doSearch(self, prompt2, coordCandidates) {
|
|
927
|
+
if (!prompt2) {
|
|
928
|
+
self.clear({ hide: true });
|
|
929
|
+
return;
|
|
930
|
+
}
|
|
931
|
+
const seq = self.omnisearchSeq = (self.omnisearchSeq || 0) + 1;
|
|
932
|
+
const data = await fetchOmnisearch({
|
|
933
|
+
genome: self.app.vocabApi.vocab.genome,
|
|
934
|
+
dslabel: self.app.vocabApi.vocab.dslabel,
|
|
935
|
+
prompt: prompt2,
|
|
936
|
+
cohortStr: self.getState(self.app.getState()).cohortStr,
|
|
937
|
+
usecase: self.opts.usecase,
|
|
938
|
+
treeFilter: self.app.vocabApi.state?.treeFilter,
|
|
939
|
+
coordCandidates
|
|
940
|
+
});
|
|
941
|
+
if (seq !== self.omnisearchSeq) return;
|
|
942
|
+
renderOmnisearchResults(self, data);
|
|
943
|
+
}
|
|
944
|
+
function setSearchRenderers(self) {
|
|
945
|
+
let text = "No match";
|
|
946
|
+
if (self.isChat) {
|
|
947
|
+
text = "No match. Using the chatbot...";
|
|
948
|
+
}
|
|
949
|
+
self.noResult = () => {
|
|
950
|
+
self.clear();
|
|
951
|
+
self.dom.resultDiv.append("div").text(text).style("padding", "3px 3px 3px 0px").style("opacity", 0.5);
|
|
952
|
+
clearTimeout(self.noResultTimer);
|
|
953
|
+
self.noResultTimer = setTimeout(() => {
|
|
954
|
+
self.clear({ hide: true });
|
|
955
|
+
}, 1500);
|
|
956
|
+
};
|
|
957
|
+
self.showTerms = (data) => {
|
|
958
|
+
clearTimeout(self.noResultTimer);
|
|
959
|
+
if (self.opts.disable_terms)
|
|
960
|
+
data.lst.forEach((t) => {
|
|
961
|
+
if (t.disabled) self.opts.disable_terms.push(t);
|
|
962
|
+
});
|
|
963
|
+
self.clear({ hide: !data.lst.length });
|
|
964
|
+
if (data.lst.length) {
|
|
965
|
+
self.dom.resultDiv.append("table").selectAll().data(data.lst).enter().append("tr").each(self.showTerm);
|
|
966
|
+
}
|
|
967
|
+
};
|
|
968
|
+
self.launchPlot = async (config) => {
|
|
969
|
+
if (self.state?.nav?.activeTab == 0) {
|
|
970
|
+
await self.app.dispatch({ type: "tab_set", activeTab: 1 });
|
|
971
|
+
}
|
|
972
|
+
self.app.dispatch({ type: "plot_create", config });
|
|
973
|
+
self.dom.inputNode.value = "";
|
|
974
|
+
self.clear({ hide: true });
|
|
975
|
+
};
|
|
976
|
+
self.launchGeneVariantPlot = async (gene, dtCandidates) => {
|
|
977
|
+
let tw;
|
|
978
|
+
let lastErr;
|
|
979
|
+
for (const dt of dtCandidates) {
|
|
980
|
+
const candidate = {
|
|
981
|
+
term: {
|
|
982
|
+
id: gene,
|
|
983
|
+
name: gene,
|
|
984
|
+
genes: [{ kind: "gene", id: gene, gene, name: gene, type: "geneVariant" }],
|
|
985
|
+
type: "geneVariant"
|
|
986
|
+
},
|
|
987
|
+
q: { type: "predefined-groupset", dtLst: [dt] }
|
|
988
|
+
};
|
|
989
|
+
try {
|
|
990
|
+
await fillTermWrapper(candidate, self.app.vocabApi);
|
|
991
|
+
tw = candidate;
|
|
992
|
+
break;
|
|
993
|
+
} catch (e) {
|
|
994
|
+
lastErr = e;
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
if (!tw) throw lastErr;
|
|
998
|
+
await self.launchPlot({ chartType: "summary", term: tw });
|
|
999
|
+
};
|
|
1000
|
+
self.launchGenomeBrowserView = async (mode, opts) => {
|
|
1001
|
+
if (mode == "protein") {
|
|
1002
|
+
if (!opts.gene) throw new Error("gene symbol required for protein view");
|
|
1003
|
+
await self.launchPlot({
|
|
1004
|
+
chartType: "genomeBrowser",
|
|
1005
|
+
geneSearchResult: { geneSymbol: opts.gene },
|
|
1006
|
+
blockIsProteinMode: true
|
|
1007
|
+
});
|
|
1008
|
+
return;
|
|
1009
|
+
}
|
|
1010
|
+
if (!opts.coord) throw new Error("coordinate required for genomic view");
|
|
1011
|
+
await self.launchPlot({
|
|
1012
|
+
chartType: "genomeBrowser",
|
|
1013
|
+
geneSearchResult: { chr: opts.coord.chr, start: opts.coord.start, stop: opts.coord.stop },
|
|
1014
|
+
blockIsProteinMode: false
|
|
1015
|
+
});
|
|
1016
|
+
};
|
|
1017
|
+
self.launchGenomeBrowser = async (gene, coord) => {
|
|
1018
|
+
const gbRestrictMode = self.app.getState().termdbConfig?.queries?.gbRestrictMode;
|
|
1019
|
+
if (gbRestrictMode == "protein") {
|
|
1020
|
+
await self.launchGenomeBrowserView("protein", { gene });
|
|
1021
|
+
return;
|
|
1022
|
+
}
|
|
1023
|
+
if (gbRestrictMode == "genomic") {
|
|
1024
|
+
if (!coord) throw new Error(`Unable to resolve genomic coordinates for gene "${gene}".`);
|
|
1025
|
+
await self.launchGenomeBrowserView("genomic", { coord });
|
|
1026
|
+
return;
|
|
1027
|
+
}
|
|
1028
|
+
self.dom.tip.clear();
|
|
1029
|
+
self.dom.tip.showunder(self.dom.inputNode);
|
|
1030
|
+
const holder = self.dom.resultDiv.append("div").style("margin", "10px");
|
|
1031
|
+
holder.append("div").style("margin-bottom", "5px").text(gene);
|
|
1032
|
+
const btndiv = holder.append("div");
|
|
1033
|
+
const addViewBtn = (label, testid, mode) => {
|
|
1034
|
+
btndiv.append("button").attr("data-testid", testid).style("margin-right", "10px").text(label).on(
|
|
1035
|
+
"click",
|
|
1036
|
+
() => void self.launchGenomeBrowserView(mode, { gene, coord }).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
|
|
1037
|
+
);
|
|
1038
|
+
};
|
|
1039
|
+
addViewBtn(`Protein view of ${gene}`, `sjpp-mass-chat-gb-protein-${gene}`, "protein");
|
|
1040
|
+
if (coord) addViewBtn(`Genomic view of ${gene}`, `sjpp-mass-chat-gb-genomic-${gene}`, "genomic");
|
|
1041
|
+
};
|
|
1042
|
+
self.launchMethylationPlot = async (gene, coord) => {
|
|
1043
|
+
if (!coord) throw new Error(`Could not resolve coordinates for gene "${gene}"`);
|
|
1044
|
+
self.dom.tip.clear();
|
|
1045
|
+
self.dom.tip.showunder(self.dom.inputNode);
|
|
1046
|
+
const holder = self.dom.resultDiv.append("div").style("margin", "10px");
|
|
1047
|
+
holder.append("div").style("margin-bottom", "5px").text(gene);
|
|
1048
|
+
await embedMethylationRegionPicker({
|
|
1049
|
+
holder: holder.append("div"),
|
|
1050
|
+
genomeObj: self.app.opts.genome,
|
|
1051
|
+
vocabApi: self.app.vocabApi,
|
|
1052
|
+
chr: coord.chr,
|
|
1053
|
+
start: coord.start,
|
|
1054
|
+
stop: coord.stop,
|
|
1055
|
+
callback: async (term) => {
|
|
1056
|
+
await self.launchPlot({ chartType: "summary", term: { term } });
|
|
1057
|
+
}
|
|
1058
|
+
});
|
|
1059
|
+
};
|
|
1060
|
+
self.showTerm = function(item) {
|
|
1061
|
+
const tr = select_default(this);
|
|
1062
|
+
if (item.isHeading) {
|
|
1063
|
+
tr.append("td").attr("colspan", 2).attr("data-testid", `sjpp-mass-chat-heading-${item.name.toLowerCase().replace(/\s+/g, "-")}`).text(item.name).style("padding", "6px 10px 2px").style("font-weight", "bold").style("font-size", "0.85em").style("text-transform", "uppercase").style("opacity", 0.5);
|
|
1064
|
+
return;
|
|
1065
|
+
}
|
|
1066
|
+
if (item.isNote) {
|
|
1067
|
+
tr.append("td").attr("colspan", 2).attr("data-testid", item.testid || "sjpp-mass-chat-note").text(item.name).style("padding", "2px 10px 6px").style("font-size", "0.8em").style("font-style", "italic").style("opacity", 0.6);
|
|
1068
|
+
return;
|
|
1069
|
+
}
|
|
1070
|
+
if (item.isCoord) {
|
|
1071
|
+
tr.append("td").text(item.name).style("padding", "5px 10px");
|
|
1072
|
+
tr.append("td").append("span").attr("class", "sja_menuoption").attr("data-testid", "sjpp-mass-chat-coord-genomebrowser").style("display", "inline-block").style("margin", "0px 3px").style("padding", "5px 10px").style("border-radius", "5px").style("cursor", "pointer").text("Genome Browser").on(
|
|
1073
|
+
"click",
|
|
1074
|
+
() => void self.launchGenomeBrowserView("genomic", { coord: item.coord }).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
|
|
1075
|
+
);
|
|
1076
|
+
return;
|
|
1077
|
+
}
|
|
1078
|
+
if (item.isSample) {
|
|
1079
|
+
tr.append("td").text(item.name).style("padding", "5px 10px");
|
|
1080
|
+
tr.append("td").append("span").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-sample-view-${item.sampleId}`).style("display", "inline-block").style("margin", "0px 3px").style("padding", "5px 10px").style("border-radius", "5px").style("cursor", "pointer").text("Sample View").on(
|
|
1081
|
+
"click",
|
|
1082
|
+
() => void self.launchPlot({
|
|
1083
|
+
chartType: "sampleView",
|
|
1084
|
+
sample: { sampleId: item.sampleId, sampleName: item.name }
|
|
1085
|
+
}).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
|
|
1086
|
+
);
|
|
1087
|
+
if (item.singleCell) {
|
|
1088
|
+
tr.select("td:nth-child(2)").append("button").attr("type", "button").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-single-cell-${item.sampleId}`).style("display", "inline-block").style("margin", "0px 3px").style("padding", "5px 10px").style("border-radius", "5px").style("border", "0").style("cursor", "pointer").text("Single cell").on(
|
|
1089
|
+
"click",
|
|
1090
|
+
() => void self.launchPlot({
|
|
1091
|
+
chartType: "sc",
|
|
1092
|
+
settings: { sc: { item: item.singleCell } }
|
|
1093
|
+
}).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
|
|
1094
|
+
);
|
|
1095
|
+
}
|
|
1096
|
+
if (item.facetTracks?.length) {
|
|
1097
|
+
tr.select("td:nth-child(2)").append("button").attr("type", "button").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-assays-${item.sampleId}`).style("display", "inline-block").style("margin", "0px 3px").style("padding", "5px 10px").style("border-radius", "5px").style("cursor", "pointer").text("Facet Table").on(
|
|
1098
|
+
"click",
|
|
1099
|
+
() => void self.launchPlot({
|
|
1100
|
+
chartType: "genomeBrowser",
|
|
1101
|
+
hidePlotFilter: true,
|
|
1102
|
+
filter: getSampleFilter(item.sampleId)
|
|
1103
|
+
}).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
|
|
1104
|
+
);
|
|
1105
|
+
}
|
|
1106
|
+
return;
|
|
1107
|
+
}
|
|
1108
|
+
if (item.isGene) {
|
|
1109
|
+
tr.append("td").text(item.name).style("padding", "5px 10px");
|
|
1110
|
+
const btnTd = tr.append("td");
|
|
1111
|
+
const addBtn = (label, testid, onClick) => {
|
|
1112
|
+
btnTd.append("span").attr("class", "sja_menuoption").attr("data-testid", testid).style("display", "inline-block").style("margin", "0px 3px").style("padding", "5px 10px").style("border-radius", "5px").style("cursor", "pointer").text(label).on("click", () => void onClick().catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e))));
|
|
1113
|
+
};
|
|
1114
|
+
if (item.isGeneExpression) {
|
|
1115
|
+
addBtn("Gene expression", `sjpp-mass-chat-gene-exp-${item.gene}`, async () => {
|
|
1116
|
+
await self.launchPlot({
|
|
1117
|
+
chartType: "summary",
|
|
1118
|
+
term: { term: { gene: item.gene, name: item.name, type: "geneExpression" } }
|
|
1119
|
+
});
|
|
1120
|
+
});
|
|
1121
|
+
}
|
|
1122
|
+
if (item.isGeneVariant) {
|
|
1123
|
+
for (const vt of item.geneVariantTypes || []) {
|
|
1124
|
+
addBtn(vt.label, `sjpp-mass-chat-gene-${vt.testid}-${item.gene}`, async () => {
|
|
1125
|
+
await self.launchGeneVariantPlot(item.gene, vt.dtCandidates);
|
|
1126
|
+
});
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
if (item.isGenomeBrowser) {
|
|
1130
|
+
addBtn("Genome Browser", `sjpp-mass-chat-gene-genomebrowser-${item.gene}`, async () => {
|
|
1131
|
+
await self.launchGenomeBrowser(item.gene, item.coord);
|
|
1132
|
+
});
|
|
1133
|
+
}
|
|
1134
|
+
if (item.isMethylation) {
|
|
1135
|
+
addBtn("DNA methylation", `sjpp-mass-chat-gene-methylation-${item.gene}`, async () => {
|
|
1136
|
+
await self.launchMethylationPlot(item.gene, item.coord);
|
|
1137
|
+
});
|
|
1138
|
+
}
|
|
1139
|
+
return;
|
|
1140
|
+
}
|
|
1141
|
+
const button = tr.append("td").text(item.name);
|
|
1142
|
+
if (item.type) {
|
|
1143
|
+
button.style("cursor", "pointer").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-term-${item.id}`).on("click", async () => {
|
|
1144
|
+
await self.launchPlot({
|
|
1145
|
+
chartType: item.type == "survival" ? "survival" : "summary",
|
|
1146
|
+
term: { term: item }
|
|
1147
|
+
});
|
|
1148
|
+
});
|
|
1149
|
+
} else {
|
|
1150
|
+
button.style("padding", "5px 10px").style("opacity", 0.5);
|
|
1151
|
+
}
|
|
1152
|
+
tr.append("td").text((item.__ancestorNames || []).join(" > ")).style("opacity", 0.5).style("font-size", ".7em");
|
|
1153
|
+
};
|
|
1154
|
+
self.clear = (opts = {}) => {
|
|
1155
|
+
self.dom.tip.clear();
|
|
1156
|
+
if (opts.hide) self.dom.tip.hide();
|
|
1157
|
+
else self.dom.tip.showunder(self.dom.inputNode);
|
|
1158
|
+
};
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
// mass/chat.ts
|
|
1162
|
+
var MIN_PROMPT_LENGTH_FOR_CHAT = 5;
|
|
1163
|
+
var MassAiChatBot = class _MassAiChatBot {
|
|
1164
|
+
static {
|
|
1165
|
+
this.type = "chat";
|
|
1166
|
+
}
|
|
1167
|
+
constructor(opts) {
|
|
1168
|
+
this.type = _MassAiChatBot.type;
|
|
1169
|
+
this.opts = opts;
|
|
1170
|
+
this.app = opts.app;
|
|
1171
|
+
this.opts.usecase = this.opts.usecase || { target: "dictionary", detail: "term" };
|
|
1172
|
+
this.opts.targetType = this.opts.targetType ? this.opts.targetType : "Dictionary Variables";
|
|
1173
|
+
this.isChat = this.app.getState().termdbConfig?.queries?.chat;
|
|
1174
|
+
setSearchRenderers(this);
|
|
1175
|
+
}
|
|
1176
|
+
getState(appState) {
|
|
1177
|
+
return {
|
|
1178
|
+
cohortStr: appState.activeCohort == -1 || !appState.termdbConfig.selectCohort ? "" : appState.termdbConfig.selectCohort.values[appState.activeCohort].keys.slice().sort().join(","),
|
|
1179
|
+
search: appState.search,
|
|
1180
|
+
nav: appState.nav
|
|
1181
|
+
};
|
|
1182
|
+
}
|
|
1183
|
+
async init() {
|
|
1184
|
+
this.initDom();
|
|
1185
|
+
}
|
|
1186
|
+
initDom() {
|
|
1187
|
+
let text = "Search an item";
|
|
1188
|
+
let height = "1px";
|
|
1189
|
+
if (this.isChat) {
|
|
1190
|
+
text = "Ask a question";
|
|
1191
|
+
height = "200px";
|
|
1192
|
+
}
|
|
1193
|
+
this.dom = {
|
|
1194
|
+
tip: new Menu({ padding: "5px" }),
|
|
1195
|
+
div: this.opts.subheader,
|
|
1196
|
+
error: this.opts.subheader.append("div").attr("id", "sjpp-corrVolcano-error").style("opacity", 0.75),
|
|
1197
|
+
bubbleDiv: this.opts.subheader.append("div").attr("class", "sjpp_show_scrollbar").style("margin", "5px 20px 0px 20px").style("height", height).style("overflow", "auto").style("scroll-behavior", "smooth")
|
|
1198
|
+
};
|
|
1199
|
+
const inputSel = this.dom.div.append("input").attr("type", "search").attr("data-testid", "sjpp-mass-omnisearch-input").style("margin", "15px").style("padding", "17px").style("border-radius", "34px").attr("size", 70).attr("placeholder", text);
|
|
1200
|
+
this.dom.inputNode = inputSel.node();
|
|
1201
|
+
this.dom.resultDiv = this.dom.tip.d.style("border-left", "solid 1px rgb(133,182,225)").style("padding-left", "5px").attr("tabindex", -1);
|
|
1202
|
+
inputSel.on("keyup.search", (event2) => handleOmnisearchKeyup(this, event2)).on("keyup.submit", async (event2) => {
|
|
1203
|
+
if (!keyupEnter(event2)) return;
|
|
1204
|
+
if (!this.isChat) {
|
|
1205
|
+
return;
|
|
1206
|
+
}
|
|
1207
|
+
const prompt2 = event2.target.value.trim();
|
|
1208
|
+
if (!prompt2) return;
|
|
1209
|
+
this.addBubble({ msg: escapeHtml(prompt2), me: 1 });
|
|
1210
|
+
event2.target.value = "";
|
|
1211
|
+
const serverBubble = this.addBubble({ msg: "..." });
|
|
1212
|
+
if (prompt2.length <= MIN_PROMPT_LENGTH_FOR_CHAT) {
|
|
1213
|
+
serverBubble.text("Your prompt is too short. Enter a longer prompt.");
|
|
1214
|
+
return;
|
|
1215
|
+
}
|
|
1216
|
+
const body = {
|
|
1217
|
+
genome: this.app.vocabApi.vocab.genome,
|
|
1218
|
+
dslabel: this.app.vocabApi.vocab.dslabel,
|
|
1219
|
+
filter: this.app.vocabApi.state.termfilter?.filter,
|
|
1220
|
+
prompt: prompt2
|
|
1221
|
+
};
|
|
1222
|
+
try {
|
|
1223
|
+
const data = await dofetch3("termdb/chat", { body });
|
|
1224
|
+
if (data.error) throw data.error;
|
|
1225
|
+
const result = data;
|
|
1226
|
+
if (result.type === "text") {
|
|
1227
|
+
serverBubble.text(result.text);
|
|
1228
|
+
} else if (result.type === "html") {
|
|
1229
|
+
serverBubble.html(result.html);
|
|
1230
|
+
} else if (result.type === "plot") {
|
|
1231
|
+
const optionField = findPossibleOptionsField(result.plot);
|
|
1232
|
+
if (optionField) {
|
|
1233
|
+
this.showPossibleOptions(serverBubble, result.plot, optionField, result.msg);
|
|
1234
|
+
} else {
|
|
1235
|
+
this.app.dispatch({
|
|
1236
|
+
type: "plot_create",
|
|
1237
|
+
config: result.plot
|
|
1238
|
+
});
|
|
1239
|
+
serverBubble.text(`${result.msg ? result.msg + ". " : ""}Please refer to the plot generated below.`);
|
|
1240
|
+
}
|
|
1241
|
+
}
|
|
1242
|
+
} catch (e) {
|
|
1243
|
+
if (e.stack) console.log(e.stack);
|
|
1244
|
+
serverBubble.html(`Error: ${e.message || e}`);
|
|
1245
|
+
}
|
|
1246
|
+
}).node().focus();
|
|
1247
|
+
}
|
|
1248
|
+
addBubble(arg) {
|
|
1249
|
+
const bubble = this.dom.bubbleDiv.append("div").style("padding", "10px").html(`${arg.me ? '<span style="font-size:.7em">[ME]</span> ' : ""}${arg.msg}`);
|
|
1250
|
+
if (arg.me) bubble.style("background", "#f1f1f1");
|
|
1251
|
+
const n = this.dom.bubbleDiv.node();
|
|
1252
|
+
n.scrollTop = n.scrollHeight;
|
|
1253
|
+
return bubble;
|
|
1254
|
+
}
|
|
1255
|
+
// Render click boxes for an incomplete plot state. `fieldKey` is the field of `plot` whose
|
|
1256
|
+
// value holds `possible_options`. Clicking a box completes the plot state and dispatches plot_create.
|
|
1257
|
+
// Each option completes the plot in one of two ways:
|
|
1258
|
+
// - opt.config: a config patch merged into the plot (the incomplete field is dropped). Used when the
|
|
1259
|
+
// choice sets other fields, e.g. the genome browser view sets blockIsProteinMode: true|false.
|
|
1260
|
+
// - otherwise: the incomplete field is set to { id: opt.id }, e.g. survival term selection -> term:{id}.
|
|
1261
|
+
showPossibleOptions(bubble, plot, fieldKey, msg) {
|
|
1262
|
+
const options = plot[fieldKey].possible_options || [];
|
|
1263
|
+
bubble.text(`${msg ? msg + ". " : ""}Multiple options are available. Please select one:`);
|
|
1264
|
+
const boxDiv = bubble.append("div").style("margin-top", "5px");
|
|
1265
|
+
for (const opt of options) {
|
|
1266
|
+
boxDiv.append("div").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-option-${opt.id}`).style("display", "inline-block").style("margin", "3px").style("padding", "5px 10px").style("border-radius", "5px").style("cursor", "pointer").text(opt.name).on("click", () => {
|
|
1267
|
+
const config = JSON.parse(JSON.stringify(plot));
|
|
1268
|
+
if (opt.config) {
|
|
1269
|
+
delete config[fieldKey];
|
|
1270
|
+
Object.assign(config, opt.config);
|
|
1271
|
+
} else {
|
|
1272
|
+
config[fieldKey] = { id: opt.id };
|
|
1273
|
+
}
|
|
1274
|
+
this.app.dispatch({
|
|
1275
|
+
type: "plot_create",
|
|
1276
|
+
config
|
|
1277
|
+
});
|
|
1278
|
+
bubble.selectAll("*").remove();
|
|
1279
|
+
bubble.text(`Selected "${opt.name}". Please refer to the plot generated below.`);
|
|
1280
|
+
});
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
main() {
|
|
1284
|
+
if (this.opts.subheader.style("display") == "none") {
|
|
1285
|
+
this.dom.inputNode.blur();
|
|
1286
|
+
this.dom.tip.hide();
|
|
1287
|
+
return;
|
|
1288
|
+
}
|
|
1289
|
+
if (this.opts?.focus != "off") this.dom.inputNode.focus();
|
|
1290
|
+
}
|
|
1291
|
+
};
|
|
1292
|
+
var chatInit = getCompInit(MassAiChatBot);
|
|
1293
|
+
function escapeHtml(s) {
|
|
1294
|
+
return s.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
1295
|
+
}
|
|
1296
|
+
function findPossibleOptionsField(plot) {
|
|
1297
|
+
if (!plot || typeof plot !== "object") return null;
|
|
1298
|
+
for (const key of Object.keys(plot)) {
|
|
1299
|
+
const val = plot[key];
|
|
1300
|
+
if (val && typeof val === "object" && Array.isArray(val.possible_options)) return key;
|
|
1301
|
+
}
|
|
1302
|
+
return null;
|
|
1303
|
+
}
|
|
1304
|
+
|
|
1305
|
+
// mass/nav.js
|
|
1306
|
+
var activeTabBgColor = "#ececec";
|
|
1307
|
+
var activeTabBgColorHover = "#e0e0e0";
|
|
1308
|
+
var activeTabTextColor = "black";
|
|
1309
|
+
var inactiveTabBgColorHover = "#fcfced";
|
|
1310
|
+
var inactiveTabTextColor = "gray";
|
|
1311
|
+
var instanceNum = 0;
|
|
1312
|
+
var idPrefix = "_MASS_AUTOID_" + Math.random().toString().slice(-6);
|
|
1313
|
+
var id = (+/* @__PURE__ */ new Date()).toString().slice(-8);
|
|
1314
|
+
var headtip = new Menu({ padding: "0px", offsetX: 0, offsetY: 0 });
|
|
1315
|
+
headtip.d.style("z-index", 5555);
|
|
1316
|
+
var aboutTab = { top: "ABOUT", mid: "", btm: "", subheader: "about" };
|
|
1317
|
+
var chartTab = { top: "CHARTS", mid: "NONE", btm: "", subheader: "charts" };
|
|
1318
|
+
var groupsTab = { top: "GROUPS", mid: "NONE", btm: "", subheader: "groups" };
|
|
1319
|
+
var filterTab = { top: "FILTER", mid: "NONE", btm: "", subheader: "filter" };
|
|
1320
|
+
function getId() {
|
|
1321
|
+
return idPrefix + "_" + id++;
|
|
1322
|
+
}
|
|
1323
|
+
var TdbNav = class _TdbNav {
|
|
1324
|
+
static type = "nav";
|
|
1325
|
+
constructor(opts) {
|
|
1326
|
+
this.type = _TdbNav.type;
|
|
1327
|
+
this.instanceNum = instanceNum++;
|
|
1328
|
+
this.tabs = [];
|
|
1329
|
+
this.activeTab = 0;
|
|
1330
|
+
this.activeCohort = 0;
|
|
1331
|
+
this.samplecounts = {};
|
|
1332
|
+
this.searching = false;
|
|
1333
|
+
this.massSessionDuration = opts.massSessionDuration;
|
|
1334
|
+
this.sessionDaysLeft = opts.app.opts.sessionDaysLeft || null;
|
|
1335
|
+
this.sessionId = opts.app.opts.sessionId || null;
|
|
1336
|
+
this.pkgver = opts.pkgver || null;
|
|
1337
|
+
setInteractivity(this);
|
|
1338
|
+
setRenderers(this);
|
|
1339
|
+
}
|
|
1340
|
+
async init(appState) {
|
|
1341
|
+
try {
|
|
1342
|
+
this.cohortFilter = getFilterItemByTag(appState.termfilter.filter, "cohortFilter");
|
|
1343
|
+
this.initUI(appState);
|
|
1344
|
+
if (appState?.termdbConfig?.selectCohort) {
|
|
1345
|
+
this.dom.tds.filter((d) => d.colNum === 0).style("display", "");
|
|
1346
|
+
this.cohortNames = appState.termdbConfig.selectCohort.values.map((d) => d.keys.slice().sort().join(","));
|
|
1347
|
+
}
|
|
1348
|
+
this.components = await multiInit({
|
|
1349
|
+
filter: filterRxCompInit({
|
|
1350
|
+
app: this.app,
|
|
1351
|
+
vocabApi: this.app.vocabApi,
|
|
1352
|
+
holder: this.dom.subheader.filter.append("div").style("margin", "5px"),
|
|
1353
|
+
hideLabel: this.opts.header_mode === "with_tabs",
|
|
1354
|
+
emptyLabel: "+Add new filter",
|
|
1355
|
+
callback: (filter) => {
|
|
1356
|
+
this.app.dispatch({
|
|
1357
|
+
type: "filter_replace",
|
|
1358
|
+
filter
|
|
1359
|
+
});
|
|
1360
|
+
}
|
|
1361
|
+
}),
|
|
1362
|
+
charts: chartsInit({
|
|
1363
|
+
app: this.app,
|
|
1364
|
+
holder: this.dom.subheader.charts,
|
|
1365
|
+
vocab: this.opts.vocab
|
|
1366
|
+
}),
|
|
1367
|
+
groups: groupsInit({
|
|
1368
|
+
app: this.app,
|
|
1369
|
+
holder: this.dom.subheader.groups,
|
|
1370
|
+
vocab: this.opts.vocab
|
|
1371
|
+
}),
|
|
1372
|
+
recover: recoverInit({
|
|
1373
|
+
app: this.app,
|
|
1374
|
+
holder: this.dom.recoverDiv,
|
|
1375
|
+
// TODO: ???? may limit the tracked state to only the filter, activeCohort ???
|
|
1376
|
+
getState: (appState2) => appState2,
|
|
1377
|
+
reactsTo: (action) => action.type != "plot_edit",
|
|
1378
|
+
maxHistoryLen: 5
|
|
1379
|
+
}),
|
|
1380
|
+
sessionBtn: sessionBtnInit({
|
|
1381
|
+
app: this.app,
|
|
1382
|
+
button: this.dom.saveBtn,
|
|
1383
|
+
massSessionDuration: this.opts.massSessionDuration,
|
|
1384
|
+
sessionDaysLeft: this.app.opts.sessionDaysLeft || null
|
|
1385
|
+
}),
|
|
1386
|
+
about: aboutInit({
|
|
1387
|
+
app: this.app,
|
|
1388
|
+
subheader: this.dom.subheader.about,
|
|
1389
|
+
instanceNum: this.instanceNum,
|
|
1390
|
+
aboutOverrides: appState?.termdbConfig?.massNav?.tabs?.about || null,
|
|
1391
|
+
selectCohort: appState?.termdbConfig?.selectCohort || null
|
|
1392
|
+
}),
|
|
1393
|
+
chat: chatInit({
|
|
1394
|
+
app: this.app,
|
|
1395
|
+
subheader: this.dom.subheader.chat
|
|
1396
|
+
})
|
|
1397
|
+
});
|
|
1398
|
+
this.mayShowMessage_sessionDaysLeft();
|
|
1399
|
+
} catch (e) {
|
|
1400
|
+
throw e;
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1403
|
+
reactsTo(action) {
|
|
1404
|
+
if (action.type.includes("cache_termq")) return true;
|
|
1405
|
+
if (action.type.startsWith("filter")) return true;
|
|
1406
|
+
if (action.type.startsWith("cohort")) return true;
|
|
1407
|
+
if (action.type.startsWith("tab")) return true;
|
|
1408
|
+
if (action.type == "plot_prep") return true;
|
|
1409
|
+
if (action.type == "plot_create") return true;
|
|
1410
|
+
if (action.type == "plot_delete") return true;
|
|
1411
|
+
if (action.type == "app_refresh") return true;
|
|
1412
|
+
if (action.type.endsWith("_customTerm")) return true;
|
|
1413
|
+
if (action.type.endsWith("_group")) return true;
|
|
1414
|
+
}
|
|
1415
|
+
getState(appState) {
|
|
1416
|
+
return {
|
|
1417
|
+
searching: this.searching,
|
|
1418
|
+
// for detection of internal state change
|
|
1419
|
+
nav: appState.nav,
|
|
1420
|
+
activeCohort: appState.activeCohort,
|
|
1421
|
+
termdbConfig: appState.termdbConfig,
|
|
1422
|
+
filter: appState.termfilter.filter,
|
|
1423
|
+
plots: appState.plots,
|
|
1424
|
+
groups: appState.groups
|
|
1425
|
+
};
|
|
1426
|
+
}
|
|
1427
|
+
async main() {
|
|
1428
|
+
this.dom.tabDiv.style("display", this.state.nav.header_mode === "with_tabs" ? "inline-block" : "none");
|
|
1429
|
+
this.dom.tip.hide();
|
|
1430
|
+
this.activeTab = this.state.nav.activeTab;
|
|
1431
|
+
this.prevCohort = this.activeCohort;
|
|
1432
|
+
this.activeCohort = +this.state.activeCohort;
|
|
1433
|
+
this.filterUiRoot = getFilterItemByTag(this.state.filter, "filterUiRoot");
|
|
1434
|
+
this.cohortFilter = getFilterItemByTag(this.state.filter, "cohortFilter");
|
|
1435
|
+
if (this.cohortNames) {
|
|
1436
|
+
this.activeCohortName = this.cohortNames[this.activeCohort];
|
|
1437
|
+
if (this.activeCohort !== -1)
|
|
1438
|
+
this.activeCohortLabel = this.state.termdbConfig.selectCohort.values[this.activeCohort].shortLabel;
|
|
1439
|
+
}
|
|
1440
|
+
this.filterJSON = JSON.stringify(this.state.filter);
|
|
1441
|
+
this.cohortsData = await this.app.vocabApi.getCohortsData();
|
|
1442
|
+
if (this.state.nav.header_mode === "with_tabs") {
|
|
1443
|
+
if (!(this.activeCohort in this.samplecounts)) {
|
|
1444
|
+
this.samplecounts[this.activeCohort] = await this.app.vocabApi.getCohortSampleCount(this.activeCohortName);
|
|
1445
|
+
}
|
|
1446
|
+
if (!(this.filterJSON in this.samplecounts)) {
|
|
1447
|
+
if (!this.filterUiRoot || !this.filterUiRoot.lst.length) {
|
|
1448
|
+
this.samplecounts[this.filterJSON] = this.samplecounts[this.activeCohort];
|
|
1449
|
+
} else {
|
|
1450
|
+
const n = await this.app.vocabApi.getFilteredSampleCount(this.filterJSON);
|
|
1451
|
+
this.samplecounts[this.filterJSON] = n;
|
|
1452
|
+
}
|
|
1453
|
+
}
|
|
1454
|
+
}
|
|
1455
|
+
this.updateUI();
|
|
1456
|
+
}
|
|
1457
|
+
};
|
|
1458
|
+
var navInit = getCompInit(TdbNav);
|
|
1459
|
+
function setRenderers(self) {
|
|
1460
|
+
self.initUI = (appState) => {
|
|
1461
|
+
const verifiedToken = self.app.vocabApi.verifiedToken;
|
|
1462
|
+
const invalidTokenErrorHandling = appState.termdbConfig.invalidTokenErrorHandling;
|
|
1463
|
+
if (!verifiedToken && invalidTokenErrorHandling?.affectedCharts?.includes("*"))
|
|
1464
|
+
throw new Error(appState.termdbConfig.invalidTokenErrorHandling.errorMessage);
|
|
1465
|
+
const header = self.opts.holder.append("div").style("white-space", "nowrap");
|
|
1466
|
+
const massNav = appState.termdbConfig?.massNav || {};
|
|
1467
|
+
let titleDiv = header.append("div").style("display", "inline-block").style("float", "right").style("font-size", "1.1em").style("margin", "50px 10px 0 0").text(massNav?.title?.text);
|
|
1468
|
+
const tabDiv = header.append("div").style("display", "none").style("vertical-align", "bottom");
|
|
1469
|
+
const controlsDiv = header.append("div").style("vertical-align", "top").style("margin", "10px").style("display", "inline-block").style("float", "right");
|
|
1470
|
+
if (self.opts.header_mode === "only_buttons") {
|
|
1471
|
+
tabDiv.style("display", "none");
|
|
1472
|
+
titleDiv.style("display", "none");
|
|
1473
|
+
controlsDiv.style("display", "none");
|
|
1474
|
+
}
|
|
1475
|
+
self.opts.holder.attr("class", "sjpp-nav");
|
|
1476
|
+
self.dom = {
|
|
1477
|
+
holder: self.opts.holder,
|
|
1478
|
+
header,
|
|
1479
|
+
tabDiv,
|
|
1480
|
+
controlsDiv,
|
|
1481
|
+
searchDiv: controlsDiv.append("div").style("margin", "10px"),
|
|
1482
|
+
sessionDiv: controlsDiv.append("div").style("display", "inline-block"),
|
|
1483
|
+
recoverDiv: controlsDiv.append("div").style("display", "inline-block"),
|
|
1484
|
+
pdfDiv: controlsDiv.append("div").style("display", "inline-block").style("padding", "4px").style("vertical-align", "middle"),
|
|
1485
|
+
deleteAllDiv: controlsDiv.append("div").style("display", "inline-block").style("padding", "4px").style("vertical-align", "middle"),
|
|
1486
|
+
helpDiv: controlsDiv.append("div").style("display", "none"),
|
|
1487
|
+
sessionElapsedMessageDiv: controlsDiv.append("div").style("display", "none"),
|
|
1488
|
+
subheaderDiv: self.opts.holder.append("div").style("display", "block").style("border-bottom", "1px solid #000"),
|
|
1489
|
+
messageDiv: self.opts.holder.append("div").style("margin", "30px").style("display", "none"),
|
|
1490
|
+
titleDiv,
|
|
1491
|
+
tip: new Menu({ padding: "5px" })
|
|
1492
|
+
};
|
|
1493
|
+
icons["trash"](self.dom.deleteAllDiv, {
|
|
1494
|
+
handler: self.deletePlots,
|
|
1495
|
+
title: "Delete all plots. To revert, click Undo button"
|
|
1496
|
+
});
|
|
1497
|
+
icons["pdf"](self.dom.pdfDiv, {
|
|
1498
|
+
handler: self.opts.downloadPlots,
|
|
1499
|
+
title: "Generate a PDF of all the plots opened"
|
|
1500
|
+
});
|
|
1501
|
+
if (self.opts.header_mode === "with_cohortHtmlSelect") {
|
|
1502
|
+
self.dom.cohortStandaloneDiv = header.append("div").style("display", "inline-block").style("margin", "10px").style("vertical-align", "top");
|
|
1503
|
+
self.dom.cohortStandaloneDiv.append("label").html("Cohort: ");
|
|
1504
|
+
self.dom.cohortSelect = self.dom.cohortStandaloneDiv.append("select").on("change", async function() {
|
|
1505
|
+
self.app.dispatch({ type: "cohort_set", activeCohort: +this.value });
|
|
1506
|
+
});
|
|
1507
|
+
self.dom.cohortSelect.selectAll("option").data(appState.termdbConfig.selectCohort.values).enter().append("option").attr("value", (d, i) => i).property("selected", (d, i) => i === appState.activeCohort).html((d) => d.shortLabel);
|
|
1508
|
+
}
|
|
1509
|
+
self.dom.subheader = Object.freeze({
|
|
1510
|
+
// For either the COHORT or ABOUT tab
|
|
1511
|
+
about: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-about").style("display", "none"),
|
|
1512
|
+
search: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-search").style("display", "none"),
|
|
1513
|
+
groups: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-groups").style("display", "none"),
|
|
1514
|
+
charts: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-charts").style("display", "none"),
|
|
1515
|
+
filter: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-filter").style("display", "none"),
|
|
1516
|
+
chat: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-chat").style("display", "none")
|
|
1517
|
+
// cart: self.dom.subheaderDiv.append('div').style('display', 'none').html('<br/>Cart feature under construction - work in progress<br/> <br/>'),
|
|
1518
|
+
});
|
|
1519
|
+
if (!massNav.tabs?.about?.hide) {
|
|
1520
|
+
self.tabs.push(aboutTab);
|
|
1521
|
+
const override = Object.assign({}, massNav.tabs?.about);
|
|
1522
|
+
if (appState.termdbConfig?.selectCohort) {
|
|
1523
|
+
if (!override.top) override.top = "COHORT";
|
|
1524
|
+
} else {
|
|
1525
|
+
if (!override.mid) override.mid = self.pickDatasetLabel(appState);
|
|
1526
|
+
}
|
|
1527
|
+
Object.assign(aboutTab, override);
|
|
1528
|
+
}
|
|
1529
|
+
if (!massNav.tabs?.charts?.hide) {
|
|
1530
|
+
self.tabs.push(chartTab);
|
|
1531
|
+
Object.assign(chartTab, massNav.tabs?.charts);
|
|
1532
|
+
}
|
|
1533
|
+
if (!massNav.tabs?.groups?.hide) {
|
|
1534
|
+
self.tabs.push(groupsTab);
|
|
1535
|
+
Object.assign(groupsTab, massNav.tabs?.groups);
|
|
1536
|
+
}
|
|
1537
|
+
if (!massNav.tabs?.filter?.hide) {
|
|
1538
|
+
self.tabs.push(filterTab);
|
|
1539
|
+
Object.assign(filterTab, massNav.tabs?.filter);
|
|
1540
|
+
}
|
|
1541
|
+
if (!massNav.tabs?.chat?.hide) {
|
|
1542
|
+
if (appState.termdbConfig?.queries?.chat) {
|
|
1543
|
+
const chatTab = { top: "CHAT", mid: "", btm: "", subheader: "chat" };
|
|
1544
|
+
Object.assign(chatTab, massNav.tabs?.chat);
|
|
1545
|
+
chatTab.top = "CHAT";
|
|
1546
|
+
self.tabs.push(chatTab);
|
|
1547
|
+
} else {
|
|
1548
|
+
const searchTab = { top: "SEARCH", mid: "", btm: "", subheader: "chat" };
|
|
1549
|
+
Object.assign(searchTab, massNav.tabs?.chat);
|
|
1550
|
+
searchTab.top = "SEARCH";
|
|
1551
|
+
self.tabs.push(searchTab);
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
const table = self.dom.tabDiv.append("table").attr("data-testid", "sjpp-nav-tabs-table").style("border-collapse", "collapse");
|
|
1555
|
+
table.selectAll("tr").data(["top", "mid", "btm"]).enter().append("tr").attr("class", (d, i) => `sjpp-nav-tabs-row-${i}`).style("font-size", (d, i) => i == 1 ? "20px" : "12px").selectAll("td").data(
|
|
1556
|
+
(key, i) => self.tabs.map((row, colNum) => {
|
|
1557
|
+
return {
|
|
1558
|
+
rowNum: i,
|
|
1559
|
+
key,
|
|
1560
|
+
colNum,
|
|
1561
|
+
label: row[key],
|
|
1562
|
+
subheader: row.subheader,
|
|
1563
|
+
disabled: row.disabled,
|
|
1564
|
+
disabledMessage: row.disabledMessage
|
|
1565
|
+
};
|
|
1566
|
+
})
|
|
1567
|
+
).enter().append("td").attr("class", (d) => `sjpp-nav-tab-col-${d.colNum}`).style("display", "none").style("width", "100px").style("padding", (d) => d.rowNum === 0 ? "12px 12px 3px 12px" : "3px 12px").style("text-align", "center").style("border-left", "1px solid #ccc").style("border-right", "1px solid #ccc").style("color", "#aaa").style("opacity", (d) => d.disabled ? 0.5 : 1).style("cursor", (d) => d.disabled ? "not-allowed" : "pointer").attr("title", (d) => d.disabledMessage || "").html((d) => d.label).on("click", (event2, d) => {
|
|
1568
|
+
self.setTab(event2, d);
|
|
1569
|
+
}).on("mouseover", (event2, d) => {
|
|
1570
|
+
self.mouseover(event2, d);
|
|
1571
|
+
}).on("mouseout", () => {
|
|
1572
|
+
self.mouseout();
|
|
1573
|
+
});
|
|
1574
|
+
self.dom.trs = table.selectAll("tr");
|
|
1575
|
+
self.dom.tds = table.selectAll("td");
|
|
1576
|
+
self.subheaderKeys = self.tabs.map((d) => d.subheader);
|
|
1577
|
+
self.dom.saveBtn = self.dom.sessionDiv.append("button").attr("data-testid", "sjpp-nav-session-btn").style("margin", "10px").text("Session \u25BC");
|
|
1578
|
+
if (self.sessionDaysLeft != null) {
|
|
1579
|
+
self.dom.fileBtn = self.dom.sessionDiv.append("button").attr("data-testid", "sjpp-nav-file-btn").style("margin", "10px").text("Export Session").on("click", (event2) => {
|
|
1580
|
+
self.getSessionFile(event2);
|
|
1581
|
+
});
|
|
1582
|
+
}
|
|
1583
|
+
};
|
|
1584
|
+
self.deletePlots = () => {
|
|
1585
|
+
const state = self.app.getState();
|
|
1586
|
+
const subactions = [];
|
|
1587
|
+
for (const plot of state.plots) subactions.push({ type: "plot_delete", id: plot.id });
|
|
1588
|
+
self.app.dispatch({ type: "app_refresh", subactions });
|
|
1589
|
+
};
|
|
1590
|
+
self.mayShowMessage_sessionDaysLeft = () => {
|
|
1591
|
+
if (!Number.isFinite(self.sessionDaysLeft)) {
|
|
1592
|
+
return;
|
|
1593
|
+
}
|
|
1594
|
+
self.dom.sessionElapsedMessageDiv.style("display", "block");
|
|
1595
|
+
self.dom.remainingDaysMessage = self.dom.sessionElapsedMessageDiv.append("div").style("display", "block").style("opacity", "0.65").html(
|
|
1596
|
+
`<u>${self.sessionDaysLeft} days</u> left until this session is removed. Click the "Session \u25BC" button and select "Save" option to create a new one.`
|
|
1597
|
+
);
|
|
1598
|
+
};
|
|
1599
|
+
self.updateUI = async () => {
|
|
1600
|
+
if (!self.dom.subheaderDiv) return;
|
|
1601
|
+
if (self.activeTab && self.state.termdbConfig.selectCohort && self.activeCohort == -1) {
|
|
1602
|
+
self.dom.subheaderDiv.style("display", "none");
|
|
1603
|
+
self.dom.messageDiv.selectAll("text").remove();
|
|
1604
|
+
self.dom.messageDiv.style("display", "").text('No cohort selected. Please select a cohort in the "COHORT" tab.');
|
|
1605
|
+
} else {
|
|
1606
|
+
if (self.dom.subheaderDiv) self.dom.subheaderDiv.style("display", self.activeTab != -1 ? "block" : "none");
|
|
1607
|
+
if (self.dom.messageDiv) self.dom.messageDiv.style("display", "none");
|
|
1608
|
+
}
|
|
1609
|
+
const selectCohort = self.state.termdbConfig.selectCohort;
|
|
1610
|
+
const massNav = self.state.termdbConfig.massNav;
|
|
1611
|
+
self.dom.searchDiv.style("display", selectCohort && self.activeCohort == -1 ? "none" : "inline-block");
|
|
1612
|
+
self.dom.header.style("border-bottom", self.state.nav.header_mode === "with_tabs" ? "1px solid #000" : "");
|
|
1613
|
+
self.dom.tds.style("display", "").style("color", (d) => d.colNum == self.activeTab ? activeTabTextColor : inactiveTabTextColor).style(
|
|
1614
|
+
"background-color",
|
|
1615
|
+
(d) => d.colNum == self.activeTab && self.dom.subheaderDiv.style("display") != "none" ? self.state.termdbConfig.massNav?.activeColor || activeTabBgColor : "transparent"
|
|
1616
|
+
).html(function(d, i) {
|
|
1617
|
+
if (d.key == "top") return this.innerHTML;
|
|
1618
|
+
if (d.subheader == "groups") {
|
|
1619
|
+
if (d.key == "mid") return self.state.groups.length || "NONE";
|
|
1620
|
+
return "";
|
|
1621
|
+
}
|
|
1622
|
+
if (d.subheader === "charts") {
|
|
1623
|
+
const n = self.state.plots.filter((p) => !p.parentId).length;
|
|
1624
|
+
if (d.key == "mid") return !n ? "NONE" : n;
|
|
1625
|
+
else return "";
|
|
1626
|
+
} else if (d.subheader === "about") {
|
|
1627
|
+
if (self.activeCohort != -1 && self.activeCohort in self.samplecounts) {
|
|
1628
|
+
const aboutMap = {
|
|
1629
|
+
top: this.innerHTML,
|
|
1630
|
+
mid: self.activeCohortLabel,
|
|
1631
|
+
btm: self.samplecounts[self.activeCohort]
|
|
1632
|
+
};
|
|
1633
|
+
return aboutMap[d.key] || "";
|
|
1634
|
+
} else if (!selectCohort) {
|
|
1635
|
+
const aboutMap = {
|
|
1636
|
+
top: massNav?.tabs?.about?.top || "ABOUT",
|
|
1637
|
+
mid: massNav?.tabs?.about?.mid || this.innerHTML,
|
|
1638
|
+
btm: massNav?.tabs?.about?.btm || self.samplecounts[self.activeCohort]
|
|
1639
|
+
};
|
|
1640
|
+
return aboutMap[d.key] || "";
|
|
1641
|
+
} else {
|
|
1642
|
+
return d.key === "mid" ? "NONE" : this.innerHTML;
|
|
1643
|
+
}
|
|
1644
|
+
} else if (d.subheader === "filter") {
|
|
1645
|
+
const filter = self.filterUiRoot ? self.filterUiRoot : { lst: [] };
|
|
1646
|
+
if (filter.lst.length === 0) {
|
|
1647
|
+
return d.key === "mid" ? "NONE" : "";
|
|
1648
|
+
} else {
|
|
1649
|
+
const n = self.samplecounts[self.filterJSON] != void 0 ? "" + self.samplecounts[self.filterJSON] : "";
|
|
1650
|
+
return d.key === "mid" ? filter.lst.length : n;
|
|
1651
|
+
}
|
|
1652
|
+
} else {
|
|
1653
|
+
return d.key === "mid" ? this.innerHTML : " ";
|
|
1654
|
+
}
|
|
1655
|
+
});
|
|
1656
|
+
for (const key in self.dom.subheader) {
|
|
1657
|
+
self.dom.subheader[key].style(
|
|
1658
|
+
"display",
|
|
1659
|
+
self.activeTab == -1 ? "none" : self.tabs[self.activeTab].subheader === key ? "block" : "none"
|
|
1660
|
+
);
|
|
1661
|
+
}
|
|
1662
|
+
if (self.opts.header_mode === "with_cohortHtmlSelect") {
|
|
1663
|
+
self.dom.cohortSelect.selectAll("option").property("value", self.activeCohort);
|
|
1664
|
+
}
|
|
1665
|
+
};
|
|
1666
|
+
}
|
|
1667
|
+
function setInteractivity(self) {
|
|
1668
|
+
self.setTab = async (event2, d) => {
|
|
1669
|
+
if (d.disabled) return;
|
|
1670
|
+
if (d.colNum === self.activeTab && !self.searching) {
|
|
1671
|
+
if (self.activeTab == 0) return;
|
|
1672
|
+
self.prevCohort = self.activeCohort;
|
|
1673
|
+
await self.updateUI();
|
|
1674
|
+
self.app.dispatch({ type: "tab_set", activeTab: -1 });
|
|
1675
|
+
return;
|
|
1676
|
+
}
|
|
1677
|
+
self.activeTab = d.colNum;
|
|
1678
|
+
self.searching = false;
|
|
1679
|
+
self.app.dispatch({ type: "tab_set", activeTab: self.activeTab });
|
|
1680
|
+
const chartsIdx = self.subheaderKeys.indexOf("charts");
|
|
1681
|
+
if (self.activeTab == chartsIdx && self.activeCohort != -1 && !self.state.plots.length) {
|
|
1682
|
+
const defaultChartType = self.state.termdbConfig.defaultChartType || "dictionary";
|
|
1683
|
+
self.app.dispatch({
|
|
1684
|
+
type: "plot_create",
|
|
1685
|
+
id: getId(),
|
|
1686
|
+
config: { chartType: defaultChartType }
|
|
1687
|
+
});
|
|
1688
|
+
}
|
|
1689
|
+
};
|
|
1690
|
+
self.mouseover = (event2, d) => {
|
|
1691
|
+
const defaultActiveColor = self.state.termdbConfig.massNav?.activeColor || activeTabBgColor;
|
|
1692
|
+
self.dom.tds.style("background-color", (t) => {
|
|
1693
|
+
if (t.colNum === d.colNum)
|
|
1694
|
+
return self.activeTab == t.colNum ? self.state.termdbConfig.massNav?.activeColorHover || activeTabBgColorHover : inactiveTabBgColorHover;
|
|
1695
|
+
return self.activeTab == t.colNum ? defaultActiveColor : "transparent";
|
|
1696
|
+
});
|
|
1697
|
+
};
|
|
1698
|
+
self.mouseout = () => {
|
|
1699
|
+
const defaultActiveColor = self.state.termdbConfig.massNav?.activeColor || activeTabBgColor;
|
|
1700
|
+
self.dom.tds.style("background-color", (t) => self.activeTab == t.colNum ? defaultActiveColor : "transparent");
|
|
1701
|
+
};
|
|
1702
|
+
self.getSessionFile = async (event2) => {
|
|
1703
|
+
const res = await dofetch3(`/massSession?id=${self.sessionId}`);
|
|
1704
|
+
const a = document.createElement("a");
|
|
1705
|
+
const dataStr = "data:application/json;charset=utf-8," + encodeURIComponent(JSON.stringify(res.state));
|
|
1706
|
+
a.setAttribute("href", dataStr);
|
|
1707
|
+
a.download = `${self.sessionId}.json`;
|
|
1708
|
+
a.click();
|
|
1709
|
+
a.remove();
|
|
1710
|
+
};
|
|
1711
|
+
self.pickDatasetLabel = (appState) => {
|
|
1712
|
+
const dslabel = appState.vocab.dslabel.toUpperCase();
|
|
1713
|
+
return dslabel.length > 10 ? `${dslabel.slice(0, 10)}...` : dslabel;
|
|
1714
|
+
};
|
|
1715
|
+
}
|
|
1716
|
+
|
|
1717
|
+
export {
|
|
1718
|
+
getId,
|
|
1719
|
+
navInit
|
|
1720
|
+
};
|
|
1721
|
+
//# sourceMappingURL=chunk-HIWTGMTE.js.map
|