@sjcrh/proteinpaint-client 2.191.4 → 2.192.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 (957) hide show
  1. package/dist/2dmaf-BNMEUJVM.js +1373 -0
  2. package/dist/AIProjectAdmin-AEXQY5LY.js +958 -0
  3. package/dist/AIProjectAdmin-AEXQY5LY.js.map +7 -0
  4. package/dist/AppHeader-RXDJBHXZ.js +835 -0
  5. package/dist/BoxPlot-HDP3SIGU.js +1217 -0
  6. package/dist/BoxPlot-HDP3SIGU.js.map +7 -0
  7. package/dist/CorrelationVolcano-V2E566XL.js +619 -0
  8. package/dist/DE-7YUZSW4E.js +95 -0
  9. package/dist/DEinput-P2HOQC4Z.js +301 -0
  10. package/dist/DifferentialAnalysis-2Z6BHS7A.js +245 -0
  11. package/dist/Disco-ZLC54X7T.js +3297 -0
  12. package/dist/Disco-ZLC54X7T.js.map +7 -0
  13. package/dist/Disco.UI-LXJJYQVV.js +249 -0
  14. package/dist/Disco.UI-LXJJYQVV.js.map +7 -0
  15. package/dist/DmrPlot-OEJRGNI3.js +642 -0
  16. package/dist/GB-2GHDD3MW.js +1130 -0
  17. package/dist/GeneExpInput-PWLPDLYT.js +367 -0
  18. package/dist/GeneExpInput-PWLPDLYT.js.map +7 -0
  19. package/dist/HicApp-CAYC4DPO.js +2250 -0
  20. package/dist/NumBinaryEditor-EUOYSGPM.js +271 -0
  21. package/dist/NumBinaryEditor.unit.spec-5B3W4B4F.js +286 -0
  22. package/dist/NumContEditor-7KK6CIB3.js +109 -0
  23. package/dist/NumContEditor.unit.spec-IMKGVYFZ.js +169 -0
  24. package/dist/NumCustomBinEditor-PDAF6I7B.js +38 -0
  25. package/dist/NumCustomBinEditor.unit.spec-IU3DPECJ.js +284 -0
  26. package/dist/NumDiscreteEditor-YTKUHG6Z.js +179 -0
  27. package/dist/NumDiscreteEditor.unit.spec-FUBS7Z7Z.js +202 -0
  28. package/dist/NumRegularBinEditor-LU3KLBLY.js +38 -0
  29. package/dist/NumRegularBinEditor.unit.spec-2BKOHI7L.js +227 -0
  30. package/dist/NumSplineEditor-56RJ2HT2.js +198 -0
  31. package/dist/NumSplineEditor.unit.spec-PW6VUUBZ.js +199 -0
  32. package/dist/NumericDensity-EB4H54EF.js +38 -0
  33. package/dist/NumericDensity.unit.spec-LSEM4OEY.js +221 -0
  34. package/dist/NumericHandler-VGPDXP35.js +39 -0
  35. package/dist/NumericHandler.unit.spec-NR3F7XHV.js +219 -0
  36. package/dist/ProteomeInput-AUXWUIWK.js +396 -0
  37. package/dist/RunChart2-SQ6TFOHD.js +758 -0
  38. package/dist/SC-OWJ6LYIW.js +1124 -0
  39. package/dist/SC-OWJ6LYIW.js.map +7 -0
  40. package/dist/Volcano-XHDH6UN7.js +1379 -0
  41. package/dist/WSIViewer-WT2QV747.js +48562 -0
  42. package/dist/WSIViewer-WT2QV747.js.map +7 -0
  43. package/dist/WsiSamplesPlot-YUOAWG2A.js +165 -0
  44. package/dist/adSandbox-VMMAL22L.js +38 -0
  45. package/dist/animatedBubbleChart-Q6Z5W2UL.js +555 -0
  46. package/dist/animatedBubbleChart-Q6Z5W2UL.js.map +7 -0
  47. package/dist/app-FX3KZ67X.js +37 -0
  48. package/dist/app-X7ZYEOZN.js +49 -0
  49. package/dist/app.js +20 -20
  50. package/dist/bam-ZYLH4U5R.js +860 -0
  51. package/dist/barchart-MXSPTKV4.js +47 -0
  52. package/dist/barchart.data-ZWF6EVJH.js +22 -0
  53. package/dist/barchart.events-XON2ANOC.js +47 -0
  54. package/dist/barchart.integration.spec-PJIENJGT.js +1980 -0
  55. package/dist/barchart2-HIKBGSSE.js +314 -0
  56. package/dist/barchart2-HIKBGSSE.js.map +7 -0
  57. package/dist/bars.renderer-57KSYAAT.js +12 -0
  58. package/dist/block-EGPYVWNP.js +6226 -0
  59. package/dist/block-EGPYVWNP.js.map +7 -0
  60. package/dist/block.init-IJBRPZNM.js +38 -0
  61. package/dist/block.mds.expressionrank-3DANCP7E.js +359 -0
  62. package/dist/block.mds.geneboxplot-CRGSCZMG.js +828 -0
  63. package/dist/block.mds.junction-4UIH2ZYN.js +1545 -0
  64. package/dist/block.mds.svcnv-NF4UIRR2.js +6801 -0
  65. package/dist/block.svg-AIZ47JCQ.js +164 -0
  66. package/dist/block.tk.aicheck-7HZFGE63.js +283 -0
  67. package/dist/block.tk.ase-U3VNPZEA.js +365 -0
  68. package/dist/block.tk.bam-4TQ7P2OX.js +1906 -0
  69. package/dist/block.tk.bedgraphdot-MYHKKO6K.js +384 -0
  70. package/dist/block.tk.bigwig.ui-E3YVGIDN.js +212 -0
  71. package/dist/block.tk.hicstraw-Y4XOMG7T.js +823 -0
  72. package/dist/block.tk.junction-T5C7LK6F.js +2364 -0
  73. package/dist/block.tk.junction.textmatrixui-Z3ACCVXH.js +199 -0
  74. package/dist/block.tk.ld-Y5KDA5AU.js +99 -0
  75. package/dist/block.tk.menu-EWRRISDY.js +1029 -0
  76. package/dist/block.tk.pgv-3JYGOZVQ.js +944 -0
  77. package/dist/brainImaging-P3AF3C5N.js +423 -0
  78. package/dist/brainRegions-YA2H2QOI.js +221 -0
  79. package/dist/brainRegions-YA2H2QOI.js.map +7 -0
  80. package/dist/chunk-2JR7RPB6.js +1825 -0
  81. package/dist/chunk-2U2CP2Y2.js +317 -0
  82. package/dist/chunk-2U2CP2Y2.js.map +7 -0
  83. package/dist/chunk-3BBK6A4X.js +176 -0
  84. package/dist/chunk-3BBK6A4X.js.map +7 -0
  85. package/dist/chunk-3FVIDQOX.js +54 -0
  86. package/dist/chunk-3K2O2NIH.js +446 -0
  87. package/dist/chunk-3RSJU6YM.js +2681 -0
  88. package/dist/chunk-3ZKD6C5S.js +34 -0
  89. package/dist/chunk-46AEH34Z.js +95 -0
  90. package/dist/chunk-4CQVC6XL.js +182 -0
  91. package/dist/chunk-5FXNI724.js +216 -0
  92. package/dist/chunk-634MOGE3.js +314 -0
  93. package/dist/chunk-634MOGE3.js.map +7 -0
  94. package/dist/chunk-6JHIX4RA.js +4269 -0
  95. package/dist/chunk-6JHIX4RA.js.map +7 -0
  96. package/dist/chunk-7PFRBGMN.js +129 -0
  97. package/dist/chunk-7R63MAPC.js +448 -0
  98. package/dist/chunk-7R63MAPC.js.map +7 -0
  99. package/dist/chunk-A4Z3CI24.js +276 -0
  100. package/dist/chunk-AI2LUQS6.js +119 -0
  101. package/dist/chunk-AJYJW4LX.js +6364 -0
  102. package/dist/chunk-BKPDYW5T.js +177 -0
  103. package/dist/chunk-BMS32SNA.js +37 -0
  104. package/dist/chunk-C4BCMAIK.js +188 -0
  105. package/dist/chunk-C4BCMAIK.js.map +7 -0
  106. package/dist/chunk-CJPGYPI3.js +291 -0
  107. package/dist/chunk-CTQH7LQ6.js +31 -0
  108. package/dist/chunk-D5CVYITI.js +203 -0
  109. package/dist/chunk-DMSX5PSO.js +477 -0
  110. package/dist/chunk-E3JRW3T3.js +1102 -0
  111. package/dist/chunk-E574SMCX.js +283 -0
  112. package/dist/chunk-E76O5Z42.js +98 -0
  113. package/dist/chunk-EEW443GL.js +14 -0
  114. package/dist/chunk-EVNMW7BS.js +833 -0
  115. package/dist/chunk-EVNMW7BS.js.map +7 -0
  116. package/dist/chunk-F2WPS7VY.js +1943 -0
  117. package/dist/chunk-FDPWWODM.js +2832 -0
  118. package/dist/chunk-FDPWWODM.js.map +7 -0
  119. package/dist/chunk-FVHUROIJ.js +446 -0
  120. package/dist/chunk-FVHUROIJ.js.map +7 -0
  121. package/dist/chunk-FYFX42YD.js +222 -0
  122. package/dist/chunk-G6RZYGWY.js +386 -0
  123. package/dist/chunk-GTZV2UZV.js +736 -0
  124. package/dist/chunk-H34LAFGH.js +142 -0
  125. package/dist/chunk-I2R5O2XX.js +263 -0
  126. package/dist/chunk-IEYDMN3H.js +26 -0
  127. package/dist/chunk-JWBP4ZZB.js +148 -0
  128. package/dist/chunk-KUZPTJJO.js +20874 -0
  129. package/dist/chunk-KUZPTJJO.js.map +7 -0
  130. package/dist/chunk-KVIH5JPC.js +1275 -0
  131. package/dist/chunk-L5HCOTRF.js +302 -0
  132. package/dist/chunk-LHKDLWG5.js +194 -0
  133. package/dist/chunk-LQJMCE7G.js +467 -0
  134. package/dist/chunk-M7UKOCJA.js +234 -0
  135. package/dist/chunk-M7UKOCJA.js.map +7 -0
  136. package/dist/chunk-MHFH66I3.js +1289 -0
  137. package/dist/chunk-MHFH66I3.js.map +7 -0
  138. package/dist/chunk-MNIBZTQE.js +146 -0
  139. package/dist/chunk-MP3DN6JK.js +117 -0
  140. package/dist/chunk-N5OVBS5L.js +2786 -0
  141. package/dist/chunk-NEKAGDTL.js +58 -0
  142. package/dist/chunk-NPCNDM6Y.js +54 -0
  143. package/dist/chunk-NYN2WQN3.js +100 -0
  144. package/dist/chunk-O6WL7USJ.js +343 -0
  145. package/dist/chunk-OH5I6I2D.js +368 -0
  146. package/dist/chunk-PDFCQ7AU.js +5054 -0
  147. package/dist/chunk-PDFCQ7AU.js.map +7 -0
  148. package/dist/chunk-PSJVMAWA.js +294 -0
  149. package/dist/chunk-PSJVMAWA.js.map +7 -0
  150. package/dist/chunk-PTQ774XH.js +514 -0
  151. package/dist/chunk-PXOH4ZN2.js +399 -0
  152. package/dist/chunk-QG4BJUM7.js +102 -0
  153. package/dist/chunk-R7AV73BV.js +617 -0
  154. package/dist/chunk-R7AV73BV.js.map +7 -0
  155. package/dist/chunk-RITTG5WN.js +158 -0
  156. package/dist/chunk-SMSFTTEO.js +272 -0
  157. package/dist/chunk-SOTB4FRE.js +2098 -0
  158. package/dist/chunk-SOTB4FRE.js.map +7 -0
  159. package/dist/chunk-TBZKVKR4.js +50 -0
  160. package/dist/chunk-TJYRBEBK.js +2878 -0
  161. package/dist/chunk-TLTS33EY.js +287 -0
  162. package/dist/chunk-TMM7BWW7.js +381 -0
  163. package/dist/chunk-TTC4MNEM.js +2327 -0
  164. package/dist/chunk-UN3O2MNB.js +375 -0
  165. package/dist/chunk-UN3O2MNB.js.map +7 -0
  166. package/dist/chunk-UQ5CDHYF.js +1218 -0
  167. package/dist/chunk-UQ5CDHYF.js.map +7 -0
  168. package/dist/chunk-UXIZYI3X.js +226 -0
  169. package/dist/chunk-VIUATDO2.js +170 -0
  170. package/dist/chunk-VIUDFDN4.js +102 -0
  171. package/dist/chunk-VQZ2Z5YU.js +587 -0
  172. package/dist/chunk-VQZ2Z5YU.js.map +7 -0
  173. package/dist/chunk-W5OEFZCR.js +254 -0
  174. package/dist/chunk-WXSRK3XR.js +534 -0
  175. package/dist/chunk-XHGMDBTS.js +230 -0
  176. package/dist/chunk-XQ2OBL6R.js +1205 -0
  177. package/dist/chunk-XQ2OBL6R.js.map +7 -0
  178. package/dist/chunk-XVGS3QXS.js +55 -0
  179. package/dist/chunk-XYNYQMLH.js +482 -0
  180. package/dist/chunk-Y4JJMUWG.js +217 -0
  181. package/dist/chunk-Z457XQSX.js +815 -0
  182. package/dist/chunk-ZF6HNVYD.js +1444 -0
  183. package/dist/chunk-ZF6HNVYD.js.map +7 -0
  184. package/dist/condition-QXTOTGZX.js +332 -0
  185. package/dist/controls-7TDB75LK.js +41 -0
  186. package/dist/controls.config-IBF5ILFP.js +39 -0
  187. package/dist/correlation-M2T5R7CM.js +102 -0
  188. package/dist/correlation-M2T5R7CM.js.map +7 -0
  189. package/dist/cuminc-CAHPKW7W.js +1149 -0
  190. package/dist/cuminc.integration.spec-NNSQGBRI.js +678 -0
  191. package/dist/customdata.inputui-RRTQK7OK.js +289 -0
  192. package/dist/dataDownload-SOUCBKXM.js +330 -0
  193. package/dist/dataDownload.integration.spec-C6TLWSSO.js +193 -0
  194. package/dist/databrowser.ui-KLFEU5QA.js +433 -0
  195. package/dist/dictionary-RUT5VXDD.js +118 -0
  196. package/dist/dictionary-RUT5VXDD.js.map +7 -0
  197. package/dist/dnaMethylation-WOKGG33W.js +38 -0
  198. package/dist/dnaMethylation.integration.spec-YUPP42UK.js +203 -0
  199. package/dist/dofetch-V7PLLWSO.js +51 -0
  200. package/dist/e2pca-VT7EM4E3.js +350 -0
  201. package/dist/ep-X6B43UXE.js +1256 -0
  202. package/dist/expclust.gdc.spec-DTBFOXBC.js +307 -0
  203. package/dist/facet-T5ZX7ZGV.js +521 -0
  204. package/dist/forms2-S5OGBFKL.js +539 -0
  205. package/dist/forms2-S5OGBFKL.js.map +7 -0
  206. package/dist/gb-TWXREZIP.js +88 -0
  207. package/dist/geneExpClustering-2G6YDCIN.js +249 -0
  208. package/dist/geneExpression-2A4ZPT7K.js +38 -0
  209. package/dist/geneExpression-ZHQH6SNA.js +313 -0
  210. package/dist/geneExpression.unit.spec-2M223S4P.js +102 -0
  211. package/dist/geneORA-YLIRUMCZ.js +278 -0
  212. package/dist/geneRanking-JDJXNGEC.js +551 -0
  213. package/dist/geneVariant-5ZIOT5BT.js +39 -0
  214. package/dist/geneVariant-GIXIMJ2I.js +41 -0
  215. package/dist/geneVariant.integration.spec-QCROW73S.js +198 -0
  216. package/dist/genefusion.ui-56UQLUKJ.js +309 -0
  217. package/dist/geneset-ACRMGBJO.js +208 -0
  218. package/dist/genomeBrowser.spec-EDILOQON.js +281 -0
  219. package/dist/grin2-5P7CYUT7.js +1560 -0
  220. package/dist/grin2-GNB35CMF.js +871 -0
  221. package/dist/grin2-GNB35CMF.js.map +7 -0
  222. package/dist/gsea-2PQ5HNNT.js +47 -0
  223. package/dist/hierCluster-H5HB7FPW.js +63 -0
  224. package/dist/hierCluster-L3LCP2II.js +59 -0
  225. package/dist/hierCluster.config-6UIJWCND.js +40 -0
  226. package/dist/hierCluster.integration.spec-EVAPT2VF.js +395 -0
  227. package/dist/hierCluster.interactivity-7MW6ZT6O.js +54 -0
  228. package/dist/hierCluster.renderers-F34EVY5J.js +21 -0
  229. package/dist/imagePlot-RSFZ2OKD.js +163 -0
  230. package/dist/importPlot-DQFWY5A7.js +8 -0
  231. package/dist/isoformExpression-2KANPCBH.js +40 -0
  232. package/dist/isoformExpression.unit.spec-6FSMHT4K.js +208 -0
  233. package/dist/launch.adhoc-ZYTIRVIC.js +42 -0
  234. package/dist/leftlabel.sample-66U6MHPN.js +260 -0
  235. package/dist/legacyDataset-TNIIJABK.js +119 -0
  236. package/dist/lollipop-PJDUFWEY.js +171 -0
  237. package/dist/maf-DLJHCKHJ.js +452 -0
  238. package/dist/maftimeline-NK5QYJMJ.js +593 -0
  239. package/dist/matrix-7BFYR6QL.js +63 -0
  240. package/dist/matrix-USAB2CHO.js +58 -0
  241. package/dist/matrix.cells-OTAXAJ4N.js +28 -0
  242. package/dist/matrix.config-AL4WSFZ7.js +41 -0
  243. package/dist/matrix.data-BDHCSN2G.js +25 -0
  244. package/dist/matrix.groups-MV2D2636.js +27 -0
  245. package/dist/matrix.integration.spec-DESORC2Y.js +3072 -0
  246. package/dist/matrix.interactivity-H7EJW3P2.js +42 -0
  247. package/dist/matrix.layout-7CAS2IBO.js +44 -0
  248. package/dist/matrix.legend-JDVG2JDF.js +22 -0
  249. package/dist/matrix.renderers-PDR5FIBC.js +38 -0
  250. package/dist/matrix.serieses-QVDS5HKK.js +21 -0
  251. package/dist/matrix.sort-HCK4CSTJ.js +27 -0
  252. package/dist/matrix.sort.unit.spec-2GC4E26N.js +472 -0
  253. package/dist/matrix.sorterUi-XGBQOPG4.js +18 -0
  254. package/dist/matrix.sorterUi.unit.spec-BJQKDU2F.js +342 -0
  255. package/dist/mavb-6E6Z4LPK.js +732 -0
  256. package/dist/mds.fimo-5P2TK5U4.js +518 -0
  257. package/dist/mds.samplescatterplot-KLKOD4AS.js +1550 -0
  258. package/dist/mds.survivalplot-SWQCOFIU.js +483 -0
  259. package/dist/numericDictTermCluster-WIVO33AV.js +72 -0
  260. package/dist/oncomatrix-SDUUQZCK.js +295 -0
  261. package/dist/oncomatrix.spec-YGQYIUDT.js +448 -0
  262. package/dist/plot.2dvaf-K53KTP5W.js +377 -0
  263. package/dist/plot.app-FNJVWLPQ.js +41 -0
  264. package/dist/plot.barplot-VTC3N6BR.js +102 -0
  265. package/dist/plot.boxplot-RJFGQSLA.js +152 -0
  266. package/dist/plot.brainImaging-6KVNPPMT.js +51 -0
  267. package/dist/plot.disco-ZFH5RK6B.js +102 -0
  268. package/dist/plot.dzi-IA2SOFUD.js +33 -0
  269. package/dist/plot.ssgq-QARGQVKB.js +139 -0
  270. package/dist/plot.vaf2cov-2JUXYCPG.js +259 -0
  271. package/dist/plot.wsi-C2DULA7U.js +36 -0
  272. package/dist/polar2-3HS3QBU6.js +231 -0
  273. package/dist/polar2-3HS3QBU6.js.map +7 -0
  274. package/dist/profileForms-Y6ZBMZWQ.js +446 -0
  275. package/dist/profileForms-Y6ZBMZWQ.js.map +7 -0
  276. package/dist/profilePlot-SVI3QKMD.js +54 -0
  277. package/dist/proteinView-YPFJSBL7.js +1556 -0
  278. package/dist/proteinView-YPFJSBL7.js.map +7 -0
  279. package/dist/qualitative-AQFKAZID.js +43 -0
  280. package/dist/radar2-TTQZLARY.js +326 -0
  281. package/dist/radar2-TTQZLARY.js.map +7 -0
  282. package/dist/radarFacility2-YGS56QUA.js +334 -0
  283. package/dist/radarFacility2-YGS56QUA.js.map +7 -0
  284. package/dist/regression-DLPBCDZT.js +56 -0
  285. package/dist/regression.inputs-42LY4MEZ.js +48 -0
  286. package/dist/regression.inputs.term-TTUFFPG6.js +48 -0
  287. package/dist/regression.inputs.values.table-CJAPTSMS.js +45 -0
  288. package/dist/regression.integration.spec-UDA26OGS.js +784 -0
  289. package/dist/regression.results-IA3C7SHR.js +40 -0
  290. package/dist/regression.spec-HEXCL3QV.js +708 -0
  291. package/dist/report-4CFOWNPJ.js +222 -0
  292. package/dist/sampleScatter.spec-N6V4BQ5Q.js +202 -0
  293. package/dist/sampleView-CZF7U23I.js +48 -0
  294. package/dist/samplelst-XUGDS5TU.js +111 -0
  295. package/dist/samplematrix-R5PZLZDE.js +2198 -0
  296. package/dist/sc-WTZZA5J5.js +86 -0
  297. package/dist/scatter-EY7HQVCO.js +851 -0
  298. package/dist/scatter-EY7HQVCO.js.map +7 -0
  299. package/dist/scatter.integration.spec-CRMLFO4J.js +1206 -0
  300. package/dist/scatter.integration.spec-CRMLFO4J.js.map +7 -0
  301. package/dist/selectGenomeWithTklst-2S2MXVCI.js +134 -0
  302. package/dist/singleCellCellType-LJWFG7MY.js +38 -0
  303. package/dist/singleCellCellType.unit.spec-RGN2XVUR.js +160 -0
  304. package/dist/singleCellGeneExpression-IW2QXTTU.js +38 -0
  305. package/dist/singleCellGeneExpression.unit.spec-4PO3Q7TM.js +153 -0
  306. package/dist/singleCellPlot-6EZ6JXCM.js +54 -0
  307. package/dist/singlecell-3LFPQ6KO.js +86 -0
  308. package/dist/singlecell-NTTAVVMR.js +1572 -0
  309. package/dist/snp-XB4IBG4Z.js +38 -0
  310. package/dist/snp.unit.spec-HAJPM53L.js +176 -0
  311. package/dist/snplocus-HE6TITSX.js +208 -0
  312. package/dist/spliceevent.a53ss.diagram-TCZMBMD7.js +151 -0
  313. package/dist/spliceevent.exonskip.diagram-VESOF6UC.js +277 -0
  314. package/dist/spliceevent.noeventdiagram-4K7FMO4F.js +460 -0
  315. package/dist/ssGSEA-2XYMX36P.js +38 -0
  316. package/dist/ssGSEA.unit.spec-J36KM2HO.js +88 -0
  317. package/dist/summarizeCnvGeneexp-LYVDZXXD.js +163 -0
  318. package/dist/summarizeGeneexpSurvival-Y52TGAHF.js +108 -0
  319. package/dist/summarizeMutationCnv-6EEJT3PV.js +164 -0
  320. package/dist/summarizeMutationDiagnosis-HZKXHOOQ.js +40 -0
  321. package/dist/summarizeMutationSurvival-TU7TQYFQ.js +99 -0
  322. package/dist/summary-4QQZUAMU.js +49 -0
  323. package/dist/summary.integration.spec-SLIIM4HN.js +414 -0
  324. package/dist/summaryInput-6HROPKCE.js +235 -0
  325. package/dist/sunburst-MBJJPERL.js +284 -0
  326. package/dist/survival-CXLMQSV2.js +58 -0
  327. package/dist/survival-QSL2KDKD.js +46 -0
  328. package/dist/survival.integration.spec-EUAAALVW.js +821 -0
  329. package/dist/svgraph-JM5MHQDX.js +1387 -0
  330. package/dist/svmr-MCMST2FL.js +3842 -0
  331. package/dist/table-MVX3IMAL.js +200 -0
  332. package/dist/termCollection-FZ2SCVA7.js +38 -0
  333. package/dist/termCollection-IGC7REFK.js +179 -0
  334. package/dist/termCollection.unit.spec-VY2EZZIP.js +208 -0
  335. package/dist/tk-5F3TWZ2G.js +46 -0
  336. package/dist/tp.ui-IURWTMAS.js +1459 -0
  337. package/dist/tvs.dt-BPZCFPYK.js +39 -0
  338. package/dist/tvs.dtcnv.categorical-UFS62DTR.js +40 -0
  339. package/dist/tvs.dtcnv.continuous-R6YXNNLA.js +72 -0
  340. package/dist/tvs.dtfusion-FGXXS4XX.js +40 -0
  341. package/dist/tvs.dtsnvindel-DR43K7X3.js +40 -0
  342. package/dist/tvs.dtsv-NO34GIOL.js +40 -0
  343. package/dist/tvs.numeric-KYAU5OV3.js +21 -0
  344. package/dist/tvs.samplelst-2QP7IV2Y.js +104 -0
  345. package/dist/tvs.termCollection-UEJDG22G.js +159 -0
  346. package/dist/violin-NBZTGGYF.js +46 -0
  347. package/dist/violin.integration.spec-5CLYJSAR.js +1425 -0
  348. package/dist/violin.interactivity-KXVKTT22.js +38 -0
  349. package/dist/violin.renderer-37OF6K7Q.js +40 -0
  350. package/dist/vocabulary-GR6J3VKW.js +41 -0
  351. package/package.json +3 -3
  352. package/dist/2dmaf-Z3D2M3FB.js +0 -1373
  353. package/dist/AIProjectAdmin-2OQOQXH4.js +0 -956
  354. package/dist/AIProjectAdmin-2OQOQXH4.js.map +0 -7
  355. package/dist/AppHeader-PXLGVCVS.js +0 -835
  356. package/dist/BoxPlot-PUZKHACO.js +0 -1211
  357. package/dist/BoxPlot-PUZKHACO.js.map +0 -7
  358. package/dist/CorrelationVolcano-RO6CFLZA.js +0 -619
  359. package/dist/DE-CCA5SBJG.js +0 -95
  360. package/dist/DEinput-MRUQW6X6.js +0 -301
  361. package/dist/DifferentialAnalysis-5YQQLJKR.js +0 -245
  362. package/dist/Disco-4FTOJBLG.js +0 -3237
  363. package/dist/Disco-4FTOJBLG.js.map +0 -7
  364. package/dist/Disco.UI-IWVSK3RN.js +0 -245
  365. package/dist/Disco.UI-IWVSK3RN.js.map +0 -7
  366. package/dist/DmrPlot-FPJJHTM5.js +0 -642
  367. package/dist/GB-H6JETPRC.js +0 -1130
  368. package/dist/GeneExpInput-Q42COANS.js +0 -366
  369. package/dist/GeneExpInput-Q42COANS.js.map +0 -7
  370. package/dist/HicApp-BBD2YOMT.js +0 -2250
  371. package/dist/NumBinaryEditor-WMSF7HIO.js +0 -271
  372. package/dist/NumBinaryEditor.unit.spec-QQATLHF7.js +0 -286
  373. package/dist/NumContEditor-4CSTHVRX.js +0 -109
  374. package/dist/NumContEditor.unit.spec-2YF3OS3A.js +0 -169
  375. package/dist/NumCustomBinEditor-KFAYUWYV.js +0 -38
  376. package/dist/NumCustomBinEditor.unit.spec-YHAUSGPN.js +0 -284
  377. package/dist/NumDiscreteEditor-F46H5CME.js +0 -179
  378. package/dist/NumDiscreteEditor.unit.spec-5BIAWAVN.js +0 -202
  379. package/dist/NumRegularBinEditor-G7KOA7NR.js +0 -38
  380. package/dist/NumRegularBinEditor.unit.spec-Y6CBCWLN.js +0 -227
  381. package/dist/NumSplineEditor-JP2V2L4Y.js +0 -198
  382. package/dist/NumSplineEditor.unit.spec-N34QBZN3.js +0 -199
  383. package/dist/NumericDensity-JOPHLURB.js +0 -38
  384. package/dist/NumericDensity.unit.spec-N45PCLOT.js +0 -221
  385. package/dist/NumericHandler-SIM4E2Z5.js +0 -39
  386. package/dist/NumericHandler.unit.spec-NKLYDVTG.js +0 -219
  387. package/dist/ProteomeInput-5KMNE3PZ.js +0 -396
  388. package/dist/RunChart2-N7AZVQXJ.js +0 -758
  389. package/dist/SC-M6RGALZM.js +0 -936
  390. package/dist/SC-M6RGALZM.js.map +0 -7
  391. package/dist/Volcano-YH4RJTT5.js +0 -1379
  392. package/dist/WSIViewer-7LOVM3AU.js +0 -48508
  393. package/dist/WSIViewer-7LOVM3AU.js.map +0 -7
  394. package/dist/WsiSamplesPlot-QPPB7OOD.js +0 -165
  395. package/dist/adSandbox-R2QP74P7.js +0 -38
  396. package/dist/app-AIIN4WDE.js +0 -37
  397. package/dist/app-FJT5VXMF.js +0 -49
  398. package/dist/bam-QBO22VQB.js +0 -860
  399. package/dist/barchart-VDOP6FQU.js +0 -47
  400. package/dist/barchart.data-Z2E72EET.js +0 -22
  401. package/dist/barchart.events-NUYQBI5S.js +0 -47
  402. package/dist/barchart.integration.spec-COVZPXMH.js +0 -1980
  403. package/dist/barchart2-KMSU4ROO.js +0 -311
  404. package/dist/barchart2-KMSU4ROO.js.map +0 -7
  405. package/dist/bars.renderer-JHCZDSM6.js +0 -12
  406. package/dist/block-TTN2IQAH.js +0 -6202
  407. package/dist/block-TTN2IQAH.js.map +0 -7
  408. package/dist/block.init-RRHHCNSR.js +0 -38
  409. package/dist/block.mds.expressionrank-7NWBRUII.js +0 -359
  410. package/dist/block.mds.geneboxplot-4BAJJWCC.js +0 -828
  411. package/dist/block.mds.junction-XRUIHAF5.js +0 -1545
  412. package/dist/block.mds.svcnv-YZ7PL733.js +0 -6801
  413. package/dist/block.svg-FUMP2J7A.js +0 -164
  414. package/dist/block.tk.aicheck-AIZEND45.js +0 -283
  415. package/dist/block.tk.ase-H26PKO5U.js +0 -365
  416. package/dist/block.tk.bam-XNZFHSDQ.js +0 -1906
  417. package/dist/block.tk.bedgraphdot-QTDBLBO2.js +0 -384
  418. package/dist/block.tk.bigwig.ui-OSRCPTQC.js +0 -212
  419. package/dist/block.tk.hicstraw-7GH6LVIH.js +0 -823
  420. package/dist/block.tk.junction-AJYML4AW.js +0 -2364
  421. package/dist/block.tk.junction.textmatrixui-4RIH3EZI.js +0 -199
  422. package/dist/block.tk.ld-AJYQ4C6T.js +0 -99
  423. package/dist/block.tk.menu-57OP5UW5.js +0 -1029
  424. package/dist/block.tk.pgv-XO7HP5MM.js +0 -944
  425. package/dist/brainImaging-65QDNR4D.js +0 -423
  426. package/dist/chunk-2XCUERHJ.js +0 -102
  427. package/dist/chunk-322QC6R4.js +0 -222
  428. package/dist/chunk-35SCELN4.js +0 -217
  429. package/dist/chunk-36EHIPV4.js +0 -514
  430. package/dist/chunk-3SZ6GKLB.js +0 -14
  431. package/dist/chunk-3ZLJDFJU.js +0 -368
  432. package/dist/chunk-4DXZGZOB.js +0 -54
  433. package/dist/chunk-4UWS5Y3N.js +0 -1438
  434. package/dist/chunk-4UWS5Y3N.js.map +0 -7
  435. package/dist/chunk-54EMVNPW.js +0 -102
  436. package/dist/chunk-57RBC6IZ.js +0 -302
  437. package/dist/chunk-5OUTR67M.js +0 -37
  438. package/dist/chunk-67DBIM6H.js +0 -293
  439. package/dist/chunk-67DBIM6H.js.map +0 -7
  440. package/dist/chunk-6A3IPDE2.js +0 -1943
  441. package/dist/chunk-6GN7X6LU.js +0 -2681
  442. package/dist/chunk-72X7LSBN.js +0 -54
  443. package/dist/chunk-74ZU4BT6.js +0 -2824
  444. package/dist/chunk-74ZU4BT6.js.map +0 -7
  445. package/dist/chunk-7EMWHCVW.js +0 -1825
  446. package/dist/chunk-7FACFCZK.js +0 -226
  447. package/dist/chunk-7XFGYYRV.js +0 -371
  448. package/dist/chunk-7XFGYYRV.js.map +0 -7
  449. package/dist/chunk-B6CSYKZJ.js +0 -1275
  450. package/dist/chunk-BDIKFVWZ.js +0 -443
  451. package/dist/chunk-BDIKFVWZ.js.map +0 -7
  452. package/dist/chunk-BWGU5NJS.js +0 -291
  453. package/dist/chunk-C5ZMAQXQ.js +0 -1173
  454. package/dist/chunk-C5ZMAQXQ.js.map +0 -7
  455. package/dist/chunk-CC3GFVV6.js +0 -117
  456. package/dist/chunk-CXQ6KS3Z.js +0 -1348
  457. package/dist/chunk-CXQ6KS3Z.js.map +0 -7
  458. package/dist/chunk-DCH54HC5.js +0 -824
  459. package/dist/chunk-DCH54HC5.js.map +0 -7
  460. package/dist/chunk-DD4R5P6W.js +0 -177
  461. package/dist/chunk-DKVUOBIE.js +0 -203
  462. package/dist/chunk-DR6H3QAA.js +0 -399
  463. package/dist/chunk-EH4NQ7C4.js +0 -170
  464. package/dist/chunk-EVN6KWPN.js +0 -50
  465. package/dist/chunk-FFEIP5CT.js +0 -458
  466. package/dist/chunk-FFEIP5CT.js.map +0 -7
  467. package/dist/chunk-FJP77STI.js +0 -158
  468. package/dist/chunk-FJP77STI.js.map +0 -7
  469. package/dist/chunk-G6O3URDN.js +0 -467
  470. package/dist/chunk-GNIK4JYM.js +0 -534
  471. package/dist/chunk-HKSNADSX.js +0 -477
  472. package/dist/chunk-I5RAQKKJ.js +0 -129
  473. package/dist/chunk-IW57W7EQ.js +0 -1210
  474. package/dist/chunk-IW57W7EQ.js.map +0 -7
  475. package/dist/chunk-J4SOF2ZH.js +0 -263
  476. package/dist/chunk-KPJZBCVI.js +0 -272
  477. package/dist/chunk-KSGA62R2.js +0 -2878
  478. package/dist/chunk-LTOBEUM2.js +0 -98
  479. package/dist/chunk-MYF2BWKC.js +0 -205
  480. package/dist/chunk-MYF2BWKC.js.map +0 -7
  481. package/dist/chunk-N2SKTCDK.js +0 -148
  482. package/dist/chunk-NGM3ZLIP.js +0 -230
  483. package/dist/chunk-NOEAT6CX.js +0 -317
  484. package/dist/chunk-NOEAT6CX.js.map +0 -7
  485. package/dist/chunk-NSXZPWRP.js +0 -482
  486. package/dist/chunk-O3JB4PIX.js +0 -31
  487. package/dist/chunk-OAWQ6LOO.js +0 -2063
  488. package/dist/chunk-OAWQ6LOO.js.map +0 -7
  489. package/dist/chunk-ODG6RD7P.js +0 -254
  490. package/dist/chunk-OEDZHPBJ.js +0 -58
  491. package/dist/chunk-ORL44TIK.js +0 -386
  492. package/dist/chunk-P3IENRWJ.js +0 -613
  493. package/dist/chunk-P3IENRWJ.js.map +0 -7
  494. package/dist/chunk-PCZNTK74.js +0 -26
  495. package/dist/chunk-QH6W3NVF.js +0 -287
  496. package/dist/chunk-QNETLNPB.js +0 -343
  497. package/dist/chunk-QQZ3SBF3.js +0 -216
  498. package/dist/chunk-R2MMURGK.js +0 -2786
  499. package/dist/chunk-SA7APTJR.js +0 -20792
  500. package/dist/chunk-SA7APTJR.js.map +0 -7
  501. package/dist/chunk-SHWLROJG.js +0 -283
  502. package/dist/chunk-SKREEF3H.js +0 -184
  503. package/dist/chunk-SKREEF3H.js.map +0 -7
  504. package/dist/chunk-TOU7EVFQ.js +0 -396
  505. package/dist/chunk-TOU7EVFQ.js.map +0 -7
  506. package/dist/chunk-UGVNZMLU.js +0 -4274
  507. package/dist/chunk-UGVNZMLU.js.map +0 -7
  508. package/dist/chunk-UI7OCM2A.js +0 -815
  509. package/dist/chunk-UJKW42DI.js +0 -6364
  510. package/dist/chunk-ULPMYS5B.js +0 -100
  511. package/dist/chunk-UOVALHAJ.js +0 -182
  512. package/dist/chunk-VGJSASRT.js +0 -446
  513. package/dist/chunk-VGYTAYFK.js +0 -276
  514. package/dist/chunk-VHOEJBFP.js +0 -736
  515. package/dist/chunk-VOUMS6IP.js +0 -1102
  516. package/dist/chunk-VV36JRUF.js +0 -381
  517. package/dist/chunk-W55XSG6K.js +0 -142
  518. package/dist/chunk-W6ME65LV.js +0 -34
  519. package/dist/chunk-WHI6466S.js +0 -146
  520. package/dist/chunk-WSDUD52Y.js +0 -55
  521. package/dist/chunk-XAVNZNXQ.js +0 -95
  522. package/dist/chunk-XMLURPEP.js +0 -194
  523. package/dist/chunk-YKXUK7HJ.js +0 -5041
  524. package/dist/chunk-YKXUK7HJ.js.map +0 -7
  525. package/dist/chunk-YZK37YCC.js +0 -119
  526. package/dist/chunk-ZTYNN6G5.js +0 -2327
  527. package/dist/chunk-ZXTHADSC.js +0 -158
  528. package/dist/condition-HDVYPJJD.js +0 -332
  529. package/dist/controls-YEEW46C6.js +0 -41
  530. package/dist/controls.config-C535H5DL.js +0 -39
  531. package/dist/correlation-AOSSSSL3.js +0 -99
  532. package/dist/correlation-AOSSSSL3.js.map +0 -7
  533. package/dist/cuminc-II7NFIFP.js +0 -1149
  534. package/dist/cuminc.integration.spec-B4N6OMBJ.js +0 -678
  535. package/dist/customdata.inputui-AI4ZBIEP.js +0 -289
  536. package/dist/dataDownload-ZQYLXN6D.js +0 -330
  537. package/dist/dataDownload.integration.spec-2PKYZ2AY.js +0 -193
  538. package/dist/databrowser.ui-WGD7D3XV.js +0 -433
  539. package/dist/dictionary-RYM4WP2W.js +0 -111
  540. package/dist/dictionary-RYM4WP2W.js.map +0 -7
  541. package/dist/dnaMethylation-WGJMJL5B.js +0 -38
  542. package/dist/dnaMethylation.integration.spec-DO3PV4MO.js +0 -203
  543. package/dist/dofetch-RADX3AFU.js +0 -51
  544. package/dist/e2pca-KOAAU2JX.js +0 -350
  545. package/dist/ep-CXCATXYH.js +0 -1256
  546. package/dist/expclust.gdc.spec-UJO2R3CW.js +0 -307
  547. package/dist/facet-2FBUAD7P.js +0 -521
  548. package/dist/forms2-ZBT5BZW3.js +0 -534
  549. package/dist/forms2-ZBT5BZW3.js.map +0 -7
  550. package/dist/gb-VCJFV63W.js +0 -88
  551. package/dist/geneExpClustering-FUNS6D2P.js +0 -249
  552. package/dist/geneExpression-2BWWGYL4.js +0 -38
  553. package/dist/geneExpression-2OPFWV2K.js +0 -313
  554. package/dist/geneExpression.unit.spec-G7BSHJQT.js +0 -102
  555. package/dist/geneORA-S3KQMBYL.js +0 -278
  556. package/dist/geneRanking-UZ36XAL7.js +0 -551
  557. package/dist/geneVariant-OOZ2SBXO.js +0 -41
  558. package/dist/geneVariant-ZHNVEKQ6.js +0 -39
  559. package/dist/geneVariant.integration.spec-2C7EWKEV.js +0 -198
  560. package/dist/genefusion.ui-ASICJNII.js +0 -309
  561. package/dist/geneset-SNM4M6UM.js +0 -208
  562. package/dist/genomeBrowser.spec-DJIRW2X7.js +0 -281
  563. package/dist/grin2-7AOJP5QJ.js +0 -1560
  564. package/dist/grin2-RKJXYWJ5.js +0 -821
  565. package/dist/grin2-RKJXYWJ5.js.map +0 -7
  566. package/dist/gsea-SPTQJW67.js +0 -47
  567. package/dist/hierCluster-KDE5SMYP.js +0 -63
  568. package/dist/hierCluster-XG4YLVL3.js +0 -59
  569. package/dist/hierCluster.config-VNEEJCKJ.js +0 -40
  570. package/dist/hierCluster.integration.spec-SSDN7LSH.js +0 -395
  571. package/dist/hierCluster.interactivity-DKBSJ644.js +0 -54
  572. package/dist/hierCluster.renderers-OG6LZAT7.js +0 -21
  573. package/dist/imagePlot-M5JSHEY4.js +0 -163
  574. package/dist/importPlot-YH7ZY6RJ.js +0 -8
  575. package/dist/isoformExpression-EV27MKYZ.js +0 -40
  576. package/dist/isoformExpression.unit.spec-7T2GOHH3.js +0 -208
  577. package/dist/launch.adhoc-NOISOX5E.js +0 -42
  578. package/dist/leftlabel.sample-42AX4KTV.js +0 -260
  579. package/dist/legacyDataset-SWJCAWIR.js +0 -119
  580. package/dist/lollipop-LQCQBTSX.js +0 -171
  581. package/dist/maf-U237OWZ3.js +0 -452
  582. package/dist/maftimeline-NLZLMHT2.js +0 -593
  583. package/dist/matrix-DZJXYRYN.js +0 -63
  584. package/dist/matrix-Y5345QQG.js +0 -58
  585. package/dist/matrix.cells-PT7S74QP.js +0 -28
  586. package/dist/matrix.config-2ORCUWKX.js +0 -41
  587. package/dist/matrix.data-C6VPQJJ4.js +0 -25
  588. package/dist/matrix.groups-CEOCG2CT.js +0 -27
  589. package/dist/matrix.integration.spec-U4B3JB6N.js +0 -3072
  590. package/dist/matrix.interactivity-GFLIFIER.js +0 -42
  591. package/dist/matrix.layout-DOVDHTDX.js +0 -44
  592. package/dist/matrix.legend-JE4ZSLP7.js +0 -22
  593. package/dist/matrix.renderers-GPUJQ7KF.js +0 -38
  594. package/dist/matrix.serieses-REE4DCSR.js +0 -21
  595. package/dist/matrix.sort-VD5URUWY.js +0 -27
  596. package/dist/matrix.sort.unit.spec-4IOFVHJN.js +0 -472
  597. package/dist/matrix.sorterUi-VQYY6KBK.js +0 -18
  598. package/dist/matrix.sorterUi.unit.spec-V5O2EJBX.js +0 -342
  599. package/dist/mavb-SQDA3B2B.js +0 -732
  600. package/dist/mds.fimo-ZJSEPLD7.js +0 -518
  601. package/dist/mds.samplescatterplot-Y5V73GOY.js +0 -1550
  602. package/dist/mds.survivalplot-CZBRMHYN.js +0 -483
  603. package/dist/numericDictTermCluster-TFXBBUVI.js +0 -72
  604. package/dist/oncomatrix-ZILACPPI.js +0 -295
  605. package/dist/oncomatrix.spec-RLIVVVD6.js +0 -448
  606. package/dist/plot.2dvaf-BNRZPIKU.js +0 -377
  607. package/dist/plot.app-NRUARQCN.js +0 -41
  608. package/dist/plot.barplot-342AYQC7.js +0 -102
  609. package/dist/plot.boxplot-OHEJDPTW.js +0 -152
  610. package/dist/plot.brainImaging-KV72PAON.js +0 -51
  611. package/dist/plot.disco-OUE4RFHL.js +0 -102
  612. package/dist/plot.dzi-T3GPUH36.js +0 -33
  613. package/dist/plot.ssgq-WJHGMXW5.js +0 -139
  614. package/dist/plot.vaf2cov-NGD5PCV4.js +0 -259
  615. package/dist/plot.wsi-2MU5BDG3.js +0 -36
  616. package/dist/polar2-YCWPBPFU.js +0 -226
  617. package/dist/polar2-YCWPBPFU.js.map +0 -7
  618. package/dist/profileForms-OV3I6RK7.js +0 -441
  619. package/dist/profileForms-OV3I6RK7.js.map +0 -7
  620. package/dist/profilePlot-OMVO3K4H.js +0 -54
  621. package/dist/proteinView-OAR2RC6U.js +0 -1320
  622. package/dist/proteinView-OAR2RC6U.js.map +0 -7
  623. package/dist/qualitative-MEYBRUC6.js +0 -43
  624. package/dist/radar2-KREAMGVV.js +0 -321
  625. package/dist/radar2-KREAMGVV.js.map +0 -7
  626. package/dist/radarFacility2-DBPEV7VC.js +0 -329
  627. package/dist/radarFacility2-DBPEV7VC.js.map +0 -7
  628. package/dist/regression-ZPDPLI6G.js +0 -56
  629. package/dist/regression.inputs-QOSBAGL6.js +0 -48
  630. package/dist/regression.inputs.term-HMUMPY7X.js +0 -48
  631. package/dist/regression.inputs.values.table-VMCTZHLG.js +0 -45
  632. package/dist/regression.integration.spec-RP74JTAA.js +0 -784
  633. package/dist/regression.results-5XC6M67C.js +0 -40
  634. package/dist/regression.spec-EZYM24J7.js +0 -708
  635. package/dist/report-ZOVQCOGQ.js +0 -222
  636. package/dist/sampleScatter.spec-CD52FEOC.js +0 -202
  637. package/dist/sampleView-SVTLSWRG.js +0 -48
  638. package/dist/samplelst-HXF5POJD.js +0 -111
  639. package/dist/samplematrix-NYDAH74I.js +0 -2198
  640. package/dist/sc-JIDT4W4K.js +0 -86
  641. package/dist/scatter-WNRTPSEE.js +0 -849
  642. package/dist/scatter-WNRTPSEE.js.map +0 -7
  643. package/dist/scatter.integration.spec-3EYTPY5B.js +0 -1197
  644. package/dist/scatter.integration.spec-3EYTPY5B.js.map +0 -7
  645. package/dist/selectGenomeWithTklst-OSB7B6L3.js +0 -134
  646. package/dist/singleCellCellType-3BH7LWQ6.js +0 -38
  647. package/dist/singleCellCellType.unit.spec-RU4RJXFF.js +0 -160
  648. package/dist/singleCellGeneExpression-3UA4YER7.js +0 -38
  649. package/dist/singleCellGeneExpression.unit.spec-4ZTBG37H.js +0 -153
  650. package/dist/singleCellPlot-ZUAWK5RE.js +0 -54
  651. package/dist/singlecell-BGJZB7MF.js +0 -86
  652. package/dist/singlecell-RO3BL5OO.js +0 -1572
  653. package/dist/snp-HD7VQKBR.js +0 -38
  654. package/dist/snp.unit.spec-ISXCLMWW.js +0 -176
  655. package/dist/snplocus-IL5Z4XWV.js +0 -208
  656. package/dist/spliceevent.a53ss.diagram-LLJSPV7M.js +0 -151
  657. package/dist/spliceevent.exonskip.diagram-LAOIOIST.js +0 -277
  658. package/dist/spliceevent.noeventdiagram-MVA7Q3HT.js +0 -460
  659. package/dist/ssGSEA-7T6S3DSE.js +0 -38
  660. package/dist/ssGSEA.unit.spec-XJ3W4NWX.js +0 -88
  661. package/dist/summarizeCnvGeneexp-RRP6JUV6.js +0 -163
  662. package/dist/summarizeGeneexpSurvival-AFLHDD6Q.js +0 -108
  663. package/dist/summarizeMutationCnv-NABUYHMX.js +0 -164
  664. package/dist/summarizeMutationDiagnosis-2LQ7JU3K.js +0 -40
  665. package/dist/summarizeMutationSurvival-3WBT5TXG.js +0 -99
  666. package/dist/summary-FRDKOFXW.js +0 -49
  667. package/dist/summary.integration.spec-ZLRIA7G2.js +0 -414
  668. package/dist/summaryInput-4JO6MHP4.js +0 -235
  669. package/dist/sunburst-DRCVSC2X.js +0 -284
  670. package/dist/survival-AK75COPY.js +0 -58
  671. package/dist/survival-IF5NI3A6.js +0 -46
  672. package/dist/survival.integration.spec-7IWBTPJG.js +0 -821
  673. package/dist/svgraph-QBDF2SLB.js +0 -1387
  674. package/dist/svmr-O4GJJUT2.js +0 -3842
  675. package/dist/table-FQAIXKLE.js +0 -200
  676. package/dist/termCollection-GMDDL3L7.js +0 -179
  677. package/dist/termCollection-ZO5PZ7E3.js +0 -38
  678. package/dist/termCollection.unit.spec-5JBCTXHX.js +0 -208
  679. package/dist/tk-GJX23IV7.js +0 -46
  680. package/dist/tp.ui-T7FVMTGQ.js +0 -1459
  681. package/dist/tvs.dt-X7L7NSU6.js +0 -39
  682. package/dist/tvs.dtcnv.categorical-73G2V6CH.js +0 -40
  683. package/dist/tvs.dtcnv.continuous-DWFJL3X7.js +0 -72
  684. package/dist/tvs.dtfusion-HQADHCSV.js +0 -40
  685. package/dist/tvs.dtsnvindel-PY5OBMGW.js +0 -40
  686. package/dist/tvs.dtsv-OTBEEWSW.js +0 -40
  687. package/dist/tvs.numeric-WGDHEBJV.js +0 -21
  688. package/dist/tvs.samplelst-LCXSU5MG.js +0 -104
  689. package/dist/tvs.termCollection-L527XN4X.js +0 -159
  690. package/dist/violin-6VKRUQV3.js +0 -46
  691. package/dist/violin.integration.spec-RJATDLQH.js +0 -1425
  692. package/dist/violin.interactivity-SKF5H7MN.js +0 -38
  693. package/dist/violin.renderer-GB4TPX3B.js +0 -40
  694. package/dist/vocabulary-D3W44IWE.js +0 -41
  695. /package/dist/{2dmaf-Z3D2M3FB.js.map → 2dmaf-BNMEUJVM.js.map} +0 -0
  696. /package/dist/{AppHeader-PXLGVCVS.js.map → AppHeader-RXDJBHXZ.js.map} +0 -0
  697. /package/dist/{CorrelationVolcano-RO6CFLZA.js.map → CorrelationVolcano-V2E566XL.js.map} +0 -0
  698. /package/dist/{DE-CCA5SBJG.js.map → DE-7YUZSW4E.js.map} +0 -0
  699. /package/dist/{DEinput-MRUQW6X6.js.map → DEinput-P2HOQC4Z.js.map} +0 -0
  700. /package/dist/{DifferentialAnalysis-5YQQLJKR.js.map → DifferentialAnalysis-2Z6BHS7A.js.map} +0 -0
  701. /package/dist/{DmrPlot-FPJJHTM5.js.map → DmrPlot-OEJRGNI3.js.map} +0 -0
  702. /package/dist/{GB-H6JETPRC.js.map → GB-2GHDD3MW.js.map} +0 -0
  703. /package/dist/{HicApp-BBD2YOMT.js.map → HicApp-CAYC4DPO.js.map} +0 -0
  704. /package/dist/{NumBinaryEditor-WMSF7HIO.js.map → NumBinaryEditor-EUOYSGPM.js.map} +0 -0
  705. /package/dist/{NumBinaryEditor.unit.spec-QQATLHF7.js.map → NumBinaryEditor.unit.spec-5B3W4B4F.js.map} +0 -0
  706. /package/dist/{NumContEditor-4CSTHVRX.js.map → NumContEditor-7KK6CIB3.js.map} +0 -0
  707. /package/dist/{NumContEditor.unit.spec-2YF3OS3A.js.map → NumContEditor.unit.spec-IMKGVYFZ.js.map} +0 -0
  708. /package/dist/{NumCustomBinEditor-KFAYUWYV.js.map → NumCustomBinEditor-PDAF6I7B.js.map} +0 -0
  709. /package/dist/{NumCustomBinEditor.unit.spec-YHAUSGPN.js.map → NumCustomBinEditor.unit.spec-IU3DPECJ.js.map} +0 -0
  710. /package/dist/{NumDiscreteEditor-F46H5CME.js.map → NumDiscreteEditor-YTKUHG6Z.js.map} +0 -0
  711. /package/dist/{NumDiscreteEditor.unit.spec-5BIAWAVN.js.map → NumDiscreteEditor.unit.spec-FUBS7Z7Z.js.map} +0 -0
  712. /package/dist/{NumRegularBinEditor-G7KOA7NR.js.map → NumRegularBinEditor-LU3KLBLY.js.map} +0 -0
  713. /package/dist/{NumRegularBinEditor.unit.spec-Y6CBCWLN.js.map → NumRegularBinEditor.unit.spec-2BKOHI7L.js.map} +0 -0
  714. /package/dist/{NumSplineEditor-JP2V2L4Y.js.map → NumSplineEditor-56RJ2HT2.js.map} +0 -0
  715. /package/dist/{NumSplineEditor.unit.spec-N34QBZN3.js.map → NumSplineEditor.unit.spec-PW6VUUBZ.js.map} +0 -0
  716. /package/dist/{NumericDensity-JOPHLURB.js.map → NumericDensity-EB4H54EF.js.map} +0 -0
  717. /package/dist/{NumericDensity.unit.spec-N45PCLOT.js.map → NumericDensity.unit.spec-LSEM4OEY.js.map} +0 -0
  718. /package/dist/{NumericHandler-SIM4E2Z5.js.map → NumericHandler-VGPDXP35.js.map} +0 -0
  719. /package/dist/{NumericHandler.unit.spec-NKLYDVTG.js.map → NumericHandler.unit.spec-NR3F7XHV.js.map} +0 -0
  720. /package/dist/{ProteomeInput-5KMNE3PZ.js.map → ProteomeInput-AUXWUIWK.js.map} +0 -0
  721. /package/dist/{RunChart2-N7AZVQXJ.js.map → RunChart2-SQ6TFOHD.js.map} +0 -0
  722. /package/dist/{Volcano-YH4RJTT5.js.map → Volcano-XHDH6UN7.js.map} +0 -0
  723. /package/dist/{WsiSamplesPlot-QPPB7OOD.js.map → WsiSamplesPlot-YUOAWG2A.js.map} +0 -0
  724. /package/dist/{adSandbox-R2QP74P7.js.map → adSandbox-VMMAL22L.js.map} +0 -0
  725. /package/dist/{app-AIIN4WDE.js.map → app-FX3KZ67X.js.map} +0 -0
  726. /package/dist/{app-FJT5VXMF.js.map → app-X7ZYEOZN.js.map} +0 -0
  727. /package/dist/{bam-QBO22VQB.js.map → bam-ZYLH4U5R.js.map} +0 -0
  728. /package/dist/{barchart-VDOP6FQU.js.map → barchart-MXSPTKV4.js.map} +0 -0
  729. /package/dist/{barchart.data-Z2E72EET.js.map → barchart.data-ZWF6EVJH.js.map} +0 -0
  730. /package/dist/{barchart.events-NUYQBI5S.js.map → barchart.events-XON2ANOC.js.map} +0 -0
  731. /package/dist/{barchart.integration.spec-COVZPXMH.js.map → barchart.integration.spec-PJIENJGT.js.map} +0 -0
  732. /package/dist/{bars.renderer-JHCZDSM6.js.map → bars.renderer-57KSYAAT.js.map} +0 -0
  733. /package/dist/{block.init-RRHHCNSR.js.map → block.init-IJBRPZNM.js.map} +0 -0
  734. /package/dist/{block.mds.expressionrank-7NWBRUII.js.map → block.mds.expressionrank-3DANCP7E.js.map} +0 -0
  735. /package/dist/{block.mds.geneboxplot-4BAJJWCC.js.map → block.mds.geneboxplot-CRGSCZMG.js.map} +0 -0
  736. /package/dist/{block.mds.junction-XRUIHAF5.js.map → block.mds.junction-4UIH2ZYN.js.map} +0 -0
  737. /package/dist/{block.mds.svcnv-YZ7PL733.js.map → block.mds.svcnv-NF4UIRR2.js.map} +0 -0
  738. /package/dist/{block.svg-FUMP2J7A.js.map → block.svg-AIZ47JCQ.js.map} +0 -0
  739. /package/dist/{block.tk.aicheck-AIZEND45.js.map → block.tk.aicheck-7HZFGE63.js.map} +0 -0
  740. /package/dist/{block.tk.ase-H26PKO5U.js.map → block.tk.ase-U3VNPZEA.js.map} +0 -0
  741. /package/dist/{block.tk.bam-XNZFHSDQ.js.map → block.tk.bam-4TQ7P2OX.js.map} +0 -0
  742. /package/dist/{block.tk.bedgraphdot-QTDBLBO2.js.map → block.tk.bedgraphdot-MYHKKO6K.js.map} +0 -0
  743. /package/dist/{block.tk.bigwig.ui-OSRCPTQC.js.map → block.tk.bigwig.ui-E3YVGIDN.js.map} +0 -0
  744. /package/dist/{block.tk.hicstraw-7GH6LVIH.js.map → block.tk.hicstraw-Y4XOMG7T.js.map} +0 -0
  745. /package/dist/{block.tk.junction-AJYML4AW.js.map → block.tk.junction-T5C7LK6F.js.map} +0 -0
  746. /package/dist/{block.tk.junction.textmatrixui-4RIH3EZI.js.map → block.tk.junction.textmatrixui-Z3ACCVXH.js.map} +0 -0
  747. /package/dist/{block.tk.ld-AJYQ4C6T.js.map → block.tk.ld-Y5KDA5AU.js.map} +0 -0
  748. /package/dist/{block.tk.menu-57OP5UW5.js.map → block.tk.menu-EWRRISDY.js.map} +0 -0
  749. /package/dist/{block.tk.pgv-XO7HP5MM.js.map → block.tk.pgv-3JYGOZVQ.js.map} +0 -0
  750. /package/dist/{brainImaging-65QDNR4D.js.map → brainImaging-P3AF3C5N.js.map} +0 -0
  751. /package/dist/{chunk-7EMWHCVW.js.map → chunk-2JR7RPB6.js.map} +0 -0
  752. /package/dist/{chunk-72X7LSBN.js.map → chunk-3FVIDQOX.js.map} +0 -0
  753. /package/dist/{chunk-VGJSASRT.js.map → chunk-3K2O2NIH.js.map} +0 -0
  754. /package/dist/{chunk-6GN7X6LU.js.map → chunk-3RSJU6YM.js.map} +0 -0
  755. /package/dist/{chunk-W6ME65LV.js.map → chunk-3ZKD6C5S.js.map} +0 -0
  756. /package/dist/{chunk-XAVNZNXQ.js.map → chunk-46AEH34Z.js.map} +0 -0
  757. /package/dist/{chunk-UOVALHAJ.js.map → chunk-4CQVC6XL.js.map} +0 -0
  758. /package/dist/{chunk-QQZ3SBF3.js.map → chunk-5FXNI724.js.map} +0 -0
  759. /package/dist/{chunk-I5RAQKKJ.js.map → chunk-7PFRBGMN.js.map} +0 -0
  760. /package/dist/{chunk-VGYTAYFK.js.map → chunk-A4Z3CI24.js.map} +0 -0
  761. /package/dist/{chunk-YZK37YCC.js.map → chunk-AI2LUQS6.js.map} +0 -0
  762. /package/dist/{chunk-UJKW42DI.js.map → chunk-AJYJW4LX.js.map} +0 -0
  763. /package/dist/{chunk-DD4R5P6W.js.map → chunk-BKPDYW5T.js.map} +0 -0
  764. /package/dist/{chunk-5OUTR67M.js.map → chunk-BMS32SNA.js.map} +0 -0
  765. /package/dist/{chunk-BWGU5NJS.js.map → chunk-CJPGYPI3.js.map} +0 -0
  766. /package/dist/{chunk-O3JB4PIX.js.map → chunk-CTQH7LQ6.js.map} +0 -0
  767. /package/dist/{chunk-DKVUOBIE.js.map → chunk-D5CVYITI.js.map} +0 -0
  768. /package/dist/{chunk-HKSNADSX.js.map → chunk-DMSX5PSO.js.map} +0 -0
  769. /package/dist/{chunk-VOUMS6IP.js.map → chunk-E3JRW3T3.js.map} +0 -0
  770. /package/dist/{chunk-SHWLROJG.js.map → chunk-E574SMCX.js.map} +0 -0
  771. /package/dist/{chunk-LTOBEUM2.js.map → chunk-E76O5Z42.js.map} +0 -0
  772. /package/dist/{chunk-3SZ6GKLB.js.map → chunk-EEW443GL.js.map} +0 -0
  773. /package/dist/{chunk-6A3IPDE2.js.map → chunk-F2WPS7VY.js.map} +0 -0
  774. /package/dist/{chunk-322QC6R4.js.map → chunk-FYFX42YD.js.map} +0 -0
  775. /package/dist/{chunk-ORL44TIK.js.map → chunk-G6RZYGWY.js.map} +0 -0
  776. /package/dist/{chunk-VHOEJBFP.js.map → chunk-GTZV2UZV.js.map} +0 -0
  777. /package/dist/{chunk-W55XSG6K.js.map → chunk-H34LAFGH.js.map} +0 -0
  778. /package/dist/{chunk-J4SOF2ZH.js.map → chunk-I2R5O2XX.js.map} +0 -0
  779. /package/dist/{chunk-PCZNTK74.js.map → chunk-IEYDMN3H.js.map} +0 -0
  780. /package/dist/{chunk-N2SKTCDK.js.map → chunk-JWBP4ZZB.js.map} +0 -0
  781. /package/dist/{chunk-B6CSYKZJ.js.map → chunk-KVIH5JPC.js.map} +0 -0
  782. /package/dist/{chunk-57RBC6IZ.js.map → chunk-L5HCOTRF.js.map} +0 -0
  783. /package/dist/{chunk-XMLURPEP.js.map → chunk-LHKDLWG5.js.map} +0 -0
  784. /package/dist/{chunk-G6O3URDN.js.map → chunk-LQJMCE7G.js.map} +0 -0
  785. /package/dist/{chunk-WHI6466S.js.map → chunk-MNIBZTQE.js.map} +0 -0
  786. /package/dist/{chunk-CC3GFVV6.js.map → chunk-MP3DN6JK.js.map} +0 -0
  787. /package/dist/{chunk-R2MMURGK.js.map → chunk-N5OVBS5L.js.map} +0 -0
  788. /package/dist/{chunk-OEDZHPBJ.js.map → chunk-NEKAGDTL.js.map} +0 -0
  789. /package/dist/{chunk-4DXZGZOB.js.map → chunk-NPCNDM6Y.js.map} +0 -0
  790. /package/dist/{chunk-ULPMYS5B.js.map → chunk-NYN2WQN3.js.map} +0 -0
  791. /package/dist/{chunk-QNETLNPB.js.map → chunk-O6WL7USJ.js.map} +0 -0
  792. /package/dist/{chunk-3ZLJDFJU.js.map → chunk-OH5I6I2D.js.map} +0 -0
  793. /package/dist/{chunk-36EHIPV4.js.map → chunk-PTQ774XH.js.map} +0 -0
  794. /package/dist/{chunk-DR6H3QAA.js.map → chunk-PXOH4ZN2.js.map} +0 -0
  795. /package/dist/{chunk-54EMVNPW.js.map → chunk-QG4BJUM7.js.map} +0 -0
  796. /package/dist/{chunk-ZXTHADSC.js.map → chunk-RITTG5WN.js.map} +0 -0
  797. /package/dist/{chunk-KPJZBCVI.js.map → chunk-SMSFTTEO.js.map} +0 -0
  798. /package/dist/{chunk-EVN6KWPN.js.map → chunk-TBZKVKR4.js.map} +0 -0
  799. /package/dist/{chunk-KSGA62R2.js.map → chunk-TJYRBEBK.js.map} +0 -0
  800. /package/dist/{chunk-QH6W3NVF.js.map → chunk-TLTS33EY.js.map} +0 -0
  801. /package/dist/{chunk-VV36JRUF.js.map → chunk-TMM7BWW7.js.map} +0 -0
  802. /package/dist/{chunk-ZTYNN6G5.js.map → chunk-TTC4MNEM.js.map} +0 -0
  803. /package/dist/{chunk-7FACFCZK.js.map → chunk-UXIZYI3X.js.map} +0 -0
  804. /package/dist/{chunk-EH4NQ7C4.js.map → chunk-VIUATDO2.js.map} +0 -0
  805. /package/dist/{chunk-2XCUERHJ.js.map → chunk-VIUDFDN4.js.map} +0 -0
  806. /package/dist/{chunk-ODG6RD7P.js.map → chunk-W5OEFZCR.js.map} +0 -0
  807. /package/dist/{chunk-GNIK4JYM.js.map → chunk-WXSRK3XR.js.map} +0 -0
  808. /package/dist/{chunk-NGM3ZLIP.js.map → chunk-XHGMDBTS.js.map} +0 -0
  809. /package/dist/{chunk-WSDUD52Y.js.map → chunk-XVGS3QXS.js.map} +0 -0
  810. /package/dist/{chunk-NSXZPWRP.js.map → chunk-XYNYQMLH.js.map} +0 -0
  811. /package/dist/{chunk-35SCELN4.js.map → chunk-Y4JJMUWG.js.map} +0 -0
  812. /package/dist/{chunk-UI7OCM2A.js.map → chunk-Z457XQSX.js.map} +0 -0
  813. /package/dist/{condition-HDVYPJJD.js.map → condition-QXTOTGZX.js.map} +0 -0
  814. /package/dist/{controls-YEEW46C6.js.map → controls-7TDB75LK.js.map} +0 -0
  815. /package/dist/{controls.config-C535H5DL.js.map → controls.config-IBF5ILFP.js.map} +0 -0
  816. /package/dist/{cuminc-II7NFIFP.js.map → cuminc-CAHPKW7W.js.map} +0 -0
  817. /package/dist/{cuminc.integration.spec-B4N6OMBJ.js.map → cuminc.integration.spec-NNSQGBRI.js.map} +0 -0
  818. /package/dist/{customdata.inputui-AI4ZBIEP.js.map → customdata.inputui-RRTQK7OK.js.map} +0 -0
  819. /package/dist/{dataDownload-ZQYLXN6D.js.map → dataDownload-SOUCBKXM.js.map} +0 -0
  820. /package/dist/{dataDownload.integration.spec-2PKYZ2AY.js.map → dataDownload.integration.spec-C6TLWSSO.js.map} +0 -0
  821. /package/dist/{databrowser.ui-WGD7D3XV.js.map → databrowser.ui-KLFEU5QA.js.map} +0 -0
  822. /package/dist/{dnaMethylation-WGJMJL5B.js.map → dnaMethylation-WOKGG33W.js.map} +0 -0
  823. /package/dist/{dnaMethylation.integration.spec-DO3PV4MO.js.map → dnaMethylation.integration.spec-YUPP42UK.js.map} +0 -0
  824. /package/dist/{dofetch-RADX3AFU.js.map → dofetch-V7PLLWSO.js.map} +0 -0
  825. /package/dist/{e2pca-KOAAU2JX.js.map → e2pca-VT7EM4E3.js.map} +0 -0
  826. /package/dist/{ep-CXCATXYH.js.map → ep-X6B43UXE.js.map} +0 -0
  827. /package/dist/{expclust.gdc.spec-UJO2R3CW.js.map → expclust.gdc.spec-DTBFOXBC.js.map} +0 -0
  828. /package/dist/{facet-2FBUAD7P.js.map → facet-T5ZX7ZGV.js.map} +0 -0
  829. /package/dist/{gb-VCJFV63W.js.map → gb-TWXREZIP.js.map} +0 -0
  830. /package/dist/{geneExpClustering-FUNS6D2P.js.map → geneExpClustering-2G6YDCIN.js.map} +0 -0
  831. /package/dist/{geneExpression-2BWWGYL4.js.map → geneExpression-2A4ZPT7K.js.map} +0 -0
  832. /package/dist/{geneExpression-2OPFWV2K.js.map → geneExpression-ZHQH6SNA.js.map} +0 -0
  833. /package/dist/{geneExpression.unit.spec-G7BSHJQT.js.map → geneExpression.unit.spec-2M223S4P.js.map} +0 -0
  834. /package/dist/{geneORA-S3KQMBYL.js.map → geneORA-YLIRUMCZ.js.map} +0 -0
  835. /package/dist/{geneRanking-UZ36XAL7.js.map → geneRanking-JDJXNGEC.js.map} +0 -0
  836. /package/dist/{geneVariant-OOZ2SBXO.js.map → geneVariant-5ZIOT5BT.js.map} +0 -0
  837. /package/dist/{geneVariant-ZHNVEKQ6.js.map → geneVariant-GIXIMJ2I.js.map} +0 -0
  838. /package/dist/{geneVariant.integration.spec-2C7EWKEV.js.map → geneVariant.integration.spec-QCROW73S.js.map} +0 -0
  839. /package/dist/{genefusion.ui-ASICJNII.js.map → genefusion.ui-56UQLUKJ.js.map} +0 -0
  840. /package/dist/{geneset-SNM4M6UM.js.map → geneset-ACRMGBJO.js.map} +0 -0
  841. /package/dist/{genomeBrowser.spec-DJIRW2X7.js.map → genomeBrowser.spec-EDILOQON.js.map} +0 -0
  842. /package/dist/{grin2-7AOJP5QJ.js.map → grin2-5P7CYUT7.js.map} +0 -0
  843. /package/dist/{gsea-SPTQJW67.js.map → gsea-2PQ5HNNT.js.map} +0 -0
  844. /package/dist/{hierCluster-KDE5SMYP.js.map → hierCluster-H5HB7FPW.js.map} +0 -0
  845. /package/dist/{hierCluster-XG4YLVL3.js.map → hierCluster-L3LCP2II.js.map} +0 -0
  846. /package/dist/{hierCluster.config-VNEEJCKJ.js.map → hierCluster.config-6UIJWCND.js.map} +0 -0
  847. /package/dist/{hierCluster.integration.spec-SSDN7LSH.js.map → hierCluster.integration.spec-EVAPT2VF.js.map} +0 -0
  848. /package/dist/{hierCluster.interactivity-DKBSJ644.js.map → hierCluster.interactivity-7MW6ZT6O.js.map} +0 -0
  849. /package/dist/{hierCluster.renderers-OG6LZAT7.js.map → hierCluster.renderers-F34EVY5J.js.map} +0 -0
  850. /package/dist/{imagePlot-M5JSHEY4.js.map → imagePlot-RSFZ2OKD.js.map} +0 -0
  851. /package/dist/{importPlot-YH7ZY6RJ.js.map → importPlot-DQFWY5A7.js.map} +0 -0
  852. /package/dist/{isoformExpression-EV27MKYZ.js.map → isoformExpression-2KANPCBH.js.map} +0 -0
  853. /package/dist/{isoformExpression.unit.spec-7T2GOHH3.js.map → isoformExpression.unit.spec-6FSMHT4K.js.map} +0 -0
  854. /package/dist/{launch.adhoc-NOISOX5E.js.map → launch.adhoc-ZYTIRVIC.js.map} +0 -0
  855. /package/dist/{leftlabel.sample-42AX4KTV.js.map → leftlabel.sample-66U6MHPN.js.map} +0 -0
  856. /package/dist/{legacyDataset-SWJCAWIR.js.map → legacyDataset-TNIIJABK.js.map} +0 -0
  857. /package/dist/{lollipop-LQCQBTSX.js.map → lollipop-PJDUFWEY.js.map} +0 -0
  858. /package/dist/{maf-U237OWZ3.js.map → maf-DLJHCKHJ.js.map} +0 -0
  859. /package/dist/{maftimeline-NLZLMHT2.js.map → maftimeline-NK5QYJMJ.js.map} +0 -0
  860. /package/dist/{matrix-DZJXYRYN.js.map → matrix-7BFYR6QL.js.map} +0 -0
  861. /package/dist/{matrix-Y5345QQG.js.map → matrix-USAB2CHO.js.map} +0 -0
  862. /package/dist/{matrix.cells-PT7S74QP.js.map → matrix.cells-OTAXAJ4N.js.map} +0 -0
  863. /package/dist/{matrix.config-2ORCUWKX.js.map → matrix.config-AL4WSFZ7.js.map} +0 -0
  864. /package/dist/{matrix.data-C6VPQJJ4.js.map → matrix.data-BDHCSN2G.js.map} +0 -0
  865. /package/dist/{matrix.groups-CEOCG2CT.js.map → matrix.groups-MV2D2636.js.map} +0 -0
  866. /package/dist/{matrix.integration.spec-U4B3JB6N.js.map → matrix.integration.spec-DESORC2Y.js.map} +0 -0
  867. /package/dist/{matrix.interactivity-GFLIFIER.js.map → matrix.interactivity-H7EJW3P2.js.map} +0 -0
  868. /package/dist/{matrix.layout-DOVDHTDX.js.map → matrix.layout-7CAS2IBO.js.map} +0 -0
  869. /package/dist/{matrix.legend-JE4ZSLP7.js.map → matrix.legend-JDVG2JDF.js.map} +0 -0
  870. /package/dist/{matrix.renderers-GPUJQ7KF.js.map → matrix.renderers-PDR5FIBC.js.map} +0 -0
  871. /package/dist/{matrix.serieses-REE4DCSR.js.map → matrix.serieses-QVDS5HKK.js.map} +0 -0
  872. /package/dist/{matrix.sort-VD5URUWY.js.map → matrix.sort-HCK4CSTJ.js.map} +0 -0
  873. /package/dist/{matrix.sort.unit.spec-4IOFVHJN.js.map → matrix.sort.unit.spec-2GC4E26N.js.map} +0 -0
  874. /package/dist/{matrix.sorterUi-VQYY6KBK.js.map → matrix.sorterUi-XGBQOPG4.js.map} +0 -0
  875. /package/dist/{matrix.sorterUi.unit.spec-V5O2EJBX.js.map → matrix.sorterUi.unit.spec-BJQKDU2F.js.map} +0 -0
  876. /package/dist/{mavb-SQDA3B2B.js.map → mavb-6E6Z4LPK.js.map} +0 -0
  877. /package/dist/{mds.fimo-ZJSEPLD7.js.map → mds.fimo-5P2TK5U4.js.map} +0 -0
  878. /package/dist/{mds.samplescatterplot-Y5V73GOY.js.map → mds.samplescatterplot-KLKOD4AS.js.map} +0 -0
  879. /package/dist/{mds.survivalplot-CZBRMHYN.js.map → mds.survivalplot-SWQCOFIU.js.map} +0 -0
  880. /package/dist/{numericDictTermCluster-TFXBBUVI.js.map → numericDictTermCluster-WIVO33AV.js.map} +0 -0
  881. /package/dist/{oncomatrix-ZILACPPI.js.map → oncomatrix-SDUUQZCK.js.map} +0 -0
  882. /package/dist/{oncomatrix.spec-RLIVVVD6.js.map → oncomatrix.spec-YGQYIUDT.js.map} +0 -0
  883. /package/dist/{plot.2dvaf-BNRZPIKU.js.map → plot.2dvaf-K53KTP5W.js.map} +0 -0
  884. /package/dist/{plot.app-NRUARQCN.js.map → plot.app-FNJVWLPQ.js.map} +0 -0
  885. /package/dist/{plot.barplot-342AYQC7.js.map → plot.barplot-VTC3N6BR.js.map} +0 -0
  886. /package/dist/{plot.boxplot-OHEJDPTW.js.map → plot.boxplot-RJFGQSLA.js.map} +0 -0
  887. /package/dist/{plot.brainImaging-KV72PAON.js.map → plot.brainImaging-6KVNPPMT.js.map} +0 -0
  888. /package/dist/{plot.disco-OUE4RFHL.js.map → plot.disco-ZFH5RK6B.js.map} +0 -0
  889. /package/dist/{plot.dzi-T3GPUH36.js.map → plot.dzi-IA2SOFUD.js.map} +0 -0
  890. /package/dist/{plot.ssgq-WJHGMXW5.js.map → plot.ssgq-QARGQVKB.js.map} +0 -0
  891. /package/dist/{plot.vaf2cov-NGD5PCV4.js.map → plot.vaf2cov-2JUXYCPG.js.map} +0 -0
  892. /package/dist/{plot.wsi-2MU5BDG3.js.map → plot.wsi-C2DULA7U.js.map} +0 -0
  893. /package/dist/{profilePlot-OMVO3K4H.js.map → profilePlot-SVI3QKMD.js.map} +0 -0
  894. /package/dist/{qualitative-MEYBRUC6.js.map → qualitative-AQFKAZID.js.map} +0 -0
  895. /package/dist/{regression-ZPDPLI6G.js.map → regression-DLPBCDZT.js.map} +0 -0
  896. /package/dist/{regression.inputs-QOSBAGL6.js.map → regression.inputs-42LY4MEZ.js.map} +0 -0
  897. /package/dist/{regression.inputs.term-HMUMPY7X.js.map → regression.inputs.term-TTUFFPG6.js.map} +0 -0
  898. /package/dist/{regression.inputs.values.table-VMCTZHLG.js.map → regression.inputs.values.table-CJAPTSMS.js.map} +0 -0
  899. /package/dist/{regression.integration.spec-RP74JTAA.js.map → regression.integration.spec-UDA26OGS.js.map} +0 -0
  900. /package/dist/{regression.results-5XC6M67C.js.map → regression.results-IA3C7SHR.js.map} +0 -0
  901. /package/dist/{regression.spec-EZYM24J7.js.map → regression.spec-HEXCL3QV.js.map} +0 -0
  902. /package/dist/{report-ZOVQCOGQ.js.map → report-4CFOWNPJ.js.map} +0 -0
  903. /package/dist/{sampleScatter.spec-CD52FEOC.js.map → sampleScatter.spec-N6V4BQ5Q.js.map} +0 -0
  904. /package/dist/{sampleView-SVTLSWRG.js.map → sampleView-CZF7U23I.js.map} +0 -0
  905. /package/dist/{samplelst-HXF5POJD.js.map → samplelst-XUGDS5TU.js.map} +0 -0
  906. /package/dist/{samplematrix-NYDAH74I.js.map → samplematrix-R5PZLZDE.js.map} +0 -0
  907. /package/dist/{sc-JIDT4W4K.js.map → sc-WTZZA5J5.js.map} +0 -0
  908. /package/dist/{selectGenomeWithTklst-OSB7B6L3.js.map → selectGenomeWithTklst-2S2MXVCI.js.map} +0 -0
  909. /package/dist/{singleCellCellType-3BH7LWQ6.js.map → singleCellCellType-LJWFG7MY.js.map} +0 -0
  910. /package/dist/{singleCellCellType.unit.spec-RU4RJXFF.js.map → singleCellCellType.unit.spec-RGN2XVUR.js.map} +0 -0
  911. /package/dist/{singleCellGeneExpression-3UA4YER7.js.map → singleCellGeneExpression-IW2QXTTU.js.map} +0 -0
  912. /package/dist/{singleCellGeneExpression.unit.spec-4ZTBG37H.js.map → singleCellGeneExpression.unit.spec-4PO3Q7TM.js.map} +0 -0
  913. /package/dist/{singleCellPlot-ZUAWK5RE.js.map → singleCellPlot-6EZ6JXCM.js.map} +0 -0
  914. /package/dist/{singlecell-BGJZB7MF.js.map → singlecell-3LFPQ6KO.js.map} +0 -0
  915. /package/dist/{singlecell-RO3BL5OO.js.map → singlecell-NTTAVVMR.js.map} +0 -0
  916. /package/dist/{snp-HD7VQKBR.js.map → snp-XB4IBG4Z.js.map} +0 -0
  917. /package/dist/{snp.unit.spec-ISXCLMWW.js.map → snp.unit.spec-HAJPM53L.js.map} +0 -0
  918. /package/dist/{snplocus-IL5Z4XWV.js.map → snplocus-HE6TITSX.js.map} +0 -0
  919. /package/dist/{spliceevent.a53ss.diagram-LLJSPV7M.js.map → spliceevent.a53ss.diagram-TCZMBMD7.js.map} +0 -0
  920. /package/dist/{spliceevent.exonskip.diagram-LAOIOIST.js.map → spliceevent.exonskip.diagram-VESOF6UC.js.map} +0 -0
  921. /package/dist/{spliceevent.noeventdiagram-MVA7Q3HT.js.map → spliceevent.noeventdiagram-4K7FMO4F.js.map} +0 -0
  922. /package/dist/{ssGSEA-7T6S3DSE.js.map → ssGSEA-2XYMX36P.js.map} +0 -0
  923. /package/dist/{ssGSEA.unit.spec-XJ3W4NWX.js.map → ssGSEA.unit.spec-J36KM2HO.js.map} +0 -0
  924. /package/dist/{summarizeCnvGeneexp-RRP6JUV6.js.map → summarizeCnvGeneexp-LYVDZXXD.js.map} +0 -0
  925. /package/dist/{summarizeGeneexpSurvival-AFLHDD6Q.js.map → summarizeGeneexpSurvival-Y52TGAHF.js.map} +0 -0
  926. /package/dist/{summarizeMutationCnv-NABUYHMX.js.map → summarizeMutationCnv-6EEJT3PV.js.map} +0 -0
  927. /package/dist/{summarizeMutationDiagnosis-2LQ7JU3K.js.map → summarizeMutationDiagnosis-HZKXHOOQ.js.map} +0 -0
  928. /package/dist/{summarizeMutationSurvival-3WBT5TXG.js.map → summarizeMutationSurvival-TU7TQYFQ.js.map} +0 -0
  929. /package/dist/{summary-FRDKOFXW.js.map → summary-4QQZUAMU.js.map} +0 -0
  930. /package/dist/{summary.integration.spec-ZLRIA7G2.js.map → summary.integration.spec-SLIIM4HN.js.map} +0 -0
  931. /package/dist/{summaryInput-4JO6MHP4.js.map → summaryInput-6HROPKCE.js.map} +0 -0
  932. /package/dist/{sunburst-DRCVSC2X.js.map → sunburst-MBJJPERL.js.map} +0 -0
  933. /package/dist/{survival-AK75COPY.js.map → survival-CXLMQSV2.js.map} +0 -0
  934. /package/dist/{survival-IF5NI3A6.js.map → survival-QSL2KDKD.js.map} +0 -0
  935. /package/dist/{survival.integration.spec-7IWBTPJG.js.map → survival.integration.spec-EUAAALVW.js.map} +0 -0
  936. /package/dist/{svgraph-QBDF2SLB.js.map → svgraph-JM5MHQDX.js.map} +0 -0
  937. /package/dist/{svmr-O4GJJUT2.js.map → svmr-MCMST2FL.js.map} +0 -0
  938. /package/dist/{table-FQAIXKLE.js.map → table-MVX3IMAL.js.map} +0 -0
  939. /package/dist/{termCollection-ZO5PZ7E3.js.map → termCollection-FZ2SCVA7.js.map} +0 -0
  940. /package/dist/{termCollection-GMDDL3L7.js.map → termCollection-IGC7REFK.js.map} +0 -0
  941. /package/dist/{termCollection.unit.spec-5JBCTXHX.js.map → termCollection.unit.spec-VY2EZZIP.js.map} +0 -0
  942. /package/dist/{tk-GJX23IV7.js.map → tk-5F3TWZ2G.js.map} +0 -0
  943. /package/dist/{tp.ui-T7FVMTGQ.js.map → tp.ui-IURWTMAS.js.map} +0 -0
  944. /package/dist/{tvs.dt-X7L7NSU6.js.map → tvs.dt-BPZCFPYK.js.map} +0 -0
  945. /package/dist/{tvs.dtcnv.categorical-73G2V6CH.js.map → tvs.dtcnv.categorical-UFS62DTR.js.map} +0 -0
  946. /package/dist/{tvs.dtcnv.continuous-DWFJL3X7.js.map → tvs.dtcnv.continuous-R6YXNNLA.js.map} +0 -0
  947. /package/dist/{tvs.dtfusion-HQADHCSV.js.map → tvs.dtfusion-FGXXS4XX.js.map} +0 -0
  948. /package/dist/{tvs.dtsnvindel-PY5OBMGW.js.map → tvs.dtsnvindel-DR43K7X3.js.map} +0 -0
  949. /package/dist/{tvs.dtsv-OTBEEWSW.js.map → tvs.dtsv-NO34GIOL.js.map} +0 -0
  950. /package/dist/{tvs.numeric-WGDHEBJV.js.map → tvs.numeric-KYAU5OV3.js.map} +0 -0
  951. /package/dist/{tvs.samplelst-LCXSU5MG.js.map → tvs.samplelst-2QP7IV2Y.js.map} +0 -0
  952. /package/dist/{tvs.termCollection-L527XN4X.js.map → tvs.termCollection-UEJDG22G.js.map} +0 -0
  953. /package/dist/{violin-6VKRUQV3.js.map → violin-NBZTGGYF.js.map} +0 -0
  954. /package/dist/{violin.integration.spec-RJATDLQH.js.map → violin.integration.spec-5CLYJSAR.js.map} +0 -0
  955. /package/dist/{violin.interactivity-SKF5H7MN.js.map → violin.interactivity-KXVKTT22.js.map} +0 -0
  956. /package/dist/{violin.renderer-GB4TPX3B.js.map → violin.renderer-37OF6K7Q.js.map} +0 -0
  957. /package/dist/{vocabulary-D3W44IWE.js.map → vocabulary-GR6J3VKW.js.map} +0 -0
