@sjcrh/proteinpaint-client 2.198.0 → 2.200.0

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.
Files changed (1066) hide show
  1. package/dist/2dmaf-RRV3ORZR.js +1373 -0
  2. package/dist/AIProjectAdmin-DKLEFCGX.js +958 -0
  3. package/dist/AppHeader-WQ2F7HZY.js +835 -0
  4. package/dist/BoxPlot-5JQCYENZ.js +1218 -0
  5. package/dist/BoxPlot-5JQCYENZ.js.map +7 -0
  6. package/dist/CorrelationVolcano-HR6IP2SZ.js +619 -0
  7. package/dist/DE-DAW6ZKM7.js +95 -0
  8. package/dist/DEinput-XCR4VMR3.js +409 -0
  9. package/dist/DEinput-XCR4VMR3.js.map +7 -0
  10. package/dist/DifferentialAnalysis-SETJAZEN.js +243 -0
  11. package/dist/DifferentialAnalysis-SETJAZEN.js.map +7 -0
  12. package/dist/Disco-QEBEVQS2.js +3392 -0
  13. package/dist/Disco.UI-OYVL7UBI.js +248 -0
  14. package/dist/Disco.UI-OYVL7UBI.js.map +7 -0
  15. package/dist/DmrPlot-CWBQDZL7.js +642 -0
  16. package/dist/GB-5PYCR4SV.js +1396 -0
  17. package/dist/GB-5PYCR4SV.js.map +7 -0
  18. package/dist/GSEA-6UKMI6GY.js +846 -0
  19. package/dist/GeneExpInput-2N62XM7Z.js +367 -0
  20. package/dist/GeneExpInput-2N62XM7Z.js.map +7 -0
  21. package/dist/Geomap-ANMR32HE.js +89 -0
  22. package/dist/HicApp-WHPUPHEM.js +2250 -0
  23. package/dist/IDCViewer-FWXRE4AX.js +10817 -0
  24. package/dist/IDCViewer-FWXRE4AX.js.map +7 -0
  25. package/dist/NumBinaryEditor-VG5KOGDA.js +271 -0
  26. package/dist/NumBinaryEditor.unit.spec-UCGFZS3P.js +286 -0
  27. package/dist/NumContEditor-J52RON3G.js +109 -0
  28. package/dist/NumContEditor.unit.spec-5GTWUJEL.js +169 -0
  29. package/dist/NumCustomBinEditor-GM2OJMOX.js +38 -0
  30. package/dist/NumCustomBinEditor.unit.spec-3PGJ25J4.js +284 -0
  31. package/dist/NumDiscreteEditor-2CAKT3Y4.js +179 -0
  32. package/dist/NumDiscreteEditor.unit.spec-XCWSJTRT.js +202 -0
  33. package/dist/NumRegularBinEditor-CZYITY5L.js +38 -0
  34. package/dist/NumRegularBinEditor.unit.spec-OUBZ5XB3.js +227 -0
  35. package/dist/NumSplineEditor-TWRL5AQQ.js +198 -0
  36. package/dist/NumSplineEditor.unit.spec-5P6NQZ3N.js +199 -0
  37. package/dist/NumericDensity-JSOFOEH2.js +38 -0
  38. package/dist/NumericDensity.unit.spec-REUKHMKK.js +221 -0
  39. package/dist/NumericHandler-UZOGKPKB.js +39 -0
  40. package/dist/NumericHandler.unit.spec-X2DAED4O.js +219 -0
  41. package/dist/ProteomeInput-GBVCLNS7.js +394 -0
  42. package/dist/ProteomeInput-GBVCLNS7.js.map +7 -0
  43. package/dist/RunChart2-N4JPWNVV.js +758 -0
  44. package/dist/RunChart2-N4JPWNVV.js.map +7 -0
  45. package/dist/SC-RCZT5BRP.js +1112 -0
  46. package/dist/SC-RCZT5BRP.js.map +7 -0
  47. package/dist/Volcano-2BQ6SYHO.js +1404 -0
  48. package/dist/Volcano-2BQ6SYHO.js.map +7 -0
  49. package/dist/WSIViewer-UDA4WIRT.js +48562 -0
  50. package/dist/WsiSamplesPlot-DYSFMD22.js +165 -0
  51. package/dist/adSandbox-5BUDCAER.js +38 -0
  52. package/dist/animatedBubbleChart-N6MBJ4X3.js +553 -0
  53. package/dist/animatedBubbleChart-N6MBJ4X3.js.map +7 -0
  54. package/dist/app-O64TGDFH.js +37 -0
  55. package/dist/app-Y2STUISK.js +49 -0
  56. package/dist/app.js +23 -23
  57. package/dist/bam-2EOABVGT.js +859 -0
  58. package/dist/bam-2EOABVGT.js.map +7 -0
  59. package/dist/barchart-UHCTYRMJ.js +47 -0
  60. package/dist/barchart.data-LSK2P2PR.js +21 -0
  61. package/dist/barchart.events-Y4H2GADS.js +47 -0
  62. package/dist/barchart.integration.spec-BFGZFECA.js +2243 -0
  63. package/dist/barchart.integration.spec-BFGZFECA.js.map +7 -0
  64. package/dist/barchart2-VIZKZRMP.js +314 -0
  65. package/dist/bars.renderer-54UCFLJS.js +12 -0
  66. package/dist/block-BGSSF6XP.js +6255 -0
  67. package/dist/block.init-H7RKUIHG.js +38 -0
  68. package/dist/block.mds.expressionrank-MA3HGT7S.js +359 -0
  69. package/dist/block.mds.geneboxplot-CWT5DM5T.js +828 -0
  70. package/dist/block.mds.junction-P4I7O73X.js +1545 -0
  71. package/dist/block.mds.svcnv-NSPEY43S.js +6801 -0
  72. package/dist/block.svg-DP4G3LNQ.js +164 -0
  73. package/dist/block.tk.aicheck-EBLTOWKZ.js +283 -0
  74. package/dist/block.tk.ase-X7WKQOFS.js +365 -0
  75. package/dist/block.tk.bam-OIP3TS3N.js +1906 -0
  76. package/dist/block.tk.bedgraphdot-2DDF55J3.js +384 -0
  77. package/dist/block.tk.bigwig.ui-S2SMAEXM.js +211 -0
  78. package/dist/block.tk.bigwig.ui-S2SMAEXM.js.map +7 -0
  79. package/dist/block.tk.hicstraw-4OIG4TBZ.js +823 -0
  80. package/dist/block.tk.junction-52OWEQUN.js +2364 -0
  81. package/dist/block.tk.junction.textmatrixui-64YOSZLW.js +199 -0
  82. package/dist/block.tk.ld-3AMNHBDY.js +99 -0
  83. package/dist/block.tk.menu-4724DJXL.js +1029 -0
  84. package/dist/block.tk.pgv-2SIOPWYI.js +944 -0
  85. package/dist/brainImaging-D43CQQN6.js +423 -0
  86. package/dist/brainImaging-D43CQQN6.js.map +7 -0
  87. package/dist/brainRegions-HJ2VGL3L.js +221 -0
  88. package/dist/bubbleHeatmap-IL44M4QZ.js +383 -0
  89. package/dist/bubbleHeatmap-IL44M4QZ.js.map +7 -0
  90. package/dist/cellTypeBubbleHeatmap-NQP7RCZO.js +283 -0
  91. package/dist/cellTypeBubbleHeatmap-NQP7RCZO.js.map +7 -0
  92. package/dist/chunk-26APRXD3.js +254 -0
  93. package/dist/chunk-2GLA2SWU.js +160 -0
  94. package/dist/chunk-2GLA2SWU.js.map +7 -0
  95. package/dist/chunk-2KXLYFAO.js +4085 -0
  96. package/dist/chunk-3BGFM7Q4.js +1275 -0
  97. package/dist/chunk-3SHZTAGF.js +193 -0
  98. package/dist/chunk-3SHZTAGF.js.map +7 -0
  99. package/dist/chunk-46X6AQ7Z.js +123 -0
  100. package/dist/chunk-46X6AQ7Z.js.map +7 -0
  101. package/dist/chunk-4FQYRDZS.js +276 -0
  102. package/dist/chunk-4FQYRDZS.js.map +7 -0
  103. package/dist/chunk-4HZN6PMU.js +129 -0
  104. package/dist/chunk-4KRGCOTL.js +479 -0
  105. package/dist/chunk-4KRGCOTL.js.map +7 -0
  106. package/dist/chunk-4WF3XDQP.js +220 -0
  107. package/dist/chunk-4WF3XDQP.js.map +7 -0
  108. package/dist/chunk-5DMVORBB.js +98 -0
  109. package/dist/chunk-5QMBB4SK.js +1245 -0
  110. package/dist/chunk-5R63Q5KH.js +1628 -0
  111. package/dist/chunk-5RVA43MN.js +274 -0
  112. package/dist/chunk-5RVA43MN.js.map +7 -0
  113. package/dist/chunk-5T3MOOEJ.js +379 -0
  114. package/dist/chunk-5T3MOOEJ.js.map +7 -0
  115. package/dist/chunk-5T3ZDRTS.js +70 -0
  116. package/dist/chunk-5T3ZDRTS.js.map +7 -0
  117. package/dist/chunk-5ZTVJSYI.js +834 -0
  118. package/dist/chunk-5ZTVJSYI.js.map +7 -0
  119. package/dist/chunk-6JYQGZ3Y.js +446 -0
  120. package/dist/chunk-6OUBUUC2.js +626 -0
  121. package/dist/chunk-6OUBUUC2.js.map +7 -0
  122. package/dist/chunk-6PNPHACF.js +1652 -0
  123. package/dist/chunk-6PNPHACF.js.map +7 -0
  124. package/dist/chunk-6QCYT6G2.js +467 -0
  125. package/dist/chunk-7JRDJNLR.js +263 -0
  126. package/dist/chunk-7JRDJNLR.js.map +7 -0
  127. package/dist/chunk-7PIHRWGG.js +102 -0
  128. package/dist/chunk-7PIHRWGG.js.map +7 -0
  129. package/dist/chunk-7PJNKPQB.js +275 -0
  130. package/dist/chunk-7PJNKPQB.js.map +7 -0
  131. package/dist/chunk-AGLAYNXP.js +170 -0
  132. package/dist/chunk-AGLAYNXP.js.map +7 -0
  133. package/dist/chunk-B4ESQLPB.js +140 -0
  134. package/dist/chunk-B7VDZ6VF.js +399 -0
  135. package/dist/chunk-B7VDZ6VF.js.map +7 -0
  136. package/dist/chunk-BGTBRAJ6.js +50 -0
  137. package/dist/chunk-BGTBRAJ6.js.map +7 -0
  138. package/dist/chunk-BNAO6N5X.js +2899 -0
  139. package/dist/chunk-BNAO6N5X.js.map +7 -0
  140. package/dist/chunk-BQHPJY2M.js +347 -0
  141. package/dist/chunk-BQHPJY2M.js.map +7 -0
  142. package/dist/chunk-BZTWTH4Y.js +87 -0
  143. package/dist/chunk-BZTWTH4Y.js.map +7 -0
  144. package/dist/chunk-CY4RQ5L6.js +1710 -0
  145. package/dist/chunk-CY4RQ5L6.js.map +7 -0
  146. package/dist/chunk-D565DNJD.js +236 -0
  147. package/dist/chunk-D565DNJD.js.map +7 -0
  148. package/dist/chunk-DH3LAQKT.js +384 -0
  149. package/dist/chunk-DH3LAQKT.js.map +7 -0
  150. package/dist/chunk-E3VF4RHJ.js +381 -0
  151. package/dist/chunk-EGPNRSPF.js +292 -0
  152. package/dist/chunk-FACITNG5.js +142 -0
  153. package/dist/chunk-GNS6CQMA.js +119 -0
  154. package/dist/chunk-GNS6CQMA.js.map +7 -0
  155. package/dist/chunk-H3N4KYKL.js +2327 -0
  156. package/dist/chunk-H3VWJH4U.js +14 -0
  157. package/dist/chunk-HEVKBSN6.js +222 -0
  158. package/dist/chunk-HQUYAZQY.js +514 -0
  159. package/dist/chunk-IUBBQPO2.js +146 -0
  160. package/dist/chunk-IUBBQPO2.js.map +7 -0
  161. package/dist/chunk-J4USU73L.js +26 -0
  162. package/dist/chunk-JH73IL4C.js +135 -0
  163. package/dist/chunk-JVPWIVDT.js +1812 -0
  164. package/dist/chunk-JVPWIVDT.js.map +7 -0
  165. package/dist/chunk-KU7YH7MV.js +217 -0
  166. package/dist/chunk-KZILNGAV.js +187 -0
  167. package/dist/chunk-KZILNGAV.js.map +7 -0
  168. package/dist/chunk-M66VDGSH.js +272 -0
  169. package/dist/chunk-MJN6RDXB.js +302 -0
  170. package/dist/chunk-MPNEZ6EL.js +31 -0
  171. package/dist/chunk-MPSLUEI4.js +314 -0
  172. package/dist/chunk-NIXFCC7X.js +368 -0
  173. package/dist/chunk-NODQZTWK.js +276 -0
  174. package/dist/chunk-NRYHIWBS.js +1942 -0
  175. package/dist/chunk-NRYHIWBS.js.map +7 -0
  176. package/dist/chunk-NUWJ4RN7.js +465 -0
  177. package/dist/chunk-NUWJ4RN7.js.map +7 -0
  178. package/dist/chunk-NVTJ5AUT.js +1102 -0
  179. package/dist/chunk-NZRMHM76.js +158 -0
  180. package/dist/chunk-NZRMHM76.js.map +7 -0
  181. package/dist/chunk-OOWXMY7U.js +55 -0
  182. package/dist/chunk-OTTMHVYH.js +787 -0
  183. package/dist/chunk-Q5RDQNIT.js +777 -0
  184. package/dist/chunk-QDX2XUNF.js +58 -0
  185. package/dist/chunk-QYXCHZ6U.js +4282 -0
  186. package/dist/chunk-QYXCHZ6U.js.map +7 -0
  187. package/dist/chunk-R6NM2HSH.js +556 -0
  188. package/dist/chunk-R6NM2HSH.js.map +7 -0
  189. package/dist/chunk-RJOY6A74.js +56 -0
  190. package/dist/chunk-RJOY6A74.js.map +7 -0
  191. package/dist/chunk-ROMW4AK2.js +102 -0
  192. package/dist/chunk-RR5U35N7.js +230 -0
  193. package/dist/chunk-RVKADD4L.js +148 -0
  194. package/dist/chunk-S5ZCK44Z.js +54 -0
  195. package/dist/chunk-SNRIVNQ3.js +176 -0
  196. package/dist/chunk-STI7BO3P.js +2681 -0
  197. package/dist/chunk-STI7BO3P.js.map +7 -0
  198. package/dist/chunk-TAM7UCAI.js +263 -0
  199. package/dist/chunk-TDKMBQSM.js +5070 -0
  200. package/dist/chunk-TDKMBQSM.js.map +7 -0
  201. package/dist/chunk-TKW5TW4Z.js +21449 -0
  202. package/dist/chunk-TKW5TW4Z.js.map +7 -0
  203. package/dist/chunk-TQTYW66I.js +2784 -0
  204. package/dist/chunk-TQTYW66I.js.map +7 -0
  205. package/dist/chunk-U3NTH4CS.js +54 -0
  206. package/dist/chunk-U3NTH4CS.js.map +7 -0
  207. package/dist/chunk-UEGQVQD6.js +34 -0
  208. package/dist/chunk-UEGQVQD6.js.map +7 -0
  209. package/dist/chunk-UJELJXJG.js +2110 -0
  210. package/dist/chunk-ULESDMUT.js +480 -0
  211. package/dist/chunk-UUKSL7QC.js +134 -0
  212. package/dist/chunk-UUKSL7QC.js.map +7 -0
  213. package/dist/chunk-VUPWQCDR.js +194 -0
  214. package/dist/chunk-VUPWQCDR.js.map +7 -0
  215. package/dist/chunk-W76X6W73.js +100 -0
  216. package/dist/chunk-W7OS7BNM.js +203 -0
  217. package/dist/chunk-WPHUM5S5.js +98 -0
  218. package/dist/chunk-WPHUM5S5.js.map +7 -0
  219. package/dist/chunk-WTTD6DUL.js +6364 -0
  220. package/dist/chunk-WXPFMVU6.js +299 -0
  221. package/dist/chunk-XNWUI5VL.js +37 -0
  222. package/dist/chunk-XNWUI5VL.js.map +7 -0
  223. package/dist/chunk-YBLTSYQV.js +216 -0
  224. package/dist/chunk-Z7VDFWIP.js +126 -0
  225. package/dist/chunk-Z7VDFWIP.js.map +7 -0
  226. package/dist/chunk-ZEKIUYN3.js +448 -0
  227. package/dist/chunk-ZEKIUYN3.js.map +7 -0
  228. package/dist/cohort-OWLNJZVH.js +75 -0
  229. package/dist/cohort-OWLNJZVH.js.map +7 -0
  230. package/dist/condition-L2IXP6WH.js +332 -0
  231. package/dist/controls-2S5QVWUC.js +39 -0
  232. package/dist/controls.config-3AJKR4ZZ.js +39 -0
  233. package/dist/correlation-DXTAWSLU.js +102 -0
  234. package/dist/cuminc-WQB6FHVS.js +1148 -0
  235. package/dist/cuminc-WQB6FHVS.js.map +7 -0
  236. package/dist/cuminc.integration.spec-WAYRLHUH.js +678 -0
  237. package/dist/customdata.inputui-7WH2NJGB.js +289 -0
  238. package/dist/dataDownload-HM4UYOBO.js +330 -0
  239. package/dist/dataDownload.integration.spec-F5CO4BWA.js +193 -0
  240. package/dist/databrowser.ui-E2YOG3L4.js +432 -0
  241. package/dist/databrowser.ui-E2YOG3L4.js.map +7 -0
  242. package/dist/dictionary-EEPTFDYD.js +118 -0
  243. package/dist/dnaMethylation-N3WNK6XA.js +38 -0
  244. package/dist/dnaMethylation.integration.spec-AIYRTFMR.js +203 -0
  245. package/dist/dnaMethylation.integration.spec-AIYRTFMR.js.map +7 -0
  246. package/dist/dofetch-YKYPEJTQ.js +51 -0
  247. package/dist/e2pca-JEZIGVB2.js +350 -0
  248. package/dist/ep-5FMH2MLV.js +1256 -0
  249. package/dist/expclust.gdc.spec-FR26VSUA.js +307 -0
  250. package/dist/facet-5YYY3MUN.js +521 -0
  251. package/dist/facet-5YYY3MUN.js.map +7 -0
  252. package/dist/gb-WGEVO7L2.js +88 -0
  253. package/dist/geneExpClustering-DHE6XJHV.js +249 -0
  254. package/dist/geneExpClustering-DHE6XJHV.js.map +7 -0
  255. package/dist/geneExpression-5NWQXMJ3.js +313 -0
  256. package/dist/geneExpression-VWUMM2LU.js +38 -0
  257. package/dist/geneExpression.unit.spec-HBU3WTZ4.js +102 -0
  258. package/dist/geneExpression.unit.spec-HBU3WTZ4.js.map +7 -0
  259. package/dist/geneORA-3VWFWDYI.js +278 -0
  260. package/dist/geneRanking-PKDVD5OD.js +553 -0
  261. package/dist/geneVariant-IFIJQXH4.js +39 -0
  262. package/dist/geneVariant-WZSOG4GI.js +41 -0
  263. package/dist/geneVariant.integration.spec-6KQMWVHR.js +198 -0
  264. package/dist/genefusion.ui-C4NTALL3.js +308 -0
  265. package/dist/genefusion.ui-C4NTALL3.js.map +7 -0
  266. package/dist/geneset-RJAULSKC.js +208 -0
  267. package/dist/genomeBrowser.spec-42OTTMGO.js +281 -0
  268. package/dist/grin2-26O6YDDY.js +75 -0
  269. package/dist/grin2-FT5BQJMB.js +1143 -0
  270. package/dist/hierCluster-GJPPMFNR.js +59 -0
  271. package/dist/hierCluster-HMJF3PBE.js +63 -0
  272. package/dist/hierCluster.config-TAS7XKTU.js +40 -0
  273. package/dist/hierCluster.integration.spec-RLHQKX65.js +488 -0
  274. package/dist/hierCluster.integration.spec-RLHQKX65.js.map +7 -0
  275. package/dist/hierCluster.interactivity-IKTAJ6CU.js +54 -0
  276. package/dist/hierCluster.renderers-I6WFZRNW.js +21 -0
  277. package/dist/imagePlot-N4OXNMVA.js +163 -0
  278. package/dist/importPlot-VMYXDP66.js +8 -0
  279. package/dist/isoformExpression-2KV64KMN.js +40 -0
  280. package/dist/isoformExpression.unit.spec-RG2VWEMG.js +242 -0
  281. package/dist/isoformExpression.unit.spec-RG2VWEMG.js.map +7 -0
  282. package/dist/junction-VO4IGMW2.js +41 -0
  283. package/dist/junction.customTerm-EFMHHVWA.js +18 -0
  284. package/dist/junction.unit.spec-NB24MR2B.js +187 -0
  285. package/dist/junction.unit.spec-NB24MR2B.js.map +7 -0
  286. package/dist/launch.adhoc-R3MO3VXK.js +42 -0
  287. package/dist/leftlabel.sample-SI6KMULD.js +263 -0
  288. package/dist/leftlabel.sample-SI6KMULD.js.map +7 -0
  289. package/dist/legacyDataset-4BXYHQTS.js +119 -0
  290. package/dist/lollipop-XIVE4ANX.js +171 -0
  291. package/dist/maf-WRHD4OJF.js +459 -0
  292. package/dist/maftimeline-IE6YKV7Y.js +593 -0
  293. package/dist/matrix-ALBCAZP5.js +58 -0
  294. package/dist/matrix-W72XRUZD.js +63 -0
  295. package/dist/matrix.cells-DEEUWC74.js +28 -0
  296. package/dist/matrix.config-JYXQOXDT.js +41 -0
  297. package/dist/matrix.data-ENXNM6RP.js +25 -0
  298. package/dist/matrix.groups-EXSNNESB.js +27 -0
  299. package/dist/matrix.integration.spec-BW6U6PIW.js +3072 -0
  300. package/dist/matrix.interactivity-G6AL566T.js +42 -0
  301. package/dist/matrix.layout-UBUPIJ3R.js +44 -0
  302. package/dist/matrix.legend-S3P4F2DG.js +22 -0
  303. package/dist/matrix.renderers-IXFGXHJQ.js +38 -0
  304. package/dist/matrix.serieses-THHXUAPM.js +21 -0
  305. package/dist/matrix.sort-WJV6LIZI.js +27 -0
  306. package/dist/matrix.sort.unit.spec-LGMIL2LR.js +472 -0
  307. package/dist/matrix.sorterUi-VXVCOKEZ.js +18 -0
  308. package/dist/matrix.sorterUi.unit.spec-CWSEJ62U.js +342 -0
  309. package/dist/mavb-SXGKASQ5.js +732 -0
  310. package/dist/mds.fimo-EDOT3TDN.js +518 -0
  311. package/dist/mds.samplescatterplot-IXHNABKB.js +1550 -0
  312. package/dist/mds.survivalplot-KTTMHHII.js +483 -0
  313. package/dist/numericDictTermCluster-H4JSPW22.js +65 -0
  314. package/dist/oncomatrix-O4EMNUOT.js +295 -0
  315. package/dist/oncomatrix.spec-BME6CQWF.js +448 -0
  316. package/dist/plot.2dvaf-FDM4KXGT.js +377 -0
  317. package/dist/plot.app-UNUXG7ND.js +41 -0
  318. package/dist/plot.barplot-R333TMG2.js +102 -0
  319. package/dist/plot.boxplot-KQTYGUN3.js +152 -0
  320. package/dist/plot.brainImaging-YBYMHCEG.js +51 -0
  321. package/dist/plot.disco-CMDKRSOM.js +102 -0
  322. package/dist/plot.dzi-YAZA6RQS.js +33 -0
  323. package/dist/plot.ssgq-YKCOEXZP.js +139 -0
  324. package/dist/plot.vaf2cov-3TLMTFZS.js +259 -0
  325. package/dist/plot.wsi-7ADVYTQS.js +36 -0
  326. package/dist/polar2-O5SHVLP4.js +237 -0
  327. package/dist/polar2-O5SHVLP4.js.map +7 -0
  328. package/dist/profileForms-RLB6SMPQ.js +940 -0
  329. package/dist/profileForms-RLB6SMPQ.js.map +7 -0
  330. package/dist/profilePlot-AP52VLLO.js +54 -0
  331. package/dist/proteinView-S7WDBMQU.js +1568 -0
  332. package/dist/proteinView-S7WDBMQU.js.map +7 -0
  333. package/dist/proteomeCohortCompare-ERVUM7RO.js +799 -0
  334. package/dist/proteomeCohortCompare-ERVUM7RO.js.map +7 -0
  335. package/dist/pseudbulk.unit.spec-VSH7IM3R.js +91 -0
  336. package/dist/pseudbulk.unit.spec-VSH7IM3R.js.map +7 -0
  337. package/dist/pseudobulk-7UKRLKQI.js +40 -0
  338. package/dist/qualitative-2D7MC4V5.js +43 -0
  339. package/dist/radar2-ELVGQFZE.js +332 -0
  340. package/dist/radar2-ELVGQFZE.js.map +7 -0
  341. package/dist/radarFacility2-SDAZHGNG.js +340 -0
  342. package/dist/radarFacility2-SDAZHGNG.js.map +7 -0
  343. package/dist/regression-CE54AQMY.js +56 -0
  344. package/dist/regression.inputs-SMC5CNPY.js +48 -0
  345. package/dist/regression.inputs.term-XS54IQC2.js +48 -0
  346. package/dist/regression.inputs.values.table-LNPM3MX5.js +45 -0
  347. package/dist/regression.integration.spec-6QSMYPWJ.js +784 -0
  348. package/dist/regression.results-25ZRRDEE.js +40 -0
  349. package/dist/regression.spec-EDWHFRPY.js +708 -0
  350. package/dist/render-SEB6GFXQ.js +38 -0
  351. package/dist/report-U6L3KBYG.js +222 -0
  352. package/dist/sampleView-QAAJ26KT.js +48 -0
  353. package/dist/samplelst-KYRXJSZN.js +111 -0
  354. package/dist/samplematrix-STLF2QA5.js +2198 -0
  355. package/dist/sc-HL6YSMDX.js +86 -0
  356. package/dist/scatter-BSGDMOC2.js +851 -0
  357. package/dist/selectGenomeWithTklst-4NHQDTE6.js +134 -0
  358. package/dist/singleCellCellType-3E2IU42J.js +38 -0
  359. package/dist/singleCellCellType.unit.spec-MC7ZRSMW.js +159 -0
  360. package/dist/singleCellCellType.unit.spec-MC7ZRSMW.js.map +7 -0
  361. package/dist/singleCellGeneExpression-53UUGYTK.js +38 -0
  362. package/dist/singleCellGeneExpression.unit.spec-QSLTXHFE.js +153 -0
  363. package/dist/singleCellGeneExpression.unit.spec-QSLTXHFE.js.map +7 -0
  364. package/dist/singleCellPlot-JDSARDRV.js +54 -0
  365. package/dist/singlecell-IJR7BJYT.js +1572 -0
  366. package/dist/singlecell-OK6GJFWL.js +86 -0
  367. package/dist/snp-H4KJEEOE.js +38 -0
  368. package/dist/snp.unit.spec-2Y4A3XYI.js +176 -0
  369. package/dist/snplocus-4GG6VTWX.js +208 -0
  370. package/dist/spliceevent.a53ss.diagram-JZNRC5UC.js +151 -0
  371. package/dist/spliceevent.exonskip.diagram-H54N7ZKY.js +283 -0
  372. package/dist/spliceevent.noeventdiagram-II753XAK.js +460 -0
  373. package/dist/ssGSEA-JPJ3C4JI.js +38 -0
  374. package/dist/ssGSEA.unit.spec-45F5OCDK.js +88 -0
  375. package/dist/studyCatalog-O3VGIKDM.js +358 -0
  376. package/dist/studyCatalog-O3VGIKDM.js.map +7 -0
  377. package/dist/summarizeCnvGeneexp-55DNXHXA.js +163 -0
  378. package/dist/summarizeGeneexpSurvival-VLO4DC5M.js +110 -0
  379. package/dist/summarizeGeneexpSurvival-VLO4DC5M.js.map +7 -0
  380. package/dist/summarizeMutationCnv-QX7BADYL.js +164 -0
  381. package/dist/summarizeMutationDiagnosis-MHFM7RX6.js +40 -0
  382. package/dist/summarizeMutationSurvival-G4KHSUBN.js +99 -0
  383. package/dist/summary-PJYRCQNY.js +49 -0
  384. package/dist/summary.integration.spec-KPKROD6L.js +414 -0
  385. package/dist/summaryInput-TOAL53EP.js +231 -0
  386. package/dist/summaryInput-TOAL53EP.js.map +7 -0
  387. package/dist/sunburst-IGIV2RBE.js +284 -0
  388. package/dist/survival-DINCIWW7.js +58 -0
  389. package/dist/survival-RKV5BPDK.js +1239 -0
  390. package/dist/survival-RKV5BPDK.js.map +7 -0
  391. package/dist/survival.integration.spec-7ZYBBZKT.js +958 -0
  392. package/dist/survival.integration.spec-7ZYBBZKT.js.map +7 -0
  393. package/dist/svgraph-EUEZWGVR.js +1387 -0
  394. package/dist/svmr-B24LODSC.js +3842 -0
  395. package/dist/table-XSJJ3UZV.js +200 -0
  396. package/dist/termCollection-IAB3425K.js +38 -0
  397. package/dist/termCollection-LGEGHZSJ.js +257 -0
  398. package/dist/termCollection-LGEGHZSJ.js.map +7 -0
  399. package/dist/termCollection.unit.spec-4TIRHC44.js +304 -0
  400. package/dist/termCollection.unit.spec-4TIRHC44.js.map +7 -0
  401. package/dist/termCollectionFractionSelection-35YKAOUY.js +47 -0
  402. package/dist/termCollectionFractionSelection.unit.spec-SUFEIKJZ.js +193 -0
  403. package/dist/termCollectionFractionSelection.unit.spec-SUFEIKJZ.js.map +7 -0
  404. package/dist/tk-25EJJDRK.js +46 -0
  405. package/dist/tk-4E3XJ7CO.js +1127 -0
  406. package/dist/tk-4E3XJ7CO.js.map +7 -0
  407. package/dist/tp.ui-VGA62NFM.js +1459 -0
  408. package/dist/tvs.cohort-F7OJI2MH.js +26 -0
  409. package/dist/tvs.cohort-F7OJI2MH.js.map +7 -0
  410. package/dist/tvs.density-G56327WY.js +19 -0
  411. package/dist/tvs.dt-DFW36WKO.js +39 -0
  412. package/dist/tvs.dtcnv.categorical-ZP33EO3A.js +40 -0
  413. package/dist/tvs.dtcnv.continuous-FJTMQF4J.js +72 -0
  414. package/dist/tvs.dtfusion-FTDQWNKM.js +40 -0
  415. package/dist/tvs.dtitd-W5VEECJ2.js +40 -0
  416. package/dist/tvs.dtsnvindel-UOXSLCDZ.js +40 -0
  417. package/dist/tvs.dtsv-HWCPRVBO.js +40 -0
  418. package/dist/tvs.numeric-7TGKWQYU.js +22 -0
  419. package/dist/tvs.samplelst-OWD22ITS.js +104 -0
  420. package/dist/tvs.termCollection-27BWABYK.js +129 -0
  421. package/dist/tvs.termCollection-27BWABYK.js.map +7 -0
  422. package/dist/violin-2IAVZGFF.js +46 -0
  423. package/dist/violin.integration.spec-JVODKUCL.js +1425 -0
  424. package/dist/violin.integration.spec-JVODKUCL.js.map +7 -0
  425. package/dist/violin.interactivity-STOCZMVN.js +38 -0
  426. package/dist/violin.renderer-MKDTJ3EX.js +40 -0
  427. package/dist/violin.renderer-MKDTJ3EX.js.map +7 -0
  428. package/dist/vocabulary-4IHU6DNN.js +41 -0
  429. package/dist/vocabulary-4IHU6DNN.js.map +7 -0
  430. package/package.json +3 -6
  431. package/dist/2dmaf-R3PFZNRN.js +0 -1373
  432. package/dist/AIProjectAdmin-DM3KG6SR.js +0 -958
  433. package/dist/AppHeader-6DZQ6YZX.js +0 -835
  434. package/dist/BoxPlot-76NINVX4.js +0 -1217
  435. package/dist/BoxPlot-76NINVX4.js.map +0 -7
  436. package/dist/CorrelationVolcano-U5UMJNH5.js +0 -619
  437. package/dist/DE-AXNYWIQK.js +0 -95
  438. package/dist/DEinput-JH6YY6LS.js +0 -301
  439. package/dist/DEinput-JH6YY6LS.js.map +0 -7
  440. package/dist/DifferentialAnalysis-25P4CGIY.js +0 -242
  441. package/dist/DifferentialAnalysis-25P4CGIY.js.map +0 -7
  442. package/dist/Disco-NVMLF3BK.js +0 -3392
  443. package/dist/Disco.UI-C7CZINUQ.js +0 -249
  444. package/dist/Disco.UI-C7CZINUQ.js.map +0 -7
  445. package/dist/DmrPlot-WROR4ENM.js +0 -642
  446. package/dist/GB-JUABODPH.js +0 -1394
  447. package/dist/GB-JUABODPH.js.map +0 -7
  448. package/dist/GSEA-Y5R2THIJ.js +0 -846
  449. package/dist/GeneExpInput-JDU6EI7K.js +0 -367
  450. package/dist/GeneExpInput-JDU6EI7K.js.map +0 -7
  451. package/dist/Geomap-J763OK2F.js +0 -89
  452. package/dist/HicApp-UNIJLH4B.js +0 -2250
  453. package/dist/IDCViewer-KVPCIUDW.js +0 -10803
  454. package/dist/IDCViewer-KVPCIUDW.js.map +0 -7
  455. package/dist/NumBinaryEditor-WMN2GGO4.js +0 -271
  456. package/dist/NumBinaryEditor.unit.spec-TAMXV6SE.js +0 -286
  457. package/dist/NumContEditor-XYIOJY4E.js +0 -109
  458. package/dist/NumContEditor.unit.spec-WDZ75BHO.js +0 -169
  459. package/dist/NumCustomBinEditor-5SY3C4TY.js +0 -38
  460. package/dist/NumCustomBinEditor.unit.spec-XHTAIXR3.js +0 -284
  461. package/dist/NumDiscreteEditor-NRDRX4FD.js +0 -179
  462. package/dist/NumDiscreteEditor.unit.spec-2CJW7OAT.js +0 -202
  463. package/dist/NumRegularBinEditor-DUDVTNDC.js +0 -38
  464. package/dist/NumRegularBinEditor.unit.spec-H3GNQHMN.js +0 -227
  465. package/dist/NumSplineEditor-7Q4AC7KH.js +0 -198
  466. package/dist/NumSplineEditor.unit.spec-YRZK5PH5.js +0 -199
  467. package/dist/NumericDensity-NTNWUESG.js +0 -38
  468. package/dist/NumericDensity.unit.spec-5I5U6T6P.js +0 -221
  469. package/dist/NumericHandler-MEW2KMPX.js +0 -39
  470. package/dist/NumericHandler.unit.spec-JFX4BPRG.js +0 -219
  471. package/dist/ProteomeInput-K2ZHR2U6.js +0 -395
  472. package/dist/ProteomeInput-K2ZHR2U6.js.map +0 -7
  473. package/dist/RunChart2-BEBDU7RC.js +0 -758
  474. package/dist/RunChart2-BEBDU7RC.js.map +0 -7
  475. package/dist/SC-XCBFJVUJ.js +0 -1120
  476. package/dist/SC-XCBFJVUJ.js.map +0 -7
  477. package/dist/Volcano-4Y4TP3UX.js +0 -1385
  478. package/dist/Volcano-4Y4TP3UX.js.map +0 -7
  479. package/dist/WSIViewer-ZLQU62PD.js +0 -48562
  480. package/dist/WsiSamplesPlot-JMBSITOM.js +0 -165
  481. package/dist/adSandbox-664IRCRL.js +0 -38
  482. package/dist/animatedBubbleChart-TX7NW34K.js +0 -555
  483. package/dist/animatedBubbleChart-TX7NW34K.js.map +0 -7
  484. package/dist/app-63WJ3BMP.js +0 -37
  485. package/dist/app-77FIZHCG.js +0 -49
  486. package/dist/bam-IETNVAYD.js +0 -860
  487. package/dist/bam-IETNVAYD.js.map +0 -7
  488. package/dist/barchart-YUVXJNH4.js +0 -47
  489. package/dist/barchart.data-P4EIQXGE.js +0 -22
  490. package/dist/barchart.events-JPVCLTIG.js +0 -47
  491. package/dist/barchart.integration.spec-ZH7DEQI2.js +0 -2196
  492. package/dist/barchart.integration.spec-ZH7DEQI2.js.map +0 -7
  493. package/dist/barchart2-XO2FG76J.js +0 -314
  494. package/dist/bars.renderer-AUIWUJDH.js +0 -12
  495. package/dist/block-NBTCOT3H.js +0 -6255
  496. package/dist/block.init-X7Y2EEVR.js +0 -38
  497. package/dist/block.mds.expressionrank-BIAOZIZ3.js +0 -359
  498. package/dist/block.mds.geneboxplot-CNICDVLK.js +0 -828
  499. package/dist/block.mds.junction-PQXCTSUI.js +0 -1545
  500. package/dist/block.mds.svcnv-32KMVTCT.js +0 -6801
  501. package/dist/block.svg-LRTOYQK2.js +0 -164
  502. package/dist/block.tk.aicheck-HDV7ZIUD.js +0 -283
  503. package/dist/block.tk.ase-JIDWKMYI.js +0 -365
  504. package/dist/block.tk.bam-5X3OS5HB.js +0 -1906
  505. package/dist/block.tk.bedgraphdot-T7JX7YQL.js +0 -384
  506. package/dist/block.tk.bigwig.ui-OSAYEBAE.js +0 -212
  507. package/dist/block.tk.bigwig.ui-OSAYEBAE.js.map +0 -7
  508. package/dist/block.tk.hicstraw-DEY3VQFK.js +0 -823
  509. package/dist/block.tk.junction-7UAFEZSJ.js +0 -2364
  510. package/dist/block.tk.junction.textmatrixui-27LHS33U.js +0 -199
  511. package/dist/block.tk.ld-DF2PI7OO.js +0 -99
  512. package/dist/block.tk.menu-L2D5KBIV.js +0 -1029
  513. package/dist/block.tk.pgv-QO56SKBV.js +0 -944
  514. package/dist/brainImaging-NIPQWFWO.js +0 -423
  515. package/dist/brainImaging-NIPQWFWO.js.map +0 -7
  516. package/dist/brainRegions-ZNZ2WHSU.js +0 -221
  517. package/dist/bubbleHeatmap-ERWNEKZB.js +0 -383
  518. package/dist/bubbleHeatmap-ERWNEKZB.js.map +0 -7
  519. package/dist/chunk-2GYWFQML.js +0 -299
  520. package/dist/chunk-2HYJ4GDH.js +0 -50
  521. package/dist/chunk-2HYJ4GDH.js.map +0 -7
  522. package/dist/chunk-2MG6XE6R.js +0 -272
  523. package/dist/chunk-2MG6XE6R.js.map +0 -7
  524. package/dist/chunk-2X6W4E3W.js +0 -1507
  525. package/dist/chunk-2X6W4E3W.js.map +0 -7
  526. package/dist/chunk-33K5PA52.js +0 -54
  527. package/dist/chunk-37XDBPOP.js +0 -26
  528. package/dist/chunk-3EWB3246.js +0 -58
  529. package/dist/chunk-3RSKOPIY.js +0 -100
  530. package/dist/chunk-3XVVN66M.js +0 -4085
  531. package/dist/chunk-4DPVT4NE.js +0 -1102
  532. package/dist/chunk-4IH7DORZ.js +0 -98
  533. package/dist/chunk-4QNBFIIR.js +0 -399
  534. package/dist/chunk-4QNBFIIR.js.map +0 -7
  535. package/dist/chunk-4STKL6SR.js +0 -217
  536. package/dist/chunk-4TZIVSL5.js +0 -34
  537. package/dist/chunk-4TZIVSL5.js.map +0 -7
  538. package/dist/chunk-5ABGFJSP.js +0 -467
  539. package/dist/chunk-5AZNP47R.js +0 -302
  540. package/dist/chunk-5RL2OHXX.js +0 -5070
  541. package/dist/chunk-5RL2OHXX.js.map +0 -7
  542. package/dist/chunk-5VOPABBA.js +0 -20941
  543. package/dist/chunk-5VOPABBA.js.map +0 -7
  544. package/dist/chunk-6BB43SIB.js +0 -102
  545. package/dist/chunk-6BB43SIB.js.map +0 -7
  546. package/dist/chunk-7IYJZZQI.js +0 -167
  547. package/dist/chunk-7IYJZZQI.js.map +0 -7
  548. package/dist/chunk-7OHRR2IE.js +0 -276
  549. package/dist/chunk-ARBHWDMY.js +0 -226
  550. package/dist/chunk-ARBHWDMY.js.map +0 -7
  551. package/dist/chunk-ASATD4T7.js +0 -14
  552. package/dist/chunk-AZ47Q7BX.js +0 -1223
  553. package/dist/chunk-AZ47Q7BX.js.map +0 -7
  554. package/dist/chunk-B5B3LZB3.js +0 -236
  555. package/dist/chunk-B5B3LZB3.js.map +0 -7
  556. package/dist/chunk-BHGISFCA.js +0 -2681
  557. package/dist/chunk-BHGISFCA.js.map +0 -7
  558. package/dist/chunk-BMBOZ64T.js +0 -2786
  559. package/dist/chunk-BMBOZ64T.js.map +0 -7
  560. package/dist/chunk-BOZJHPJP.js +0 -216
  561. package/dist/chunk-CDD7LYJM.js +0 -194
  562. package/dist/chunk-CDD7LYJM.js.map +0 -7
  563. package/dist/chunk-CTQ3IUCA.js +0 -2327
  564. package/dist/chunk-D7TID3HR.js +0 -158
  565. package/dist/chunk-D7TID3HR.js.map +0 -7
  566. package/dist/chunk-DBKNWR4J.js +0 -1561
  567. package/dist/chunk-DBKNWR4J.js.map +0 -7
  568. package/dist/chunk-E55LLYRX.js +0 -55
  569. package/dist/chunk-ESEQBXTM.js +0 -121
  570. package/dist/chunk-ESEQBXTM.js.map +0 -7
  571. package/dist/chunk-ESGXULRH.js +0 -386
  572. package/dist/chunk-ESGXULRH.js.map +0 -7
  573. package/dist/chunk-EZ4LZ6ZT.js +0 -117
  574. package/dist/chunk-EZ4LZ6ZT.js.map +0 -7
  575. package/dist/chunk-F3SJTVP5.js +0 -4284
  576. package/dist/chunk-F3SJTVP5.js.map +0 -7
  577. package/dist/chunk-F5IXNJO7.js +0 -222
  578. package/dist/chunk-FJYECRHW.js +0 -448
  579. package/dist/chunk-FJYECRHW.js.map +0 -7
  580. package/dist/chunk-FPNRUQOU.js +0 -833
  581. package/dist/chunk-FPNRUQOU.js.map +0 -7
  582. package/dist/chunk-G5S4R77D.js +0 -1942
  583. package/dist/chunk-G5S4R77D.js.map +0 -7
  584. package/dist/chunk-G764NXQN.js +0 -170
  585. package/dist/chunk-G764NXQN.js.map +0 -7
  586. package/dist/chunk-GAPI4MML.js +0 -148
  587. package/dist/chunk-HBW42TDT.js +0 -132
  588. package/dist/chunk-HBW42TDT.js.map +0 -7
  589. package/dist/chunk-HLUZOZXJ.js +0 -272
  590. package/dist/chunk-HOKIK2FR.js +0 -375
  591. package/dist/chunk-HOKIK2FR.js.map +0 -7
  592. package/dist/chunk-I6WR4CG7.js +0 -323
  593. package/dist/chunk-I6WR4CG7.js.map +0 -7
  594. package/dist/chunk-K5XPMCKP.js +0 -135
  595. package/dist/chunk-KI5KI3ZJ.js +0 -276
  596. package/dist/chunk-KI5KI3ZJ.js.map +0 -7
  597. package/dist/chunk-KLGL6XZD.js +0 -129
  598. package/dist/chunk-KYBIQBXE.js +0 -1628
  599. package/dist/chunk-L7IRWUKT.js +0 -480
  600. package/dist/chunk-LFCYMSVA.js +0 -314
  601. package/dist/chunk-LX6G7HJJ.js +0 -617
  602. package/dist/chunk-LX6G7HJJ.js.map +0 -7
  603. package/dist/chunk-M2G5R4WB.js +0 -142
  604. package/dist/chunk-M4TTGGT4.js +0 -102
  605. package/dist/chunk-M4TTGGT4.js.map +0 -7
  606. package/dist/chunk-M6EF3WVV.js +0 -1825
  607. package/dist/chunk-M6EF3WVV.js.map +0 -7
  608. package/dist/chunk-M6KHT3MM.js +0 -146
  609. package/dist/chunk-M6KHT3MM.js.map +0 -7
  610. package/dist/chunk-MCZFHWIR.js +0 -230
  611. package/dist/chunk-MFQACKYU.js +0 -448
  612. package/dist/chunk-MFQACKYU.js.map +0 -7
  613. package/dist/chunk-MVGAGTM3.js +0 -343
  614. package/dist/chunk-MVGAGTM3.js.map +0 -7
  615. package/dist/chunk-NELOT3NJ.js +0 -119
  616. package/dist/chunk-NELOT3NJ.js.map +0 -7
  617. package/dist/chunk-NRKMXULC.js +0 -54
  618. package/dist/chunk-NRKMXULC.js.map +0 -7
  619. package/dist/chunk-NSTL4MY2.js +0 -2110
  620. package/dist/chunk-NYRZNRG5.js +0 -177
  621. package/dist/chunk-NYRZNRG5.js.map +0 -7
  622. package/dist/chunk-OMR2DT66.js +0 -776
  623. package/dist/chunk-ONPKE6DC.js +0 -368
  624. package/dist/chunk-OXVLWQ6M.js +0 -556
  625. package/dist/chunk-OXVLWQ6M.js.map +0 -7
  626. package/dist/chunk-PFRWS4CR.js +0 -203
  627. package/dist/chunk-PJKQUXEN.js +0 -1275
  628. package/dist/chunk-Q2L44HK3.js +0 -6364
  629. package/dist/chunk-QNHT74XC.js +0 -1245
  630. package/dist/chunk-RKO6BL5N.js +0 -446
  631. package/dist/chunk-T25QNZHB.js +0 -254
  632. package/dist/chunk-U7TBYVIQ.js +0 -31
  633. package/dist/chunk-UGRQXBL4.js +0 -381
  634. package/dist/chunk-USFSHSCJ.js +0 -477
  635. package/dist/chunk-USFSHSCJ.js.map +0 -7
  636. package/dist/chunk-VJ6UFVGC.js +0 -2833
  637. package/dist/chunk-VJ6UFVGC.js.map +0 -7
  638. package/dist/chunk-W3WPPOXH.js +0 -292
  639. package/dist/chunk-WFCSOTBO.js +0 -263
  640. package/dist/chunk-WHP4AKDM.js +0 -185
  641. package/dist/chunk-WHP4AKDM.js.map +0 -7
  642. package/dist/chunk-WZ2L57MB.js +0 -102
  643. package/dist/chunk-XPY6AWXO.js +0 -787
  644. package/dist/chunk-Y4UAKFWC.js +0 -37
  645. package/dist/chunk-Y4UAKFWC.js.map +0 -7
  646. package/dist/chunk-YQBS2ZCK.js +0 -514
  647. package/dist/chunk-Z5U6HOE4.js +0 -190
  648. package/dist/chunk-Z5U6HOE4.js.map +0 -7
  649. package/dist/chunk-ZNEJUKJW.js +0 -140
  650. package/dist/chunk-ZTHM2TKP.js +0 -176
  651. package/dist/condition-2PASYSUC.js +0 -332
  652. package/dist/controls-5IMJ6K5L.js +0 -41
  653. package/dist/controls.config-P5PG2DHW.js +0 -39
  654. package/dist/correlation-U3EDLNHR.js +0 -102
  655. package/dist/cuminc-2HUFEROK.js +0 -1149
  656. package/dist/cuminc-2HUFEROK.js.map +0 -7
  657. package/dist/cuminc.integration.spec-WFWAPTDA.js +0 -678
  658. package/dist/customdata.inputui-ZHWNEPFH.js +0 -289
  659. package/dist/dataDownload-VBSJBKMP.js +0 -330
  660. package/dist/dataDownload.integration.spec-LUFSETOP.js +0 -193
  661. package/dist/databrowser.ui-6H2KMSTJ.js +0 -433
  662. package/dist/databrowser.ui-6H2KMSTJ.js.map +0 -7
  663. package/dist/dictionary-V37LXFIP.js +0 -118
  664. package/dist/dnaMethylation-OIZMHMLK.js +0 -38
  665. package/dist/dnaMethylation.integration.spec-CWPTJ74H.js +0 -203
  666. package/dist/dnaMethylation.integration.spec-CWPTJ74H.js.map +0 -7
  667. package/dist/dofetch-IWPZQB5N.js +0 -51
  668. package/dist/e2pca-7SLIAGYW.js +0 -350
  669. package/dist/ep-7L6KF6K4.js +0 -1256
  670. package/dist/expclust.gdc.spec-JT452Q3G.js +0 -307
  671. package/dist/facet-CXOUU5AS.js +0 -521
  672. package/dist/facet-CXOUU5AS.js.map +0 -7
  673. package/dist/forms2-VPNCLQOY.js +0 -539
  674. package/dist/forms2-VPNCLQOY.js.map +0 -7
  675. package/dist/gb-P4VRXRED.js +0 -88
  676. package/dist/geneExpClustering-FQTCKRJJ.js +0 -249
  677. package/dist/geneExpClustering-FQTCKRJJ.js.map +0 -7
  678. package/dist/geneExpression-BHO5326K.js +0 -313
  679. package/dist/geneExpression-ZMERB64E.js +0 -38
  680. package/dist/geneExpression.unit.spec-CNVHZWNG.js +0 -102
  681. package/dist/geneExpression.unit.spec-CNVHZWNG.js.map +0 -7
  682. package/dist/geneORA-FXVUCXGX.js +0 -278
  683. package/dist/geneRanking-SFK4UBKQ.js +0 -553
  684. package/dist/geneVariant-IYEHB4H7.js +0 -41
  685. package/dist/geneVariant-LIRRLUFR.js +0 -39
  686. package/dist/geneVariant.integration.spec-Y2NPNTYX.js +0 -198
  687. package/dist/genefusion.ui-L3HIJM3N.js +0 -309
  688. package/dist/genefusion.ui-L3HIJM3N.js.map +0 -7
  689. package/dist/geneset-A6VUFX63.js +0 -208
  690. package/dist/genomeBrowser.spec-CB4HHHBN.js +0 -281
  691. package/dist/grin2-FKBIMH5N.js +0 -75
  692. package/dist/grin2-V36KLEBU.js +0 -1143
  693. package/dist/hierCluster-QFPRMHVA.js +0 -63
  694. package/dist/hierCluster-YWC3XYPV.js +0 -59
  695. package/dist/hierCluster.config-F7YYZNM3.js +0 -40
  696. package/dist/hierCluster.integration.spec-AF4L3YT6.js +0 -488
  697. package/dist/hierCluster.integration.spec-AF4L3YT6.js.map +0 -7
  698. package/dist/hierCluster.interactivity-RPY74PK6.js +0 -54
  699. package/dist/hierCluster.renderers-LOKHZ3V2.js +0 -21
  700. package/dist/imagePlot-BBEXA754.js +0 -163
  701. package/dist/importPlot-7QGANZGK.js +0 -8
  702. package/dist/isoformExpression-4SLLCVFD.js +0 -40
  703. package/dist/isoformExpression.unit.spec-GEL4JJ64.js +0 -208
  704. package/dist/isoformExpression.unit.spec-GEL4JJ64.js.map +0 -7
  705. package/dist/launch.adhoc-LWLBQJS5.js +0 -42
  706. package/dist/leftlabel.sample-RTEZOIH2.js +0 -264
  707. package/dist/leftlabel.sample-RTEZOIH2.js.map +0 -7
  708. package/dist/legacyDataset-VLD7ZYWI.js +0 -119
  709. package/dist/lollipop-XKQK5QZU.js +0 -171
  710. package/dist/maf-AZQPPWDO.js +0 -459
  711. package/dist/maftimeline-7MSVYKQU.js +0 -593
  712. package/dist/matrix-BGLWC25D.js +0 -58
  713. package/dist/matrix-IQR5SRMK.js +0 -63
  714. package/dist/matrix.cells-5C57NWOY.js +0 -28
  715. package/dist/matrix.config-2DQXAN2E.js +0 -41
  716. package/dist/matrix.data-ADCGF5H6.js +0 -25
  717. package/dist/matrix.groups-V4ITQ5F7.js +0 -27
  718. package/dist/matrix.integration.spec-IBNOO2WP.js +0 -3072
  719. package/dist/matrix.interactivity-JNELJFOV.js +0 -42
  720. package/dist/matrix.layout-WBVIV6GR.js +0 -44
  721. package/dist/matrix.legend-YHOWPK77.js +0 -22
  722. package/dist/matrix.renderers-5BGVRR3M.js +0 -38
  723. package/dist/matrix.serieses-2GZJOASZ.js +0 -21
  724. package/dist/matrix.sort-WKIWPJKP.js +0 -27
  725. package/dist/matrix.sort.unit.spec-L2E4D4AS.js +0 -472
  726. package/dist/matrix.sorterUi-TEJWWJ64.js +0 -18
  727. package/dist/matrix.sorterUi.unit.spec-SHP7C4P7.js +0 -342
  728. package/dist/mavb-4MXNYUEO.js +0 -732
  729. package/dist/mds.fimo-WHIJIBOI.js +0 -518
  730. package/dist/mds.samplescatterplot-BRJ6NG2D.js +0 -1550
  731. package/dist/mds.survivalplot-OPCMB5PB.js +0 -483
  732. package/dist/numericDictTermCluster-7MIFOP2K.js +0 -65
  733. package/dist/oncomatrix-BGG6BEUI.js +0 -295
  734. package/dist/oncomatrix.spec-LYQ4L4F3.js +0 -448
  735. package/dist/plot.2dvaf-6WVCP2ZI.js +0 -377
  736. package/dist/plot.app-MLBP6WFP.js +0 -41
  737. package/dist/plot.barplot-JEPRZSCU.js +0 -102
  738. package/dist/plot.boxplot-GNFW42VM.js +0 -152
  739. package/dist/plot.brainImaging-5ACNSD45.js +0 -51
  740. package/dist/plot.disco-Q2V2KKIH.js +0 -102
  741. package/dist/plot.dzi-KVT6S7K7.js +0 -33
  742. package/dist/plot.ssgq-4N3KFJQ2.js +0 -139
  743. package/dist/plot.vaf2cov-ITRG5U43.js +0 -259
  744. package/dist/plot.wsi-26YZNU4V.js +0 -36
  745. package/dist/polar2-J7GVUK4X.js +0 -231
  746. package/dist/polar2-J7GVUK4X.js.map +0 -7
  747. package/dist/profileForms-VXV2JLXU.js +0 -446
  748. package/dist/profileForms-VXV2JLXU.js.map +0 -7
  749. package/dist/profilePlot-ZZYZK4SY.js +0 -54
  750. package/dist/proteinView-7KN532D3.js +0 -1568
  751. package/dist/proteinView-7KN532D3.js.map +0 -7
  752. package/dist/qualitative-MLRVLIAU.js +0 -43
  753. package/dist/radar2-WM2ZBOH3.js +0 -326
  754. package/dist/radar2-WM2ZBOH3.js.map +0 -7
  755. package/dist/radarFacility2-3SBR2JJ3.js +0 -334
  756. package/dist/radarFacility2-3SBR2JJ3.js.map +0 -7
  757. package/dist/regression-WMRPQJW2.js +0 -56
  758. package/dist/regression.inputs-VWZKSYNY.js +0 -48
  759. package/dist/regression.inputs.term-OWE6GWHM.js +0 -48
  760. package/dist/regression.inputs.values.table-4INNZQI2.js +0 -45
  761. package/dist/regression.integration.spec-XKQ2JOOT.js +0 -784
  762. package/dist/regression.results-VZBYMBYC.js +0 -40
  763. package/dist/regression.spec-DU3UTDCJ.js +0 -708
  764. package/dist/render-N5FOF247.js +0 -38
  765. package/dist/report-DW3OHB67.js +0 -222
  766. package/dist/sampleScatter.spec-REFSK2V4.js +0 -202
  767. package/dist/sampleScatter.spec-REFSK2V4.js.map +0 -7
  768. package/dist/sampleView-ICOT2R6O.js +0 -48
  769. package/dist/samplelst-TJEVASYG.js +0 -111
  770. package/dist/samplematrix-6DAWCXQ3.js +0 -2198
  771. package/dist/sc-53LNOB7N.js +0 -86
  772. package/dist/scatter-DKYSS4DL.js +0 -851
  773. package/dist/selectGenomeWithTklst-WTX66TV3.js +0 -134
  774. package/dist/singleCellCellType-D2CN2BHQ.js +0 -38
  775. package/dist/singleCellCellType.unit.spec-LADUCI4R.js +0 -160
  776. package/dist/singleCellCellType.unit.spec-LADUCI4R.js.map +0 -7
  777. package/dist/singleCellGeneExpression-YR2ZT34W.js +0 -38
  778. package/dist/singleCellGeneExpression.unit.spec-BM63M432.js +0 -153
  779. package/dist/singleCellGeneExpression.unit.spec-BM63M432.js.map +0 -7
  780. package/dist/singleCellPlot-3ICIOILE.js +0 -54
  781. package/dist/singlecell-6ZUFA3BQ.js +0 -86
  782. package/dist/singlecell-KX7W4U57.js +0 -1572
  783. package/dist/snp-VIURB7L3.js +0 -38
  784. package/dist/snp.unit.spec-ACZNZUNS.js +0 -176
  785. package/dist/snplocus-3LW4ZUZR.js +0 -208
  786. package/dist/spliceevent.a53ss.diagram-AKTZGWNM.js +0 -151
  787. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js +0 -283
  788. package/dist/spliceevent.noeventdiagram-YTXWWNTJ.js +0 -460
  789. package/dist/ssGSEA-THW4WFMI.js +0 -38
  790. package/dist/ssGSEA.unit.spec-HTRGQI2K.js +0 -88
  791. package/dist/summarizeCnvGeneexp-RFYC3H2Z.js +0 -163
  792. package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js +0 -114
  793. package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js.map +0 -7
  794. package/dist/summarizeMutationCnv-7AYEMHAI.js +0 -164
  795. package/dist/summarizeMutationDiagnosis-AKFJDSAF.js +0 -40
  796. package/dist/summarizeMutationSurvival-QJHZRQBZ.js +0 -99
  797. package/dist/summary-A5P7AYK4.js +0 -49
  798. package/dist/summary.integration.spec-HQISXGNL.js +0 -414
  799. package/dist/summaryInput-HP675QOQ.js +0 -235
  800. package/dist/summaryInput-HP675QOQ.js.map +0 -7
  801. package/dist/sunburst-65LSYRXX.js +0 -284
  802. package/dist/survival-QNEI6YVK.js +0 -46
  803. package/dist/survival-UI74VXSM.js +0 -58
  804. package/dist/survival.integration.spec-X5N3JQXS.js +0 -915
  805. package/dist/survival.integration.spec-X5N3JQXS.js.map +0 -7
  806. package/dist/svgraph-PSX2NER3.js +0 -1387
  807. package/dist/svmr-QDQ33EFX.js +0 -3842
  808. package/dist/table-LWAI27UO.js +0 -200
  809. package/dist/termCollection-3JHR74FG.js +0 -179
  810. package/dist/termCollection-3JHR74FG.js.map +0 -7
  811. package/dist/termCollection-CDF5LYUG.js +0 -38
  812. package/dist/termCollection.unit.spec-HOJKYWHF.js +0 -208
  813. package/dist/termCollection.unit.spec-HOJKYWHF.js.map +0 -7
  814. package/dist/tk-GL4QCL4K.js +0 -1019
  815. package/dist/tk-GL4QCL4K.js.map +0 -7
  816. package/dist/tk-OEQFO73V.js +0 -46
  817. package/dist/toggleButtons-YK7TIFF2.js +0 -9
  818. package/dist/tp.ui-SHNERDGC.js +0 -1459
  819. package/dist/tvs.density-3XJ6DBGO.js +0 -18
  820. package/dist/tvs.dt-CZDC4TSR.js +0 -39
  821. package/dist/tvs.dtcnv.categorical-OPBDHZGB.js +0 -40
  822. package/dist/tvs.dtcnv.continuous-AR6P4EP3.js +0 -72
  823. package/dist/tvs.dtfusion-2YQ7N6FQ.js +0 -40
  824. package/dist/tvs.dtitd-ATCHW735.js +0 -40
  825. package/dist/tvs.dtsnvindel-WHHWAATJ.js +0 -40
  826. package/dist/tvs.dtsv-3UMCW65O.js +0 -40
  827. package/dist/tvs.numeric-TOEPASWN.js +0 -21
  828. package/dist/tvs.samplelst-M7XKXRTZ.js +0 -104
  829. package/dist/tvs.termCollection-WT4WZMYR.js +0 -159
  830. package/dist/tvs.termCollection-WT4WZMYR.js.map +0 -7
  831. package/dist/violin-2YGXTBDS.js +0 -46
  832. package/dist/violin.integration.spec-YWNHVAGS.js +0 -1425
  833. package/dist/violin.integration.spec-YWNHVAGS.js.map +0 -7
  834. package/dist/violin.interactivity-J6BE2UQL.js +0 -38
  835. package/dist/violin.renderer-3GRUWP2U.js +0 -40
  836. package/dist/vocabulary-2INCVPYJ.js +0 -41
  837. /package/dist/{2dmaf-R3PFZNRN.js.map → 2dmaf-RRV3ORZR.js.map} +0 -0
  838. /package/dist/{AIProjectAdmin-DM3KG6SR.js.map → AIProjectAdmin-DKLEFCGX.js.map} +0 -0
  839. /package/dist/{AppHeader-6DZQ6YZX.js.map → AppHeader-WQ2F7HZY.js.map} +0 -0
  840. /package/dist/{CorrelationVolcano-U5UMJNH5.js.map → CorrelationVolcano-HR6IP2SZ.js.map} +0 -0
  841. /package/dist/{DE-AXNYWIQK.js.map → DE-DAW6ZKM7.js.map} +0 -0
  842. /package/dist/{Disco-NVMLF3BK.js.map → Disco-QEBEVQS2.js.map} +0 -0
  843. /package/dist/{DmrPlot-WROR4ENM.js.map → DmrPlot-CWBQDZL7.js.map} +0 -0
  844. /package/dist/{GSEA-Y5R2THIJ.js.map → GSEA-6UKMI6GY.js.map} +0 -0
  845. /package/dist/{Geomap-J763OK2F.js.map → Geomap-ANMR32HE.js.map} +0 -0
  846. /package/dist/{HicApp-UNIJLH4B.js.map → HicApp-WHPUPHEM.js.map} +0 -0
  847. /package/dist/{NumBinaryEditor-WMN2GGO4.js.map → NumBinaryEditor-VG5KOGDA.js.map} +0 -0
  848. /package/dist/{NumBinaryEditor.unit.spec-TAMXV6SE.js.map → NumBinaryEditor.unit.spec-UCGFZS3P.js.map} +0 -0
  849. /package/dist/{NumContEditor-XYIOJY4E.js.map → NumContEditor-J52RON3G.js.map} +0 -0
  850. /package/dist/{NumContEditor.unit.spec-WDZ75BHO.js.map → NumContEditor.unit.spec-5GTWUJEL.js.map} +0 -0
  851. /package/dist/{NumCustomBinEditor-5SY3C4TY.js.map → NumCustomBinEditor-GM2OJMOX.js.map} +0 -0
  852. /package/dist/{NumCustomBinEditor.unit.spec-XHTAIXR3.js.map → NumCustomBinEditor.unit.spec-3PGJ25J4.js.map} +0 -0
  853. /package/dist/{NumDiscreteEditor-NRDRX4FD.js.map → NumDiscreteEditor-2CAKT3Y4.js.map} +0 -0
  854. /package/dist/{NumDiscreteEditor.unit.spec-2CJW7OAT.js.map → NumDiscreteEditor.unit.spec-XCWSJTRT.js.map} +0 -0
  855. /package/dist/{NumRegularBinEditor-DUDVTNDC.js.map → NumRegularBinEditor-CZYITY5L.js.map} +0 -0
  856. /package/dist/{NumRegularBinEditor.unit.spec-H3GNQHMN.js.map → NumRegularBinEditor.unit.spec-OUBZ5XB3.js.map} +0 -0
  857. /package/dist/{NumSplineEditor-7Q4AC7KH.js.map → NumSplineEditor-TWRL5AQQ.js.map} +0 -0
  858. /package/dist/{NumSplineEditor.unit.spec-YRZK5PH5.js.map → NumSplineEditor.unit.spec-5P6NQZ3N.js.map} +0 -0
  859. /package/dist/{NumericDensity-NTNWUESG.js.map → NumericDensity-JSOFOEH2.js.map} +0 -0
  860. /package/dist/{NumericDensity.unit.spec-5I5U6T6P.js.map → NumericDensity.unit.spec-REUKHMKK.js.map} +0 -0
  861. /package/dist/{NumericHandler-MEW2KMPX.js.map → NumericHandler-UZOGKPKB.js.map} +0 -0
  862. /package/dist/{NumericHandler.unit.spec-JFX4BPRG.js.map → NumericHandler.unit.spec-X2DAED4O.js.map} +0 -0
  863. /package/dist/{WSIViewer-ZLQU62PD.js.map → WSIViewer-UDA4WIRT.js.map} +0 -0
  864. /package/dist/{WsiSamplesPlot-JMBSITOM.js.map → WsiSamplesPlot-DYSFMD22.js.map} +0 -0
  865. /package/dist/{adSandbox-664IRCRL.js.map → adSandbox-5BUDCAER.js.map} +0 -0
  866. /package/dist/{app-63WJ3BMP.js.map → app-O64TGDFH.js.map} +0 -0
  867. /package/dist/{app-77FIZHCG.js.map → app-Y2STUISK.js.map} +0 -0
  868. /package/dist/{barchart-YUVXJNH4.js.map → barchart-UHCTYRMJ.js.map} +0 -0
  869. /package/dist/{barchart.data-P4EIQXGE.js.map → barchart.data-LSK2P2PR.js.map} +0 -0
  870. /package/dist/{barchart.events-JPVCLTIG.js.map → barchart.events-Y4H2GADS.js.map} +0 -0
  871. /package/dist/{barchart2-XO2FG76J.js.map → barchart2-VIZKZRMP.js.map} +0 -0
  872. /package/dist/{bars.renderer-AUIWUJDH.js.map → bars.renderer-54UCFLJS.js.map} +0 -0
  873. /package/dist/{block-NBTCOT3H.js.map → block-BGSSF6XP.js.map} +0 -0
  874. /package/dist/{block.init-X7Y2EEVR.js.map → block.init-H7RKUIHG.js.map} +0 -0
  875. /package/dist/{block.mds.expressionrank-BIAOZIZ3.js.map → block.mds.expressionrank-MA3HGT7S.js.map} +0 -0
  876. /package/dist/{block.mds.geneboxplot-CNICDVLK.js.map → block.mds.geneboxplot-CWT5DM5T.js.map} +0 -0
  877. /package/dist/{block.mds.junction-PQXCTSUI.js.map → block.mds.junction-P4I7O73X.js.map} +0 -0
  878. /package/dist/{block.mds.svcnv-32KMVTCT.js.map → block.mds.svcnv-NSPEY43S.js.map} +0 -0
  879. /package/dist/{block.svg-LRTOYQK2.js.map → block.svg-DP4G3LNQ.js.map} +0 -0
  880. /package/dist/{block.tk.aicheck-HDV7ZIUD.js.map → block.tk.aicheck-EBLTOWKZ.js.map} +0 -0
  881. /package/dist/{block.tk.ase-JIDWKMYI.js.map → block.tk.ase-X7WKQOFS.js.map} +0 -0
  882. /package/dist/{block.tk.bam-5X3OS5HB.js.map → block.tk.bam-OIP3TS3N.js.map} +0 -0
  883. /package/dist/{block.tk.bedgraphdot-T7JX7YQL.js.map → block.tk.bedgraphdot-2DDF55J3.js.map} +0 -0
  884. /package/dist/{block.tk.hicstraw-DEY3VQFK.js.map → block.tk.hicstraw-4OIG4TBZ.js.map} +0 -0
  885. /package/dist/{block.tk.junction-7UAFEZSJ.js.map → block.tk.junction-52OWEQUN.js.map} +0 -0
  886. /package/dist/{block.tk.junction.textmatrixui-27LHS33U.js.map → block.tk.junction.textmatrixui-64YOSZLW.js.map} +0 -0
  887. /package/dist/{block.tk.ld-DF2PI7OO.js.map → block.tk.ld-3AMNHBDY.js.map} +0 -0
  888. /package/dist/{block.tk.menu-L2D5KBIV.js.map → block.tk.menu-4724DJXL.js.map} +0 -0
  889. /package/dist/{block.tk.pgv-QO56SKBV.js.map → block.tk.pgv-2SIOPWYI.js.map} +0 -0
  890. /package/dist/{brainRegions-ZNZ2WHSU.js.map → brainRegions-HJ2VGL3L.js.map} +0 -0
  891. /package/dist/{chunk-T25QNZHB.js.map → chunk-26APRXD3.js.map} +0 -0
  892. /package/dist/{chunk-3XVVN66M.js.map → chunk-2KXLYFAO.js.map} +0 -0
  893. /package/dist/{chunk-PJKQUXEN.js.map → chunk-3BGFM7Q4.js.map} +0 -0
  894. /package/dist/{chunk-KLGL6XZD.js.map → chunk-4HZN6PMU.js.map} +0 -0
  895. /package/dist/{chunk-4IH7DORZ.js.map → chunk-5DMVORBB.js.map} +0 -0
  896. /package/dist/{chunk-QNHT74XC.js.map → chunk-5QMBB4SK.js.map} +0 -0
  897. /package/dist/{chunk-KYBIQBXE.js.map → chunk-5R63Q5KH.js.map} +0 -0
  898. /package/dist/{chunk-RKO6BL5N.js.map → chunk-6JYQGZ3Y.js.map} +0 -0
  899. /package/dist/{chunk-5ABGFJSP.js.map → chunk-6QCYT6G2.js.map} +0 -0
  900. /package/dist/{chunk-ZNEJUKJW.js.map → chunk-B4ESQLPB.js.map} +0 -0
  901. /package/dist/{chunk-UGRQXBL4.js.map → chunk-E3VF4RHJ.js.map} +0 -0
  902. /package/dist/{chunk-W3WPPOXH.js.map → chunk-EGPNRSPF.js.map} +0 -0
  903. /package/dist/{chunk-M2G5R4WB.js.map → chunk-FACITNG5.js.map} +0 -0
  904. /package/dist/{chunk-CTQ3IUCA.js.map → chunk-H3N4KYKL.js.map} +0 -0
  905. /package/dist/{chunk-ASATD4T7.js.map → chunk-H3VWJH4U.js.map} +0 -0
  906. /package/dist/{chunk-F5IXNJO7.js.map → chunk-HEVKBSN6.js.map} +0 -0
  907. /package/dist/{chunk-YQBS2ZCK.js.map → chunk-HQUYAZQY.js.map} +0 -0
  908. /package/dist/{chunk-37XDBPOP.js.map → chunk-J4USU73L.js.map} +0 -0
  909. /package/dist/{chunk-K5XPMCKP.js.map → chunk-JH73IL4C.js.map} +0 -0
  910. /package/dist/{chunk-4STKL6SR.js.map → chunk-KU7YH7MV.js.map} +0 -0
  911. /package/dist/{chunk-HLUZOZXJ.js.map → chunk-M66VDGSH.js.map} +0 -0
  912. /package/dist/{chunk-5AZNP47R.js.map → chunk-MJN6RDXB.js.map} +0 -0
  913. /package/dist/{chunk-U7TBYVIQ.js.map → chunk-MPNEZ6EL.js.map} +0 -0
  914. /package/dist/{chunk-LFCYMSVA.js.map → chunk-MPSLUEI4.js.map} +0 -0
  915. /package/dist/{chunk-ONPKE6DC.js.map → chunk-NIXFCC7X.js.map} +0 -0
  916. /package/dist/{chunk-7OHRR2IE.js.map → chunk-NODQZTWK.js.map} +0 -0
  917. /package/dist/{chunk-4DPVT4NE.js.map → chunk-NVTJ5AUT.js.map} +0 -0
  918. /package/dist/{chunk-E55LLYRX.js.map → chunk-OOWXMY7U.js.map} +0 -0
  919. /package/dist/{chunk-XPY6AWXO.js.map → chunk-OTTMHVYH.js.map} +0 -0
  920. /package/dist/{chunk-OMR2DT66.js.map → chunk-Q5RDQNIT.js.map} +0 -0
  921. /package/dist/{chunk-3EWB3246.js.map → chunk-QDX2XUNF.js.map} +0 -0
  922. /package/dist/{chunk-WZ2L57MB.js.map → chunk-ROMW4AK2.js.map} +0 -0
  923. /package/dist/{chunk-MCZFHWIR.js.map → chunk-RR5U35N7.js.map} +0 -0
  924. /package/dist/{chunk-GAPI4MML.js.map → chunk-RVKADD4L.js.map} +0 -0
  925. /package/dist/{chunk-33K5PA52.js.map → chunk-S5ZCK44Z.js.map} +0 -0
  926. /package/dist/{chunk-ZTHM2TKP.js.map → chunk-SNRIVNQ3.js.map} +0 -0
  927. /package/dist/{chunk-WFCSOTBO.js.map → chunk-TAM7UCAI.js.map} +0 -0
  928. /package/dist/{chunk-NSTL4MY2.js.map → chunk-UJELJXJG.js.map} +0 -0
  929. /package/dist/{chunk-L7IRWUKT.js.map → chunk-ULESDMUT.js.map} +0 -0
  930. /package/dist/{chunk-3RSKOPIY.js.map → chunk-W76X6W73.js.map} +0 -0
  931. /package/dist/{chunk-PFRWS4CR.js.map → chunk-W7OS7BNM.js.map} +0 -0
  932. /package/dist/{chunk-Q2L44HK3.js.map → chunk-WTTD6DUL.js.map} +0 -0
  933. /package/dist/{chunk-2GYWFQML.js.map → chunk-WXPFMVU6.js.map} +0 -0
  934. /package/dist/{chunk-BOZJHPJP.js.map → chunk-YBLTSYQV.js.map} +0 -0
  935. /package/dist/{condition-2PASYSUC.js.map → condition-L2IXP6WH.js.map} +0 -0
  936. /package/dist/{controls-5IMJ6K5L.js.map → controls-2S5QVWUC.js.map} +0 -0
  937. /package/dist/{controls.config-P5PG2DHW.js.map → controls.config-3AJKR4ZZ.js.map} +0 -0
  938. /package/dist/{correlation-U3EDLNHR.js.map → correlation-DXTAWSLU.js.map} +0 -0
  939. /package/dist/{cuminc.integration.spec-WFWAPTDA.js.map → cuminc.integration.spec-WAYRLHUH.js.map} +0 -0
  940. /package/dist/{customdata.inputui-ZHWNEPFH.js.map → customdata.inputui-7WH2NJGB.js.map} +0 -0
  941. /package/dist/{dataDownload-VBSJBKMP.js.map → dataDownload-HM4UYOBO.js.map} +0 -0
  942. /package/dist/{dataDownload.integration.spec-LUFSETOP.js.map → dataDownload.integration.spec-F5CO4BWA.js.map} +0 -0
  943. /package/dist/{dictionary-V37LXFIP.js.map → dictionary-EEPTFDYD.js.map} +0 -0
  944. /package/dist/{dnaMethylation-OIZMHMLK.js.map → dnaMethylation-N3WNK6XA.js.map} +0 -0
  945. /package/dist/{dofetch-IWPZQB5N.js.map → dofetch-YKYPEJTQ.js.map} +0 -0
  946. /package/dist/{e2pca-7SLIAGYW.js.map → e2pca-JEZIGVB2.js.map} +0 -0
  947. /package/dist/{ep-7L6KF6K4.js.map → ep-5FMH2MLV.js.map} +0 -0
  948. /package/dist/{expclust.gdc.spec-JT452Q3G.js.map → expclust.gdc.spec-FR26VSUA.js.map} +0 -0
  949. /package/dist/{gb-P4VRXRED.js.map → gb-WGEVO7L2.js.map} +0 -0
  950. /package/dist/{geneExpression-BHO5326K.js.map → geneExpression-5NWQXMJ3.js.map} +0 -0
  951. /package/dist/{geneExpression-ZMERB64E.js.map → geneExpression-VWUMM2LU.js.map} +0 -0
  952. /package/dist/{geneORA-FXVUCXGX.js.map → geneORA-3VWFWDYI.js.map} +0 -0
  953. /package/dist/{geneRanking-SFK4UBKQ.js.map → geneRanking-PKDVD5OD.js.map} +0 -0
  954. /package/dist/{geneVariant-IYEHB4H7.js.map → geneVariant-IFIJQXH4.js.map} +0 -0
  955. /package/dist/{geneVariant-LIRRLUFR.js.map → geneVariant-WZSOG4GI.js.map} +0 -0
  956. /package/dist/{geneVariant.integration.spec-Y2NPNTYX.js.map → geneVariant.integration.spec-6KQMWVHR.js.map} +0 -0
  957. /package/dist/{geneset-A6VUFX63.js.map → geneset-RJAULSKC.js.map} +0 -0
  958. /package/dist/{genomeBrowser.spec-CB4HHHBN.js.map → genomeBrowser.spec-42OTTMGO.js.map} +0 -0
  959. /package/dist/{grin2-FKBIMH5N.js.map → grin2-26O6YDDY.js.map} +0 -0
  960. /package/dist/{grin2-V36KLEBU.js.map → grin2-FT5BQJMB.js.map} +0 -0
  961. /package/dist/{hierCluster-QFPRMHVA.js.map → hierCluster-GJPPMFNR.js.map} +0 -0
  962. /package/dist/{hierCluster-YWC3XYPV.js.map → hierCluster-HMJF3PBE.js.map} +0 -0
  963. /package/dist/{hierCluster.config-F7YYZNM3.js.map → hierCluster.config-TAS7XKTU.js.map} +0 -0
  964. /package/dist/{hierCluster.interactivity-RPY74PK6.js.map → hierCluster.interactivity-IKTAJ6CU.js.map} +0 -0
  965. /package/dist/{hierCluster.renderers-LOKHZ3V2.js.map → hierCluster.renderers-I6WFZRNW.js.map} +0 -0
  966. /package/dist/{imagePlot-BBEXA754.js.map → imagePlot-N4OXNMVA.js.map} +0 -0
  967. /package/dist/{importPlot-7QGANZGK.js.map → importPlot-VMYXDP66.js.map} +0 -0
  968. /package/dist/{isoformExpression-4SLLCVFD.js.map → isoformExpression-2KV64KMN.js.map} +0 -0
  969. /package/dist/{launch.adhoc-LWLBQJS5.js.map → junction-VO4IGMW2.js.map} +0 -0
  970. /package/dist/{matrix-BGLWC25D.js.map → junction.customTerm-EFMHHVWA.js.map} +0 -0
  971. /package/dist/{matrix-IQR5SRMK.js.map → launch.adhoc-R3MO3VXK.js.map} +0 -0
  972. /package/dist/{legacyDataset-VLD7ZYWI.js.map → legacyDataset-4BXYHQTS.js.map} +0 -0
  973. /package/dist/{lollipop-XKQK5QZU.js.map → lollipop-XIVE4ANX.js.map} +0 -0
  974. /package/dist/{maf-AZQPPWDO.js.map → maf-WRHD4OJF.js.map} +0 -0
  975. /package/dist/{maftimeline-7MSVYKQU.js.map → maftimeline-IE6YKV7Y.js.map} +0 -0
  976. /package/dist/{matrix.cells-5C57NWOY.js.map → matrix-ALBCAZP5.js.map} +0 -0
  977. /package/dist/{matrix.config-2DQXAN2E.js.map → matrix-W72XRUZD.js.map} +0 -0
  978. /package/dist/{matrix.data-ADCGF5H6.js.map → matrix.cells-DEEUWC74.js.map} +0 -0
  979. /package/dist/{matrix.groups-V4ITQ5F7.js.map → matrix.config-JYXQOXDT.js.map} +0 -0
  980. /package/dist/{matrix.interactivity-JNELJFOV.js.map → matrix.data-ENXNM6RP.js.map} +0 -0
  981. /package/dist/{matrix.layout-WBVIV6GR.js.map → matrix.groups-EXSNNESB.js.map} +0 -0
  982. /package/dist/{matrix.integration.spec-IBNOO2WP.js.map → matrix.integration.spec-BW6U6PIW.js.map} +0 -0
  983. /package/dist/{matrix.legend-YHOWPK77.js.map → matrix.interactivity-G6AL566T.js.map} +0 -0
  984. /package/dist/{matrix.renderers-5BGVRR3M.js.map → matrix.layout-UBUPIJ3R.js.map} +0 -0
  985. /package/dist/{matrix.serieses-2GZJOASZ.js.map → matrix.legend-S3P4F2DG.js.map} +0 -0
  986. /package/dist/{matrix.sort-WKIWPJKP.js.map → matrix.renderers-IXFGXHJQ.js.map} +0 -0
  987. /package/dist/{matrix.sorterUi-TEJWWJ64.js.map → matrix.serieses-THHXUAPM.js.map} +0 -0
  988. /package/dist/{plot.app-MLBP6WFP.js.map → matrix.sort-WJV6LIZI.js.map} +0 -0
  989. /package/dist/{matrix.sort.unit.spec-L2E4D4AS.js.map → matrix.sort.unit.spec-LGMIL2LR.js.map} +0 -0
  990. /package/dist/{profilePlot-ZZYZK4SY.js.map → matrix.sorterUi-VXVCOKEZ.js.map} +0 -0
  991. /package/dist/{matrix.sorterUi.unit.spec-SHP7C4P7.js.map → matrix.sorterUi.unit.spec-CWSEJ62U.js.map} +0 -0
  992. /package/dist/{mavb-4MXNYUEO.js.map → mavb-SXGKASQ5.js.map} +0 -0
  993. /package/dist/{mds.fimo-WHIJIBOI.js.map → mds.fimo-EDOT3TDN.js.map} +0 -0
  994. /package/dist/{mds.samplescatterplot-BRJ6NG2D.js.map → mds.samplescatterplot-IXHNABKB.js.map} +0 -0
  995. /package/dist/{mds.survivalplot-OPCMB5PB.js.map → mds.survivalplot-KTTMHHII.js.map} +0 -0
  996. /package/dist/{numericDictTermCluster-7MIFOP2K.js.map → numericDictTermCluster-H4JSPW22.js.map} +0 -0
  997. /package/dist/{oncomatrix-BGG6BEUI.js.map → oncomatrix-O4EMNUOT.js.map} +0 -0
  998. /package/dist/{oncomatrix.spec-LYQ4L4F3.js.map → oncomatrix.spec-BME6CQWF.js.map} +0 -0
  999. /package/dist/{plot.2dvaf-6WVCP2ZI.js.map → plot.2dvaf-FDM4KXGT.js.map} +0 -0
  1000. /package/dist/{qualitative-MLRVLIAU.js.map → plot.app-UNUXG7ND.js.map} +0 -0
  1001. /package/dist/{plot.barplot-JEPRZSCU.js.map → plot.barplot-R333TMG2.js.map} +0 -0
  1002. /package/dist/{plot.boxplot-GNFW42VM.js.map → plot.boxplot-KQTYGUN3.js.map} +0 -0
  1003. /package/dist/{plot.brainImaging-5ACNSD45.js.map → plot.brainImaging-YBYMHCEG.js.map} +0 -0
  1004. /package/dist/{plot.disco-Q2V2KKIH.js.map → plot.disco-CMDKRSOM.js.map} +0 -0
  1005. /package/dist/{plot.dzi-KVT6S7K7.js.map → plot.dzi-YAZA6RQS.js.map} +0 -0
  1006. /package/dist/{plot.ssgq-4N3KFJQ2.js.map → plot.ssgq-YKCOEXZP.js.map} +0 -0
  1007. /package/dist/{plot.vaf2cov-ITRG5U43.js.map → plot.vaf2cov-3TLMTFZS.js.map} +0 -0
  1008. /package/dist/{plot.wsi-26YZNU4V.js.map → plot.wsi-7ADVYTQS.js.map} +0 -0
  1009. /package/dist/{regression-WMRPQJW2.js.map → profilePlot-AP52VLLO.js.map} +0 -0
  1010. /package/dist/{regression.inputs-VWZKSYNY.js.map → pseudobulk-7UKRLKQI.js.map} +0 -0
  1011. /package/dist/{regression.inputs.term-OWE6GWHM.js.map → qualitative-2D7MC4V5.js.map} +0 -0
  1012. /package/dist/{regression.inputs.values.table-4INNZQI2.js.map → regression-CE54AQMY.js.map} +0 -0
  1013. /package/dist/{regression.results-VZBYMBYC.js.map → regression.inputs-SMC5CNPY.js.map} +0 -0
  1014. /package/dist/{render-N5FOF247.js.map → regression.inputs.term-XS54IQC2.js.map} +0 -0
  1015. /package/dist/{sampleView-ICOT2R6O.js.map → regression.inputs.values.table-LNPM3MX5.js.map} +0 -0
  1016. /package/dist/{regression.integration.spec-XKQ2JOOT.js.map → regression.integration.spec-6QSMYPWJ.js.map} +0 -0
  1017. /package/dist/{singleCellCellType-D2CN2BHQ.js.map → regression.results-25ZRRDEE.js.map} +0 -0
  1018. /package/dist/{regression.spec-DU3UTDCJ.js.map → regression.spec-EDWHFRPY.js.map} +0 -0
  1019. /package/dist/{singleCellGeneExpression-YR2ZT34W.js.map → render-SEB6GFXQ.js.map} +0 -0
  1020. /package/dist/{report-DW3OHB67.js.map → report-U6L3KBYG.js.map} +0 -0
  1021. /package/dist/{singleCellPlot-3ICIOILE.js.map → sampleView-QAAJ26KT.js.map} +0 -0
  1022. /package/dist/{samplelst-TJEVASYG.js.map → samplelst-KYRXJSZN.js.map} +0 -0
  1023. /package/dist/{samplematrix-6DAWCXQ3.js.map → samplematrix-STLF2QA5.js.map} +0 -0
  1024. /package/dist/{sc-53LNOB7N.js.map → sc-HL6YSMDX.js.map} +0 -0
  1025. /package/dist/{scatter-DKYSS4DL.js.map → scatter-BSGDMOC2.js.map} +0 -0
  1026. /package/dist/{selectGenomeWithTklst-WTX66TV3.js.map → selectGenomeWithTklst-4NHQDTE6.js.map} +0 -0
  1027. /package/dist/{snp-VIURB7L3.js.map → singleCellCellType-3E2IU42J.js.map} +0 -0
  1028. /package/dist/{ssGSEA-THW4WFMI.js.map → singleCellGeneExpression-53UUGYTK.js.map} +0 -0
  1029. /package/dist/{summarizeMutationDiagnosis-AKFJDSAF.js.map → singleCellPlot-JDSARDRV.js.map} +0 -0
  1030. /package/dist/{singlecell-KX7W4U57.js.map → singlecell-IJR7BJYT.js.map} +0 -0
  1031. /package/dist/{singlecell-6ZUFA3BQ.js.map → singlecell-OK6GJFWL.js.map} +0 -0
  1032. /package/dist/{summary-A5P7AYK4.js.map → snp-H4KJEEOE.js.map} +0 -0
  1033. /package/dist/{snp.unit.spec-ACZNZUNS.js.map → snp.unit.spec-2Y4A3XYI.js.map} +0 -0
  1034. /package/dist/{snplocus-3LW4ZUZR.js.map → snplocus-4GG6VTWX.js.map} +0 -0
  1035. /package/dist/{spliceevent.a53ss.diagram-AKTZGWNM.js.map → spliceevent.a53ss.diagram-JZNRC5UC.js.map} +0 -0
  1036. /package/dist/{spliceevent.exonskip.diagram-XZHXB77R.js.map → spliceevent.exonskip.diagram-H54N7ZKY.js.map} +0 -0
  1037. /package/dist/{spliceevent.noeventdiagram-YTXWWNTJ.js.map → spliceevent.noeventdiagram-II753XAK.js.map} +0 -0
  1038. /package/dist/{survival-QNEI6YVK.js.map → ssGSEA-JPJ3C4JI.js.map} +0 -0
  1039. /package/dist/{ssGSEA.unit.spec-HTRGQI2K.js.map → ssGSEA.unit.spec-45F5OCDK.js.map} +0 -0
  1040. /package/dist/{summarizeCnvGeneexp-RFYC3H2Z.js.map → summarizeCnvGeneexp-55DNXHXA.js.map} +0 -0
  1041. /package/dist/{summarizeMutationCnv-7AYEMHAI.js.map → summarizeMutationCnv-QX7BADYL.js.map} +0 -0
  1042. /package/dist/{termCollection-CDF5LYUG.js.map → summarizeMutationDiagnosis-MHFM7RX6.js.map} +0 -0
  1043. /package/dist/{summarizeMutationSurvival-QJHZRQBZ.js.map → summarizeMutationSurvival-G4KHSUBN.js.map} +0 -0
  1044. /package/dist/{tk-OEQFO73V.js.map → summary-PJYRCQNY.js.map} +0 -0
  1045. /package/dist/{summary.integration.spec-HQISXGNL.js.map → summary.integration.spec-KPKROD6L.js.map} +0 -0
  1046. /package/dist/{sunburst-65LSYRXX.js.map → sunburst-IGIV2RBE.js.map} +0 -0
  1047. /package/dist/{survival-UI74VXSM.js.map → survival-DINCIWW7.js.map} +0 -0
  1048. /package/dist/{svgraph-PSX2NER3.js.map → svgraph-EUEZWGVR.js.map} +0 -0
  1049. /package/dist/{svmr-QDQ33EFX.js.map → svmr-B24LODSC.js.map} +0 -0
  1050. /package/dist/{table-LWAI27UO.js.map → table-XSJJ3UZV.js.map} +0 -0
  1051. /package/dist/{toggleButtons-YK7TIFF2.js.map → termCollection-IAB3425K.js.map} +0 -0
  1052. /package/dist/{tvs.density-3XJ6DBGO.js.map → termCollectionFractionSelection-35YKAOUY.js.map} +0 -0
  1053. /package/dist/{tvs.dt-CZDC4TSR.js.map → tk-25EJJDRK.js.map} +0 -0
  1054. /package/dist/{tp.ui-SHNERDGC.js.map → tp.ui-VGA62NFM.js.map} +0 -0
  1055. /package/dist/{tvs.numeric-TOEPASWN.js.map → tvs.density-G56327WY.js.map} +0 -0
  1056. /package/dist/{violin-2YGXTBDS.js.map → tvs.dt-DFW36WKO.js.map} +0 -0
  1057. /package/dist/{tvs.dtcnv.categorical-OPBDHZGB.js.map → tvs.dtcnv.categorical-ZP33EO3A.js.map} +0 -0
  1058. /package/dist/{tvs.dtcnv.continuous-AR6P4EP3.js.map → tvs.dtcnv.continuous-FJTMQF4J.js.map} +0 -0
  1059. /package/dist/{tvs.dtfusion-2YQ7N6FQ.js.map → tvs.dtfusion-FTDQWNKM.js.map} +0 -0
  1060. /package/dist/{tvs.dtitd-ATCHW735.js.map → tvs.dtitd-W5VEECJ2.js.map} +0 -0
  1061. /package/dist/{tvs.dtsnvindel-WHHWAATJ.js.map → tvs.dtsnvindel-UOXSLCDZ.js.map} +0 -0
  1062. /package/dist/{tvs.dtsv-3UMCW65O.js.map → tvs.dtsv-HWCPRVBO.js.map} +0 -0
  1063. /package/dist/{violin.interactivity-J6BE2UQL.js.map → tvs.numeric-7TGKWQYU.js.map} +0 -0
  1064. /package/dist/{tvs.samplelst-M7XKXRTZ.js.map → tvs.samplelst-OWD22ITS.js.map} +0 -0
  1065. /package/dist/{violin.renderer-3GRUWP2U.js.map → violin-2IAVZGFF.js.map} +0 -0
  1066. /package/dist/{vocabulary-2INCVPYJ.js.map → violin.interactivity-STOCZMVN.js.map} +0 -0
@@ -1,1561 +0,0 @@
1
- import {
2
- recoverInit
3
- } from "./chunk-4KY4XKJV.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
- groupsInit,
15
- keyupEnter,
16
- renderTable,
17
- sayerror,
18
- to_textfile
19
- } from "./chunk-5VOPABBA.js";
20
- import {
21
- importPlot
22
- } from "./chunk-Z5U6HOE4.js";
23
- import {
24
- Menu
25
- } from "./chunk-HYOEWQ5P.js";
26
- import {
27
- icons
28
- } from "./chunk-IIT367QZ.js";
29
- import {
30
- dofetch3
31
- } from "./chunk-M6EF3WVV.js";
32
- import {
33
- getCompInit,
34
- multiInit
35
- } from "./chunk-M3J4MINX.js";
36
- import {
37
- DNA_METHYLATION
38
- } from "./chunk-I6WR4CG7.js";
39
- import {
40
- dtcnv,
41
- dtfusionrna,
42
- dtsnvindel,
43
- dtsv
44
- } from "./chunk-2X6W4E3W.js";
45
- import {
46
- select_default
47
- } from "./chunk-I6Y4O3RR.js";
48
-
49
- // mass/sessionBtn.js
50
- var MassSessionBtn = class _MassSessionBtn {
51
- static type = "sessionBtn";
52
- constructor() {
53
- this.type = _MassSessionBtn.type;
54
- this.route = "termdb";
55
- this.embedderOrigin = window.location.origin;
56
- this.hostURL = sessionStorage.getItem("hostURL") || this.embedderOrigin;
57
- }
58
- async init(appState) {
59
- const tip = new Menu({ padding: "0px" });
60
- const copytip = new Menu({ padding: "5px" });
61
- this.dom = {
62
- button: this.opts.button,
63
- tip,
64
- copytip
65
- };
66
- this.dom.button.on("click", (event2) => {
67
- event2.stopPropagation();
68
- this.dom.tip.clear();
69
- this.showMenu();
70
- });
71
- this.dslabel = appState.vocab.dslabel;
72
- this.savedSessions = JSON.parse(localStorage.getItem("savedMassSessions") || `{}`);
73
- this.requiredAuth = appState.termdbConfig?.requiredAuth?.find((a) => a.route == this.route && a.type == "jwt");
74
- }
75
- async showMenu() {
76
- this.dom.tip.clear().d.style("padding", 0);
77
- this.dom.tip.d.attr("id", "sjpp-session-menu");
78
- const gt = `<span style='margin-left: 24px; float: right'>&gt;</span>`;
79
- const options = [
80
- { label: `Open`, title: "Recover a saved session", callback: this.open },
81
- { label: `Save`, title: "Save the current view", callback: this.save },
82
- { label: `Share`, title: "Share the current view", callback: this.getSessionUrl }
83
- ];
84
- if (!this.serverCachedSessions) await this.setServerCachedSessions();
85
- if (Object.keys(this.savedSessions).length || Object.keys(this.serverCachedSessions).length) {
86
- options.push({ label: `Delete`, title: "Delete a saved session", callback: this.delete });
87
- }
88
- 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) => {
89
- this.dom.tip.clear().d.style("padding", "10px");
90
- event2.stopPropagation();
91
- this.showBackBtn();
92
- d.callback.call(this);
93
- });
94
- this.dom.tip.showunder(this.dom.button.node());
95
- }
96
- async open() {
97
- const radioName = `sjpp-session-open-radio-` + Math.random().toString().slice(-6);
98
- this.dom.tip.d.append("div").style("display", "none").style("padding", "3px 9px").html(`
99
- <b>Open in</b>
100
- <label>
101
- <input type='radio' name='${radioName}' value='new' style='margin-right: 0; vertical-align: bottom'/>
102
- <span>a new tab</span>
103
- </label>
104
- <label style='margin-left: 5px'>
105
- <input type='radio' name='${radioName}' value='current' checked=checked style='margin-right: 0; vertical-align: bottom'/>
106
- <span>current tab</span>
107
- </label>
108
- `);
109
- const t = await this.listSessions({
110
- trClickHandler: async (event2, d) => {
111
- const { loc, id: id2 } = d;
112
- if (!id2) return;
113
- if (loc.includes("browser")) {
114
- this.sessionName = id2;
115
- const state = structuredClone(this.savedSessions[id2]);
116
- await preprocessState(state, this.app);
117
- const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
118
- if (targetWindow == "current") {
119
- this.app.dispatch({ type: "app_refresh", state });
120
- } else if (window.location.origin == this.hostURL) {
121
- window.open(`/?mass-session-id=${id2}&src=browser`);
122
- } else {
123
- if (state.embedder) parentCorsMessage({ state });
124
- else {
125
- const { protocol, host, search, origin, href } = window.location;
126
- const embedder = { protocol, host, search, origin, href };
127
- parentCorsMessage({ state: Object.assign({ embedder }, state) });
128
- }
129
- }
130
- this.dom.tip.hide();
131
- } else if (loc == "server") {
132
- const headers = await this.app.vocabApi.mayGetAuthHeaders(this.route);
133
- const body = { id: id2, route: this.route, dslabel: this.dslabel, embedder: window.location.hostname };
134
- const res = await dofetch3(`/massSession?`, { headers, body });
135
- if (!res.state) throw res.error || "unable to get the cached session from the server";
136
- await preprocessState(res.state, this.app);
137
- this.savedSessions[id2] = res.state;
138
- const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
139
- if (targetWindow == "current") {
140
- this.app.dispatch({ type: "app_refresh", state: res.state });
141
- } else if (window.location.origin == this.hostURL) {
142
- window.open(`/?mass-session-id=${id2}&src=cred&dslabel=${this.dslabel}&route=${this.route}`);
143
- } else {
144
- parentCorsMessage(res);
145
- }
146
- this.dom.tip.hide();
147
- }
148
- }
149
- });
150
- t.headtr.select("th").html("Open from");
151
- const tr1 = t.tbody.insert("tr", "tr");
152
- tr1.append("td").style("text-align", "center").style("padding", "3px 9px").html("Local file");
153
- const label = tr1.append("td").style("text-align", "left").append("label");
154
- label.append("span").style("padding", "3px 9px").style("text-decoration", "underline").style("cursor", "pointer").html("Choose File");
155
- 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 () => {
156
- const file = event.target.files.item(0);
157
- const json = await file.text();
158
- let sessionName = file.name;
159
- if (this.savedSessions[sessionName]) {
160
- sessionName = prompt(
161
- `Leave as-is to overwrite a session with the same name, or enter a different session name.`,
162
- sessionName
163
- );
164
- }
165
- this.sessionName = sessionName;
166
- const state = JSON.parse(json);
167
- await preprocessState(state, this.app);
168
- this.savedSessions[sessionName] = state;
169
- localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
170
- const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
171
- if (targetWindow == "current") {
172
- this.app.dispatch({ type: "app_refresh", state });
173
- } else if (window.location.origin == this.hostURL) {
174
- window.open(`/?mass-session-id=${sessionName}&src=browser`);
175
- } else {
176
- if (state.embedder) parentCorsMessage({ state });
177
- else {
178
- const { protocol, host, search, origin, href } = window.location;
179
- const embedder = { protocol, host, search, origin, href };
180
- parentCorsMessage({ state: Object.assign({ embedder }, state) });
181
- }
182
- }
183
- this.dom.tip.hide();
184
- });
185
- }
186
- async listSessions(opts = {}) {
187
- const table = this.dom.tip.d.append("table").attr("class", "sjpp-controls-table");
188
- const headtr = table.append("thead").append("tr");
189
- 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);
190
- const sessionIds = Object.keys(this.savedSessions).map((id2) => ({ loc: "browser", id: id2 }));
191
- if (!this.serverCachedSessions) await this.setServerCachedSessions();
192
- sessionIds.push(...this.serverCachedSessions.map((id2) => ({ loc: "server", id: id2 })));
193
- const tbody = table.append("tbody");
194
- const trs = tbody.selectAll("tr").data(sessionIds).enter().append("tr").on("click", opts.trClickHandler || null);
195
- 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);
196
- if (!this.serverCachedSessions.length && this.requiredAuth && !this.app.vocabApi.hasVerifiedToken()) {
197
- 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);
198
- }
199
- return { table, headtr, tbody, trs };
200
- }
201
- async setServerCachedSessions() {
202
- const state = this.app.getState();
203
- this.requiredAuth = state.termdbConfig?.requiredAuth?.find((a) => a.route == this.route && a.type == "jwt");
204
- if (!this.requiredAuth) {
205
- this.serverCachedSessions = [];
206
- return;
207
- }
208
- const headers = this.app.vocabApi.mayGetAuthHeaders(this.route);
209
- const body = { route: this.route, dslabel: this.dslabel, embedder: window.location.hostname };
210
- const res = await dofetch3("/sessionIds", { headers, body });
211
- this.serverCachedSessions = res.sessionIds || [];
212
- }
213
- async save(d) {
214
- const div = this.dom.tip.d;
215
- const inputDiv = div.append("div");
216
- inputDiv.append("span").html("Save as");
217
- const sessionNames = Object.keys(this.savedSessions);
218
- if (!this.serverCachedSessions) await this.setServerCachedSessions();
219
- sessionNames.push(...this.serverCachedSessions.filter((d2) => !sessionNames.includes(d2)));
220
- const placeholder = this.sessionName || "unnamed-session";
221
- const input = inputDiv.append("input").attr("type", "text").attr("placeholder", placeholder).style("width", "220px").on("input", () => {
222
- searchResultDiv.selectAll("*").remove();
223
- const value = input.property("value");
224
- const exactMatch = sessionNames.filter((s) => s === value);
225
- const startsWith = sessionNames.filter((s) => s.startsWith(value));
226
- const includes = sessionNames.filter((s) => s.includes(value) && s !== value && !startsWith.includes(s));
227
- 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) => {
228
- input.property("value", d2);
229
- searchResultDiv.selectAll("*").remove();
230
- });
231
- });
232
- const searchResultDiv = div.append("div");
233
- const submitDiv = div.append("div");
234
- submitDiv.append("span").html("Save to&nbsp;");
235
- submitDiv.append("button").style("min-width", "80px").html("Browser").attr(
236
- "title",
237
- `Save the session in your current browser's cache. The session can be easily recovered, but not shared among your other devices`
238
- ).on("click", () => {
239
- this.sessionName = input.property("value") || placeholder;
240
- this.savedSessions[this.sessionName] = this.app.getState();
241
- localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
242
- this.confirmAction(`Cached '<b>${this.sessionName}</b>' in browser`);
243
- });
244
- submitDiv.append("button").style("min-width", "80px").html("File").attr(
245
- "title",
246
- `Save the session into a local file. The session can be easily recoved using the 'Open from local file' option.`
247
- ).on("click", () => {
248
- const name = input.property("value") || placeholder;
249
- this.savedSessions[name] = this.app.getState();
250
- this.download(name);
251
- this.confirmAction(`Downloaded '<b>${name}</b>'`);
252
- });
253
- if (this.requiredAuth) {
254
- const requiresSignIn = this.app.vocabApi.hasVerifiedToken() ? "" : "Requires sign-in. ";
255
- submitDiv.append("button").style("min-width", "80px").html("Server").attr(
256
- "title",
257
- `${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.`
258
- ).property("disabled", !this.app.vocabApi.hasVerifiedToken()).on("click", async () => {
259
- if (!this.app.vocabApi.hasVerifiedToken()) {
260
- alert("Requires sign-in");
261
- return;
262
- }
263
- const name = input.property("value") || placeholder;
264
- this.savedSessions[name] = this.app.getState();
265
- const res = await this.getSessionUrl(name);
266
- if (res.id != name) throw `error saving ${name}`;
267
- this.confirmAction(`Saved '<b>${name}</b>' on the server`);
268
- });
269
- }
270
- }
271
- download(name = "") {
272
- const sessionName = name || this.sessionName;
273
- const ext = sessionName?.endsWith(".txt") ? "" : ".txt";
274
- const filename = `${sessionName}${ext}`;
275
- to_textfile(filename, JSON.stringify(this.savedSessions[sessionName]));
276
- }
277
- async getSessionUrl(filename = "") {
278
- const headers = await this.app.vocabApi.mayGetAuthHeaders("termdb");
279
- const state = structuredClone(this.app.getState());
280
- const { protocol, host, search, origin, href } = window.location;
281
- state.embedder = { protocol, host, search, origin, href };
282
- if (filename) {
283
- state.__sessionFor__ = {
284
- route: this.route,
285
- filename,
286
- dslabel: this.dslabel,
287
- embedder: window.location.hostname
288
- };
289
- }
290
- const res = await dofetch3("/massSession", {
291
- headers,
292
- method: "POST",
293
- body: JSON.stringify(state)
294
- });
295
- if (filename) {
296
- return res;
297
- } else {
298
- const url = `${this.hostURL}/?mass-session-id=${res.id}&noheader=1`;
299
- this.dom.tip.showunder(this.dom.button.node());
300
- const linkDiv = this.dom.tip.d.append("div").style("margin", "10px");
301
- linkDiv.append("div").style("display", "flex").style("margin-bottom", "12px").html(`Open or copy the session link.`);
302
- const a = linkDiv.append("a").style("display", "none").attr("href", url).attr("target", "_blank").html(res.id);
303
- linkDiv.append("button").style("cursor", "pointer").text("Open link").on("click", () => {
304
- a.node().click();
305
- });
306
- linkDiv.append("button").style("cursor", "pointer").style("margin-left", "10px").text("Copy link").on("click", async (event2) => {
307
- await navigator.clipboard.writeText(url);
308
- this.dom.copytip.clear().showunder(event2.target);
309
- this.dom.copytip.d.append("div").html("&#10003;");
310
- setTimeout(() => {
311
- this.dom.copytip.hide();
312
- }, 1e3);
313
- });
314
- if (this.hostURL != window.location.origin) {
315
- a.on("click", (event2) => {
316
- event2.preventDefault();
317
- parentCorsMessage({ state }, "noredirect");
318
- return false;
319
- });
320
- }
321
- linkDiv.append("div").html(`
322
- <br>
323
- <div style="max-width: 400px; font-size: 1em; opacity:.6">
324
- <span>NOTES</span>
325
- <ul>
326
- <li>A recovered session may hide data or views to users that are not authorized to access the saved datasets or features.</li>
327
- <li>This session will be saved for ${this.opts.massSessionDuration} days.</li>
328
- </ul>
329
- </div>`);
330
- setTimeout(() => {
331
- this.dom.button.property("disabled", false);
332
- }, 1e3);
333
- }
334
- }
335
- async delete() {
336
- const t = await this.listSessions({
337
- trClickHandler: function(event2) {
338
- const input = this.lastChild.querySelector("input");
339
- const checked = event2.target == input ? input.checked : !input.checked;
340
- select_default(this).style("text-decoration", checked ? "line-through" : "");
341
- if (event2.target != input) input.checked = checked;
342
- const checkedRows = t.table.node().querySelectorAll("input:checked");
343
- submitBtn.property("disabled", checkedRows.length ? false : true);
344
- }
345
- });
346
- t.headtr.append("th").html("Delete");
347
- t.trs.each(function(d) {
348
- select_default(this).append("td").style("text-align", "center").append("input").attr("type", "checkbox").attr("value", d.id);
349
- });
350
- const submitBtn = this.dom.tip.d.append("div").style("text-align", "center").append("button").html("Delete selected sessions").property("disabled", true).on("click", async () => {
351
- const inputs = t.table.node().querySelectorAll("input");
352
- const sessionIdsDeletedFromServer = [];
353
- for (const input of inputs) {
354
- if (select_default(input).property("checked")) {
355
- const d = input.parentNode.parentNode.__data__;
356
- if (d.loc == "browser") {
357
- delete this.savedSessions[input.value];
358
- } else if (d.loc == "server") {
359
- delete this.serverCachedSessions[input.value];
360
- sessionIdsDeletedFromServer.push(input.value);
361
- } else throw `unknown cache location=${d.loc}`;
362
- }
363
- }
364
- localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
365
- try {
366
- const headers = await this.app.vocabApi.mayGetAuthHeaders("termdb");
367
- const body = {
368
- ids: sessionIdsDeletedFromServer,
369
- route: this.route,
370
- dslabel: this.dslabel,
371
- embedder: window.location.hostname
372
- };
373
- const res = dofetch3(`/massSession?`, { method: "DELETE", headers, body });
374
- } catch (e) {
375
- throw e;
376
- }
377
- this.dom.tip.hide();
378
- });
379
- }
380
- showBackBtn() {
381
- this.dom.tip.d.append("div").attr("class", "sja_clbtext2").style("margin-bottom", "10px").style("cursor", "pointer").html(`&lt; Session Menu`).on("click", () => this.showMenu());
382
- }
383
- confirmAction(html) {
384
- this.dom.tip.clear().d.append("div").html(html).transition().delay(3e3).duration(1e3).style("opacity", 0);
385
- setTimeout(() => {
386
- this.dom.tip.hide();
387
- }, 3500);
388
- }
389
- };
390
- async function preprocessState(state, app) {
391
- delete state.termdbConfig;
392
- if (state.plots) {
393
- const promises = [];
394
- for (const plot of state.plots) {
395
- promises.push(
396
- (async () => {
397
- const _ = await importPlot(plot.chartType);
398
- return await _.getPlotConfig(plot, app);
399
- })()
400
- );
401
- }
402
- try {
403
- await Promise.all(promises);
404
- } catch (e) {
405
- console.log(e);
406
- app.printError(e);
407
- }
408
- }
409
- }
410
- var sessionBtnInit = getCompInit(MassSessionBtn);
411
-
412
- // mass/about.ts
413
- var cohortTableActiveColor = "yellow";
414
- var MassAbout = class _MassAbout {
415
- constructor(opts) {
416
- this.initCohort = (appState) => {
417
- if (this.selectCohort == null) return;
418
- if (!this.selectCohort.values) return;
419
- const instanceNum2 = this.instanceNum;
420
- const activeCohort = appState.activeCohort;
421
- const app = this.app;
422
- 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) {
423
- const tr = select_default(nodes[i]);
424
- const td0 = tr.append("td");
425
- const radioName = "sja-termdb-cohort-" + instanceNum2;
426
- const radioId = radioName + "-" + i;
427
- 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) => {
428
- const state = app.getState();
429
- const clearOnChange = state.termdbConfig.selectCohort.clearOnChange;
430
- if (clearOnChange) {
431
- const subactions = [];
432
- const toBeCleared = [];
433
- const plots = state.plots;
434
- const filter = state.termfilter.filter.lst.find((f) => f.tag == "filterUiRoot")?.lst;
435
- const groups = state.groups;
436
- if (clearOnChange.plots && plots?.length) toBeCleared.push("plots");
437
- for (const plot of plots) {
438
- subactions.push({
439
- type: "plot_delete",
440
- id: plot.id
441
- });
442
- }
443
- if (clearOnChange.filter && filter?.length) toBeCleared.push("filters");
444
- subactions.push({
445
- type: "filter_replace",
446
- filter: {
447
- type: "tvslst",
448
- in: true,
449
- join: "",
450
- tag: "filterUiRoot",
451
- lst: []
452
- }
453
- });
454
- if (clearOnChange.groups && groups?.length) {
455
- toBeCleared.push("groups");
456
- for (const group of groups) {
457
- subactions.push({
458
- type: "delete_group",
459
- name: group.name
460
- });
461
- }
462
- for (const term of state.customTerms) {
463
- subactions.push({
464
- type: "delete_customTerm",
465
- name: term.name
466
- });
467
- }
468
- }
469
- subactions.push({ type: "cohort_set", activeCohort: i });
470
- if (toBeCleared.length) {
471
- const confirm = window.confirm(
472
- `Changing the cohort will clear all ${joinByComma(
473
- toBeCleared
474
- )}. To proceed, click "OK". To save the session, click "Cancel" and then click the "Session" button at the top of the page.`
475
- );
476
- if (!confirm) {
477
- event2.preventDefault();
478
- return;
479
- }
480
- }
481
- app.dispatch({
482
- type: "app_refresh",
483
- subactions
484
- });
485
- } else app.dispatch({ type: "cohort_set", activeCohort: i });
486
- });
487
- td0.append("label").style("font-size", "1.4em").attr("for", radioId).attr("colspan", 2).style("cursor", "pointer").html((d2) => d2.label);
488
- tr.selectAll("td").style("max-width", "600px").style("padding-bottom", "10px").style("padding-right", "20px").style("vertical-align", "top");
489
- });
490
- this.dom.cohortTable = this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-table").style("margin-left", "12px");
491
- if (this.selectCohort.asterisk) {
492
- 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);
493
- }
494
- };
495
- this.renderCohortsTable = async () => {
496
- if (!this.dom.cohortTable) return;
497
- this.dom.cohortTable.selectAll("*").remove();
498
- const columns = [{ label: "Feature" }];
499
- const rows = [];
500
- const result = await this.app.vocabApi.getCohortsData();
501
- if ("error" in result) throw result.error;
502
- if (this.selectCohort?.values) {
503
- const values = this.selectCohort.values;
504
- result.cohorts.sort((a, b) => {
505
- const aIndex = values.findIndex((v) => v.keys.toString() == a.cohort);
506
- const bIndex = values.findIndex((v) => v.keys.toString() == b.cohort);
507
- if (aIndex < bIndex) return -1;
508
- if (aIndex > bIndex) return 1;
509
- return 0;
510
- });
511
- }
512
- if (!result.cfeatures.length) return;
513
- for (const feature of result.features) rows.push([{ value: feature.name }]);
514
- for (const cohort of result.cohorts) {
515
- if (cohort.subcohorts?.length) continue;
516
- columns.push({ label: cohort.name });
517
- for (const [i, feature] of result.features.entries()) {
518
- const cf = result.cfeatures.find((cf2) => cf2.idfeature === feature.idfeature && cf2.cohort === cohort.cohort);
519
- if (cf) rows[i].push({ value: cf.value });
520
- }
521
- }
522
- renderTable({
523
- rows,
524
- columns,
525
- div: this.dom.cohortTable,
526
- showLines: false,
527
- maxHeight: "60vh",
528
- header: { style: { "font-size": "1.2em", "font-weight": "bold" } }
529
- });
530
- this.dom.cohortTable.select("table").style("border-collapse", "collapse");
531
- this.dom.cohortTable.selectAll(`tbody > tr > td`).style("background-color", "transparent").style("padding", "6px");
532
- const state = this.app.getState();
533
- const selectCohort = state.termdbConfig.selectCohort;
534
- const activeCohort = state.activeCohort;
535
- const keys = selectCohort.values[activeCohort].keys;
536
- let selector = `tbody > tr > td:nth-child(${activeCohort + 2})`;
537
- const combined = keys.length > 1;
538
- if (combined) {
539
- selector = "";
540
- for (const key of keys) {
541
- const i = result.cohorts.map((c) => c.cohort).indexOf(key);
542
- if (selector !== "") selector += ",";
543
- selector += `tbody > tr > td:nth-child(${i + 2})`;
544
- }
545
- }
546
- const activeColumns = this.dom.cohortTable.selectAll(selector);
547
- const color = state.termdbConfig.massNav?.activeColor || cohortTableActiveColor;
548
- activeColumns.style("background-color", color);
549
- };
550
- this.initCustomHtml = () => {
551
- if (this.selectCohort != null) return;
552
- if (!this.aboutOverrides?.html) return;
553
- this.subheader.append("div").attr("data-testid", "sjpp-custom-about-content").style("padding", "10px").html(this.aboutOverrides.html);
554
- };
555
- // render the world map (from termdbConfig.geomap) directly on the landing tab when the dataset opts in.
556
- // the renderer (and its ~170KB world.json basemap) is dynamically imported so it never loads for
557
- // datasets that don't enable the map.
558
- this.initGeomap = async (appState) => {
559
- if (!this.aboutOverrides?.showGeomap) return;
560
- const geomap = appState.termdbConfig?.geomap;
561
- if (!geomap?.sites?.length) return;
562
- const holder = this.subheader.append("div").attr("data-testid", "sjpp-about-geomap").style("padding", "10px");
563
- const { renderGeomap } = await import("./render-N5FOF247.js");
564
- renderGeomap(holder, geomap);
565
- };
566
- this.initActiveItems = () => {
567
- if (!this.aboutOverrides?.activeItems) return;
568
- const div = this.subheader.append("div").attr("data-testid", "sjpp-custom-about-activeItems").style("padding", "0px 0px 10px 20px");
569
- for (const item of this.aboutOverrides.activeItems.items) {
570
- 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).on("click", async () => {
571
- await this.app.dispatch({
572
- type: "tab_set",
573
- activeTab: 1
574
- });
575
- this.app.dispatch({
576
- type: "plot_create",
577
- id: getId(),
578
- config: structuredClone(item.plot)
579
- });
580
- });
581
- }
582
- };
583
- this.initDisclaimer = () => {
584
- const d = this.aboutOverrides?.disclaimer;
585
- if (!d) return;
586
- 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");
587
- div.append("div").style("margin-bottom", "8px").style("font-weight", "bold").text("DISCLAIMER");
588
- div.append("div").text(d.text);
589
- };
590
- this.showServerInfo = () => {
591
- const state = this.app.getState();
592
- const about = state.termdbConfig.massNav?.tabs?.about;
593
- if (!about && !this.app.opts.pkgver && !this.app.opts.launchDate) return;
594
- const dataRelease = about?.dataRelease;
595
- const additionalInfo = about?.additionalInfo;
596
- const div = this.subheader.append("div").attr("data-testid", "sjpp-about-server-info").style("margin", "10px").style("font-size", ".8em");
597
- const htmlArr = [];
598
- if (dataRelease) {
599
- htmlArr.push(`Data Release: <a href=${dataRelease.link} target=_blank>${dataRelease.version}</a>`);
600
- }
601
- if (this.app.opts.pkgver) {
602
- htmlArr.push(
603
- `Software Release: <a href=https://github.com/stjude/proteinpaint/pkgs/container/ppfull target=_blank>${this.app.opts.pkgver}</a>`
604
- );
605
- }
606
- if (this.app.opts.launchDate) {
607
- htmlArr.push(`Server Launched: ${this.app.opts.launchDate}`);
608
- }
609
- if (additionalInfo) {
610
- htmlArr.push(additionalInfo);
611
- }
612
- div.append("div").html(htmlArr.join("; "));
613
- };
614
- this.opts = opts;
615
- this.type = _MassAbout.type;
616
- this.app = opts.app;
617
- this.subheader = opts.subheader;
618
- this.instanceNum = opts.instanceNum;
619
- this.aboutOverrides = opts.aboutOverrides;
620
- this.selectCohort = opts.selectCohort;
621
- this.dom = {
622
- cohortDescription: this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-desc").style("margin-left", "10px")
623
- };
624
- if (opts?.selectCohort?.title) {
625
- this.dom.cohortTitle = opts.subheader.append("h2").attr("data-testid", "sjpp-about-cohort-title").style("margin-left", "10px").text(opts.selectCohort.title);
626
- }
627
- if (opts.selectCohort?.prompt) {
628
- 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);
629
- }
630
- if (opts.selectCohort) {
631
- this.dom.cohortOpts = this.subheader.append("div").style("margin-bottom", "30px").style("margin-left", "10px");
632
- }
633
- }
634
- static {
635
- this.type = "about";
636
- }
637
- /* render all contents into this.subheader
638
- do it through init() means that contents are rendered just once on launching mass ui and won't be rerendered or updated
639
- since there's no reason to update about tab contents while user is interacting with mass ui
640
- */
641
- init(appState) {
642
- this.initCohort(appState);
643
- this.initCustomHtml();
644
- this.initGeomap(appState);
645
- this.initActiveItems();
646
- this.initDisclaimer();
647
- this.showServerInfo();
648
- }
649
- async main() {
650
- if (this.state.nav.activeTab !== 0) return;
651
- await this.renderCohortsTable();
652
- if (this.opts.selectCohort) {
653
- if (this.opts.selectCohort.description) {
654
- this.dom.cohortDescription.html(this.opts.selectCohort.description);
655
- } else if (this.opts.selectCohort.descriptionByCohort) {
656
- this.dom.cohortDescription.html(
657
- this.opts.selectCohort.descriptionByCohort[this.state.termdbConfig.selectCohort.values[this.state.activeCohort].keys.join(",")]
658
- );
659
- }
660
- }
661
- }
662
- };
663
- var aboutInit = getCompInit(MassAbout);
664
- function joinByComma(arr) {
665
- if (!arr.length) return "";
666
- else if (arr.length == 1) return arr[0];
667
- else if (arr.length == 2) return arr.join(" and ");
668
- else return `${arr.slice(0, -1).join(", ")}, and ${arr.slice(-1)}`;
669
- }
670
-
671
- // mass/search.ts
672
- var MIN_PROMPT_LENGTH_FOR_OMNISEARCH = 3;
673
- var MAX_PROMPT_LENGTH_FOR_OMNISEARCH = 20;
674
- function makeMethylationRegionTerm(opts, vocabApi) {
675
- const { chr, start, stop } = opts;
676
- if (!chr || !Number.isInteger(start) || !Number.isInteger(stop)) throw new Error("invalid coordinate");
677
- return {
678
- chr,
679
- start,
680
- stop,
681
- type: DNA_METHYLATION,
682
- unit: getDNAMethUnit("region", vocabApi),
683
- genomicFeatureType: "region"
684
- };
685
- }
686
- async function embedMethylationRegionPicker(opts) {
687
- const { holder, genomeObj, vocabApi, chr, start, stop, callback } = opts;
688
- if (!chr || !Number.isInteger(start) || !Number.isInteger(stop)) throw new Error("unable to retrieve gene coordinate");
689
- holder.selectAll("*").remove();
690
- holder.style("display", "block");
691
- holder.append("div").style("opacity", 0.6).text("Navigate genome browser to desired region");
692
- const arg = {
693
- holder,
694
- genome: genomeObj,
695
- // genome obj
696
- chr,
697
- start,
698
- stop,
699
- tklst: [],
700
- nobox: true,
701
- width: 500,
702
- hidegenelegend: true,
703
- debugmode: opts.debug
704
- };
705
- first_genetrack_tolist(genomeObj, arg.tklst);
706
- const _ = await import("./block-NBTCOT3H.js");
707
- const blockInstance = new _.Block(arg);
708
- 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 () => {
709
- const { chr: chr2, start: start2, stop: stop2 } = blockInstance.rglst[0];
710
- await callback(makeMethylationRegionTerm({ chr: chr2, start: start2, stop: stop2 }, vocabApi));
711
- });
712
- return blockInstance;
713
- }
714
- function parseCoordCandidates(prompt2) {
715
- const m = /^\s*(\w+)\s*:\s*([\d,]+)\s*-\s*([\d,]+)\s*$/.exec(prompt2);
716
- if (!m) return null;
717
- const [, chrToken, start, stop] = m;
718
- const chrCandidates = /^chr/i.test(chrToken) ? [chrToken, chrToken.replace(/^chr/i, "")] : [chrToken, "chr" + chrToken];
719
- return chrCandidates.map((chr) => `${chr}:${start}-${stop}`);
720
- }
721
- async function handleOmnisearchKeyup(self, event2) {
722
- if (keyupEnter(event2)) return;
723
- const prompt2 = event2.target.value.trim();
724
- if (!prompt2) {
725
- self.dom.noMatchShown = false;
726
- self.clear({ hide: true });
727
- return;
728
- }
729
- const coordCandidates = parseCoordCandidates(prompt2);
730
- if (coordCandidates || MIN_PROMPT_LENGTH_FOR_OMNISEARCH <= prompt2.length && prompt2.length <= MAX_PROMPT_LENGTH_FOR_OMNISEARCH) {
731
- try {
732
- await doSearch(self, prompt2, coordCandidates);
733
- } catch (e) {
734
- if (e.stack) console.log(e.stack);
735
- sayerror(self.dom.resultDiv, "Error: " + (e.message || e));
736
- }
737
- } else {
738
- self.dom.noMatchShown = false;
739
- self.clear({ hide: true });
740
- }
741
- }
742
- async function fetchOmnisearch(opts) {
743
- const data = await dofetch3("termdb/chat", {
744
- body: {
745
- genome: opts.genome,
746
- dslabel: opts.dslabel,
747
- omnisearch: true,
748
- prompt: opts.prompt,
749
- cohortStr: opts.cohortStr,
750
- usecase: opts.usecase,
751
- treeFilter: opts.treeFilter,
752
- coordCandidates: opts.coordCandidates || void 0
753
- }
754
- });
755
- if (data.error) throw data.error;
756
- return data;
757
- }
758
- function renderOmnisearchResults(self, data) {
759
- const coord = data.coord || null;
760
- const lst = Array.isArray(data.dictionaryTerms) ? data.dictionaryTerms : [];
761
- const genes = Array.isArray(data.genes) ? data.genes : [];
762
- const dictNames = new Set(lst.map((t) => t.name?.toUpperCase()));
763
- const geneMap = /* @__PURE__ */ new Map();
764
- for (const g of genes) {
765
- const gene = g?.gene;
766
- if (!gene || dictNames.has(gene.toUpperCase())) continue;
767
- const dt = g.dataTypes || {};
768
- const geneVariantTypes = [];
769
- if (dt.snvindel) geneVariantTypes.push({ label: "SNV/indel", testid: "snvindel", dtCandidates: [dtsnvindel] });
770
- if (dt.cnv) geneVariantTypes.push({ label: "CNV", testid: "cnv", dtCandidates: [dtcnv] });
771
- if (dt.svfusion)
772
- geneVariantTypes.push({ label: "SV/fusion", testid: "svfusion", dtCandidates: [dtsv, dtfusionrna] });
773
- const entry = { name: gene, gene, isGene: true };
774
- if (dt.geneExpression) entry.isGeneExpression = true;
775
- if (geneVariantTypes.length) {
776
- entry.isGeneVariant = true;
777
- entry.geneVariantTypes = geneVariantTypes;
778
- }
779
- if (dt.genomeBrowser) {
780
- entry.isGenomeBrowser = true;
781
- entry.coord = g.coord;
782
- }
783
- if (dt.dnaMethylation) {
784
- entry.isMethylation = true;
785
- entry.coord = g.coord;
786
- }
787
- if (entry.isGeneExpression || entry.isGeneVariant || entry.isGenomeBrowser || entry.isMethylation) {
788
- geneMap.set(gene.toUpperCase(), entry);
789
- }
790
- }
791
- for (const entry of geneMap.values()) lst.push(entry);
792
- if (coord) {
793
- lst.push({
794
- isCoord: true,
795
- name: `${coord.chr}:${coord.start.toLocaleString()}-${coord.stop.toLocaleString()}`,
796
- coord
797
- });
798
- }
799
- if (!lst.length) {
800
- if (!self.dom.noMatchShown) {
801
- self.dom.noMatchShown = true;
802
- self.noResult();
803
- }
804
- } else {
805
- self.dom.noMatchShown = false;
806
- self.showTerms({ lst });
807
- }
808
- }
809
- async function doSearch(self, prompt2, coordCandidates) {
810
- if (!prompt2) {
811
- self.clear({ hide: true });
812
- return;
813
- }
814
- const data = await fetchOmnisearch({
815
- genome: self.app.vocabApi.vocab.genome,
816
- dslabel: self.app.vocabApi.vocab.dslabel,
817
- prompt: prompt2,
818
- cohortStr: self.getState(self.app.getState()).cohortStr,
819
- usecase: self.opts.usecase,
820
- treeFilter: self.app.vocabApi.state?.treeFilter,
821
- coordCandidates
822
- });
823
- renderOmnisearchResults(self, data);
824
- }
825
- function setSearchRenderers(self) {
826
- let text = "No match";
827
- if (self.isChat) {
828
- text = "No match. Using the chatbot...";
829
- }
830
- self.noResult = () => {
831
- self.clear();
832
- self.dom.resultDiv.append("div").text(text).style("padding", "3px 3px 3px 0px").style("opacity", 0.5);
833
- setTimeout(() => {
834
- self.clear({ hide: true });
835
- }, 1500);
836
- };
837
- self.showTerms = (data) => {
838
- if (self.opts.disable_terms)
839
- data.lst.forEach((t) => {
840
- if (t.disabled) self.opts.disable_terms.push(t);
841
- });
842
- self.clear({ hide: !data.lst.length });
843
- if (data.lst.length) {
844
- self.dom.resultDiv.append("table").selectAll().data(data.lst).enter().append("tr").each(self.showTerm);
845
- }
846
- };
847
- self.launchPlot = async (config) => {
848
- if (self.state?.nav?.activeTab == 0) {
849
- await self.app.dispatch({ type: "tab_set", activeTab: 1 });
850
- }
851
- self.app.dispatch({ type: "plot_create", config });
852
- self.dom.inputNode.value = "";
853
- self.clear({ hide: true });
854
- };
855
- self.launchGeneVariantPlot = async (gene, dtCandidates) => {
856
- let tw;
857
- let lastErr;
858
- for (const dt of dtCandidates) {
859
- const candidate = {
860
- term: {
861
- id: gene,
862
- name: gene,
863
- genes: [{ kind: "gene", id: gene, gene, name: gene, type: "geneVariant" }],
864
- type: "geneVariant"
865
- },
866
- q: { type: "predefined-groupset", dtLst: [dt] }
867
- };
868
- try {
869
- await fillTermWrapper(candidate, self.app.vocabApi);
870
- tw = candidate;
871
- break;
872
- } catch (e) {
873
- lastErr = e;
874
- }
875
- }
876
- if (!tw) throw lastErr;
877
- await self.launchPlot({ chartType: "summary", term: tw });
878
- };
879
- self.launchGenomeBrowserView = async (mode, opts) => {
880
- if (mode == "protein") {
881
- if (!opts.gene) throw new Error("gene symbol required for protein view");
882
- await self.launchPlot({
883
- chartType: "genomeBrowser",
884
- geneSearchResult: { geneSymbol: opts.gene },
885
- blockIsProteinMode: true
886
- });
887
- return;
888
- }
889
- if (!opts.coord) throw new Error("coordinate required for genomic view");
890
- await self.launchPlot({
891
- chartType: "genomeBrowser",
892
- geneSearchResult: { chr: opts.coord.chr, start: opts.coord.start, stop: opts.coord.stop },
893
- blockIsProteinMode: false
894
- });
895
- };
896
- self.launchGenomeBrowser = async (gene, coord) => {
897
- const gbRestrictMode = self.app.getState().termdbConfig?.queries?.gbRestrictMode;
898
- if (gbRestrictMode == "protein") {
899
- await self.launchGenomeBrowserView("protein", { gene });
900
- return;
901
- }
902
- if (gbRestrictMode == "genomic") {
903
- if (!coord) throw new Error(`Unable to resolve genomic coordinates for gene "${gene}".`);
904
- await self.launchGenomeBrowserView("genomic", { coord });
905
- return;
906
- }
907
- self.dom.tip.clear();
908
- self.dom.tip.showunder(self.dom.inputNode);
909
- const holder = self.dom.resultDiv.append("div").style("margin", "10px");
910
- holder.append("div").style("margin-bottom", "5px").text(gene);
911
- const btndiv = holder.append("div");
912
- const addViewBtn = (label, testid, mode) => {
913
- btndiv.append("button").attr("data-testid", testid).style("margin-right", "10px").text(label).on(
914
- "click",
915
- () => void self.launchGenomeBrowserView(mode, { gene, coord }).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
916
- );
917
- };
918
- addViewBtn(`Protein view of ${gene}`, `sjpp-mass-chat-gb-protein-${gene}`, "protein");
919
- if (coord) addViewBtn(`Genomic view of ${gene}`, `sjpp-mass-chat-gb-genomic-${gene}`, "genomic");
920
- };
921
- self.launchMethylationPlot = async (gene, coord) => {
922
- if (!coord) throw new Error(`Could not resolve coordinates for gene "${gene}"`);
923
- self.dom.tip.clear();
924
- self.dom.tip.showunder(self.dom.inputNode);
925
- const holder = self.dom.resultDiv.append("div").style("margin", "10px");
926
- holder.append("div").style("margin-bottom", "5px").text(gene);
927
- await embedMethylationRegionPicker({
928
- holder: holder.append("div"),
929
- genomeObj: self.app.opts.genome,
930
- vocabApi: self.app.vocabApi,
931
- chr: coord.chr,
932
- start: coord.start,
933
- stop: coord.stop,
934
- callback: async (term) => {
935
- await self.launchPlot({ chartType: "summary", term: { term } });
936
- }
937
- });
938
- };
939
- self.showTerm = function(term) {
940
- const tr = select_default(this);
941
- if (term.isCoord) {
942
- tr.append("td").text(term.name).style("padding", "5px 10px");
943
- 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(
944
- "click",
945
- () => void self.launchGenomeBrowserView("genomic", { coord: term.coord }).catch((e) => sayerror(self.dom.resultDiv, "Error: " + (e?.message || e)))
946
- );
947
- return;
948
- }
949
- if (term.isGene) {
950
- tr.append("td").text(term.name).style("padding", "5px 10px");
951
- const btnTd = tr.append("td");
952
- const addBtn = (label, testid, onClick) => {
953
- 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))));
954
- };
955
- if (term.isGeneExpression) {
956
- addBtn("Gene expression", `sjpp-mass-chat-gene-exp-${term.gene}`, async () => {
957
- await self.launchPlot({
958
- chartType: "summary",
959
- term: { term: { gene: term.gene, name: term.name, type: "geneExpression" } }
960
- });
961
- });
962
- }
963
- if (term.isGeneVariant) {
964
- for (const vt of term.geneVariantTypes || []) {
965
- addBtn(vt.label, `sjpp-mass-chat-gene-${vt.testid}-${term.gene}`, async () => {
966
- await self.launchGeneVariantPlot(term.gene, vt.dtCandidates);
967
- });
968
- }
969
- }
970
- if (term.isGenomeBrowser) {
971
- addBtn("Genome Browser", `sjpp-mass-chat-gene-genomebrowser-${term.gene}`, async () => {
972
- await self.launchGenomeBrowser(term.gene, term.coord);
973
- });
974
- }
975
- if (term.isMethylation) {
976
- addBtn("DNA methylation", `sjpp-mass-chat-gene-methylation-${term.gene}`, async () => {
977
- await self.launchMethylationPlot(term.gene, term.coord);
978
- });
979
- }
980
- return;
981
- }
982
- const button = tr.append("td").text(term.name);
983
- if (term.type) {
984
- button.style("cursor", "pointer").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-term-${term.id}`).on("click", async () => {
985
- await self.launchPlot({
986
- chartType: term.type == "survival" ? "survival" : "summary",
987
- term: { term }
988
- });
989
- });
990
- } else {
991
- button.style("padding", "5px 10px").style("opacity", 0.5);
992
- }
993
- tr.append("td").text((term.__ancestorNames || []).join(" > ")).style("opacity", 0.5).style("font-size", ".7em");
994
- };
995
- self.clear = (opts = {}) => {
996
- self.dom.tip.clear();
997
- if (opts.hide) self.dom.tip.hide();
998
- else self.dom.tip.showunder(self.dom.inputNode);
999
- };
1000
- }
1001
-
1002
- // mass/chat.ts
1003
- var MIN_PROMPT_LENGTH_FOR_CHAT = 5;
1004
- var MassAiChatBot = class _MassAiChatBot {
1005
- static {
1006
- this.type = "chat";
1007
- }
1008
- constructor(opts) {
1009
- this.type = _MassAiChatBot.type;
1010
- this.opts = opts;
1011
- this.app = opts.app;
1012
- this.opts.usecase = this.opts.usecase || { target: "dictionary", detail: "term" };
1013
- this.opts.targetType = this.opts.targetType ? this.opts.targetType : "Dictionary Variables";
1014
- this.isChat = this.app.getState().termdbConfig?.queries?.chat;
1015
- setSearchRenderers(this);
1016
- }
1017
- getState(appState) {
1018
- return {
1019
- cohortStr: appState.activeCohort == -1 || !appState.termdbConfig.selectCohort ? "" : appState.termdbConfig.selectCohort.values[appState.activeCohort].keys.slice().sort().join(","),
1020
- search: appState.search,
1021
- nav: appState.nav
1022
- };
1023
- }
1024
- async init() {
1025
- this.initDom();
1026
- }
1027
- initDom() {
1028
- let text = "Search an item";
1029
- let height = "1px";
1030
- if (this.isChat) {
1031
- text = "Ask a question";
1032
- height = "200px";
1033
- }
1034
- this.dom = {
1035
- tip: new Menu({ padding: "5px" }),
1036
- div: this.opts.subheader,
1037
- error: this.opts.subheader.append("div").attr("id", "sjpp-corrVolcano-error").style("opacity", 0.75),
1038
- 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")
1039
- };
1040
- 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);
1041
- this.dom.inputNode = inputSel.node();
1042
- this.dom.resultDiv = this.dom.tip.d.style("border-left", "solid 1px rgb(133,182,225)").style("padding-left", "5px").attr("tabindex", -1);
1043
- inputSel.on("keyup.search", (event2) => handleOmnisearchKeyup(this, event2)).on("keyup.submit", async (event2) => {
1044
- if (!keyupEnter(event2)) return;
1045
- if (!this.isChat) {
1046
- return;
1047
- }
1048
- const prompt2 = event2.target.value.trim();
1049
- if (!prompt2) return;
1050
- this.addBubble({ msg: escapeHtml(prompt2), me: 1 });
1051
- event2.target.value = "";
1052
- const serverBubble = this.addBubble({ msg: "..." });
1053
- if (prompt2.length <= MIN_PROMPT_LENGTH_FOR_CHAT) {
1054
- serverBubble.text("Your prompt is too short. Enter a longer prompt.");
1055
- return;
1056
- }
1057
- const body = {
1058
- genome: this.app.vocabApi.vocab.genome,
1059
- dslabel: this.app.vocabApi.vocab.dslabel,
1060
- filter: this.app.vocabApi.state.termfilter?.filter,
1061
- prompt: prompt2
1062
- };
1063
- try {
1064
- const data = await dofetch3("termdb/chat", { body });
1065
- if (data.error) throw data.error;
1066
- const result = data;
1067
- if (result.type === "text") {
1068
- serverBubble.text(result.text);
1069
- } else if (result.type === "html") {
1070
- serverBubble.html(result.html);
1071
- } else if (result.type === "plot") {
1072
- const optionField = findPossibleOptionsField(result.plot);
1073
- if (optionField) {
1074
- this.showPossibleOptions(serverBubble, result.plot, optionField, result.msg);
1075
- } else {
1076
- this.app.dispatch({
1077
- type: "plot_create",
1078
- config: result.plot
1079
- });
1080
- serverBubble.text(`${result.msg ? result.msg + ". " : ""}Please refer to the plot generated below.`);
1081
- }
1082
- }
1083
- } catch (e) {
1084
- if (e.stack) console.log(e.stack);
1085
- serverBubble.html(`Error: ${e.message || e}`);
1086
- }
1087
- }).node().focus();
1088
- }
1089
- addBubble(arg) {
1090
- const bubble = this.dom.bubbleDiv.append("div").style("padding", "10px").html(`${arg.me ? '<span style="font-size:.7em">[ME]</span> ' : ""}${arg.msg}`);
1091
- if (arg.me) bubble.style("background", "#f1f1f1");
1092
- const n = this.dom.bubbleDiv.node();
1093
- n.scrollTop = n.scrollHeight;
1094
- return bubble;
1095
- }
1096
- // Render click boxes for an incomplete plot state. `fieldKey` is the field of `plot` whose
1097
- // value holds `possible_options`. Clicking a box completes the plot state and dispatches plot_create.
1098
- // Each option completes the plot in one of two ways:
1099
- // - opt.config: a config patch merged into the plot (the incomplete field is dropped). Used when the
1100
- // choice sets other fields, e.g. the genome browser view sets blockIsProteinMode: true|false.
1101
- // - otherwise: the incomplete field is set to { id: opt.id }, e.g. survival term selection -> term:{id}.
1102
- showPossibleOptions(bubble, plot, fieldKey, msg) {
1103
- const options = plot[fieldKey].possible_options || [];
1104
- bubble.text(`${msg ? msg + ". " : ""}Multiple options are available. Please select one:`);
1105
- const boxDiv = bubble.append("div").style("margin-top", "5px");
1106
- for (const opt of options) {
1107
- 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", () => {
1108
- const config = JSON.parse(JSON.stringify(plot));
1109
- if (opt.config) {
1110
- delete config[fieldKey];
1111
- Object.assign(config, opt.config);
1112
- } else {
1113
- config[fieldKey] = { id: opt.id };
1114
- }
1115
- this.app.dispatch({
1116
- type: "plot_create",
1117
- config
1118
- });
1119
- bubble.selectAll("*").remove();
1120
- bubble.text(`Selected "${opt.name}". Please refer to the plot generated below.`);
1121
- });
1122
- }
1123
- }
1124
- main() {
1125
- if (this.opts.subheader.style("display") == "none") {
1126
- this.dom.inputNode.blur();
1127
- return;
1128
- }
1129
- if (this.opts?.focus != "off") this.dom.inputNode.focus();
1130
- }
1131
- };
1132
- var chatInit = getCompInit(MassAiChatBot);
1133
- function escapeHtml(s) {
1134
- return s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#39;");
1135
- }
1136
- function findPossibleOptionsField(plot) {
1137
- if (!plot || typeof plot !== "object") return null;
1138
- for (const key of Object.keys(plot)) {
1139
- const val = plot[key];
1140
- if (val && typeof val === "object" && Array.isArray(val.possible_options)) return key;
1141
- }
1142
- return null;
1143
- }
1144
-
1145
- // mass/nav.js
1146
- var activeTabBgColor = "#ececec";
1147
- var activeTabBgColorHover = "#e0e0e0";
1148
- var activeTabTextColor = "black";
1149
- var inactiveTabBgColorHover = "#fcfced";
1150
- var inactiveTabTextColor = "gray";
1151
- var instanceNum = 0;
1152
- var idPrefix = "_MASS_AUTOID_" + Math.random().toString().slice(-6);
1153
- var id = (+/* @__PURE__ */ new Date()).toString().slice(-8);
1154
- var headtip = new Menu({ padding: "0px", offsetX: 0, offsetY: 0 });
1155
- headtip.d.style("z-index", 5555);
1156
- var aboutTab = { top: "ABOUT", mid: "", btm: "", subheader: "about" };
1157
- var chartTab = { top: "CHARTS", mid: "NONE", btm: "", subheader: "charts" };
1158
- var groupsTab = { top: "GROUPS", mid: "NONE", btm: "", subheader: "groups" };
1159
- var filterTab = { top: "FILTER", mid: "NONE", btm: "", subheader: "filter" };
1160
- function getId() {
1161
- return idPrefix + "_" + id++;
1162
- }
1163
- var TdbNav = class _TdbNav {
1164
- static type = "nav";
1165
- constructor(opts) {
1166
- this.type = _TdbNav.type;
1167
- this.instanceNum = instanceNum++;
1168
- this.tabs = [];
1169
- this.activeTab = 0;
1170
- this.activeCohort = 0;
1171
- this.samplecounts = {};
1172
- this.searching = false;
1173
- this.massSessionDuration = opts.massSessionDuration;
1174
- this.sessionDaysLeft = opts.app.opts.sessionDaysLeft || null;
1175
- this.sessionId = opts.app.opts.sessionId || null;
1176
- this.pkgver = opts.pkgver || null;
1177
- setInteractivity(this);
1178
- setRenderers(this);
1179
- }
1180
- async init(appState) {
1181
- try {
1182
- this.cohortFilter = getFilterItemByTag(appState.termfilter.filter, "cohortFilter");
1183
- this.initUI(appState);
1184
- if (appState?.termdbConfig?.selectCohort) {
1185
- this.dom.tds.filter((d) => d.colNum === 0).style("display", "");
1186
- this.cohortNames = appState.termdbConfig.selectCohort.values.map((d) => d.keys.slice().sort().join(","));
1187
- }
1188
- this.components = await multiInit({
1189
- filter: filterRxCompInit({
1190
- app: this.app,
1191
- vocabApi: this.app.vocabApi,
1192
- holder: this.dom.subheader.filter.append("div").style("margin", "5px"),
1193
- hideLabel: this.opts.header_mode === "with_tabs",
1194
- emptyLabel: "+Add new filter",
1195
- callback: (filter) => {
1196
- this.app.dispatch({
1197
- type: "filter_replace",
1198
- filter
1199
- });
1200
- }
1201
- }),
1202
- charts: chartsInit({
1203
- app: this.app,
1204
- holder: this.dom.subheader.charts,
1205
- vocab: this.opts.vocab
1206
- }),
1207
- groups: groupsInit({
1208
- app: this.app,
1209
- holder: this.dom.subheader.groups,
1210
- vocab: this.opts.vocab
1211
- }),
1212
- recover: recoverInit({
1213
- app: this.app,
1214
- holder: this.dom.recoverDiv,
1215
- // TODO: ???? may limit the tracked state to only the filter, activeCohort ???
1216
- getState: (appState2) => appState2,
1217
- reactsTo: (action) => action.type != "plot_edit",
1218
- maxHistoryLen: 5
1219
- }),
1220
- sessionBtn: sessionBtnInit({
1221
- app: this.app,
1222
- button: this.dom.saveBtn,
1223
- massSessionDuration: this.opts.massSessionDuration,
1224
- sessionDaysLeft: this.app.opts.sessionDaysLeft || null
1225
- }),
1226
- about: aboutInit({
1227
- app: this.app,
1228
- subheader: this.dom.subheader.about,
1229
- instanceNum: this.instanceNum,
1230
- aboutOverrides: appState?.termdbConfig?.massNav?.tabs?.about || null,
1231
- selectCohort: appState?.termdbConfig?.selectCohort || null
1232
- }),
1233
- chat: chatInit({
1234
- app: this.app,
1235
- subheader: this.dom.subheader.chat
1236
- })
1237
- });
1238
- this.mayShowMessage_sessionDaysLeft();
1239
- } catch (e) {
1240
- throw e;
1241
- }
1242
- }
1243
- reactsTo(action) {
1244
- if (action.type.includes("cache_termq")) return true;
1245
- if (action.type.startsWith("filter")) return true;
1246
- if (action.type.startsWith("cohort")) return true;
1247
- if (action.type.startsWith("tab")) return true;
1248
- if (action.type == "plot_prep") return true;
1249
- if (action.type == "plot_create") return true;
1250
- if (action.type == "plot_delete") return true;
1251
- if (action.type == "app_refresh") return true;
1252
- if (action.type.endsWith("_customTerm")) return true;
1253
- if (action.type.endsWith("_group")) return true;
1254
- }
1255
- getState(appState) {
1256
- return {
1257
- searching: this.searching,
1258
- // for detection of internal state change
1259
- nav: appState.nav,
1260
- activeCohort: appState.activeCohort,
1261
- termdbConfig: appState.termdbConfig,
1262
- filter: appState.termfilter.filter,
1263
- plots: appState.plots,
1264
- groups: appState.groups
1265
- };
1266
- }
1267
- async main() {
1268
- this.dom.tabDiv.style("display", this.state.nav.header_mode === "with_tabs" ? "inline-block" : "none");
1269
- this.dom.tip.hide();
1270
- this.activeTab = this.state.nav.activeTab;
1271
- this.prevCohort = this.activeCohort;
1272
- this.activeCohort = +this.state.activeCohort;
1273
- this.filterUiRoot = getFilterItemByTag(this.state.filter, "filterUiRoot");
1274
- this.cohortFilter = getFilterItemByTag(this.state.filter, "cohortFilter");
1275
- if (this.cohortNames) {
1276
- this.activeCohortName = this.cohortNames[this.activeCohort];
1277
- if (this.activeCohort !== -1)
1278
- this.activeCohortLabel = this.state.termdbConfig.selectCohort.values[this.activeCohort].shortLabel;
1279
- }
1280
- this.filterJSON = JSON.stringify(this.state.filter);
1281
- this.cohortsData = await this.app.vocabApi.getCohortsData();
1282
- if (this.state.nav.header_mode === "with_tabs") {
1283
- if (!(this.activeCohort in this.samplecounts)) {
1284
- this.samplecounts[this.activeCohort] = await this.app.vocabApi.getCohortSampleCount(this.activeCohortName);
1285
- }
1286
- if (!(this.filterJSON in this.samplecounts)) {
1287
- if (!this.filterUiRoot || !this.filterUiRoot.lst.length) {
1288
- this.samplecounts[this.filterJSON] = this.samplecounts[this.activeCohort];
1289
- } else {
1290
- const n = await this.app.vocabApi.getFilteredSampleCount(this.filterJSON);
1291
- this.samplecounts[this.filterJSON] = n;
1292
- }
1293
- }
1294
- }
1295
- this.updateUI();
1296
- }
1297
- };
1298
- var navInit = getCompInit(TdbNav);
1299
- function setRenderers(self) {
1300
- self.initUI = (appState) => {
1301
- const verifiedToken = self.app.vocabApi.verifiedToken;
1302
- const invalidTokenErrorHandling = appState.termdbConfig.invalidTokenErrorHandling;
1303
- if (!verifiedToken && invalidTokenErrorHandling?.affectedCharts?.includes("*"))
1304
- throw new Error(appState.termdbConfig.invalidTokenErrorHandling.errorMessage);
1305
- const header = self.opts.holder.append("div").style("white-space", "nowrap");
1306
- const massNav = appState.termdbConfig?.massNav || {};
1307
- 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);
1308
- const tabDiv = header.append("div").style("display", "none").style("vertical-align", "bottom");
1309
- const controlsDiv = header.append("div").style("vertical-align", "top").style("margin", "10px").style("display", "inline-block").style("float", "right");
1310
- if (self.opts.header_mode === "only_buttons") {
1311
- tabDiv.style("display", "none");
1312
- titleDiv.style("display", "none");
1313
- controlsDiv.style("display", "none");
1314
- }
1315
- self.opts.holder.attr("class", "sjpp-nav");
1316
- self.dom = {
1317
- holder: self.opts.holder,
1318
- header,
1319
- tabDiv,
1320
- controlsDiv,
1321
- searchDiv: controlsDiv.append("div").style("margin", "10px"),
1322
- sessionDiv: controlsDiv.append("div").style("display", "inline-block"),
1323
- recoverDiv: controlsDiv.append("div").style("display", "inline-block"),
1324
- pdfDiv: controlsDiv.append("div").style("display", "inline-block").style("padding", "4px").style("vertical-align", "middle"),
1325
- deleteAllDiv: controlsDiv.append("div").style("display", "inline-block").style("padding", "4px").style("vertical-align", "middle"),
1326
- helpDiv: controlsDiv.append("div").style("display", "none"),
1327
- sessionElapsedMessageDiv: controlsDiv.append("div").style("display", "none"),
1328
- subheaderDiv: self.opts.holder.append("div").style("display", "block").style("border-bottom", "1px solid #000"),
1329
- messageDiv: self.opts.holder.append("div").style("margin", "30px").style("display", "none"),
1330
- titleDiv,
1331
- tip: new Menu({ padding: "5px" })
1332
- };
1333
- icons["trash"](self.dom.deleteAllDiv, {
1334
- handler: self.deletePlots,
1335
- title: "Delete all plots. To revert, click Undo button"
1336
- });
1337
- icons["pdf"](self.dom.pdfDiv, {
1338
- handler: self.opts.downloadPlots,
1339
- title: "Generate a PDF of all the plots opened"
1340
- });
1341
- if (self.opts.header_mode === "with_cohortHtmlSelect") {
1342
- self.dom.cohortStandaloneDiv = header.append("div").style("display", "inline-block").style("margin", "10px").style("vertical-align", "top");
1343
- self.dom.cohortStandaloneDiv.append("label").html("Cohort: ");
1344
- self.dom.cohortSelect = self.dom.cohortStandaloneDiv.append("select").on("change", async function() {
1345
- self.app.dispatch({ type: "cohort_set", activeCohort: +this.value });
1346
- });
1347
- 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);
1348
- }
1349
- self.dom.subheader = Object.freeze({
1350
- // For either the COHORT or ABOUT tab
1351
- about: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-about").style("display", "none"),
1352
- search: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-search").style("display", "none"),
1353
- groups: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-groups").style("display", "none"),
1354
- charts: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-charts").style("display", "none"),
1355
- filter: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-filter").style("display", "none"),
1356
- chat: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-chat").style("display", "none")
1357
- // cart: self.dom.subheaderDiv.append('div').style('display', 'none').html('<br/>Cart feature under construction - work in progress<br/>&nbsp;<br/>'),
1358
- });
1359
- if (!massNav.tabs?.about?.hide) {
1360
- self.tabs.push(aboutTab);
1361
- const override = Object.assign({}, massNav.tabs?.about);
1362
- if (appState.termdbConfig?.selectCohort) {
1363
- if (!override.top) override.top = "COHORT";
1364
- } else {
1365
- if (!override.mid) override.mid = self.pickDatasetLabel(appState);
1366
- }
1367
- Object.assign(aboutTab, override);
1368
- }
1369
- if (!massNav.tabs?.charts?.hide) {
1370
- self.tabs.push(chartTab);
1371
- Object.assign(chartTab, massNav.tabs?.charts);
1372
- }
1373
- if (!massNav.tabs?.groups?.hide) {
1374
- self.tabs.push(groupsTab);
1375
- Object.assign(groupsTab, massNav.tabs?.groups);
1376
- }
1377
- if (!massNav.tabs?.filter?.hide) {
1378
- self.tabs.push(filterTab);
1379
- Object.assign(filterTab, massNav.tabs?.filter);
1380
- }
1381
- if (!massNav.tabs?.chat?.hide) {
1382
- if (appState.termdbConfig?.queries?.chat) {
1383
- const chatTab = { top: "CHAT", mid: "", btm: "", subheader: "chat" };
1384
- Object.assign(chatTab, massNav.tabs?.chat);
1385
- chatTab.top = "CHAT";
1386
- self.tabs.push(chatTab);
1387
- } else {
1388
- const searchTab = { top: "SEARCH", mid: "", btm: "", subheader: "chat" };
1389
- Object.assign(searchTab, massNav.tabs?.chat);
1390
- searchTab.top = "SEARCH";
1391
- self.tabs.push(searchTab);
1392
- }
1393
- }
1394
- const table = self.dom.tabDiv.append("table").attr("data-testid", "sjpp-nav-tabs-table").style("border-collapse", "collapse");
1395
- 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(
1396
- (key, i) => self.tabs.map((row, colNum) => {
1397
- return {
1398
- rowNum: i,
1399
- key,
1400
- colNum,
1401
- label: row[key],
1402
- subheader: row.subheader,
1403
- disabled: row.disabled,
1404
- disabledMessage: row.disabledMessage
1405
- };
1406
- })
1407
- ).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) => {
1408
- self.setTab(event2, d);
1409
- }).on("mouseover", (event2, d) => {
1410
- self.mouseover(event2, d);
1411
- }).on("mouseout", () => {
1412
- self.mouseout();
1413
- });
1414
- self.dom.trs = table.selectAll("tr");
1415
- self.dom.tds = table.selectAll("td");
1416
- self.subheaderKeys = self.tabs.map((d) => d.subheader);
1417
- self.dom.saveBtn = self.dom.sessionDiv.append("button").attr("data-testid", "sjpp-nav-session-btn").style("margin", "10px").text("Session \u25BC");
1418
- if (self.sessionDaysLeft != null) {
1419
- self.dom.fileBtn = self.dom.sessionDiv.append("button").attr("data-testid", "sjpp-nav-file-btn").style("margin", "10px").text("Export Session").on("click", (event2) => {
1420
- self.getSessionFile(event2);
1421
- });
1422
- }
1423
- };
1424
- self.deletePlots = () => {
1425
- const state = self.app.getState();
1426
- const subactions = [];
1427
- for (const plot of state.plots) subactions.push({ type: "plot_delete", id: plot.id });
1428
- self.app.dispatch({ type: "app_refresh", subactions });
1429
- };
1430
- self.mayShowMessage_sessionDaysLeft = () => {
1431
- if (!Number.isFinite(self.sessionDaysLeft)) {
1432
- return;
1433
- }
1434
- self.dom.sessionElapsedMessageDiv.style("display", "block");
1435
- self.dom.remainingDaysMessage = self.dom.sessionElapsedMessageDiv.append("div").style("display", "block").style("opacity", "0.65").html(
1436
- `<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.`
1437
- );
1438
- };
1439
- self.updateUI = async () => {
1440
- if (!self.dom.subheaderDiv) return;
1441
- if (self.activeTab && self.state.termdbConfig.selectCohort && self.activeCohort == -1) {
1442
- self.dom.subheaderDiv.style("display", "none");
1443
- self.dom.messageDiv.selectAll("text").remove();
1444
- self.dom.messageDiv.style("display", "").text('No cohort selected. Please select a cohort in the "COHORT" tab.');
1445
- } else {
1446
- if (self.dom.subheaderDiv) self.dom.subheaderDiv.style("display", self.activeTab != -1 ? "block" : "none");
1447
- if (self.dom.messageDiv) self.dom.messageDiv.style("display", "none");
1448
- }
1449
- const selectCohort = self.state.termdbConfig.selectCohort;
1450
- const massNav = self.state.termdbConfig.massNav;
1451
- self.dom.searchDiv.style("display", selectCohort && self.activeCohort == -1 ? "none" : "inline-block");
1452
- self.dom.header.style("border-bottom", self.state.nav.header_mode === "with_tabs" ? "1px solid #000" : "");
1453
- self.dom.tds.style("display", "").style("color", (d) => d.colNum == self.activeTab ? activeTabTextColor : inactiveTabTextColor).style(
1454
- "background-color",
1455
- (d) => d.colNum == self.activeTab && self.dom.subheaderDiv.style("display") != "none" ? self.state.termdbConfig.massNav?.activeColor || activeTabBgColor : "transparent"
1456
- ).html(function(d, i) {
1457
- if (d.key == "top") return this.innerHTML;
1458
- if (d.subheader == "groups") {
1459
- if (d.key == "mid") return self.state.groups.length || "NONE";
1460
- return "";
1461
- }
1462
- if (d.subheader === "charts") {
1463
- const n = self.state.plots.filter((p) => !p.parentId).length;
1464
- if (d.key == "mid") return !n ? "NONE" : n;
1465
- else return "";
1466
- } else if (d.subheader === "about") {
1467
- if (self.activeCohort != -1 && self.activeCohort in self.samplecounts) {
1468
- const aboutMap = {
1469
- top: this.innerHTML,
1470
- mid: self.activeCohortLabel,
1471
- btm: self.samplecounts[self.activeCohort]
1472
- };
1473
- return aboutMap[d.key] || "";
1474
- } else if (!selectCohort) {
1475
- const aboutMap = {
1476
- top: massNav?.tabs?.about?.top || "ABOUT",
1477
- mid: massNav?.tabs?.about?.mid || this.innerHTML,
1478
- btm: massNav?.tabs?.about?.btm || self.samplecounts[self.activeCohort]
1479
- };
1480
- return aboutMap[d.key] || "";
1481
- } else {
1482
- return d.key === "mid" ? "NONE" : this.innerHTML;
1483
- }
1484
- } else if (d.subheader === "filter") {
1485
- const filter = self.filterUiRoot ? self.filterUiRoot : { lst: [] };
1486
- if (filter.lst.length === 0) {
1487
- return d.key === "mid" ? "NONE" : "";
1488
- } else {
1489
- const n = self.samplecounts[self.filterJSON] != void 0 ? "" + self.samplecounts[self.filterJSON] : "";
1490
- return d.key === "mid" ? filter.lst.length : n;
1491
- }
1492
- } else {
1493
- return d.key === "mid" ? this.innerHTML : "&nbsp;";
1494
- }
1495
- });
1496
- for (const key in self.dom.subheader) {
1497
- self.dom.subheader[key].style(
1498
- "display",
1499
- self.activeTab == -1 ? "none" : self.tabs[self.activeTab].subheader === key ? "block" : "none"
1500
- );
1501
- }
1502
- if (self.opts.header_mode === "with_cohortHtmlSelect") {
1503
- self.dom.cohortSelect.selectAll("option").property("value", self.activeCohort);
1504
- }
1505
- };
1506
- }
1507
- function setInteractivity(self) {
1508
- self.setTab = async (event2, d) => {
1509
- if (d.disabled) return;
1510
- if (d.colNum === self.activeTab && !self.searching) {
1511
- if (self.activeTab == 0) return;
1512
- self.prevCohort = self.activeCohort;
1513
- await self.updateUI();
1514
- self.app.dispatch({ type: "tab_set", activeTab: -1 });
1515
- return;
1516
- }
1517
- self.activeTab = d.colNum;
1518
- self.searching = false;
1519
- self.app.dispatch({ type: "tab_set", activeTab: self.activeTab });
1520
- const chartsIdx = self.subheaderKeys.indexOf("charts");
1521
- if (self.activeTab == chartsIdx && self.activeCohort != -1 && !self.state.plots.length) {
1522
- const defaultChartType = self.state.termdbConfig.defaultChartType || "dictionary";
1523
- self.app.dispatch({
1524
- type: "plot_create",
1525
- id: getId(),
1526
- config: { chartType: defaultChartType }
1527
- });
1528
- }
1529
- };
1530
- self.mouseover = (event2, d) => {
1531
- const defaultActiveColor = self.state.termdbConfig.massNav?.activeColor || activeTabBgColor;
1532
- self.dom.tds.style("background-color", (t) => {
1533
- if (t.colNum === d.colNum)
1534
- return self.activeTab == t.colNum ? self.state.termdbConfig.massNav?.activeColorHover || activeTabBgColorHover : inactiveTabBgColorHover;
1535
- return self.activeTab == t.colNum ? defaultActiveColor : "transparent";
1536
- });
1537
- };
1538
- self.mouseout = () => {
1539
- const defaultActiveColor = self.state.termdbConfig.massNav?.activeColor || activeTabBgColor;
1540
- self.dom.tds.style("background-color", (t) => self.activeTab == t.colNum ? defaultActiveColor : "transparent");
1541
- };
1542
- self.getSessionFile = async (event2) => {
1543
- const res = await dofetch3(`/massSession?id=${self.sessionId}`);
1544
- const a = document.createElement("a");
1545
- const dataStr = "data:application/json;charset=utf-8," + encodeURIComponent(JSON.stringify(res.state));
1546
- a.setAttribute("href", dataStr);
1547
- a.download = `${self.sessionId}.json`;
1548
- a.click();
1549
- a.remove();
1550
- };
1551
- self.pickDatasetLabel = (appState) => {
1552
- const dslabel = appState.vocab.dslabel.toUpperCase();
1553
- return dslabel.length > 10 ? `${dslabel.slice(0, 10)}...` : dslabel;
1554
- };
1555
- }
1556
-
1557
- export {
1558
- getId,
1559
- navInit
1560
- };
1561
- //# sourceMappingURL=chunk-DBKNWR4J.js.map