@@ -1,1348 +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
- filterRxCompInit,
10
- getFilterItemByTag,
11
- groupsInit,
12
- keyupEnter,
13
- renderTable,
14
- sayerror,
15
- to_textfile
16
- } from "./chunk-SA7APTJR.js";
17
- import {
18
- require_debounce
19
- } from "./chunk-LSEFWW72.js";
20
- import {
21
- importPlot
22
- } from "./chunk-SKREEF3H.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-7EMWHCVW.js";
32
- import {
33
- getCompInit,
34
- multiInit
35
- } from "./chunk-M3J4MINX.js";
36
- import {
37
- select_default
38
- } from "./chunk-I6Y4O3RR.js";
39
- import {
40
- __toESM
41
- } from "./chunk-HFNDKYVF.js";
42
-
43
- // mass/search.js
44
- var import_debounce = __toESM(require_debounce(), 1);
45
- var MassSearch = class _MassSearch {
46
- static type = "search";
47
- constructor(opts) {
48
- this.type = _MassSearch.type;
49
- setRenderers(this);
50
- setInteractivity(this);
51
- }
52
- async init(appState) {
53
- this.dom = {
54
- holder: this.opts.holder,
55
- holderNode: this.opts.holder.node(),
56
- tip: new Menu({ padding: "5px" })
57
- };
58
- this.initUI();
59
- }
60
- reactsTo(action) {
61
- return action.type.startsWith("search") || action.type.startsWith("cohort");
62
- }
63
- getState(appState) {
64
- return {
65
- cohortStr: appState.activeCohort == -1 || !appState.termdbConfig.selectCohort ? "" : appState.termdbConfig.selectCohort.values[appState.activeCohort].keys.slice().sort().join(","),
66
- search: appState.search,
67
- nav: appState.nav
68
- };
69
- }
70
- async main() {
71
- this.dom.holder.style("display", this.state.search.isVisible ? "inline-block" : "none");
72
- }
73
- async doSearch(str) {
74
- if (!str) {
75
- this.clear({ hide: true });
76
- this.bus.emit("postSearch", []);
77
- return;
78
- }
79
- const data = await this.app.vocabApi.findTerm(str, this.state.cohortStr, this.opts.usecase, this.opts.targetType);
80
- if (!data.lst || data.lst.length == 0) {
81
- this.noResult();
82
- } else {
83
- this.showTerms(data);
84
- }
85
- this.bus.emit("postSearch", data);
86
- }
87
- };
88
- var searchInit = getCompInit(MassSearch);
89
- function setRenderers(self) {
90
- self.initUI = () => {
91
- self.dom.holder.style("display", self.search && self.search.isVisible == false ? "none" : "inline-block");
92
- self.dom.input = self.dom.holder.style("text-align", "center").append("input").attr("type", "search").attr("class", "tree_search").attr("placeholder", "Search").style("width", "180px").style("display", "block").on("input", (0, import_debounce.debounce)(self.onInput, 300));
93
- self.dom.resultDiv = self.dom.tip.d.style("border-left", self.opts.resultsHolder ? "" : "solid 1px rgb(133,182,225)").style("padding-left", "5px");
94
- };
95
- self.noResult = () => {
96
- self.clear();
97
- self.dom.resultDiv.append("div").text("No match").style("padding", "3px 3px 3px 0px").style("opacity", 0.5);
98
- };
99
- self.showTerms = (data) => {
100
- if (self.opts.disable_terms)
101
- data.lst.forEach((t) => {
102
- if (t.disabled) self.opts.disable_terms.push(t);
103
- });
104
- self.clear({ hide: !data.lst.length });
105
- if (data.lst.length) {
106
- self.dom.resultDiv.append("table").selectAll().data(data.lst).enter().append("tr").each(self.showTerm);
107
- }
108
- };
109
- self.showTerm = function(term) {
110
- const tr = select_default(this);
111
- const button = tr.append("td").text(term.name);
112
- if (term.type) {
113
- button.style("cursor", "pointer").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-search-term-${term.id}`).on("click", async () => {
114
- if (self.state.nav?.activeTab == 0) {
115
- await self.app.dispatch({
116
- type: "tab_set",
117
- activeTab: 1
118
- });
119
- }
120
- self.app.dispatch({
121
- type: "plot_create",
122
- config: {
123
- chartType: term.type == "survival" ? "survival" : "summary",
124
- term: { term }
125
- }
126
- });
127
- self.clear({ hide: true });
128
- });
129
- } else {
130
- button.style("padding", "5px 10px").style("opacity", 0.5);
131
- }
132
- tr.append("td").text((term.__ancestorNames || []).join(" > ")).style("opacity", 0.5).style("font-size", ".7em");
133
- };
134
- self.clear = (opts = {}) => {
135
- self.dom.tip.clear();
136
- if (opts.hide) self.dom.tip.hide();
137
- else self.dom.tip.showunder(self.dom.holderNode);
138
- };
139
- }
140
- function setInteractivity(self) {
141
- self.onInput = async () => {
142
- const str = self.dom.input.property("value");
143
- try {
144
- await self.doSearch(str);
145
- } catch (e) {
146
- self.clear();
147
- sayerror(self.dom.resultDiv, "Error: " + (e.message || e));
148
- if (e.stack) console.log(e.stack);
149
- }
150
- };
151
- }
152
-
153
- // mass/sessionBtn.js
154
- var MassSessionBtn = class _MassSessionBtn {
155
- static type = "sessionBtn";
156
- constructor() {
157
- this.type = _MassSessionBtn.type;
158
- this.route = "termdb";
159
- this.embedderOrigin = window.location.origin;
160
- this.hostURL = sessionStorage.getItem("hostURL") || this.embedderOrigin;
161
- }
162
- async init(appState) {
163
- const tip = new Menu({ padding: "0px" });
164
- const copytip = new Menu({ padding: "5px" });
165
- this.dom = {
166
- button: this.opts.button,
167
- tip,
168
- copytip
169
- };
170
- this.dom.button.on("click", (event2) => {
171
- event2.stopPropagation();
172
- this.dom.tip.clear();
173
- this.showMenu();
174
- });
175
- this.dslabel = appState.vocab.dslabel;
176
- this.savedSessions = JSON.parse(localStorage.getItem("savedMassSessions") || `{}`);
177
- this.requiredAuth = appState.termdbConfig?.requiredAuth?.find((a) => a.route == this.route && a.type == "jwt");
178
- }
179
- async showMenu() {
180
- this.dom.tip.clear().d.style("padding", 0);
181
- this.dom.tip.d.attr("id", "sjpp-session-menu");
182
- const gt = `<span style='margin-left: 24px; float: right'>&gt;</span>`;
183
- const options = [
184
- { label: `Open`, title: "Recover a saved session", callback: this.open },
185
- { label: `Save`, title: "Save the current view", callback: this.save },
186
- { label: `Share`, title: "Share the current view", callback: this.getSessionUrl }
187
- ];
188
- if (!this.serverCachedSessions) await this.setServerCachedSessions();
189
- if (Object.keys(this.savedSessions).length || Object.keys(this.serverCachedSessions).length) {
190
- options.push({ label: `Delete`, title: "Delete a saved session", callback: this.delete });
191
- }
192
- 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) => {
193
- this.dom.tip.clear().d.style("padding", "10px");
194
- event2.stopPropagation();
195
- this.showBackBtn();
196
- d.callback.call(this);
197
- });
198
- this.dom.tip.showunder(this.dom.button.node());
199
- }
200
- async open() {
201
- const radioName = `sjpp-session-open-radio-` + Math.random().toString().slice(-6);
202
- this.dom.tip.d.append("div").style("display", "none").style("padding", "3px 9px").html(`
203
- <b>Open in</b>
204
- <label>
205
- <input type='radio' name='${radioName}' value='new' style='margin-right: 0; vertical-align: bottom'/>
206
- <span>a new tab</span>
207
- </label>
208
- <label style='margin-left: 5px'>
209
- <input type='radio' name='${radioName}' value='current' checked=checked style='margin-right: 0; vertical-align: bottom'/>
210
- <span>current tab</span>
211
- </label>
212
- `);
213
- const t = await this.listSessions({
214
- trClickHandler: async (event2, d) => {
215
- const { loc, id: id2 } = d;
216
- if (!id2) return;
217
- if (loc.includes("browser")) {
218
- this.sessionName = id2;
219
- const state = structuredClone(this.savedSessions[id2]);
220
- await preprocessState(state, this.app);
221
- const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
222
- if (targetWindow == "current") {
223
- this.app.dispatch({ type: "app_refresh", state });
224
- } else if (window.location.origin == this.hostURL) {
225
- window.open(`/?mass-session-id=${id2}&src=browser`);
226
- } else {
227
- if (state.embedder) parentCorsMessage({ state });
228
- else {
229
- const { protocol, host, search, origin, href } = window.location;
230
- const embedder = { protocol, host, search, origin, href };
231
- parentCorsMessage({ state: Object.assign({ embedder }, state) });
232
- }
233
- }
234
- this.dom.tip.hide();
235
- } else if (loc == "server") {
236
- const headers = await this.app.vocabApi.mayGetAuthHeaders(this.route);
237
- const body = { id: id2, route: this.route, dslabel: this.dslabel, embedder: window.location.hostname };
238
- const res = await dofetch3(`/massSession?`, { headers, body });
239
- if (!res.state) throw res.error || "unable to get the cached session from the server";
240
- await preprocessState(res.state, this.app);
241
- this.savedSessions[id2] = res.state;
242
- const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
243
- if (targetWindow == "current") {
244
- this.app.dispatch({ type: "app_refresh", state: res.state });
245
- } else if (window.location.origin == this.hostURL) {
246
- window.open(`/?mass-session-id=${id2}&src=cred&dslabel=${this.dslabel}&route=${this.route}`);
247
- } else {
248
- parentCorsMessage(res);
249
- }
250
- this.dom.tip.hide();
251
- }
252
- }
253
- });
254
- t.headtr.select("th").html("Open from");
255
- const tr1 = t.tbody.insert("tr", "tr");
256
- tr1.append("td").style("text-align", "center").style("padding", "3px 9px").html("Local file");
257
- const label = tr1.append("td").style("text-align", "left").append("label");
258
- label.append("span").style("padding", "3px 9px").style("text-decoration", "underline").style("cursor", "pointer").html("Choose File");
259
- 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 () => {
260
- const file = event.target.files.item(0);
261
- const json = await file.text();
262
- let sessionName = file.name;
263
- if (this.savedSessions[sessionName]) {
264
- sessionName = prompt(
265
- `Leave as-is to overwrite a session with the same name, or enter a different session name.`,
266
- sessionName
267
- );
268
- }
269
- this.sessionName = sessionName;
270
- const state = JSON.parse(json);
271
- await preprocessState(state, this.app);
272
- this.savedSessions[sessionName] = state;
273
- localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
274
- const targetWindow = this.dom.tip.d.node().querySelector(`[name="${radioName}"]:checked`).value;
275
- if (targetWindow == "current") {
276
- this.app.dispatch({ type: "app_refresh", state });
277
- } else if (window.location.origin == this.hostURL) {
278
- window.open(`/?mass-session-id=${sessionName}&src=browser`);
279
- } else {
280
- if (state.embedder) parentCorsMessage({ state });
281
- else {
282
- const { protocol, host, search, origin, href } = window.location;
283
- const embedder = { protocol, host, search, origin, href };
284
- parentCorsMessage({ state: Object.assign({ embedder }, state) });
285
- }
286
- }
287
- this.dom.tip.hide();
288
- });
289
- }
290
- async listSessions(opts = {}) {
291
- const table = this.dom.tip.d.append("table").attr("class", "sjpp-controls-table");
292
- const headtr = table.append("thead").append("tr");
293
- 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);
294
- const sessionIds = Object.keys(this.savedSessions).map((id2) => ({ loc: "browser", id: id2 }));
295
- if (!this.serverCachedSessions) await this.setServerCachedSessions();
296
- sessionIds.push(...this.serverCachedSessions.map((id2) => ({ loc: "server", id: id2 })));
297
- const tbody = table.append("tbody");
298
- const trs = tbody.selectAll("tr").data(sessionIds).enter().append("tr").on("click", opts.trClickHandler || null);
299
- 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);
300
- if (!this.serverCachedSessions.length && this.requiredAuth && !this.app.vocabApi.hasVerifiedToken()) {
301
- 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);
302
- }
303
- return { table, headtr, tbody, trs };
304
- }
305
- async setServerCachedSessions() {
306
- const state = this.app.getState();
307
- this.requiredAuth = state.termdbConfig?.requiredAuth?.find((a) => a.route == this.route && a.type == "jwt");
308
- if (!this.requiredAuth) {
309
- this.serverCachedSessions = [];
310
- return;
311
- }
312
- const headers = this.app.vocabApi.mayGetAuthHeaders(this.route);
313
- const body = { route: this.route, dslabel: this.dslabel, embedder: window.location.hostname };
314
- const res = await dofetch3("/sessionIds", { headers, body });
315
- this.serverCachedSessions = res.sessionIds || [];
316
- }
317
- async save(d) {
318
- const div = this.dom.tip.d;
319
- const inputDiv = div.append("div");
320
- inputDiv.append("span").html("Save as");
321
- const sessionNames = Object.keys(this.savedSessions);
322
- if (!this.serverCachedSessions) await this.setServerCachedSessions();
323
- sessionNames.push(...this.serverCachedSessions.filter((d2) => !sessionNames.includes(d2)));
324
- const placeholder = this.sessionName || "unnamed-session";
325
- const input = inputDiv.append("input").attr("type", "text").attr("placeholder", placeholder).style("width", "220px").on("input", () => {
326
- searchResultDiv.selectAll("*").remove();
327
- const value = input.property("value");
328
- const exactMatch = sessionNames.filter((s) => s === value);
329
- const startsWith = sessionNames.filter((s) => s.startsWith(value));
330
- const includes = sessionNames.filter((s) => s.includes(value) && s !== value && !startsWith.includes(s));
331
- 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) => {
332
- input.property("value", d2);
333
- searchResultDiv.selectAll("*").remove();
334
- });
335
- });
336
- const searchResultDiv = div.append("div");
337
- const submitDiv = div.append("div");
338
- submitDiv.append("span").html("Save to&nbsp;");
339
- submitDiv.append("button").style("min-width", "80px").html("Browser").attr(
340
- "title",
341
- `Save the session in your current browser's cache. The session can be easily recovered, but not shared among your other devices`
342
- ).on("click", () => {
343
- this.sessionName = input.property("value") || placeholder;
344
- this.savedSessions[this.sessionName] = this.app.getState();
345
- localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
346
- this.confirmAction(`Cached '<b>${this.sessionName}</b>' in browser`);
347
- });
348
- submitDiv.append("button").style("min-width", "80px").html("File").attr(
349
- "title",
350
- `Save the session into a local file. The session can be easily recoved using the 'Open from local file' option.`
351
- ).on("click", () => {
352
- const name = input.property("value") || placeholder;
353
- this.savedSessions[name] = this.app.getState();
354
- this.download(name);
355
- this.confirmAction(`Downloaded '<b>${name}</b>'`);
356
- });
357
- if (this.requiredAuth) {
358
- const requiresSignIn = this.app.vocabApi.hasVerifiedToken() ? "" : "Requires sign-in. ";
359
- submitDiv.append("button").style("min-width", "80px").html("Server").attr(
360
- "title",
361
- `${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.`
362
- ).property("disabled", !this.app.vocabApi.hasVerifiedToken()).on("click", async () => {
363
- if (!this.app.vocabApi.hasVerifiedToken()) {
364
- alert("Requires sign-in");
365
- return;
366
- }
367
- const name = input.property("value") || placeholder;
368
- this.savedSessions[name] = this.app.getState();
369
- const res = await this.getSessionUrl(name);
370
- if (res.id != name) throw `error saving ${name}`;
371
- this.confirmAction(`Saved '<b>${name}</b>' on the server`);
372
- });
373
- }
374
- }
375
- download(name = "") {
376
- const sessionName = name || this.sessionName;
377
- const ext = sessionName?.endsWith(".txt") ? "" : ".txt";
378
- const filename = `${sessionName}${ext}`;
379
- to_textfile(filename, JSON.stringify(this.savedSessions[sessionName]));
380
- }
381
- async getSessionUrl(filename = "") {
382
- const headers = await this.app.vocabApi.mayGetAuthHeaders("termdb");
383
- const state = structuredClone(this.app.getState());
384
- const { protocol, host, search, origin, href } = window.location;
385
- state.embedder = { protocol, host, search, origin, href };
386
- if (filename) {
387
- state.__sessionFor__ = {
388
- route: this.route,
389
- filename,
390
- dslabel: this.dslabel,
391
- embedder: window.location.hostname
392
- };
393
- }
394
- const res = await dofetch3("/massSession", {
395
- headers,
396
- method: "POST",
397
- body: JSON.stringify(state)
398
- });
399
- if (filename) {
400
- return res;
401
- } else {
402
- const url = `${this.hostURL}/?mass-session-id=${res.id}&noheader=1`;
403
- this.dom.tip.showunder(this.dom.button.node());
404
- const linkDiv = this.dom.tip.d.append("div").style("margin", "10px");
405
- linkDiv.append("div").style("display", "flex").style("margin-bottom", "12px").html(`Open or copy the session link.`);
406
- const a = linkDiv.append("a").style("display", "none").attr("href", url).attr("target", "_blank").html(res.id);
407
- linkDiv.append("button").style("cursor", "pointer").text("Open link").on("click", () => {
408
- a.node().click();
409
- });
410
- linkDiv.append("button").style("cursor", "pointer").style("margin-left", "10px").text("Copy link").on("click", async (event2) => {
411
- await navigator.clipboard.writeText(url);
412
- this.dom.copytip.clear().showunder(event2.target);
413
- this.dom.copytip.d.append("div").html("&#10003;");
414
- setTimeout(() => {
415
- this.dom.copytip.hide();
416
- }, 1e3);
417
- });
418
- if (this.hostURL != window.location.origin) {
419
- a.on("click", (event2) => {
420
- event2.preventDefault();
421
- parentCorsMessage({ state }, "noredirect");
422
- return false;
423
- });
424
- }
425
- linkDiv.append("div").html(`
426
- <br>
427
- <div style="max-width: 400px; font-size: 1em; opacity:.6">
428
- <span>NOTES</span>
429
- <ul>
430
- <li>A recovered session may hide data or views to users that are not authorized to access the saved datasets or features.</li>
431
- <li>This session will be saved for ${this.opts.massSessionDuration} days.</li>
432
- </ul>
433
- </div>`);
434
- setTimeout(() => {
435
- this.dom.button.property("disabled", false);
436
- }, 1e3);
437
- }
438
- }
439
- async delete() {
440
- const t = await this.listSessions({
441
- trClickHandler: function(event2) {
442
- const input = this.lastChild.querySelector("input");
443
- const checked = event2.target == input ? input.checked : !input.checked;
444
- select_default(this).style("text-decoration", checked ? "line-through" : "");
445
- if (event2.target != input) input.checked = checked;
446
- const checkedRows = t.table.node().querySelectorAll("input:checked");
447
- submitBtn.property("disabled", checkedRows.length ? false : true);
448
- }
449
- });
450
- t.headtr.append("th").html("Delete");
451
- t.trs.each(function(d) {
452
- select_default(this).append("td").style("text-align", "center").append("input").attr("type", "checkbox").attr("value", d.id);
453
- });
454
- const submitBtn = this.dom.tip.d.append("div").style("text-align", "center").append("button").html("Delete selected sessions").property("disabled", true).on("click", async () => {
455
- const inputs = t.table.node().querySelectorAll("input");
456
- const sessionIdsDeletedFromServer = [];
457
- for (const input of inputs) {
458
- if (select_default(input).property("checked")) {
459
- const d = input.parentNode.parentNode.__data__;
460
- if (d.loc == "browser") {
461
- delete this.savedSessions[input.value];
462
- } else if (d.loc == "server") {
463
- delete this.serverCachedSessions[input.value];
464
- sessionIdsDeletedFromServer.push(input.value);
465
- } else throw `unknown cache location=${d.loc}`;
466
- }
467
- }
468
- localStorage.setItem("savedMassSessions", JSON.stringify(this.savedSessions));
469
- try {
470
- const headers = await this.app.vocabApi.mayGetAuthHeaders("termdb");
471
- const body = {
472
- ids: sessionIdsDeletedFromServer,
473
- route: this.route,
474
- dslabel: this.dslabel,
475
- embedder: window.location.hostname
476
- };
477
- const res = dofetch3(`/massSession?`, { method: "DELETE", headers, body });
478
- } catch (e) {
479
- throw e;
480
- }
481
- this.dom.tip.hide();
482
- });
483
- }
484
- showBackBtn() {
485
- 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());
486
- }
487
- confirmAction(html) {
488
- this.dom.tip.clear().d.append("div").html(html).transition().delay(3e3).duration(1e3).style("opacity", 0);
489
- setTimeout(() => {
490
- this.dom.tip.hide();
491
- }, 3500);
492
- }
493
- };
494
- async function preprocessState(state, app) {
495
- delete state.termdbConfig;
496
- if (state.plots) {
497
- const promises = [];
498
- for (const plot of state.plots) {
499
- promises.push(
500
- (async () => {
501
- const _ = await importPlot(plot.chartType);
502
- return await _.getPlotConfig(plot, app);
503
- })()
504
- );
505
- }
506
- try {
507
- await Promise.all(promises);
508
- } catch (e) {
509
- console.log(e);
510
- app.printError(e);
511
- }
512
- }
513
- }
514
- var sessionBtnInit = getCompInit(MassSessionBtn);
515
-
516
- // mass/about.ts
517
- var cohortTableActiveColor = "yellow";
518
- var MassAbout = class _MassAbout {
519
- constructor(opts) {
520
- this.initCohort = (appState) => {
521
- if (this.selectCohort == null) return;
522
- if (!this.selectCohort.values) return;
523
- const instanceNum2 = this.instanceNum;
524
- const activeCohort = appState.activeCohort;
525
- const app = this.app;
526
- 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) {
527
- const tr = select_default(nodes[i]);
528
- const td0 = tr.append("td");
529
- const radioName = "sja-termdb-cohort-" + instanceNum2;
530
- const radioId = radioName + "-" + i;
531
- 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) => {
532
- const state = app.getState();
533
- const clearOnChange = state.termdbConfig.selectCohort.clearOnChange;
534
- if (clearOnChange) {
535
- const subactions = [];
536
- const toBeCleared = [];
537
- const plots = state.plots;
538
- const filter = state.termfilter.filter.lst.find((f) => f.tag == "filterUiRoot")?.lst;
539
- const groups = state.groups;
540
- if (clearOnChange.plots && plots?.length) toBeCleared.push("plots");
541
- for (const plot of plots) {
542
- subactions.push({
543
- type: "plot_delete",
544
- id: plot.id
545
- });
546
- }
547
- if (clearOnChange.filter && filter?.length) toBeCleared.push("filters");
548
- subactions.push({
549
- type: "filter_replace",
550
- filter: {
551
- type: "tvslst",
552
- in: true,
553
- join: "",
554
- tag: "filterUiRoot",
555
- lst: []
556
- }
557
- });
558
- if (clearOnChange.groups && groups?.length) {
559
- toBeCleared.push("groups");
560
- for (const group of groups) {
561
- subactions.push({
562
- type: "delete_group",
563
- name: group.name
564
- });
565
- }
566
- for (const term of state.customTerms) {
567
- subactions.push({
568
- type: "delete_customTerm",
569
- name: term.name
570
- });
571
- }
572
- }
573
- subactions.push({ type: "cohort_set", activeCohort: i });
574
- if (toBeCleared.length) {
575
- const confirm = window.confirm(
576
- `Changing the cohort will clear all ${joinByComma(
577
- toBeCleared
578
- )}. To proceed, click "OK". To save the session, click "Cancel" and then click the "Session" button at the top of the page.`
579
- );
580
- if (!confirm) {
581
- event2.preventDefault();
582
- return;
583
- }
584
- }
585
- app.dispatch({
586
- type: "app_refresh",
587
- subactions
588
- });
589
- } else app.dispatch({ type: "cohort_set", activeCohort: i });
590
- });
591
- td0.append("label").style("font-size", "1.4em").attr("for", radioId).attr("colspan", 2).style("cursor", "pointer").html((d2) => d2.label);
592
- tr.selectAll("td").style("max-width", "600px").style("padding-bottom", "10px").style("padding-right", "20px").style("vertical-align", "top");
593
- });
594
- this.dom.cohortTable = this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-table").style("margin-left", "12px");
595
- if (this.selectCohort.asterisk) {
596
- 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);
597
- }
598
- };
599
- this.renderCohortsTable = async () => {
600
- if (!this.dom.cohortTable) return;
601
- this.dom.cohortTable.selectAll("*").remove();
602
- const columns = [{ label: "Feature" }];
603
- const rows = [];
604
- const result = await this.app.vocabApi.getCohortsData();
605
- if ("error" in result) throw result.error;
606
- if (this.selectCohort?.values) {
607
- const values = this.selectCohort.values;
608
- result.cohorts.sort((a, b) => {
609
- const aIndex = values.findIndex((v) => v.keys.toString() == a.cohort);
610
- const bIndex = values.findIndex((v) => v.keys.toString() == b.cohort);
611
- if (aIndex < bIndex) return -1;
612
- if (aIndex > bIndex) return 1;
613
- return 0;
614
- });
615
- }
616
- if (!result.cfeatures.length) return;
617
- for (const feature of result.features) rows.push([{ value: feature.name }]);
618
- for (const cohort of result.cohorts) {
619
- if (cohort.subcohorts?.length) continue;
620
- columns.push({ label: cohort.name });
621
- for (const [i, feature] of result.features.entries()) {
622
- const cf = result.cfeatures.find((cf2) => cf2.idfeature === feature.idfeature && cf2.cohort === cohort.cohort);
623
- if (cf) rows[i].push({ value: cf.value });
624
- }
625
- }
626
- renderTable({
627
- rows,
628
- columns,
629
- div: this.dom.cohortTable,
630
- showLines: false,
631
- maxHeight: "60vh",
632
- header: { style: { "font-size": "1.2em", "font-weight": "bold" } }
633
- });
634
- this.dom.cohortTable.select("table").style("border-collapse", "collapse");
635
- this.dom.cohortTable.selectAll(`tbody > tr > td`).style("background-color", "transparent").style("padding", "6px");
636
- const state = this.app.getState();
637
- const selectCohort = state.termdbConfig.selectCohort;
638
- const activeCohort = state.activeCohort;
639
- const keys = selectCohort.values[activeCohort].keys;
640
- let selector = `tbody > tr > td:nth-child(${activeCohort + 2})`;
641
- const combined = keys.length > 1;
642
- if (combined) {
643
- selector = "";
644
- for (const key of keys) {
645
- const i = result.cohorts.map((c) => c.cohort).indexOf(key);
646
- if (selector !== "") selector += ",";
647
- selector += `tbody > tr > td:nth-child(${i + 2})`;
648
- }
649
- }
650
- const activeColumns = this.dom.cohortTable.selectAll(selector);
651
- const color = state.termdbConfig.massNav?.activeColor || cohortTableActiveColor;
652
- activeColumns.style("background-color", color);
653
- };
654
- this.initCustomHtml = () => {
655
- if (this.selectCohort != null) return;
656
- if (!this.aboutOverrides?.html) return;
657
- this.subheader.append("div").attr("data-testid", "sjpp-custom-about-content").style("padding", "10px").html(this.aboutOverrides.html);
658
- };
659
- this.initActiveItems = () => {
660
- if (!this.aboutOverrides?.activeItems) return;
661
- const div = this.subheader.append("div").attr("data-testid", "sjpp-custom-about-activeItems").style("padding", "0px 0px 10px 20px");
662
- for (const item of this.aboutOverrides.activeItems.items) {
663
- 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 () => {
664
- await this.app.dispatch({
665
- type: "tab_set",
666
- activeTab: 1
667
- });
668
- this.app.dispatch({
669
- type: "plot_create",
670
- id: getId(),
671
- config: structuredClone(item.plot)
672
- });
673
- });
674
- }
675
- };
676
- this.initDisclaimer = () => {
677
- const d = this.aboutOverrides?.disclaimer;
678
- if (!d) return;
679
- 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");
680
- div.append("div").style("margin-bottom", "8px").style("font-weight", "bold").text("DISCLAIMER");
681
- div.append("div").text(d.text);
682
- };
683
- this.showServerInfo = () => {
684
- const state = this.app.getState();
685
- const about = state.termdbConfig.massNav?.tabs?.about;
686
- if (!about && !this.app.opts.pkgver && !this.app.opts.launchDate) return;
687
- const dataRelease = about?.dataRelease;
688
- const additionalInfo = about?.additionalInfo;
689
- const div = this.subheader.append("div").attr("data-testid", "sjpp-about-server-info").style("margin", "10px").style("font-size", ".8em");
690
- const htmlArr = [];
691
- if (dataRelease) {
692
- htmlArr.push(`Data Release: <a href=${dataRelease.link} target=_blank>${dataRelease.version}</a>`);
693
- }
694
- if (this.app.opts.pkgver) {
695
- htmlArr.push(
696
- `Software Release: <a href=https://github.com/stjude/proteinpaint/pkgs/container/ppfull target=_blank>${this.app.opts.pkgver}</a>`
697
- );
698
- }
699
- if (this.app.opts.launchDate) {
700
- htmlArr.push(`Server Launched: ${this.app.opts.launchDate}`);
701
- }
702
- if (additionalInfo) {
703
- htmlArr.push(additionalInfo);
704
- }
705
- div.append("div").html(htmlArr.join("; "));
706
- };
707
- this.opts = opts;
708
- this.type = _MassAbout.type;
709
- this.app = opts.app;
710
- this.subheader = opts.subheader;
711
- this.instanceNum = opts.instanceNum;
712
- this.aboutOverrides = opts.aboutOverrides;
713
- this.selectCohort = opts.selectCohort;
714
- this.dom = {
715
- cohortDescription: this.subheader.append("div").attr("data-testid", "sjpp-about-cohort-desc").style("margin-left", "10px")
716
- };
717
- if (opts?.selectCohort?.title) {
718
- this.dom.cohortTitle = opts.subheader.append("h2").attr("data-testid", "sjpp-about-cohort-title").style("margin-left", "10px").text(opts.selectCohort.title);
719
- }
720
- if (opts.selectCohort?.prompt) {
721
- 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);
722
- }
723
- if (opts.selectCohort) {
724
- this.dom.cohortOpts = this.subheader.append("div").style("margin-bottom", "30px").style("margin-left", "10px");
725
- }
726
- }
727
- static {
728
- this.type = "about";
729
- }
730
- /* render all contents into this.subheader
731
- do it through init() means that contents are rendered just once on launching mass ui and won't be rerendered or updated
732
- since there's no reason to update about tab contents while user is interacting with mass ui
733
- */
734
- init(appState) {
735
- this.initCohort(appState);
736
- this.initCustomHtml();
737
- this.initActiveItems();
738
- this.initDisclaimer();
739
- this.showServerInfo();
740
- }
741
- async main() {
742
- if (this.state.nav.activeTab !== 0) return;
743
- await this.renderCohortsTable();
744
- if (this.opts.selectCohort) {
745
- if (this.opts.selectCohort.description) {
746
- this.dom.cohortDescription.html(this.opts.selectCohort.description);
747
- } else if (this.opts.selectCohort.descriptionByCohort) {
748
- this.dom.cohortDescription.html(
749
- this.opts.selectCohort.descriptionByCohort[this.state.termdbConfig.selectCohort.values[this.state.activeCohort].keys.join(",")]
750
- );
751
- }
752
- }
753
- }
754
- };
755
- var aboutInit = getCompInit(MassAbout);
756
- function joinByComma(arr) {
757
- if (!arr.length) return "";
758
- else if (arr.length == 1) return arr[0];
759
- else if (arr.length == 2) return arr.join(" and ");
760
- else return `${arr.slice(0, -1).join(", ")}, and ${arr.slice(-1)}`;
761
- }
762
-
763
- // mass/chat.ts
764
- var MIN_PROMPT_LENGTH_FOR_OMNISEARCH = 3;
765
- var MAX_PROMPT_LENGTH_FOR_OMNISEARCH = 15;
766
- var MIN_PROMPT_LENGTH_FOR_CHAT = 5;
767
- var MassAiChatBot = class _MassAiChatBot {
768
- static {
769
- this.type = "chat";
770
- }
771
- constructor(opts) {
772
- this.type = _MassAiChatBot.type;
773
- this.opts = opts;
774
- this.app = opts.app;
775
- this.opts.usecase = this.opts.usecase ? this.opts.usecase : { target: "summary", detail: "term" };
776
- this.opts.targetType = this.opts.targetType ? this.opts.targetType : "Dictionary Variables";
777
- setRenderers2(this);
778
- }
779
- getState(appState) {
780
- return {
781
- cohortStr: appState.activeCohort == -1 || !appState.termdbConfig.selectCohort ? "" : appState.termdbConfig.selectCohort.values[appState.activeCohort].keys.slice().sort().join(","),
782
- search: appState.search,
783
- nav: appState.nav
784
- };
785
- }
786
- async init() {
787
- this.initDom();
788
- }
789
- // Search method, adapted from MassSearch.doSearch
790
- async doSearch(prompt2) {
791
- if (!prompt2) {
792
- this.clear({ hide: true });
793
- return;
794
- }
795
- const cohortStr = this.getState(this.app.getState()).cohortStr;
796
- const data = await this.app.vocabApi.findTerm(prompt2, cohortStr, this.opts.usecase, this.opts.targetType);
797
- if (!data.lst || data.lst.length == 0) {
798
- if (!this.dom.noMatchShown) {
799
- this.dom.noMatchShown = true;
800
- this.noResult();
801
- }
802
- } else {
803
- this.dom.noMatchShown = false;
804
- this.showTerms(data);
805
- }
806
- }
807
- initDom() {
808
- this.dom = {
809
- tip: new Menu({ padding: "5px" }),
810
- div: this.opts.subheader,
811
- error: this.opts.subheader.append("div").attr("id", "sjpp-corrVolcano-error").style("opacity", 0.75),
812
- bubbleDiv: this.opts.subheader.append("div").attr("class", "sjpp_show_scrollbar").style("margin", "5px 20px 0px 20px").style("height", "200px").style("overflow", "auto").style("scroll-behavior", "smooth")
813
- };
814
- const inputSel = this.dom.div.append("input").attr("type", "search").style("margin", "15px").style("padding", "17px").style("border-radius", "34px").attr("size", 70).attr("placeholder", "What are you looking for?");
815
- this.dom.inputNode = inputSel.node();
816
- this.dom.resultDiv = this.dom.tip.d.style("border-left", "solid 1px rgb(133,182,225)").style("padding-left", "5px").attr("tabindex", -1);
817
- inputSel.on("keyup.search", async (event2) => {
818
- if (keyupEnter(event2)) return;
819
- const prompt2 = event2.target.value.trim();
820
- if (!prompt2) {
821
- this.dom.noMatchShown = false;
822
- this.clear({ hide: true });
823
- return;
824
- }
825
- if (MIN_PROMPT_LENGTH_FOR_OMNISEARCH <= prompt2.length && prompt2.length <= MAX_PROMPT_LENGTH_FOR_OMNISEARCH) {
826
- try {
827
- await this.doSearch(prompt2);
828
- } catch (e) {
829
- if (e.stack) console.log(e.stack);
830
- sayerror(this.dom.resultDiv, "Error: " + (e.message || e));
831
- }
832
- } else {
833
- this.dom.noMatchShown = false;
834
- this.clear({ hide: true });
835
- return;
836
- }
837
- }).on("keyup.submit", async (event2) => {
838
- if (!keyupEnter(event2)) return;
839
- const prompt2 = event2.target.value.trim();
840
- if (!prompt2) return;
841
- this.addBubble({ msg: prompt2, me: 1 });
842
- event2.target.value = "";
843
- const serverBubble = this.addBubble({ msg: "..." });
844
- if (prompt2.length <= MIN_PROMPT_LENGTH_FOR_CHAT) {
845
- serverBubble.text("Your prompt is too short. Enter a longer prompt.");
846
- return;
847
- }
848
- const body = {
849
- genome: this.app.vocabApi.vocab.genome,
850
- dslabel: this.app.vocabApi.vocab.dslabel,
851
- filter: this.app.vocabApi.state.termfilter?.filter,
852
- prompt: prompt2
853
- };
854
- try {
855
- const data = await dofetch3("termdb/chat", { body });
856
- if (data.error) throw data.error;
857
- const result = data;
858
- if (result.type === "text") {
859
- serverBubble.text(result.text);
860
- } else if (result.type === "html") {
861
- serverBubble.html(result.html);
862
- } else if (result.type === "plot") {
863
- this.app.dispatch({
864
- type: "plot_create",
865
- config: result.plot
866
- });
867
- serverBubble.text(`${result.msg ? result.msg + ". " : ""}Please refer to the plot generated below.`);
868
- }
869
- } catch (e) {
870
- if (e.stack) console.log(e.stack);
871
- serverBubble.html(`Error: ${e.message || e}`);
872
- }
873
- }).node().focus();
874
- }
875
- addBubble(arg) {
876
- const bubble = this.dom.bubbleDiv.append("div").style("padding", "10px").html(`${arg.me ? '<span style="font-size:.7em">[ME]</span> ' : ""}${arg.msg}`);
877
- if (arg.me) bubble.style("background", "#f1f1f1");
878
- const n = this.dom.bubbleDiv.node();
879
- n.scrollTop = n.scrollHeight;
880
- return bubble;
881
- }
882
- main() {
883
- }
884
- };
885
- var chatInit = getCompInit(MassAiChatBot);
886
- function setRenderers2(self) {
887
- self.noResult = () => {
888
- self.clear();
889
- self.dom.resultDiv.append("div").text("No match. Using the chatbot...").style("padding", "3px 3px 3px 0px").style("opacity", 0.5);
890
- setTimeout(() => {
891
- self.clear({ hide: true });
892
- }, 1500);
893
- };
894
- self.showTerms = (data) => {
895
- if (self.opts.disable_terms)
896
- data.lst.forEach((t) => {
897
- if (t.disabled) self.opts.disable_terms.push(t);
898
- });
899
- self.clear({ hide: !data.lst.length });
900
- if (data.lst.length) {
901
- self.dom.resultDiv.append("table").selectAll().data(data.lst).enter().append("tr").each(self.showTerm);
902
- }
903
- };
904
- self.showTerm = function(term) {
905
- const tr = select_default(this);
906
- const button = tr.append("td").text(term.name);
907
- if (term.type) {
908
- button.style("cursor", "pointer").attr("class", "sja_menuoption").attr("data-testid", `sjpp-mass-chat-term-${term.id}`).on("click", async () => {
909
- if (self.state?.nav?.activeTab == 0) {
910
- await self.app.dispatch({ type: "tab_set", activeTab: 1 });
911
- }
912
- self.app.dispatch({
913
- type: "plot_create",
914
- config: {
915
- chartType: term.type == "survival" ? "survival" : "summary",
916
- term: { term }
917
- }
918
- });
919
- self.dom.inputNode.value = "";
920
- self.clear({ hide: true });
921
- });
922
- } else {
923
- button.style("padding", "5px 10px").style("opacity", 0.5);
924
- }
925
- tr.append("td").text((term.__ancestorNames || []).join(" > ")).style("opacity", 0.5).style("font-size", ".7em");
926
- };
927
- self.clear = (opts = {}) => {
928
- self.dom.tip.clear();
929
- if (opts.hide) self.dom.tip.hide();
930
- else self.dom.tip.showunder(self.dom.inputNode);
931
- };
932
- }
933
-
934
- // mass/nav.js
935
- var activeTabBgColor = "#ececec";
936
- var activeTabBgColorHover = "#e0e0e0";
937
- var activeTabTextColor = "black";
938
- var inactiveTabBgColorHover = "#fcfced";
939
- var inactiveTabTextColor = "gray";
940
- var instanceNum = 0;
941
- var idPrefix = "_MASS_AUTOID_" + Math.random().toString().slice(-6);
942
- var id = (+/* @__PURE__ */ new Date()).toString().slice(-8);
943
- var headtip = new Menu({ padding: "0px", offsetX: 0, offsetY: 0 });
944
- headtip.d.style("z-index", 5555);
945
- var aboutTab = { top: "ABOUT", mid: "", btm: "", subheader: "about" };
946
- var chartTab = { top: "CHARTS", mid: "NONE", btm: "", subheader: "charts" };
947
- var groupsTab = { top: "GROUPS", mid: "NONE", btm: "", subheader: "groups" };
948
- var filterTab = { top: "FILTER", mid: "NONE", btm: "", subheader: "filter" };
949
- var chatTab = { top: "CHAT", mid: "", btm: "", subheader: "chat" };
950
- function getId() {
951
- return idPrefix + "_" + id++;
952
- }
953
- var TdbNav = class _TdbNav {
954
- static type = "nav";
955
- constructor(opts) {
956
- this.type = _TdbNav.type;
957
- this.instanceNum = instanceNum++;
958
- this.tabs = [];
959
- this.activeTab = 0;
960
- this.activeCohort = 0;
961
- this.samplecounts = {};
962
- this.searching = false;
963
- this.massSessionDuration = opts.massSessionDuration;
964
- this.sessionDaysLeft = opts.app.opts.sessionDaysLeft || null;
965
- this.sessionId = opts.app.opts.sessionId || null;
966
- this.pkgver = opts.pkgver || null;
967
- setInteractivity2(this);
968
- setRenderers3(this);
969
- }
970
- async init(appState) {
971
- try {
972
- this.cohortFilter = getFilterItemByTag(appState.termfilter.filter, "cohortFilter");
973
- this.initUI(appState);
974
- if (appState?.termdbConfig?.selectCohort) {
975
- this.dom.tds.filter((d) => d.colNum === 0).style("display", "");
976
- this.cohortNames = appState.termdbConfig.selectCohort.values.map((d) => d.keys.slice().sort().join(","));
977
- }
978
- this.components = await multiInit({
979
- search: searchInit({
980
- app: this.app,
981
- holder: this.dom.searchDiv,
982
- usecase: { target: "summary", detail: "term" },
983
- targetType: "Dictionary Variables"
984
- }),
985
- filter: filterRxCompInit({
986
- app: this.app,
987
- vocabApi: this.app.vocabApi,
988
- holder: this.dom.subheader.filter.append("div").style("margin", "5px"),
989
- hideLabel: this.opts.header_mode === "with_tabs",
990
- emptyLabel: "+Add new filter",
991
- callback: (filter) => {
992
- this.app.dispatch({
993
- type: "filter_replace",
994
- filter
995
- });
996
- }
997
- }),
998
- charts: chartsInit({
999
- app: this.app,
1000
- holder: this.dom.subheader.charts,
1001
- vocab: this.opts.vocab
1002
- }),
1003
- groups: groupsInit({
1004
- app: this.app,
1005
- holder: this.dom.subheader.groups,
1006
- vocab: this.opts.vocab
1007
- }),
1008
- recover: recoverInit({
1009
- app: this.app,
1010
- holder: this.dom.recoverDiv,
1011
- // TODO: ???? may limit the tracked state to only the filter, activeCohort ???
1012
- getState: (appState2) => appState2,
1013
- reactsTo: (action) => action.type != "plot_edit",
1014
- maxHistoryLen: 5
1015
- }),
1016
- sessionBtn: sessionBtnInit({
1017
- app: this.app,
1018
- button: this.dom.saveBtn,
1019
- massSessionDuration: this.opts.massSessionDuration,
1020
- sessionDaysLeft: this.app.opts.sessionDaysLeft || null
1021
- }),
1022
- about: aboutInit({
1023
- app: this.app,
1024
- subheader: this.dom.subheader.about,
1025
- instanceNum: this.instanceNum,
1026
- aboutOverrides: appState?.termdbConfig?.massNav?.tabs?.about || null,
1027
- selectCohort: appState?.termdbConfig?.selectCohort || null
1028
- }),
1029
- chat: chatInit({
1030
- app: this.app,
1031
- subheader: this.dom.subheader.chat
1032
- })
1033
- });
1034
- this.mayShowMessage_sessionDaysLeft();
1035
- } catch (e) {
1036
- throw e;
1037
- }
1038
- }
1039
- reactsTo(action) {
1040
- if (action.type.includes("cache_termq")) return true;
1041
- if (action.type.startsWith("filter")) return true;
1042
- if (action.type.startsWith("cohort")) return true;
1043
- if (action.type.startsWith("tab")) return true;
1044
- if (action.type == "plot_prep") return true;
1045
- if (action.type == "plot_create") return true;
1046
- if (action.type == "plot_delete") return true;
1047
- if (action.type == "app_refresh") return true;
1048
- if (action.type.endsWith("_customTerm")) return true;
1049
- if (action.type.endsWith("_group")) return true;
1050
- }
1051
- getState(appState) {
1052
- return {
1053
- searching: this.searching,
1054
- // for detection of internal state change
1055
- nav: appState.nav,
1056
- activeCohort: appState.activeCohort,
1057
- termdbConfig: appState.termdbConfig,
1058
- filter: appState.termfilter.filter,
1059
- plots: appState.plots,
1060
- groups: appState.groups
1061
- };
1062
- }
1063
- async main() {
1064
- this.dom.tabDiv.style("display", this.state.nav.header_mode === "with_tabs" ? "inline-block" : "none");
1065
- this.dom.tip.hide();
1066
- this.activeTab = this.state.nav.activeTab;
1067
- this.prevCohort = this.activeCohort;
1068
- this.activeCohort = +this.state.activeCohort;
1069
- this.filterUiRoot = getFilterItemByTag(this.state.filter, "filterUiRoot");
1070
- this.cohortFilter = getFilterItemByTag(this.state.filter, "cohortFilter");
1071
- if (this.cohortNames) {
1072
- this.activeCohortName = this.cohortNames[this.activeCohort];
1073
- if (this.activeCohort !== -1)
1074
- this.activeCohortLabel = this.state.termdbConfig.selectCohort.values[this.activeCohort].shortLabel;
1075
- }
1076
- this.filterJSON = JSON.stringify(this.state.filter);
1077
- this.cohortsData = await this.app.vocabApi.getCohortsData();
1078
- if (this.state.nav.header_mode === "with_tabs") {
1079
- if (!(this.activeCohort in this.samplecounts)) {
1080
- this.samplecounts[this.activeCohort] = await this.app.vocabApi.getCohortSampleCount(this.activeCohortName);
1081
- }
1082
- if (!(this.filterJSON in this.samplecounts)) {
1083
- if (!this.filterUiRoot || !this.filterUiRoot.lst.length) {
1084
- this.samplecounts[this.filterJSON] = this.samplecounts[this.activeCohort];
1085
- } else {
1086
- const n = await this.app.vocabApi.getFilteredSampleCount(this.filterJSON);
1087
- this.samplecounts[this.filterJSON] = n;
1088
- }
1089
- }
1090
- }
1091
- this.updateUI();
1092
- }
1093
- };
1094
- var navInit = getCompInit(TdbNav);
1095
- function setRenderers3(self) {
1096
- self.initUI = (appState) => {
1097
- const verifiedToken = self.app.vocabApi.verifiedToken;
1098
- const invalidTokenErrorHandling = appState.termdbConfig.invalidTokenErrorHandling;
1099
- if (!verifiedToken && invalidTokenErrorHandling?.affectedCharts?.includes("*"))
1100
- throw new Error(appState.termdbConfig.invalidTokenErrorHandling.errorMessage);
1101
- const header = self.opts.holder.append("div").style("white-space", "nowrap");
1102
- const massNav = appState.termdbConfig?.massNav || {};
1103
- 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);
1104
- const tabDiv = header.append("div").style("display", "none").style("vertical-align", "bottom");
1105
- const controlsDiv = header.append("div").style("vertical-align", "top").style("margin", "10px").style("display", "inline-block").style("float", "right");
1106
- if (self.opts.header_mode === "only_buttons") {
1107
- tabDiv.style("display", "none");
1108
- titleDiv.style("display", "none");
1109
- controlsDiv.style("display", "none");
1110
- }
1111
- self.opts.holder.attr("class", "sjpp-nav");
1112
- self.dom = {
1113
- holder: self.opts.holder,
1114
- header,
1115
- tabDiv,
1116
- controlsDiv,
1117
- searchDiv: controlsDiv.append("div").style("margin", "10px"),
1118
- sessionDiv: controlsDiv.append("div").style("display", "inline-block"),
1119
- recoverDiv: controlsDiv.append("div").style("display", "inline-block"),
1120
- pdfDiv: controlsDiv.append("div").style("display", "inline-block").style("padding", "4px").style("vertical-align", "middle"),
1121
- deleteAllDiv: controlsDiv.append("div").style("display", "inline-block").style("padding", "4px").style("vertical-align", "middle"),
1122
- helpDiv: controlsDiv.append("div").style("display", "none"),
1123
- sessionElapsedMessageDiv: controlsDiv.append("div").style("display", "none"),
1124
- subheaderDiv: self.opts.holder.append("div").style("display", "block").style("border-bottom", "1px solid #000"),
1125
- messageDiv: self.opts.holder.append("div").style("margin", "30px").style("display", "none"),
1126
- titleDiv,
1127
- tip: new Menu({ padding: "5px" })
1128
- };
1129
- icons["trash"](self.dom.deleteAllDiv, {
1130
- handler: self.deletePlots,
1131
- title: "Delete all plots. To revert, click Undo button"
1132
- });
1133
- icons["pdf"](self.dom.pdfDiv, {
1134
- handler: self.opts.downloadPlots,
1135
- title: "Generate a PDF of all the plots opened"
1136
- });
1137
- if (self.opts.header_mode === "with_cohortHtmlSelect") {
1138
- self.dom.cohortStandaloneDiv = header.append("div").style("display", "inline-block").style("margin", "10px").style("vertical-align", "top");
1139
- self.dom.cohortStandaloneDiv.append("label").html("Cohort: ");
1140
- self.dom.cohortSelect = self.dom.cohortStandaloneDiv.append("select").on("change", async function() {
1141
- self.app.dispatch({ type: "cohort_set", activeCohort: +this.value });
1142
- });
1143
- 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);
1144
- }
1145
- self.dom.subheader = Object.freeze({
1146
- // For either the COHORT or ABOUT tab
1147
- about: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-about").style("display", "none"),
1148
- search: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-search").style("display", "none"),
1149
- groups: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-groups").style("display", "none"),
1150
- charts: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-charts").style("display", "none"),
1151
- filter: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-filter").style("display", "none"),
1152
- chat: self.dom.subheaderDiv.append("div").attr("data-testid", "sjpp-mass-nav-subheader-chat").style("display", "none")
1153
- // cart: self.dom.subheaderDiv.append('div').style('display', 'none').html('<br/>Cart feature under construction - work in progress<br/>&nbsp;<br/>'),
1154
- });
1155
- if (!massNav.tabs?.about?.hide) {
1156
- self.tabs.push(aboutTab);
1157
- const override = Object.assign({}, massNav.tabs?.about);
1158
- if (appState.termdbConfig?.selectCohort) {
1159
- if (!override.top) override.top = "COHORT";
1160
- } else {
1161
- if (!override.mid) override.mid = self.pickDatasetLabel(appState);
1162
- }
1163
- Object.assign(aboutTab, override);
1164
- }
1165
- if (!massNav.tabs?.charts?.hide) {
1166
- self.tabs.push(chartTab);
1167
- Object.assign(chartTab, massNav.tabs?.charts);
1168
- }
1169
- if (!massNav.tabs?.groups?.hide) {
1170
- self.tabs.push(groupsTab);
1171
- Object.assign(groupsTab, massNav.tabs?.groups);
1172
- }
1173
- if (!massNav.tabs?.filter?.hide) {
1174
- self.tabs.push(filterTab);
1175
- Object.assign(filterTab, massNav.tabs?.filter);
1176
- }
1177
- if (appState.termdbConfig?.queries?.chat && !massNav.tabs?.chat?.hide) {
1178
- self.tabs.push(chatTab);
1179
- Object.assign(chatTab, massNav.tabs?.chat);
1180
- }
1181
- const table = self.dom.tabDiv.append("table").attr("data-testid", "sjpp-nav-tabs-table").style("border-collapse", "collapse");
1182
- 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(
1183
- (key, i) => self.tabs.map((row, colNum) => {
1184
- return {
1185
- rowNum: i,
1186
- key,
1187
- colNum,
1188
- label: row[key],
1189
- subheader: row.subheader,
1190
- disabled: row.disabled,
1191
- disabledMessage: row.disabledMessage
1192
- };
1193
- })
1194
- ).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) => {
1195
- self.setTab(event2, d);
1196
- }).on("mouseover", (event2, d) => {
1197
- self.mouseover(event2, d);
1198
- }).on("mouseout", () => {
1199
- self.mouseout();
1200
- });
1201
- self.dom.trs = table.selectAll("tr");
1202
- self.dom.tds = table.selectAll("td");
1203
- self.subheaderKeys = self.tabs.map((d) => d.subheader);
1204
- self.dom.saveBtn = self.dom.sessionDiv.append("button").attr("data-testid", "sjpp-nav-session-btn").style("margin", "10px").text("Session \u25BC");
1205
- if (self.sessionDaysLeft != null) {
1206
- self.dom.fileBtn = self.dom.sessionDiv.append("button").attr("data-testid", "sjpp-nav-file-btn").style("margin", "10px").text("Export Session").on("click", (event2) => {
1207
- self.getSessionFile(event2);
1208
- });
1209
- }
1210
- };
1211
- self.deletePlots = () => {
1212
- const state = self.app.getState();
1213
- const subactions = [];
1214
- for (const plot of state.plots) subactions.push({ type: "plot_delete", id: plot.id });
1215
- self.app.dispatch({ type: "app_refresh", subactions });
1216
- };
1217
- self.mayShowMessage_sessionDaysLeft = () => {
1218
- if (!Number.isFinite(self.sessionDaysLeft)) {
1219
- return;
1220
- }
1221
- self.dom.sessionElapsedMessageDiv.style("display", "block");
1222
- self.dom.remainingDaysMessage = self.dom.sessionElapsedMessageDiv.append("div").style("display", "block").style("opacity", "0.65").html(
1223
- `<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.`
1224
- );
1225
- };
1226
- self.updateUI = async () => {
1227
- if (!self.dom.subheaderDiv) return;
1228
- if (self.activeTab && self.state.termdbConfig.selectCohort && self.activeCohort == -1) {
1229
- self.dom.subheaderDiv.style("display", "none");
1230
- self.dom.messageDiv.selectAll("text").remove();
1231
- self.dom.messageDiv.style("display", "").text('No cohort selected. Please select a cohort in the "COHORT" tab.');
1232
- } else {
1233
- if (self.dom.subheaderDiv) self.dom.subheaderDiv.style("display", self.activeTab != -1 ? "block" : "none");
1234
- if (self.dom.messageDiv) self.dom.messageDiv.style("display", "none");
1235
- }
1236
- const selectCohort = self.state.termdbConfig.selectCohort;
1237
- const massNav = self.state.termdbConfig.massNav;
1238
- self.dom.searchDiv.style("display", selectCohort && self.activeCohort == -1 ? "none" : "inline-block");
1239
- self.dom.header.style("border-bottom", self.state.nav.header_mode === "with_tabs" ? "1px solid #000" : "");
1240
- self.dom.tds.style("display", "").style("color", (d) => d.colNum == self.activeTab ? activeTabTextColor : inactiveTabTextColor).style(
1241
- "background-color",
1242
- (d) => d.colNum == self.activeTab && self.dom.subheaderDiv.style("display") != "none" ? self.state.termdbConfig.massNav?.activeColor || activeTabBgColor : "transparent"
1243
- ).html(function(d, i) {
1244
- if (d.key == "top") return this.innerHTML;
1245
- if (d.subheader == "groups") {
1246
- if (d.key == "mid") return self.state.groups.length || "NONE";
1247
- return "";
1248
- }
1249
- if (d.subheader === "charts") {
1250
- const n = self.state.plots.filter((p) => !p.parentId).length;
1251
- if (d.key == "mid") return !n ? "NONE" : n;
1252
- else return "";
1253
- } else if (d.subheader === "about") {
1254
- if (self.activeCohort != -1 && self.activeCohort in self.samplecounts) {
1255
- const aboutMap = {
1256
- top: this.innerHTML,
1257
- mid: self.activeCohortLabel,
1258
- btm: self.samplecounts[self.activeCohort]
1259
- };
1260
- return aboutMap[d.key] || "";
1261
- } else if (!selectCohort) {
1262
- const aboutMap = {
1263
- top: massNav?.tabs?.about?.top || "ABOUT",
1264
- mid: massNav?.tabs?.about?.mid || this.innerHTML,
1265
- btm: massNav?.tabs?.about?.btm || self.samplecounts[self.activeCohort]
1266
- };
1267
- return aboutMap[d.key] || "";
1268
- } else {
1269
- return d.key === "mid" ? "NONE" : this.innerHTML;
1270
- }
1271
- } else if (d.subheader === "filter") {
1272
- const filter = self.filterUiRoot ? self.filterUiRoot : { lst: [] };
1273
- if (filter.lst.length === 0) {
1274
- return d.key === "mid" ? "NONE" : "";
1275
- } else {
1276
- const n = self.samplecounts[self.filterJSON] != void 0 ? "" + self.samplecounts[self.filterJSON] : "";
1277
- return d.key === "mid" ? filter.lst.length : n;
1278
- }
1279
- } else {
1280
- return d.key === "mid" ? this.innerHTML : "&nbsp;";
1281
- }
1282
- });
1283
- for (const key in self.dom.subheader) {
1284
- self.dom.subheader[key].style(
1285
- "display",
1286
- self.activeTab == -1 ? "none" : self.tabs[self.activeTab].subheader === key ? "block" : "none"
1287
- );
1288
- }
1289
- if (self.opts.header_mode === "with_cohortHtmlSelect") {
1290
- self.dom.cohortSelect.selectAll("option").property("value", self.activeCohort);
1291
- }
1292
- };
1293
- }
1294
- function setInteractivity2(self) {
1295
- self.setTab = async (event2, d) => {
1296
- if (d.disabled) return;
1297
- if (d.colNum === self.activeTab && !self.searching) {
1298
- if (self.activeTab == 0) return;
1299
- self.prevCohort = self.activeCohort;
1300
- await self.updateUI();
1301
- self.app.dispatch({ type: "tab_set", activeTab: -1 });
1302
- return;
1303
- }
1304
- self.activeTab = d.colNum;
1305
- self.searching = false;
1306
- self.app.dispatch({ type: "tab_set", activeTab: self.activeTab });
1307
- const chartsIdx = self.subheaderKeys.indexOf("charts");
1308
- if (self.activeTab == chartsIdx && self.activeCohort != -1 && !self.state.plots.length) {
1309
- const defaultChartType = self.state.termdbConfig.defaultChartType || "dictionary";
1310
- self.app.dispatch({
1311
- type: "plot_create",
1312
- id: getId(),
1313
- config: { chartType: defaultChartType }
1314
- });
1315
- }
1316
- };
1317
- self.mouseover = (event2, d) => {
1318
- const defaultActiveColor = self.state.termdbConfig.massNav?.activeColor || activeTabBgColor;
1319
- self.dom.tds.style("background-color", (t) => {
1320
- if (t.colNum === d.colNum)
1321
- return self.activeTab == t.colNum ? self.state.termdbConfig.massNav?.activeColorHover || activeTabBgColorHover : inactiveTabBgColorHover;
1322
- return self.activeTab == t.colNum ? defaultActiveColor : "transparent";
1323
- });
1324
- };
1325
- self.mouseout = () => {
1326
- const defaultActiveColor = self.state.termdbConfig.massNav?.activeColor || activeTabBgColor;
1327
- self.dom.tds.style("background-color", (t) => self.activeTab == t.colNum ? defaultActiveColor : "transparent");
1328
- };
1329
- self.getSessionFile = async (event2) => {
1330
- const res = await dofetch3(`/massSession?id=${self.sessionId}`);
1331
- const a = document.createElement("a");
1332
- const dataStr = "data:application/json;charset=utf-8," + encodeURIComponent(JSON.stringify(res.state));
1333
- a.setAttribute("href", dataStr);
1334
- a.download = `${self.sessionId}.json`;
1335
- a.click();
1336
- a.remove();
1337
- };
1338
- self.pickDatasetLabel = (appState) => {
1339
- const dslabel = appState.vocab.dslabel.toUpperCase();
1340
- return dslabel.length > 10 ? `${dslabel.slice(0, 10)}...` : dslabel;
1341
- };
1342
- }
1343
-
1344
- export {
1345
- getId,
1346
- navInit
1347
- };
1348
- //# sourceMappingURL=chunk-CXQ6KS3Z.js.map