@papaemmelab/isabl-web 0.3.7 → 0.3.8

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.
@@ -90869,7 +90869,7 @@ module.exports = overArg;
90869
90869
  /***/ "9224":
90870
90870
  /***/ (function(module) {
90871
90871
 
90872
- module.exports = JSON.parse("{\"name\":\"@papaemmelab/isabl-web\",\"version\":\"0.3.6\",\"scripts\":{\"serve\":\"vue-cli-service serve\",\"lint\":\"vue-cli-service lint\",\"build-lib\":\"vue-cli-service build --target lib --name isabl-web ./src/main.js\",\"build-wc\":\"vue-cli-service build --target wc --name isabl-web ./src/components/*.vue\",\"build-wc-async\":\"vue-cli-service build --target wc-async --name isabl-web ./src/components/*.vue\",\"publish-app\":\"yarn build-lib && yarn version --patch && yarn publish --access public\",\"dev\":\"yarn build-lib --watch\",\"test:unit\":\"vue-cli-service test:unit\",\"test:e2e\":\"vue-cli-service test:e2e\",\"test:travis\":\"yarn test:e2e --headless\",\"test:submissions\":\"node tests/utils/create_test_submission.js\",\"test:report-coverage\":\"nyc report --reporter=text-lcov > coverage.lcov && codecov -t $CODECOV_TOKEN\",\"demo\":\"nodemon demo/demo-app.js\"},\"dependencies\":{\"@mdi/font\":\"^7.0.96\",\"ansi_up\":\"^5\",\"axios\":\"^0.21.1\",\"crossfilter\":\"^1.3.12\",\"crossfilter2\":\"^1.4.7\",\"d3-tip\":\"^0.9.1\",\"dc\":\"3.1.2\",\"js-md5\":\"^0.7.3\",\"minify-css-string\":\"^1.0.0\",\"moment\":\"^2.22.2\",\"register-service-worker\":\"^1.5.2\",\"v-hotkey\":\"^0.6.0\",\"vue\":\"^2.5.16\",\"vue-clipboard2\":\"^0.2.1\",\"vue-gallery\":\"^1.4.0\",\"vue-highlightjs\":\"^1.3.3\",\"vue-json-excel\":\"^0.2.5\",\"vue-observe-visibility\":\"^0.4.6\",\"vue-router\":\"^3.0.1\",\"vue-upload-component\":\"^2.8.11\",\"vuetify\":\"2.6.10\",\"vuex\":\"^3.0.1\",\"vuex-router-sync\":\"^5.0.0\"},\"devDependencies\":{\"@cypress/code-coverage\":\"^1.10.1\",\"@vue/cli-plugin-babel\":\"^3.3.0\",\"@vue/cli-plugin-e2e-cypress\":\"^3.3.0\",\"@vue/cli-plugin-eslint\":\"^3.3.0\",\"@vue/cli-plugin-pwa\":\"^3.3.0\",\"@vue/cli-plugin-unit-jest\":\"^3.3.0\",\"@vue/cli-service\":\"^3.3.0\",\"@vue/eslint-config-prettier\":\"^3.0.5\",\"@vue/test-utils\":\"^1.0.0-beta.20\",\"axios-mock-adapter\":\"^1.15.0\",\"babel-core\":\"7.0.0-bridge.0\",\"babel-jest\":\"^23.0.1\",\"babel-plugin-istanbul\":\"^5.2.0\",\"codecov\":\"^3.6.1\",\"eslint-plugin-vuetify\":\"^1.1.0\",\"express\":\"^4.16.3\",\"html-webpack-plugin\":\"^3.2.0\",\"istanbul-lib-coverage\":\"^2.0.5\",\"mini-css-extract-plugin\":\"^0.4.2\",\"nyc\":\"^14.1.1\",\"sass\":\"^1.55.0\",\"sass-loader\":\"^7.0.1\",\"vue-template-compiler\":\"^2.5.16\",\"xlsx-populate\":\"^1.19.1\"},\"browserslist\":[\"> 1%\",\"last 2 versions\",\"not ie <= 8\"],\"main\":\"./dist/isabl-web.umd.min.js\",\"license\":\"MIT\",\"files\":[\"dist/isabl-web*.js\"],\"author\":\"Juan S. Medina - Juan E. Arango\",\"description\":\"Isabl Frontend of the MSK Academic License.\",\"bugs\":{\"url\":\"https://github.com/papaemmelab/isabl_web/issues\"},\"homepage\":\"https://github.com/papaemmelab/isabl_web#readme\"}");
90872
+ module.exports = JSON.parse("{\"name\":\"@papaemmelab/isabl-web\",\"version\":\"0.3.8\",\"scripts\":{\"serve\":\"vue-cli-service serve\",\"lint\":\"vue-cli-service lint\",\"build-lib\":\"vue-cli-service build --target lib --name isabl-web ./src/main.js\",\"build-wc\":\"vue-cli-service build --target wc --name isabl-web ./src/components/*.vue\",\"build-wc-async\":\"vue-cli-service build --target wc-async --name isabl-web ./src/components/*.vue\",\"publish-app\":\"yarn version --patch && yarn build-lib && yarn publish --access public\",\"dev\":\"yarn build-lib --watch\",\"test:unit\":\"vue-cli-service test:unit\",\"test:e2e\":\"vue-cli-service test:e2e\",\"test:travis\":\"yarn test:e2e --headless\",\"test:submissions\":\"node tests/utils/create_test_submission.js\",\"test:report-coverage\":\"nyc report --reporter=text-lcov > coverage.lcov && codecov -t $CODECOV_TOKEN\",\"demo\":\"nodemon demo/demo-app.js\"},\"dependencies\":{\"@mdi/font\":\"^7.0.96\",\"ansi_up\":\"^5\",\"axios\":\"^0.21.1\",\"crossfilter\":\"^1.3.12\",\"crossfilter2\":\"^1.4.7\",\"d3-tip\":\"^0.9.1\",\"dc\":\"3.1.2\",\"js-md5\":\"^0.7.3\",\"minify-css-string\":\"^1.0.0\",\"moment\":\"^2.22.2\",\"register-service-worker\":\"^1.5.2\",\"v-hotkey\":\"^0.6.0\",\"vue\":\"^2.5.16\",\"vue-clipboard2\":\"^0.2.1\",\"vue-gallery\":\"^1.4.0\",\"vue-highlightjs\":\"^1.3.3\",\"vue-json-excel\":\"^0.2.5\",\"vue-observe-visibility\":\"^0.4.6\",\"vue-router\":\"^3.0.1\",\"vue-upload-component\":\"^2.8.11\",\"vuetify\":\"2.6.10\",\"vuex\":\"^3.0.1\",\"vuex-router-sync\":\"^5.0.0\"},\"devDependencies\":{\"@cypress/code-coverage\":\"^1.10.1\",\"@vue/cli-plugin-babel\":\"^3.3.0\",\"@vue/cli-plugin-e2e-cypress\":\"^3.3.0\",\"@vue/cli-plugin-eslint\":\"^3.3.0\",\"@vue/cli-plugin-pwa\":\"^3.3.0\",\"@vue/cli-plugin-unit-jest\":\"^3.3.0\",\"@vue/cli-service\":\"^3.3.0\",\"@vue/eslint-config-prettier\":\"^3.0.5\",\"@vue/test-utils\":\"^1.0.0-beta.20\",\"axios-mock-adapter\":\"^1.15.0\",\"babel-core\":\"7.0.0-bridge.0\",\"babel-jest\":\"^23.0.1\",\"babel-plugin-istanbul\":\"^5.2.0\",\"codecov\":\"^3.6.1\",\"eslint-plugin-vuetify\":\"^1.1.0\",\"express\":\"^4.16.3\",\"html-webpack-plugin\":\"^3.2.0\",\"istanbul-lib-coverage\":\"^2.0.5\",\"mini-css-extract-plugin\":\"^0.4.2\",\"nyc\":\"^14.1.1\",\"sass\":\"^1.55.0\",\"sass-loader\":\"^7.0.1\",\"vue-template-compiler\":\"^2.5.16\",\"xlsx-populate\":\"^1.19.1\"},\"browserslist\":[\"> 1%\",\"last 2 versions\",\"not ie <= 8\"],\"main\":\"./dist/isabl-web.umd.min.js\",\"license\":\"MIT\",\"files\":[\"dist/isabl-web*.js\"],\"author\":\"Juan S. Medina - Juan E. Arango\",\"description\":\"Isabl Frontend of the MSK Academic License.\",\"bugs\":{\"url\":\"https://github.com/papaemmelab/isabl_web/issues\"},\"homepage\":\"https://github.com/papaemmelab/isabl_web#readme\"}");
90873
90873
 
90874
90874
  /***/ }),
90875
90875
 
@@ -178560,7 +178560,7 @@ exports = module.exports = __webpack_require__("2350")(false);
178560
178560
 
178561
178561
 
178562
178562
  // module
178563
- exports.push([module.i, ".tsv-table{max-width:100%;max-height:100%;margin:0 auto;overflow:auto}.v-dialog{overflow-y:visible!important}.v-dialog:not(.v-dialog--fullscreen){max-height:100%!important;max-width:calc(100% - 48px)}.v-dialog iframe.results-iframe{height:100%!important}.v-dialog.gallery-dialog{height:calc(100vh - 60px)}.results-image{max-width:100%;max-height:85vh;margin:auto;max-height:100%;width:auto}.gallery-card ::-webkit-scrollbar{width:0;height:0}.v-application .gallery-card pre{white-space:pre-line}.v-application .gallery-card pre.pre-wrap{white-space:pre-wrap}.v-application .gallery-card pre code{font-size:12px;font-weight:600}.v-application .gallery-card.theme--dark code{background-color:rgba(0,0,0,.05)}.v-application .gallery-card code.v-markup,.v-application .gallery-card pre.v-markup{padding:10px;width:100%;height:100%;text-align:start;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;overflow-x:auto;overflow-y:auto;margin:0;top:0;color:#fff;border-radius:0;background:#000;font-size:12px;font-weight:600}.v-application .gallery-card code.v-markup code.hljs,.v-application .gallery-card pre.v-markup code.hljs{font-size:12px;padding:0}.v-application .gallery-card code.v-markup code.hljs .hljs-addition,.v-application .gallery-card code.v-markup code.hljs .hljs-built_in,.v-application .gallery-card code.v-markup code.hljs .hljs-builtin-name,.v-application .gallery-card code.v-markup code.hljs .hljs-bullet,.v-application .gallery-card code.v-markup code.hljs .hljs-emphasis,.v-application .gallery-card code.v-markup code.hljs .hljs-section,.v-application .gallery-card code.v-markup code.hljs .hljs-selector-attr,.v-application .gallery-card code.v-markup code.hljs .hljs-selector-pseudo,.v-application .gallery-card code.v-markup code.hljs .hljs-string,.v-application .gallery-card code.v-markup code.hljs .hljs-subst,.v-application .gallery-card code.v-markup code.hljs .hljs-template-tag,.v-application .gallery-card code.v-markup code.hljs .hljs-template-variable,.v-application .gallery-card code.v-markup code.hljs .hljs-title,.v-application .gallery-card code.v-markup code.hljs .hljs-type,.v-application .gallery-card code.v-markup code.hljs .hljs-variable,.v-application .gallery-card pre.v-markup code.hljs .hljs-addition,.v-application .gallery-card pre.v-markup code.hljs .hljs-built_in,.v-application .gallery-card pre.v-markup code.hljs .hljs-builtin-name,.v-application .gallery-card pre.v-markup code.hljs .hljs-bullet,.v-application .gallery-card pre.v-markup code.hljs .hljs-emphasis,.v-application .gallery-card pre.v-markup code.hljs .hljs-section,.v-application .gallery-card pre.v-markup code.hljs .hljs-selector-attr,.v-application .gallery-card pre.v-markup code.hljs .hljs-selector-pseudo,.v-application .gallery-card pre.v-markup code.hljs .hljs-string,.v-application .gallery-card pre.v-markup code.hljs .hljs-subst,.v-application .gallery-card pre.v-markup code.hljs .hljs-template-tag,.v-application .gallery-card pre.v-markup code.hljs .hljs-template-variable,.v-application .gallery-card pre.v-markup code.hljs .hljs-title,.v-application .gallery-card pre.v-markup code.hljs .hljs-type,.v-application .gallery-card pre.v-markup code.hljs .hljs-variable{color:var(--v-warning-base)}.v-application .gallery-card .tsv-table{border-top:thin solid rgba(0,0,0,.12)}.v-application .gallery-card .tsv-table thead tr th{background:var(--v-background-base);max-width:250px;white-space:nowrap}.v-application .gallery-card .tsv-table thead tr th span{font-size:12px;font-family:Roboto;color:#333}.v-application .gallery-card .tsv-table tbody tr td{font-size:12px;font-family:Roboto;overflow-x:auto;white-space:nowrap;max-width:250px}.v-application .gallery-card .stream-message{font-size:12px;font-style:italic;margin:20px 0}", ""]);
178563
+ exports.push([module.i, ".tsv-table{max-width:100%;max-height:100%;margin:0 auto;overflow:auto}.v-dialog{overflow-y:visible!important}.v-dialog:not(.v-dialog--fullscreen){max-height:100%!important;max-width:calc(100% - 48px)}.v-dialog iframe.results-iframe{height:100%!important}.v-dialog.gallery-dialog{height:calc(100vh - 60px)}.results-image{max-width:100%;max-height:85vh;margin:auto;max-height:100%;width:auto}.gallery-card ::-webkit-scrollbar{width:0;height:0}.v-application .gallery-card .gallery-content{background:var(--v-background-base)}.v-application .gallery-card pre{white-space:pre-line}.v-application .gallery-card pre.pre-wrap{white-space:pre-wrap}.v-application .gallery-card pre code{font-size:12px;font-weight:600}.v-application .gallery-card.theme--dark code{background-color:rgba(0,0,0,.05)}.v-application .gallery-card code.v-markup,.v-application .gallery-card pre.v-markup{padding:10px;width:100%;height:100%;text-align:start;-webkit-box-shadow:none;box-shadow:none;text-shadow:none;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;overflow-x:auto;overflow-y:auto;margin:0;top:0;color:#fff;border-radius:0;background:#000;font-size:12px;font-weight:600}.v-application .gallery-card code.v-markup code.hljs,.v-application .gallery-card pre.v-markup code.hljs{font-size:12px;padding:0}.v-application .gallery-card code.v-markup code.hljs .hljs-addition,.v-application .gallery-card code.v-markup code.hljs .hljs-built_in,.v-application .gallery-card code.v-markup code.hljs .hljs-builtin-name,.v-application .gallery-card code.v-markup code.hljs .hljs-bullet,.v-application .gallery-card code.v-markup code.hljs .hljs-emphasis,.v-application .gallery-card code.v-markup code.hljs .hljs-section,.v-application .gallery-card code.v-markup code.hljs .hljs-selector-attr,.v-application .gallery-card code.v-markup code.hljs .hljs-selector-pseudo,.v-application .gallery-card code.v-markup code.hljs .hljs-string,.v-application .gallery-card code.v-markup code.hljs .hljs-subst,.v-application .gallery-card code.v-markup code.hljs .hljs-template-tag,.v-application .gallery-card code.v-markup code.hljs .hljs-template-variable,.v-application .gallery-card code.v-markup code.hljs .hljs-title,.v-application .gallery-card code.v-markup code.hljs .hljs-type,.v-application .gallery-card code.v-markup code.hljs .hljs-variable,.v-application .gallery-card pre.v-markup code.hljs .hljs-addition,.v-application .gallery-card pre.v-markup code.hljs .hljs-built_in,.v-application .gallery-card pre.v-markup code.hljs .hljs-builtin-name,.v-application .gallery-card pre.v-markup code.hljs .hljs-bullet,.v-application .gallery-card pre.v-markup code.hljs .hljs-emphasis,.v-application .gallery-card pre.v-markup code.hljs .hljs-section,.v-application .gallery-card pre.v-markup code.hljs .hljs-selector-attr,.v-application .gallery-card pre.v-markup code.hljs .hljs-selector-pseudo,.v-application .gallery-card pre.v-markup code.hljs .hljs-string,.v-application .gallery-card pre.v-markup code.hljs .hljs-subst,.v-application .gallery-card pre.v-markup code.hljs .hljs-template-tag,.v-application .gallery-card pre.v-markup code.hljs .hljs-template-variable,.v-application .gallery-card pre.v-markup code.hljs .hljs-title,.v-application .gallery-card pre.v-markup code.hljs .hljs-type,.v-application .gallery-card pre.v-markup code.hljs .hljs-variable{color:var(--v-warning-base)}.v-application .gallery-card .tsv-table{border:thin solid rgba(0,0,0,.12);margin-left:0}.v-application .gallery-card .tsv-table .theme--dark thead tr th{background:var(--v-surface-darken1)}.v-application .gallery-card .tsv-table .theme--dark thead tr th span{color:#9e9e9e}.v-application .gallery-card .tsv-table .theme--dark tbody tr td{background:var(--v-background-base)}.v-application .gallery-card .tsv-table .theme--dark tbody tr td span{color:#9e9e9e}.v-application .gallery-card .tsv-table thead tr th{background:var(--v-background-base);max-width:250px;white-space:nowrap}.v-application .gallery-card .tsv-table thead tr th span{font-size:12px;font-family:Roboto;color:#333}.v-application .gallery-card .tsv-table tbody tr td{font-size:12px;font-family:Roboto;overflow-x:auto;white-space:nowrap;max-width:250px}.v-application .gallery-card .tsv-table tbody tr td.line-column{background:var(--v-surface-darken1);width:50px;text-align:right;padding-left:0}.v-application .gallery-card .stream-message{font-size:12px;font-style:italic;margin:20px 0}", ""]);
178564
178564
 
178565
178565
  // exports
178566
178566
 
@@ -204862,9 +204862,9 @@ var lightTheme = (cov_2qw9wivsj.s[0]++, {
204862
204862
  var settings_darkTheme = (cov_2qw9wivsj.s[1]++, {
204863
204863
  primary: '#2196f3',
204864
204864
  secondary: '#ff6f00',
204865
- background: '#303030',
204866
- accent: '#5a5a5a',
204867
- surface: '#424242',
204865
+ background: '#1a202c',
204866
+ accent: '#4a5568',
204867
+ surface: '#3a4556',
204868
204868
  success: '#4caf50',
204869
204869
  error: '#ff5252',
204870
204870
  info: '#2196f3',
@@ -251105,8 +251105,8 @@ var RerunButton_component = normalizeComponent(
251105
251105
  )
251106
251106
 
251107
251107
  /* harmony default export */ var RerunButton = (RerunButton_component.exports);
251108
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0232f23c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/analyses/ResultsGallery.vue?vue&type=template&id=b8e976ce&
251109
- var ResultsGalleryvue_type_template_id_b8e976ce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showDialog)?_c('v-dialog',{directives:[{name:"hotkey",rawName:"v-hotkey",value:(_vm.keymap),expression:"keymap"}],staticClass:"gallery-dialog",attrs:{"fullscreen":_vm.isResultModalFullScreen,"scrollable":""},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:"showDialog"}},[_c('v-card',{staticClass:"gallery-card",attrs:{"flat":""}},[_c('v-card-title',{staticClass:"pa-2"},[_c('v-row',[_c('v-col',{attrs:{"cols":"6"}},[_c('h3',{staticClass:"font-weight-thin primary--text"},[_vm._v("\n "+_vm._s(_vm.result.verboseName)+"\n ")])]),_c('v-col',{staticClass:"d-flex justify-end align-center panel-slot-actions",attrs:{"cols":"6"}},[(_vm.result.frontendType === 'tsv-file' && _vm.tsvHeaders.length)?_c('v-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
251108
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0232f23c-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/analyses/ResultsGallery.vue?vue&type=template&id=083d76b5&
251109
+ var ResultsGalleryvue_type_template_id_083d76b5_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showDialog)?_c('v-dialog',{directives:[{name:"hotkey",rawName:"v-hotkey",value:(_vm.keymap),expression:"keymap"}],staticClass:"gallery-dialog",attrs:{"fullscreen":_vm.isResultModalFullScreen,"scrollable":""},model:{value:(_vm.showDialog),callback:function ($$v) {_vm.showDialog=$$v},expression:"showDialog"}},[_c('v-card',{staticClass:"gallery-card",attrs:{"flat":""}},[_c('v-card-title',{staticClass:"pa-2"},[_c('v-row',[_c('v-col',{attrs:{"cols":"6"}},[_c('h3',{staticClass:"font-weight-thin primary--text"},[_vm._v("\n "+_vm._s(_vm.result.verboseName)+"\n ")])]),_c('v-col',{staticClass:"d-flex justify-end align-center panel-slot-actions",attrs:{"cols":"6"}},[(_vm.result.frontendType === 'tsv-file' && _vm.tsvHeaders.length)?_c('v-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
251110
251110
  var on = ref.on;
251111
251111
  return [_c('v-icon',_vm._g({staticClass:"primary--text ml-4",attrs:{"small":""},on:{"click":function($event){_vm.displayRawText = !_vm.displayRawText}}},on),[_vm._v("\n "+_vm._s(_vm.displayRawText ? 'table_chart' : 'text_fields')+"\n ")])]}}],null,false,578865119)},[_vm._v("\n "+_vm._s(_vm.displayRawText ? 'Display Tabulated Content' : 'Display Raw Content')+"\n ")]):_vm._e(),(_vm.result.download)?_c('v-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
251112
251112
  var on = ref.on;
@@ -251120,18 +251120,18 @@ return [_c('v-icon',_vm._g({staticClass:"primary--text ml-4",attrs:{"small":""},
251120
251120
  var on = ref.on;
251121
251121
  return [_c('v-icon',_vm._g({staticClass:"primary--text ml-4",attrs:{"small":""},on:{"click":_vm.toggleFullScreen}},on),[_vm._v("\n "+_vm._s(_vm.isResultModalFullScreen ? 'fullscreen_exit' : 'fullscreen')+"\n ")])]}}],null,false,1920867206)},[_c('span',[_vm._v("\n Toggle Full Screen\n ")])]),_c('v-tooltip',{attrs:{"top":""},scopedSlots:_vm._u([{key:"activator",fn:function(ref){
251122
251122
  var on = ref.on;
251123
- return [_c('v-icon',_vm._g({staticClass:"primary--text ml-4",attrs:{"small":""},on:{"click":_vm.hideDialog}},on),[_vm._v("\n close\n ")])]}}],null,false,804201733)},[_vm._v("\n Close file\n ")])],1)],1)],1),_c('v-row',{staticClass:"pa-0 ma-0",staticStyle:{"height":"85vh"}},[(_vm.loading)?_c('v-progress-linear',{staticClass:"panel-loader",attrs:{"indeterminate":"","height":"2","color":"primary"}}):_vm._e(),(_vm.resultType === 'raw' && _vm.resultKey === 'command_script')?_c('pre',{directives:[{name:"highlightjs",rawName:"v-highlightjs",value:(_vm.content),expression:"content"}],ref:"raw",staticClass:"v-markup pre-wrap"},[_vm._v(" "),_c('code',{staticClass:"bash"}),_vm._v("\n ")]):(_vm.isAnsi)?_c('code',{ref:"raw",staticClass:"v-markup"},[_c('pre',{domProps:{"innerHTML":_vm._s(_vm.content)}})]):(_vm.resultType === 'raw')?_c('code',{ref:"raw",staticClass:"v-markup"},[_c('pre',[_vm._v(" "+_vm._s(_vm.content)+"\n "),(_vm.content && !_vm.streamOptions.end)?_c('span',{staticClass:"stream-message"},[_vm._v("\n #------- Loading more rows... -------#\n ")]):_vm._e(),_vm._v("\n "),(!_vm.loading && _vm.streamOptions.end)?_c('span',{staticClass:"stream-message"},[_vm._v("\n #------- End of file. -------#\n ")]):_vm._e(),_vm._v("\n ")])]):(_vm.resultType === 'table')?_c('div',{ref:"table",staticClass:"tsv-table"},[_c('v-data-table',{attrs:{"headers":_vm.tsvHeaders,"items":_vm.tsvItems,"items-per-page":_vm.tsvItems.length,"hide-default-footer":"","multi-sort":"","fixed-header":"","dense":""},scopedSlots:_vm._u([{key:"body",fn:function(ref){
251123
+ return [_c('v-icon',_vm._g({staticClass:"primary--text ml-4",attrs:{"small":""},on:{"click":_vm.hideDialog}},on),[_vm._v("\n close\n ")])]}}],null,false,804201733)},[_vm._v("\n Close file\n ")])],1)],1)],1),_c('v-row',{staticClass:"pa-0 ma-0 gallery-content",staticStyle:{"height":"85vh"}},[(_vm.loading)?_c('v-progress-linear',{staticClass:"panel-loader",attrs:{"indeterminate":"","height":"2","color":"primary"}}):_vm._e(),(_vm.resultType === 'raw' && _vm.resultKey === 'command_script')?_c('pre',{directives:[{name:"highlightjs",rawName:"v-highlightjs",value:(_vm.content),expression:"content"}],ref:"raw",staticClass:"v-markup pre-wrap"},[_vm._v(" "),_c('code',{staticClass:"bash"}),_vm._v("\n ")]):(_vm.isAnsi)?_c('code',{ref:"raw",staticClass:"v-markup"},[_c('pre',{domProps:{"innerHTML":_vm._s(_vm.content)}})]):(_vm.resultType === 'raw')?_c('code',{ref:"raw",staticClass:"v-markup"},[_c('pre',[_vm._v(" "+_vm._s(_vm.content)+"\n "),(_vm.content && !_vm.streamOptions.end)?_c('span',{staticClass:"stream-message"},[_vm._v("\n #------- Loading more rows... -------#\n ")]):_vm._e(),_vm._v("\n "),(!_vm.loading && _vm.streamOptions.end)?_c('span',{staticClass:"stream-message"},[_vm._v("\n #------- End of file. -------#\n ")]):_vm._e(),_vm._v("\n ")])]):(_vm.resultType === 'table')?_c('div',{ref:"table",staticClass:"tsv-table"},[_c('v-data-table',{attrs:{"headers":_vm.tsvHeaders,"items":_vm.tsvItems,"items-per-page":_vm.tsvItems.length,"hide-default-footer":"","multi-sort":"","fixed-header":"","dense":""},scopedSlots:_vm._u([{key:"body",fn:function(ref){
251124
251124
  var items = ref.items;
251125
- return [_c('tbody',_vm._l((items),function(item){return _c('tr',{key:item.name},_vm._l((_vm.tsvHeaders),function(header,index){return _c('td',{key:index + header.value,staticClass:"text-start",domProps:{"innerHTML":_vm._s(_vm.parseTsvCell(_vm.$get(item, header.value)))}})}),0)}),0)]}}],null,false,4142901337)}),_c('div',{staticClass:"text-center stream-message"},[(_vm.content && !_vm.streamOptions.end)?_c('span',[_vm._v("Loading more rows...")]):_vm._e(),(!_vm.loading && _vm.streamOptions.end)?_c('span',[_vm._v("End of file.")]):_vm._e()])],1):(_vm.resultType === 'image')?_c('img',{staticClass:"results-image",attrs:{"src":_vm.$store.getters.getBlobUrl(_vm.result.downloadUrl),"alt":_vm.result.verboseName}}):(['html', 'pdf'].includes(_vm.resultType))?_c('iframe',{staticClass:"results-iframe",staticStyle:{"width":"100%","height":"100%","min-height":"80vh"},attrs:{"src":_vm.$store.getters.getBlobUrl(_vm.result.downloadUrl, ''),"frameborder":"0"}}):(_vm.resultType === 'igv_bam')?_c('iframe',{staticClass:"results-iframe",staticStyle:{"width":"100%","height":"100%","min-height":"80vh"},attrs:{"src":_vm.result.downloadUrl,"frameborder":"0"}}):(_vm.resultType === 'number')?_c('code',{staticClass:"v-markup"},[_c('span',{attrs:{"size":"100px"}},[_vm._v(_vm._s(_vm._f("round")(_vm.result.value,3)))])]):(['string', 'url-link'].includes(_vm.resultType))?_c('code',{staticClass:"v-markup"},[_c('span',{attrs:{"size":"100px"}},[_vm._v(_vm._s(_vm.result.value))])]):_vm._e()],1)],1)],1):_vm._e()}
251126
- var ResultsGalleryvue_type_template_id_b8e976ce_staticRenderFns = []
251125
+ return [_c('tbody',_vm._l((items),function(item){return _c('tr',{key:item.name},_vm._l((_vm.tsvHeaders),function(header,index){return _c('td',{key:index + header.value,class:[header.value === 'index' ? 'line-column text' : ''],domProps:{"innerHTML":_vm._s(_vm.parseTsvCell(_vm.$get(item, header.value)))}})}),0)}),0)]}}],null,false,3434796515)}),_c('div',{staticClass:"text-center stream-message"},[(_vm.content && !_vm.streamOptions.end)?_c('span',[_vm._v("Loading more rows...")]):_vm._e(),(!_vm.loading && _vm.streamOptions.end)?_c('span',[_vm._v("End of file.")]):_vm._e()])],1):(_vm.resultType === 'image')?_c('img',{staticClass:"results-image",attrs:{"src":_vm.$store.getters.getBlobUrl(_vm.result.downloadUrl),"alt":_vm.result.verboseName}}):(['html', 'pdf'].includes(_vm.resultType))?_c('iframe',{staticClass:"results-iframe",staticStyle:{"width":"100%","height":"100%","min-height":"80vh"},attrs:{"src":_vm.$store.getters.getBlobUrl(_vm.result.downloadUrl, ''),"frameborder":"0"}}):(_vm.resultType === 'igv_bam')?_c('iframe',{staticClass:"results-iframe",staticStyle:{"width":"100%","height":"100%","min-height":"80vh"},attrs:{"src":_vm.result.downloadUrl,"frameborder":"0"}}):(_vm.resultType === 'number')?_c('code',{staticClass:"v-markup"},[_c('span',{attrs:{"size":"100px"}},[_vm._v(_vm._s(_vm._f("round")(_vm.result.value,3)))])]):(['string', 'url-link'].includes(_vm.resultType))?_c('code',{staticClass:"v-markup"},[_c('span',{attrs:{"size":"100px"}},[_vm._v(_vm._s(_vm.result.value))])]):_vm._e()],1)],1)],1):_vm._e()}
251126
+ var ResultsGalleryvue_type_template_id_083d76b5_staticRenderFns = []
251127
251127
 
251128
251128
 
251129
- // CONCATENATED MODULE: ./src/components/analyses/ResultsGallery.vue?vue&type=template&id=b8e976ce&
251129
+ // CONCATENATED MODULE: ./src/components/analyses/ResultsGallery.vue?vue&type=template&id=083d76b5&
251130
251130
 
251131
251131
  // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/analyses/ResultsGallery.vue?vue&type=script&lang=js&
251132
251132
  var cov_d7x60homs = function () {
251133
251133
  var path = "/Users/juanes/papaemmelab/isabl_web/src/components/analyses/ResultsGallery.vue";
251134
- var hash = "9dad9dbc041f286285d3716e55e9244899a3e99e";
251134
+ var hash = "a7a0e9116789c5e096ee66495ebce623be882864";
251135
251135
  var global = new Function("return this")();
251136
251136
  var gcv = "__coverage__";
251137
251137
  var coverageData = {
@@ -251939,221 +251939,251 @@ var cov_d7x60homs = function () {
251939
251939
  },
251940
251940
  "80": {
251941
251941
  start: {
251942
- line: 499,
251942
+ line: 500,
251943
251943
  column: 6
251944
251944
  },
251945
251945
  end: {
251946
- line: 510,
251947
- column: 12
251946
+ line: 500,
251947
+ column: 44
251948
251948
  }
251949
251949
  },
251950
251950
  "81": {
251951
251951
  start: {
251952
- line: 501,
251953
- column: 26
251952
+ line: 502,
251953
+ column: 6
251954
251954
  },
251955
251955
  end: {
251956
- line: 501,
251957
- column: 28
251956
+ line: 507,
251957
+ column: 8
251958
251958
  }
251959
251959
  },
251960
251960
  "82": {
251961
251961
  start: {
251962
- line: 502,
251962
+ line: 509,
251963
+ column: 6
251964
+ },
251965
+ end: {
251966
+ line: 509,
251967
+ column: 43
251968
+ }
251969
+ },
251970
+ "83": {
251971
+ start: {
251972
+ line: 511,
251973
+ column: 6
251974
+ },
251975
+ end: {
251976
+ line: 522,
251963
251977
  column: 12
251978
+ }
251979
+ },
251980
+ "84": {
251981
+ start: {
251982
+ line: 513,
251983
+ column: 26
251964
251984
  },
251965
251985
  end: {
251966
- line: 507,
251986
+ line: 513,
251987
+ column: 46
251988
+ }
251989
+ },
251990
+ "85": {
251991
+ start: {
251992
+ line: 514,
251993
+ column: 12
251994
+ },
251995
+ end: {
251996
+ line: 519,
251967
251997
  column: 16
251968
251998
  }
251969
251999
  },
251970
- "83": {
252000
+ "86": {
251971
252001
  start: {
251972
- line: 506,
252002
+ line: 518,
251973
252003
  column: 16
251974
252004
  },
251975
252005
  end: {
251976
- line: 506,
252006
+ line: 518,
251977
252007
  column: 48
251978
252008
  }
251979
252009
  },
251980
- "84": {
252010
+ "87": {
251981
252011
  start: {
251982
- line: 508,
252012
+ line: 520,
251983
252013
  column: 12
251984
252014
  },
251985
252015
  end: {
251986
- line: 508,
252016
+ line: 520,
251987
252017
  column: 26
251988
252018
  }
251989
252019
  },
251990
- "85": {
252020
+ "88": {
251991
252021
  start: {
251992
- line: 512,
252022
+ line: 524,
251993
252023
  column: 6
251994
252024
  },
251995
252025
  end: {
251996
- line: 514,
252026
+ line: 526,
251997
252027
  column: 7
251998
252028
  }
251999
252029
  },
252000
- "86": {
252030
+ "89": {
252001
252031
  start: {
252002
- line: 513,
252032
+ line: 525,
252003
252033
  column: 8
252004
252034
  },
252005
252035
  end: {
252006
- line: 513,
252036
+ line: 525,
252007
252037
  column: 34
252008
252038
  }
252009
252039
  },
252010
- "87": {
252040
+ "90": {
252011
252041
  start: {
252012
- line: 517,
252042
+ line: 529,
252013
252043
  column: 22
252014
252044
  },
252015
252045
  end: {
252016
- line: 517,
252046
+ line: 529,
252017
252047
  column: 48
252018
252048
  }
252019
252049
  },
252020
- "88": {
252050
+ "91": {
252021
252051
  start: {
252022
- line: 518,
252052
+ line: 530,
252023
252053
  column: 6
252024
252054
  },
252025
252055
  end: {
252026
- line: 518,
252056
+ line: 530,
252027
252057
  column: 30
252028
252058
  }
252029
252059
  },
252030
- "89": {
252060
+ "92": {
252031
252061
  start: {
252032
- line: 519,
252062
+ line: 531,
252033
252063
  column: 6
252034
252064
  },
252035
252065
  end: {
252036
- line: 519,
252066
+ line: 531,
252037
252067
  column: 43
252038
252068
  }
252039
252069
  },
252040
- "90": {
252070
+ "93": {
252041
252071
  start: {
252042
- line: 520,
252072
+ line: 532,
252043
252073
  column: 6
252044
252074
  },
252045
252075
  end: {
252046
- line: 520,
252076
+ line: 532,
252047
252077
  column: 29
252048
252078
  }
252049
252079
  },
252050
- "91": {
252080
+ "94": {
252051
252081
  start: {
252052
- line: 523,
252082
+ line: 535,
252053
252083
  column: 25
252054
252084
  },
252055
252085
  end: {
252056
- line: 523,
252086
+ line: 535,
252057
252087
  column: 52
252058
252088
  }
252059
252089
  },
252060
- "92": {
252090
+ "95": {
252061
252091
  start: {
252062
- line: 524,
252092
+ line: 536,
252063
252093
  column: 24
252064
252094
  },
252065
252095
  end: {
252066
- line: 524,
252096
+ line: 536,
252067
252097
  column: 44
252068
252098
  }
252069
252099
  },
252070
- "93": {
252100
+ "96": {
252071
252101
  start: {
252072
- line: 525,
252102
+ line: 537,
252073
252103
  column: 22
252074
252104
  },
252075
252105
  end: {
252076
- line: 525,
252106
+ line: 537,
252077
252107
  column: 45
252078
252108
  }
252079
252109
  },
252080
- "94": {
252110
+ "97": {
252081
252111
  start: {
252082
- line: 526,
252112
+ line: 538,
252083
252113
  column: 25
252084
252114
  },
252085
252115
  end: {
252086
- line: 526,
252116
+ line: 538,
252087
252117
  column: 48
252088
252118
  }
252089
252119
  },
252090
- "95": {
252120
+ "98": {
252091
252121
  start: {
252092
- line: 527,
252122
+ line: 539,
252093
252123
  column: 27
252094
252124
  },
252095
252125
  end: {
252096
- line: 527,
252126
+ line: 539,
252097
252127
  column: 60
252098
252128
  }
252099
252129
  },
252100
- "96": {
252130
+ "99": {
252101
252131
  start: {
252102
- line: 528,
252132
+ line: 540,
252103
252133
  column: 6
252104
252134
  },
252105
252135
  end: {
252106
- line: 528,
252136
+ line: 540,
252107
252137
  column: 66
252108
252138
  }
252109
252139
  },
252110
- "97": {
252140
+ "100": {
252111
252141
  start: {
252112
- line: 531,
252142
+ line: 543,
252113
252143
  column: 6
252114
252144
  },
252115
252145
  end: {
252116
- line: 533,
252146
+ line: 545,
252117
252147
  column: 8
252118
252148
  }
252119
252149
  },
252120
- "98": {
252150
+ "101": {
252121
252151
  start: {
252122
- line: 536,
252152
+ line: 548,
252123
252153
  column: 20
252124
252154
  },
252125
252155
  end: {
252126
- line: 536,
252156
+ line: 548,
252127
252157
  column: 46
252128
252158
  }
252129
252159
  },
252130
- "99": {
252160
+ "102": {
252131
252161
  start: {
252132
- line: 537,
252162
+ line: 549,
252133
252163
  column: 6
252134
252164
  },
252135
252165
  end: {
252136
- line: 541,
252166
+ line: 553,
252137
252167
  column: 7
252138
252168
  }
252139
252169
  },
252140
- "100": {
252170
+ "103": {
252141
252171
  start: {
252142
- line: 538,
252172
+ line: 550,
252143
252173
  column: 8
252144
252174
  },
252145
252175
  end: {
252146
- line: 538,
252176
+ line: 550,
252147
252177
  column: 65
252148
252178
  }
252149
252179
  },
252150
- "101": {
252180
+ "104": {
252151
252181
  start: {
252152
- line: 540,
252182
+ line: 552,
252153
252183
  column: 8
252154
252184
  },
252155
252185
  end: {
252156
- line: 540,
252186
+ line: 552,
252157
252187
  column: 20
252158
252188
  }
252159
252189
  }
@@ -252681,7 +252711,7 @@ var cov_d7x60homs = function () {
252681
252711
  column: 25
252682
252712
  },
252683
252713
  end: {
252684
- line: 515,
252714
+ line: 527,
252685
252715
  column: 5
252686
252716
  }
252687
252717
  },
@@ -252763,145 +252793,145 @@ var cov_d7x60homs = function () {
252763
252793
  name: "(anonymous_25)",
252764
252794
  decl: {
252765
252795
  start: {
252766
- line: 500,
252796
+ line: 512,
252767
252797
  column: 32
252768
252798
  },
252769
252799
  end: {
252770
- line: 500,
252800
+ line: 512,
252771
252801
  column: 33
252772
252802
  }
252773
252803
  },
252774
252804
  loc: {
252775
252805
  start: {
252776
- line: 500,
252777
- column: 41
252806
+ line: 512,
252807
+ column: 48
252778
252808
  },
252779
252809
  end: {
252780
- line: 509,
252810
+ line: 521,
252781
252811
  column: 11
252782
252812
  }
252783
252813
  },
252784
- line: 500
252814
+ line: 512
252785
252815
  },
252786
252816
  "26": {
252787
252817
  name: "(anonymous_26)",
252788
252818
  decl: {
252789
252819
  start: {
252790
- line: 505,
252820
+ line: 517,
252791
252821
  column: 23
252792
252822
  },
252793
252823
  end: {
252794
- line: 505,
252824
+ line: 517,
252795
252825
  column: 24
252796
252826
  }
252797
252827
  },
252798
252828
  loc: {
252799
252829
  start: {
252800
- line: 505,
252830
+ line: 517,
252801
252831
  column: 41
252802
252832
  },
252803
252833
  end: {
252804
- line: 507,
252834
+ line: 519,
252805
252835
  column: 15
252806
252836
  }
252807
252837
  },
252808
- line: 505
252838
+ line: 517
252809
252839
  },
252810
252840
  "27": {
252811
252841
  name: "(anonymous_27)",
252812
252842
  decl: {
252813
252843
  start: {
252814
- line: 516,
252844
+ line: 528,
252815
252845
  column: 4
252816
252846
  },
252817
252847
  end: {
252818
- line: 516,
252848
+ line: 528,
252819
252849
  column: 5
252820
252850
  }
252821
252851
  },
252822
252852
  loc: {
252823
252853
  start: {
252824
- line: 516,
252854
+ line: 528,
252825
252855
  column: 21
252826
252856
  },
252827
252857
  end: {
252828
- line: 521,
252858
+ line: 533,
252829
252859
  column: 5
252830
252860
  }
252831
252861
  },
252832
- line: 516
252862
+ line: 528
252833
252863
  },
252834
252864
  "28": {
252835
252865
  name: "(anonymous_28)",
252836
252866
  decl: {
252837
252867
  start: {
252838
- line: 522,
252868
+ line: 534,
252839
252869
  column: 4
252840
252870
  },
252841
252871
  end: {
252842
- line: 522,
252872
+ line: 534,
252843
252873
  column: 5
252844
252874
  }
252845
252875
  },
252846
252876
  loc: {
252847
252877
  start: {
252848
- line: 522,
252878
+ line: 534,
252849
252879
  column: 22
252850
252880
  },
252851
252881
  end: {
252852
- line: 529,
252882
+ line: 541,
252853
252883
  column: 5
252854
252884
  }
252855
252885
  },
252856
- line: 522
252886
+ line: 534
252857
252887
  },
252858
252888
  "29": {
252859
252889
  name: "(anonymous_29)",
252860
252890
  decl: {
252861
252891
  start: {
252862
- line: 530,
252892
+ line: 542,
252863
252893
  column: 4
252864
252894
  },
252865
252895
  end: {
252866
- line: 530,
252896
+ line: 542,
252867
252897
  column: 5
252868
252898
  }
252869
252899
  },
252870
252900
  loc: {
252871
252901
  start: {
252872
- line: 530,
252902
+ line: 542,
252873
252903
  column: 23
252874
252904
  },
252875
252905
  end: {
252876
- line: 534,
252906
+ line: 546,
252877
252907
  column: 5
252878
252908
  }
252879
252909
  },
252880
- line: 530
252910
+ line: 542
252881
252911
  },
252882
252912
  "30": {
252883
252913
  name: "(anonymous_30)",
252884
252914
  decl: {
252885
252915
  start: {
252886
- line: 535,
252916
+ line: 547,
252887
252917
  column: 4
252888
252918
  },
252889
252919
  end: {
252890
- line: 535,
252920
+ line: 547,
252891
252921
  column: 5
252892
252922
  }
252893
252923
  },
252894
252924
  loc: {
252895
252925
  start: {
252896
- line: 535,
252926
+ line: 547,
252897
252927
  column: 24
252898
252928
  },
252899
252929
  end: {
252900
- line: 542,
252930
+ line: 554,
252901
252931
  column: 5
252902
252932
  }
252903
252933
  },
252904
- line: 535
252934
+ line: 547
252905
252935
  }
252906
252936
  },
252907
252937
  branchMap: {
@@ -254039,176 +254069,176 @@ var cov_d7x60homs = function () {
254039
254069
  "34": {
254040
254070
  loc: {
254041
254071
  start: {
254042
- line: 499,
254072
+ line: 511,
254043
254073
  column: 22
254044
254074
  },
254045
254075
  end: {
254046
- line: 510,
254076
+ line: 522,
254047
254077
  column: 12
254048
254078
  }
254049
254079
  },
254050
254080
  type: "cond-expr",
254051
254081
  locations: [{
254052
254082
  start: {
254053
- line: 500,
254083
+ line: 512,
254054
254084
  column: 10
254055
254085
  },
254056
254086
  end: {
254057
- line: 509,
254087
+ line: 521,
254058
254088
  column: 12
254059
254089
  }
254060
254090
  }, {
254061
254091
  start: {
254062
- line: 510,
254092
+ line: 522,
254063
254093
  column: 10
254064
254094
  },
254065
254095
  end: {
254066
- line: 510,
254096
+ line: 522,
254067
254097
  column: 12
254068
254098
  }
254069
254099
  }],
254070
- line: 499
254100
+ line: 511
254071
254101
  },
254072
254102
  "35": {
254073
254103
  loc: {
254074
254104
  start: {
254075
- line: 512,
254105
+ line: 524,
254076
254106
  column: 6
254077
254107
  },
254078
254108
  end: {
254079
- line: 514,
254109
+ line: 526,
254080
254110
  column: 7
254081
254111
  }
254082
254112
  },
254083
254113
  type: "if",
254084
254114
  locations: [{
254085
254115
  start: {
254086
- line: 512,
254116
+ line: 524,
254087
254117
  column: 6
254088
254118
  },
254089
254119
  end: {
254090
- line: 514,
254120
+ line: 526,
254091
254121
  column: 7
254092
254122
  }
254093
254123
  }, {
254094
254124
  start: {
254095
- line: 512,
254125
+ line: 524,
254096
254126
  column: 6
254097
254127
  },
254098
254128
  end: {
254099
- line: 514,
254129
+ line: 526,
254100
254130
  column: 7
254101
254131
  }
254102
254132
  }],
254103
- line: 512
254133
+ line: 524
254104
254134
  },
254105
254135
  "36": {
254106
254136
  loc: {
254107
254137
  start: {
254108
- line: 512,
254138
+ line: 524,
254109
254139
  column: 10
254110
254140
  },
254111
254141
  end: {
254112
- line: 512,
254142
+ line: 524,
254113
254143
  column: 54
254114
254144
  }
254115
254145
  },
254116
254146
  type: "binary-expr",
254117
254147
  locations: [{
254118
254148
  start: {
254119
- line: 512,
254149
+ line: 524,
254120
254150
  column: 10
254121
254151
  },
254122
254152
  end: {
254123
- line: 512,
254153
+ line: 524,
254124
254154
  column: 16
254125
254155
  }
254126
254156
  }, {
254127
254157
  start: {
254128
- line: 512,
254158
+ line: 524,
254129
254159
  column: 21
254130
254160
  },
254131
254161
  end: {
254132
- line: 512,
254162
+ line: 524,
254133
254163
  column: 26
254134
254164
  }
254135
254165
  }, {
254136
254166
  start: {
254137
- line: 512,
254167
+ line: 524,
254138
254168
  column: 30
254139
254169
  },
254140
254170
  end: {
254141
- line: 512,
254171
+ line: 524,
254142
254172
  column: 53
254143
254173
  }
254144
254174
  }],
254145
- line: 512
254175
+ line: 524
254146
254176
  },
254147
254177
  "37": {
254148
254178
  loc: {
254149
254179
  start: {
254150
- line: 528,
254180
+ line: 540,
254151
254181
  column: 30
254152
254182
  },
254153
254183
  end: {
254154
- line: 528,
254184
+ line: 540,
254155
254185
  column: 66
254156
254186
  }
254157
254187
  },
254158
254188
  type: "binary-expr",
254159
254189
  locations: [{
254160
254190
  start: {
254161
- line: 528,
254191
+ line: 540,
254162
254192
  column: 30
254163
254193
  },
254164
254194
  end: {
254165
- line: 528,
254195
+ line: 540,
254166
254196
  column: 42
254167
254197
  }
254168
254198
  }, {
254169
254199
  start: {
254170
- line: 528,
254200
+ line: 540,
254171
254201
  column: 46
254172
254202
  },
254173
254203
  end: {
254174
- line: 528,
254204
+ line: 540,
254175
254205
  column: 66
254176
254206
  }
254177
254207
  }],
254178
- line: 528
254208
+ line: 540
254179
254209
  },
254180
254210
  "38": {
254181
254211
  loc: {
254182
254212
  start: {
254183
- line: 537,
254213
+ line: 549,
254184
254214
  column: 6
254185
254215
  },
254186
254216
  end: {
254187
- line: 541,
254217
+ line: 553,
254188
254218
  column: 7
254189
254219
  }
254190
254220
  },
254191
254221
  type: "if",
254192
254222
  locations: [{
254193
254223
  start: {
254194
- line: 537,
254224
+ line: 549,
254195
254225
  column: 6
254196
254226
  },
254197
254227
  end: {
254198
- line: 541,
254228
+ line: 553,
254199
254229
  column: 7
254200
254230
  }
254201
254231
  }, {
254202
254232
  start: {
254203
- line: 537,
254233
+ line: 549,
254204
254234
  column: 6
254205
254235
  },
254206
254236
  end: {
254207
- line: 541,
254237
+ line: 553,
254208
254238
  column: 7
254209
254239
  }
254210
254240
  }],
254211
- line: 537
254241
+ line: 549
254212
254242
  }
254213
254243
  },
254214
254244
  s: {
@@ -254313,7 +254343,10 @@ var cov_d7x60homs = function () {
254313
254343
  "98": 0,
254314
254344
  "99": 0,
254315
254345
  "100": 0,
254316
- "101": 0
254346
+ "101": 0,
254347
+ "102": 0,
254348
+ "103": 0,
254349
+ "104": 0
254317
254350
  },
254318
254351
  f: {
254319
254352
  "0": 0,
@@ -254393,13 +254426,13 @@ var cov_d7x60homs = function () {
254393
254426
  version: 3,
254394
254427
  sources: ["ResultsGallery.vue"],
254395
254428
  names: [],
254396
- mappings: ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiRA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA",
254429
+ mappings: ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiRA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA",
254397
254430
  file: "ResultsGallery.vue",
254398
254431
  sourceRoot: "src/components/analyses",
254399
- sourcesContent: ["<template>\n <v-dialog\n v-hotkey=\"keymap\"\n v-if=\"showDialog\"\n v-model=\"showDialog\"\n :fullscreen=\"isResultModalFullScreen\"\n scrollable\n class=\"gallery-dialog\"\n >\n <!-- style=\"transition: 0.3s\" -->\n <v-card flat class=\"gallery-card\">\n <v-card-title class=\"pa-2\">\n <v-row>\n <v-col cols=\"6\">\n <h3 class=\"font-weight-thin primary--text\">\n {{ result.verboseName }}\n </h3>\n </v-col>\n\n <v-col cols=\"6\" class=\"d-flex justify-end align-center panel-slot-actions\">\n\n <!-- toggle raw text -->\n <v-tooltip\n v-if=\"result.frontendType === 'tsv-file' && tsvHeaders.length\"\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"displayRawText = !displayRawText\"\n v-on=\"on\"\n >\n {{ displayRawText ? 'table_chart' : 'text_fields' }}\n </v-icon>\n </template>\n {{ displayRawText ? 'Display Tabulated Content' : 'Display Raw Content' }}\n </v-tooltip>\n\n <!-- download result -->\n <v-tooltip\n v-if=\"result.download\"\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"result.download\"\n v-on=\"on\"\n >\n {{ result.downloadIcon }}\n </v-icon>\n </template>\n {{ result.downloadIcon === 'open_in_new' ? 'Open in new tab' : 'Download Result' }}\n </v-tooltip>\n\n <!-- copy to clipboard -->\n <v-tooltip\n v-if=\"result.copyToClipBoard\"\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"result.copyToClipBoard\"\n v-on=\"on\"\n >\n file_copy\n </v-icon>\n </template>\n Copy to clipboard!\n </v-tooltip>\n\n <!-- external link -->\n <v-tooltip\n v-if=\"result.openExternalLink\"\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"result.openExternalLink\"\n v-on=\"on\"\n >\n info\n </v-icon>\n </template>\n Learn more!\n </v-tooltip>\n\n <!-- show from bottom -->\n <v-tooltip\n v-if=\"['raw'].includes(resultType)\"\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"reverseContent\"\n v-on=\"on\"\n >\n {{ streamOptions.reverse ? 'vertical_align_bottom' : 'vertical_align_top'}}\n </v-icon>\n </template>\n <span>\n Show content from {{ streamOptions.reverse ? 'top' : 'bottom' }}\n </span>\n </v-tooltip>\n\n <!-- show fullscreen -->\n <v-tooltip\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"toggleFullScreen\"\n v-on=\"on\"\n >\n <!-- @click=\"(isFullScreen = !isFullScreen)\" -->\n {{ isResultModalFullScreen ? 'fullscreen_exit' : 'fullscreen'}}\n </v-icon>\n </template>\n <span>\n Toggle Full Screen\n </span>\n </v-tooltip>\n\n <!-- close dialog -->\n <v-tooltip top>\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"hideDialog\"\n v-on=\"on\"\n >\n close\n </v-icon>\n </template>\n Close file\n </v-tooltip>\n </v-col>\n </v-row>\n </v-card-title>\n\n <v-row class=\"pa-0 ma-0\" style=\"height: 85vh\">\n <v-progress-linear\n v-if=\"loading\"\n class=\"panel-loader\"\n indeterminate\n height=\"2\"\n color=\"primary\"\n />\n\n <pre\n v-highlightjs=\"content\"\n v-if=\"resultType === 'raw' && resultKey === 'command_script'\"\n ref=\"raw\"\n class=\"v-markup pre-wrap\"\n >\n <code class=\"bash\" />\n </pre>\n\n <code\n v-else-if=\"isAnsi\"\n ref=\"raw\"\n class=\"v-markup\"\n >\n <pre v-html=\"content\" />\n </code>\n\n <code\n v-else-if=\"resultType === 'raw'\"\n ref=\"raw\"\n class=\"v-markup\"\n >\n <pre>\n {{ content }}\n <span v-if=\"content && !streamOptions.end\" class=\"stream-message\">\n #------- Loading more rows... -------#\n </span>\n <span v-if=\"!loading && streamOptions.end\" class=\"stream-message\">\n #------- End of file. -------#\n </span>\n </pre>\n </code>\n\n <div\n v-else-if=\"resultType === 'table'\"\n ref=\"table\"\n class=\"tsv-table\"\n >\n <v-data-table\n :headers=\"tsvHeaders\"\n :items=\"tsvItems\"\n :items-per-page=\"tsvItems.length\"\n hide-default-footer\n multi-sort\n fixed-header\n dense\n >\n <template v-slot:body=\"{ items }\">\n <tbody>\n <tr\n v-for=\"item in items\"\n :key=\"item.name\"\n >\n <td\n v-for=\"(header, index) in tsvHeaders\"\n :key=\"index + header.value\"\n class=\"text-start\"\n v-html=\"parseTsvCell($get(item, header.value))\"\n />\n </tr>\n </tbody>\n </template>\n </v-data-table>\n\n <div class=\"text-center stream-message\">\n <span v-if=\"content && !streamOptions.end\">Loading more rows...</span>\n <span v-if=\"!loading && streamOptions.end\">End of file.</span>\n </div>\n </div>\n\n <img\n v-else-if=\"resultType === 'image'\"\n :src=\"$store.getters.getBlobUrl(result.downloadUrl)\"\n :alt=\"result.verboseName\"\n class=\"results-image\"\n >\n\n <iframe\n v-else-if=\"['html', 'pdf'].includes(resultType)\"\n :src=\"$store.getters.getBlobUrl(result.downloadUrl, '')\"\n frameborder=\"0\"\n class=\"results-iframe\"\n style=\"width: 100%; height: 100%; min-height: 80vh;\"\n />\n\n <iframe\n v-else-if=\"resultType === 'igv_bam'\"\n :src=\"result.downloadUrl\"\n frameborder=\"0\"\n class=\"results-iframe\"\n style=\"width: 100%; height: 100%; min-height: 80vh;\"\n />\n\n <code\n v-else-if=\"resultType === 'number'\"\n class=\"v-markup\"\n >\n <span size=\"100px\">{{ result.value | round(3) }}</span>\n </code>\n\n <code\n v-else-if=\"['string', 'url-link'].includes(resultType)\"\n class=\"v-markup\"\n >\n <span size=\"100px\">{{ result.value }}</span>\n </code>\n </v-row>\n\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport { loadResult } from '@/utils/api'\nimport { HIDE_PANEL, SHOW_PANEL } from '@/store/actions/panels'\nimport { TOGGLE_RESULT_FULLSCREEN } from '@/store/actions/user'\nimport { GET_FILE } from '@/store/actions/files'\nimport { mapGetters } from 'vuex'\n// import { default as AnsiUp } from 'ansi_up'\n\nexport default {\n name: 'ResultsGallery',\n props: {\n resultIndex: {\n type: Number,\n },\n results: {\n type: Array,\n },\n },\n data() {\n return {\n content: '',\n displayRawText: false,\n isBottomScrolled: false,\n loading: false,\n showDialog: false,\n tsvItems: [],\n tsvHeaders: [],\n streamOptions: {\n lines: 200,\n offset: 0,\n reverse: false,\n previous: '',\n end: false,\n },\n }\n },\n computed: {\n ...mapGetters(['resultKey', 'isResultModalFullScreen']),\n keymap() {\n return {\n right: this.increaseIndex,\n left: this.decreaseIndex,\n esc: this.hideDialog,\n }\n },\n result() {\n return this.results[this.resultIndex] || {}\n },\n isAnsi() {\n return this.result && this.result.frontendType === 'ansi'\n },\n resultType() {\n if (this.result.frontendType === 'ansi') {\n return 'raw'\n } else if (this.result.frontendType === 'text-file') {\n return 'raw'\n } else if (this.result.frontendType === 'tsv-file') {\n if (\n !this.displayRawText &&\n this.tsvItems.length &&\n this.tsvHeaders.length\n ) {\n return 'table'\n } else {\n return 'raw'\n }\n } else {\n return this.result.frontendType\n }\n },\n },\n watch: {\n showDialog(value) {\n if (!value) {\n this.$store.dispatch(HIDE_PANEL, 'result')\n this.$emit('display-result', null)\n }\n },\n resultIndex(value) {\n this.showDialog = Number.isInteger(value) && value < this.results.length\n if (this.showDialog && ['raw', 'table'].includes(this.resultType)) {\n this.resetStreamEvents()\n this.loadFileContents()\n }\n },\n resultKey: {\n handler() {\n this.updateResultIndex()\n },\n immediate: true,\n },\n result(value) {\n if (value && value.resultKey) {\n this.$store.dispatch(SHOW_PANEL, {\n result: value.resultKey,\n })\n if (['html', 'pdf'].includes(value.frontendType)) {\n this.$store.dispatch(GET_FILE, value.downloadUrl)\n }\n // Track result viewed\n window.analytics.track('Result Previewed', value.analytics)\n }\n this.updateResultIndex()\n },\n isBottomScrolled(value) {\n if (value) {\n this.loadFileContents()\n }\n },\n displayRawText() {\n this.addScrollListener()\n },\n },\n methods: {\n resetStreamEvents() {\n // Reset content\n this.content = ''\n this.streamOptions = {\n lines: 200,\n offset: 0,\n reverse: false,\n previous: '',\n end: false,\n }\n // Remove listeners\n this.$nextTick(() => {\n if (this.$refs.raw) {\n this.$refs.raw.removeEventListener('scroll', this.isBottomVisible)\n }\n if (this.$refs.table) {\n this.$refs.table.removeEventListener('scroll', this.isBottomVisible)\n }\n })\n },\n addScrollListener() {\n this.$nextTick(() => {\n this.isBottomVisible()\n if (!this.isBottomScrolled) {\n if (this.$refs.raw) {\n this.$refs.raw.addEventListener('scroll', this.isBottomVisible)\n }\n if (this.$refs.table) {\n this.$refs.table.addEventListener('scroll', this.isBottomVisible)\n }\n }\n })\n },\n updateResultIndex() {\n if (this.resultKey !== this.result.resultKey) {\n this.results.forEach((result, index) => {\n if (result.resultKey === this.resultKey) {\n this.showDialog = true\n this.$emit('display-result', index)\n }\n })\n }\n },\n hideDialog() {\n if (this.showDialog) {\n this.showDialog = false\n }\n },\n increaseIndex() {\n if (this.showDialog) {\n if (this.resultIndex < this.results.length - 1) {\n this.$emit('display-result', this.resultIndex + 1)\n this.content = ''\n } else {\n this.$emit('display-result', 0)\n this.content = ''\n }\n }\n },\n decreaseIndex() {\n if (this.showDialog) {\n if (this.resultIndex > 0) {\n this.$emit('display-result', this.resultIndex - 1)\n } else {\n this.$emit('display-result', this.results.length - 1)\n }\n }\n },\n async loadFileContents() {\n const { lines, offset, reverse, end, previous } = this.streamOptions\n if (!end) {\n this.loading = true\n let content = await loadResult(\n this.result.analysis.pk,\n this.result.resultKey,\n lines,\n offset,\n reverse\n )\n this.loading = false\n\n if (content && previous !== content) {\n this.streamOptions.previous = content\n this.streamOptions.offset += lines\n this.content += content\n this.setTsvItems(this.content)\n this.addScrollListener()\n } else {\n this.streamOptions.end = true\n this.setTsvItems(this.content)\n }\n\n }\n },\n setTsvItems(content) {\n const isTsv = this.result.frontendType === 'tsv-file'\n const dataRows =\n content && isTsv\n ? content\n .split('\\n')\n .filter((row) => row)\n .filter((row) => row[0] !== '#' || row.includes('#CHROM'))\n : []\n this.tsvHeaders = dataRows.length\n ? dataRows[0].split('\\t').map((header, index) => {\n return {\n text: header,\n value: `index${index}`,\n sortable: this.streamOptions.end,\n }\n })\n : []\n this.tsvItems = dataRows.length\n ? dataRows.slice(1).map((row) => {\n let dictRow = {}\n row\n .trim()\n .split('\\t')\n .forEach((value, index) => {\n dictRow[`index${index}`] = value\n })\n return dictRow\n })\n : []\n\n if (!isTsv || (isTsv && !this.tsvHeaders.length)) {\n this.displayRawText = true\n }\n },\n reverseContent() {\n const reverse = this.streamOptions.reverse\n this.resetStreamEvents()\n this.streamOptions.reverse = !reverse\n this.loadFileContents()\n },\n isBottomVisible() {\n const divElement = this.$refs[this.resultType]\n const scrollTop = divElement.scrollTop\n const visible = divElement.clientHeight\n const pageHeight = divElement.scrollHeight\n const bottomOfPage = visible + scrollTop >= pageHeight\n this.isBottomScrolled = bottomOfPage || pageHeight < visible\n },\n toggleFullScreen() {\n this.$store.dispatch(TOGGLE_RESULT_FULLSCREEN, {\n value: !this.isResultModalFullScreen\n })\n },\n parseTsvCell(value) {\n let pattern = /^((http|https|ftp):\\/\\/)/\n if (pattern.test(value)) {\n return `<a href=\"${value}\" target=\"_blank\">Open link</a>`\n } else {\n return value\n }\n }\n\n },\n}\n</script>\n\n<style lang=\"scss\">\n.tsv-table {\n max-width: 100%;\n max-height: 100%;\n margin: 0px auto;\n overflow: auto;\n}\n.v-dialog {\n overflow-y: visible !important; // truly important for iframe performance, dont remove!\n &:not(.v-dialog--fullscreen) {\n max-height: 100% !important;\n max-width: calc(100% - 48px);\n }\n iframe.results-iframe {\n height: 100% !important;\n }\n &.gallery-dialog {\n height: calc(100vh - 60px);\n }\n}\n.results-image {\n max-width: 100%;\n max-height: 85vh;\n margin: auto;\n max-height: 100%;\n width: auto;\n}\n.gallery-card {\n ::-webkit-scrollbar {\n width: 0px;\n height: 0px;\n }\n}\n.v-application .gallery-card {\n pre {\n white-space: pre-line;\n &.pre-wrap {\n white-space: pre-wrap;\n }\n code {\n font-size: 12px;\n font-weight: 600;\n }\n }\n\n &.theme--dark code {\n background-color: rgba(0,0,0,.05);\n }\n\n code.v-markup,\n pre.v-markup {\n padding: 10px;\n width: 100%;\n height: 100%;\n text-align: start;\n box-shadow: none;\n text-shadow: none;\n display: flex;\n position: relative;\n overflow-x: auto;\n overflow-y: auto;\n margin: 0px;\n top: 0px;\n color: rgb(255, 255, 255);\n border-radius: 0px;\n background: rgb(0, 0, 0);\n font-size: 12px;\n font-weight: 600;\n\n code.hljs {\n font-size: 12px;\n padding: 0px;\n\n .hljs-string,\n .hljs-bullet,\n .hljs-subst,\n .hljs-title,\n .hljs-section,\n .hljs-emphasis,\n .hljs-type,\n .hljs-built_in,\n .hljs-builtin-name,\n .hljs-selector-attr,\n .hljs-selector-pseudo,\n .hljs-addition,\n .hljs-variable,\n .hljs-template-tag,\n .hljs-template-variable {\n color: var(--v-warning-base);\n }\n }\n }\n\n .tsv-table {\n border-top: thin solid rgba(0,0,0,.12);\n thead tr {\n th {\n background: var(--v-background-base);\n max-width: 250px;\n white-space: nowrap;\n span {\n font-size: 12px;\n font-family: Roboto;\n color: #333333;\n }\n }\n }\n tbody tr {\n td {\n font-size: 12px;\n font-family: Roboto;\n overflow-x: auto;\n white-space: nowrap;\n max-width: 250px;\n }\n }\n }\n\n .stream-message {\n font-size: 12px;\n font-style: italic;\n margin: 20px 0px;\n }\n}\n</style>\n"]
254432
+ sourcesContent: ["<template>\n <v-dialog\n v-hotkey=\"keymap\"\n v-if=\"showDialog\"\n v-model=\"showDialog\"\n :fullscreen=\"isResultModalFullScreen\"\n scrollable\n class=\"gallery-dialog\"\n >\n <!-- style=\"transition: 0.3s\" -->\n <v-card flat class=\"gallery-card\">\n <v-card-title class=\"pa-2\">\n <v-row>\n <v-col cols=\"6\">\n <h3 class=\"font-weight-thin primary--text\">\n {{ result.verboseName }}\n </h3>\n </v-col>\n\n <v-col cols=\"6\" class=\"d-flex justify-end align-center panel-slot-actions\">\n\n <!-- toggle raw text -->\n <v-tooltip\n v-if=\"result.frontendType === 'tsv-file' && tsvHeaders.length\"\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"displayRawText = !displayRawText\"\n v-on=\"on\"\n >\n {{ displayRawText ? 'table_chart' : 'text_fields' }}\n </v-icon>\n </template>\n {{ displayRawText ? 'Display Tabulated Content' : 'Display Raw Content' }}\n </v-tooltip>\n\n <!-- download result -->\n <v-tooltip\n v-if=\"result.download\"\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"result.download\"\n v-on=\"on\"\n >\n {{ result.downloadIcon }}\n </v-icon>\n </template>\n {{ result.downloadIcon === 'open_in_new' ? 'Open in new tab' : 'Download Result' }}\n </v-tooltip>\n\n <!-- copy to clipboard -->\n <v-tooltip\n v-if=\"result.copyToClipBoard\"\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"result.copyToClipBoard\"\n v-on=\"on\"\n >\n file_copy\n </v-icon>\n </template>\n Copy to clipboard!\n </v-tooltip>\n\n <!-- external link -->\n <v-tooltip\n v-if=\"result.openExternalLink\"\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"result.openExternalLink\"\n v-on=\"on\"\n >\n info\n </v-icon>\n </template>\n Learn more!\n </v-tooltip>\n\n <!-- show from bottom -->\n <v-tooltip\n v-if=\"['raw'].includes(resultType)\"\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"reverseContent\"\n v-on=\"on\"\n >\n {{ streamOptions.reverse ? 'vertical_align_bottom' : 'vertical_align_top'}}\n </v-icon>\n </template>\n <span>\n Show content from {{ streamOptions.reverse ? 'top' : 'bottom' }}\n </span>\n </v-tooltip>\n\n <!-- show fullscreen -->\n <v-tooltip\n top\n >\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"toggleFullScreen\"\n v-on=\"on\"\n >\n <!-- @click=\"(isFullScreen = !isFullScreen)\" -->\n {{ isResultModalFullScreen ? 'fullscreen_exit' : 'fullscreen'}}\n </v-icon>\n </template>\n <span>\n Toggle Full Screen\n </span>\n </v-tooltip>\n\n <!-- close dialog -->\n <v-tooltip top>\n <template v-slot:activator=\"{ on }\">\n <v-icon\n class=\"primary--text ml-4\"\n small\n @click=\"hideDialog\"\n v-on=\"on\"\n >\n close\n </v-icon>\n </template>\n Close file\n </v-tooltip>\n </v-col>\n </v-row>\n </v-card-title>\n\n <v-row class=\"pa-0 ma-0 gallery-content\" style=\"height: 85vh\">\n <v-progress-linear\n v-if=\"loading\"\n class=\"panel-loader\"\n indeterminate\n height=\"2\"\n color=\"primary\"\n />\n\n <pre\n v-highlightjs=\"content\"\n v-if=\"resultType === 'raw' && resultKey === 'command_script'\"\n ref=\"raw\"\n class=\"v-markup pre-wrap\"\n >\n <code class=\"bash\" />\n </pre>\n\n <code\n v-else-if=\"isAnsi\"\n ref=\"raw\"\n class=\"v-markup\"\n >\n <pre v-html=\"content\" />\n </code>\n\n <code\n v-else-if=\"resultType === 'raw'\"\n ref=\"raw\"\n class=\"v-markup\"\n >\n <pre>\n {{ content }}\n <span v-if=\"content && !streamOptions.end\" class=\"stream-message\">\n #------- Loading more rows... -------#\n </span>\n <span v-if=\"!loading && streamOptions.end\" class=\"stream-message\">\n #------- End of file. -------#\n </span>\n </pre>\n </code>\n\n <div\n v-else-if=\"resultType === 'table'\"\n ref=\"table\"\n class=\"tsv-table\"\n >\n <v-data-table\n :headers=\"tsvHeaders\"\n :items=\"tsvItems\"\n :items-per-page=\"tsvItems.length\"\n hide-default-footer\n multi-sort\n fixed-header\n dense\n >\n <template v-slot:body=\"{ items }\">\n <tbody>\n <tr\n v-for=\"item in items\"\n :key=\"item.name\"\n >\n <td\n v-for=\"(header, index) in tsvHeaders\"\n :key=\"index + header.value\"\n :class=\"[header.value === 'index' ? 'line-column text' : '']\"\n v-html=\"parseTsvCell($get(item, header.value))\"\n />\n </tr>\n </tbody>\n </template>\n </v-data-table>\n\n <div class=\"text-center stream-message\">\n <span v-if=\"content && !streamOptions.end\">Loading more rows...</span>\n <span v-if=\"!loading && streamOptions.end\">End of file.</span>\n </div>\n </div>\n\n <img\n v-else-if=\"resultType === 'image'\"\n :src=\"$store.getters.getBlobUrl(result.downloadUrl)\"\n :alt=\"result.verboseName\"\n class=\"results-image\"\n >\n\n <iframe\n v-else-if=\"['html', 'pdf'].includes(resultType)\"\n :src=\"$store.getters.getBlobUrl(result.downloadUrl, '')\"\n frameborder=\"0\"\n class=\"results-iframe\"\n style=\"width: 100%; height: 100%; min-height: 80vh;\"\n />\n\n <iframe\n v-else-if=\"resultType === 'igv_bam'\"\n :src=\"result.downloadUrl\"\n frameborder=\"0\"\n class=\"results-iframe\"\n style=\"width: 100%; height: 100%; min-height: 80vh;\"\n />\n\n <code\n v-else-if=\"resultType === 'number'\"\n class=\"v-markup\"\n >\n <span size=\"100px\">{{ result.value | round(3) }}</span>\n </code>\n\n <code\n v-else-if=\"['string', 'url-link'].includes(resultType)\"\n class=\"v-markup\"\n >\n <span size=\"100px\">{{ result.value }}</span>\n </code>\n </v-row>\n\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport { loadResult } from '@/utils/api'\nimport { HIDE_PANEL, SHOW_PANEL } from '@/store/actions/panels'\nimport { TOGGLE_RESULT_FULLSCREEN } from '@/store/actions/user'\nimport { GET_FILE } from '@/store/actions/files'\nimport { mapGetters } from 'vuex'\n// import { default as AnsiUp } from 'ansi_up'\n\nexport default {\n name: 'ResultsGallery',\n props: {\n resultIndex: {\n type: Number,\n },\n results: {\n type: Array,\n },\n },\n data() {\n return {\n content: '',\n displayRawText: false,\n isBottomScrolled: false,\n loading: false,\n showDialog: false,\n tsvItems: [],\n tsvHeaders: [],\n streamOptions: {\n lines: 200,\n offset: 0,\n reverse: false,\n previous: '',\n end: false,\n },\n }\n },\n computed: {\n ...mapGetters(['resultKey', 'isResultModalFullScreen']),\n keymap() {\n return {\n right: this.increaseIndex,\n left: this.decreaseIndex,\n esc: this.hideDialog,\n }\n },\n result() {\n return this.results[this.resultIndex] || {}\n },\n isAnsi() {\n return this.result && this.result.frontendType === 'ansi'\n },\n resultType() {\n if (this.result.frontendType === 'ansi') {\n return 'raw'\n } else if (this.result.frontendType === 'text-file') {\n return 'raw'\n } else if (this.result.frontendType === 'tsv-file') {\n if (\n !this.displayRawText &&\n this.tsvItems.length &&\n this.tsvHeaders.length\n ) {\n return 'table'\n } else {\n return 'raw'\n }\n } else {\n return this.result.frontendType\n }\n },\n },\n watch: {\n showDialog(value) {\n if (!value) {\n this.$store.dispatch(HIDE_PANEL, 'result')\n this.$emit('display-result', null)\n }\n },\n resultIndex(value) {\n this.showDialog = Number.isInteger(value) && value < this.results.length\n if (this.showDialog && ['raw', 'table'].includes(this.resultType)) {\n this.resetStreamEvents()\n this.loadFileContents()\n }\n },\n resultKey: {\n handler() {\n this.updateResultIndex()\n },\n immediate: true,\n },\n result(value) {\n if (value && value.resultKey) {\n this.$store.dispatch(SHOW_PANEL, {\n result: value.resultKey,\n })\n if (['html', 'pdf'].includes(value.frontendType)) {\n this.$store.dispatch(GET_FILE, value.downloadUrl)\n }\n // Track result viewed\n window.analytics.track('Result Previewed', value.analytics)\n }\n this.updateResultIndex()\n },\n isBottomScrolled(value) {\n if (value) {\n this.loadFileContents()\n }\n },\n displayRawText() {\n this.addScrollListener()\n },\n },\n methods: {\n resetStreamEvents() {\n // Reset content\n this.content = ''\n this.streamOptions = {\n lines: 200,\n offset: 0,\n reverse: false,\n previous: '',\n end: false,\n }\n // Remove listeners\n this.$nextTick(() => {\n if (this.$refs.raw) {\n this.$refs.raw.removeEventListener('scroll', this.isBottomVisible)\n }\n if (this.$refs.table) {\n this.$refs.table.removeEventListener('scroll', this.isBottomVisible)\n }\n })\n },\n addScrollListener() {\n this.$nextTick(() => {\n this.isBottomVisible()\n if (!this.isBottomScrolled) {\n if (this.$refs.raw) {\n this.$refs.raw.addEventListener('scroll', this.isBottomVisible)\n }\n if (this.$refs.table) {\n this.$refs.table.addEventListener('scroll', this.isBottomVisible)\n }\n }\n })\n },\n updateResultIndex() {\n if (this.resultKey !== this.result.resultKey) {\n this.results.forEach((result, index) => {\n if (result.resultKey === this.resultKey) {\n this.showDialog = true\n this.$emit('display-result', index)\n }\n })\n }\n },\n hideDialog() {\n if (this.showDialog) {\n this.showDialog = false\n }\n },\n increaseIndex() {\n if (this.showDialog) {\n if (this.resultIndex < this.results.length - 1) {\n this.$emit('display-result', this.resultIndex + 1)\n this.content = ''\n } else {\n this.$emit('display-result', 0)\n this.content = ''\n }\n }\n },\n decreaseIndex() {\n if (this.showDialog) {\n if (this.resultIndex > 0) {\n this.$emit('display-result', this.resultIndex - 1)\n } else {\n this.$emit('display-result', this.results.length - 1)\n }\n }\n },\n async loadFileContents() {\n const { lines, offset, reverse, end, previous } = this.streamOptions\n if (!end) {\n this.loading = true\n let content = await loadResult(\n this.result.analysis.pk,\n this.result.resultKey,\n lines,\n offset,\n reverse\n )\n this.loading = false\n\n if (content && previous !== content) {\n this.streamOptions.previous = content\n this.streamOptions.offset += lines\n this.content += content\n this.setTsvItems(this.content)\n this.addScrollListener()\n } else {\n this.streamOptions.end = true\n this.setTsvItems(this.content)\n }\n\n }\n },\n setTsvItems(content) {\n const isTsv = this.result.frontendType === 'tsv-file'\n const dataRows =\n content && isTsv\n ? content\n .split('\\n')\n .filter((row) => row)\n .filter((row) => row[0] !== '#' || row.includes('#CHROM'))\n : []\n this.tsvHeaders = dataRows.length\n ? dataRows[0].split('\\t').map((header, index) => {\n return {\n text: header,\n value: `index${index}`,\n sortable: this.streamOptions.end,\n }\n })\n : []\n\n console.log('before', this.tsvHeaders)\n\n this.tsvHeaders.unshift({\n text: 1,\n value: 'index',\n sortable: this.streamOptions.end,\n align: 'end',\n })\n\n console.log('after', this.tsvHeaders)\n\n this.tsvItems = dataRows.length\n ? dataRows.slice(1).map((row, index) => {\n let dictRow = { index: index + 2 }\n row\n .trim()\n .split('\\t')\n .forEach((value, index) => {\n dictRow[`index${index}`] = value\n })\n return dictRow\n })\n : []\n\n if (!isTsv || (isTsv && !this.tsvHeaders.length)) {\n this.displayRawText = true\n }\n },\n reverseContent() {\n const reverse = this.streamOptions.reverse\n this.resetStreamEvents()\n this.streamOptions.reverse = !reverse\n this.loadFileContents()\n },\n isBottomVisible() {\n const divElement = this.$refs[this.resultType]\n const scrollTop = divElement.scrollTop\n const visible = divElement.clientHeight\n const pageHeight = divElement.scrollHeight\n const bottomOfPage = visible + scrollTop >= pageHeight\n this.isBottomScrolled = bottomOfPage || pageHeight < visible\n },\n toggleFullScreen() {\n this.$store.dispatch(TOGGLE_RESULT_FULLSCREEN, {\n value: !this.isResultModalFullScreen\n })\n },\n parseTsvCell(value) {\n let pattern = /^((http|https|ftp):\\/\\/)/\n if (pattern.test(value)) {\n return `<a href=\"${value}\" target=\"_blank\">Open link</a>`\n } else {\n return value\n }\n }\n\n },\n}\n</script>\n\n<style lang=\"scss\">\n.tsv-table {\n max-width: 100%;\n max-height: 100%;\n margin: 0px auto;\n overflow: auto;\n}\n.v-dialog {\n overflow-y: visible !important; // truly important for iframe performance, dont remove!\n &:not(.v-dialog--fullscreen) {\n max-height: 100% !important;\n max-width: calc(100% - 48px);\n }\n iframe.results-iframe {\n height: 100% !important;\n }\n &.gallery-dialog {\n height: calc(100vh - 60px);\n }\n}\n.results-image {\n max-width: 100%;\n max-height: 85vh;\n margin: auto;\n max-height: 100%;\n width: auto;\n}\n.gallery-card {\n ::-webkit-scrollbar {\n width: 0px;\n height: 0px;\n }\n}\n.v-application .gallery-card {\n .gallery-content {\n background: var(--v-background-base);\n }\n\n pre {\n white-space: pre-line;\n &.pre-wrap {\n white-space: pre-wrap;\n }\n code {\n font-size: 12px;\n font-weight: 600;\n }\n }\n\n &.theme--dark code {\n background-color: rgba(0,0,0,.05);\n }\n\n code.v-markup,\n pre.v-markup {\n padding: 10px;\n width: 100%;\n height: 100%;\n text-align: start;\n box-shadow: none;\n text-shadow: none;\n display: flex;\n position: relative;\n overflow-x: auto;\n overflow-y: auto;\n margin: 0px;\n top: 0px;\n color: rgb(255, 255, 255);\n border-radius: 0px;\n background: rgb(0, 0, 0);\n font-size: 12px;\n font-weight: 600;\n\n code.hljs {\n font-size: 12px;\n padding: 0px;\n\n .hljs-string,\n .hljs-bullet,\n .hljs-subst,\n .hljs-title,\n .hljs-section,\n .hljs-emphasis,\n .hljs-type,\n .hljs-built_in,\n .hljs-builtin-name,\n .hljs-selector-attr,\n .hljs-selector-pseudo,\n .hljs-addition,\n .hljs-variable,\n .hljs-template-tag,\n .hljs-template-variable {\n color: var(--v-warning-base);\n }\n }\n }\n\n .tsv-table {\n border: thin solid rgba(0,0,0,.12);\n margin-left: 0;\n\n .theme--dark {\n thead tr th {\n background: var(--v-surface-darken1);\n span {\n color: #9e9e9e;\n }\n }\n tbody tr td {\n background: var(--v-background-base);\n span {\n color: #9e9e9e;\n }\n }\n }\n\n thead tr {\n th {\n background: var(--v-background-base);\n max-width: 250px;\n white-space: nowrap;\n span {\n font-size: 12px;\n font-family: Roboto;\n color: #333333;\n }\n }\n }\n tbody tr {\n td {\n font-size: 12px;\n font-family: Roboto;\n overflow-x: auto;\n white-space: nowrap;\n max-width: 250px;\n &.line-column {\n background: var(--v-surface-darken1);\n width: 50px;\n text-align: right;\n padding-left: 0;\n }\n }\n }\n }\n\n .stream-message {\n font-size: 12px;\n font-style: italic;\n margin: 20px 0px;\n }\n}\n</style>\n"]
254400
254433
  },
254401
254434
  _coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
254402
- hash: "9dad9dbc041f286285d3716e55e9244899a3e99e"
254435
+ hash: "a7a0e9116789c5e096ee66495ebce623be882864"
254403
254436
  };
254404
254437
  var coverage = global[gcv] || (global[gcv] = {});
254405
254438
 
@@ -255144,23 +255177,36 @@ function ResultsGalleryvue_type_script_lang_js_defineProperty(obj, key, value) {
255144
255177
  };
255145
255178
  })) : (cov_d7x60homs.b[33][1]++, []);
255146
255179
  cov_d7x60homs.s[80]++;
255147
- this.tsvItems = dataRows.length ? (cov_d7x60homs.b[34][0]++, dataRows.slice(1).map(function (row) {
255180
+ console.log('before', this.tsvHeaders);
255181
+ cov_d7x60homs.s[81]++;
255182
+ this.tsvHeaders.unshift({
255183
+ text: 1,
255184
+ value: 'index',
255185
+ sortable: this.streamOptions.end,
255186
+ align: 'end'
255187
+ });
255188
+ cov_d7x60homs.s[82]++;
255189
+ console.log('after', this.tsvHeaders);
255190
+ cov_d7x60homs.s[83]++;
255191
+ this.tsvItems = dataRows.length ? (cov_d7x60homs.b[34][0]++, dataRows.slice(1).map(function (row, index) {
255148
255192
  cov_d7x60homs.f[25]++;
255149
- var dictRow = (cov_d7x60homs.s[81]++, {});
255150
- cov_d7x60homs.s[82]++;
255193
+ var dictRow = (cov_d7x60homs.s[84]++, {
255194
+ index: index + 2
255195
+ });
255196
+ cov_d7x60homs.s[85]++;
255151
255197
  row.trim().split('\t').forEach(function (value, index) {
255152
255198
  cov_d7x60homs.f[26]++;
255153
- cov_d7x60homs.s[83]++;
255199
+ cov_d7x60homs.s[86]++;
255154
255200
  dictRow["index".concat(index)] = value;
255155
255201
  });
255156
- cov_d7x60homs.s[84]++;
255202
+ cov_d7x60homs.s[87]++;
255157
255203
  return dictRow;
255158
255204
  })) : (cov_d7x60homs.b[34][1]++, []);
255159
- cov_d7x60homs.s[85]++;
255205
+ cov_d7x60homs.s[88]++;
255160
255206
 
255161
255207
  if ((cov_d7x60homs.b[36][0]++, !isTsv) || (cov_d7x60homs.b[36][1]++, isTsv) && (cov_d7x60homs.b[36][2]++, !this.tsvHeaders.length)) {
255162
255208
  cov_d7x60homs.b[35][0]++;
255163
- cov_d7x60homs.s[86]++;
255209
+ cov_d7x60homs.s[89]++;
255164
255210
  this.displayRawText = true;
255165
255211
  } else {
255166
255212
  cov_d7x60homs.b[35][1]++;
@@ -255168,43 +255214,43 @@ function ResultsGalleryvue_type_script_lang_js_defineProperty(obj, key, value) {
255168
255214
  },
255169
255215
  reverseContent: function reverseContent() {
255170
255216
  cov_d7x60homs.f[27]++;
255171
- var reverse = (cov_d7x60homs.s[87]++, this.streamOptions.reverse);
255172
- cov_d7x60homs.s[88]++;
255217
+ var reverse = (cov_d7x60homs.s[90]++, this.streamOptions.reverse);
255218
+ cov_d7x60homs.s[91]++;
255173
255219
  this.resetStreamEvents();
255174
- cov_d7x60homs.s[89]++;
255220
+ cov_d7x60homs.s[92]++;
255175
255221
  this.streamOptions.reverse = !reverse;
255176
- cov_d7x60homs.s[90]++;
255222
+ cov_d7x60homs.s[93]++;
255177
255223
  this.loadFileContents();
255178
255224
  },
255179
255225
  isBottomVisible: function isBottomVisible() {
255180
255226
  cov_d7x60homs.f[28]++;
255181
- var divElement = (cov_d7x60homs.s[91]++, this.$refs[this.resultType]);
255182
- var scrollTop = (cov_d7x60homs.s[92]++, divElement.scrollTop);
255183
- var visible = (cov_d7x60homs.s[93]++, divElement.clientHeight);
255184
- var pageHeight = (cov_d7x60homs.s[94]++, divElement.scrollHeight);
255185
- var bottomOfPage = (cov_d7x60homs.s[95]++, visible + scrollTop >= pageHeight);
255186
- cov_d7x60homs.s[96]++;
255227
+ var divElement = (cov_d7x60homs.s[94]++, this.$refs[this.resultType]);
255228
+ var scrollTop = (cov_d7x60homs.s[95]++, divElement.scrollTop);
255229
+ var visible = (cov_d7x60homs.s[96]++, divElement.clientHeight);
255230
+ var pageHeight = (cov_d7x60homs.s[97]++, divElement.scrollHeight);
255231
+ var bottomOfPage = (cov_d7x60homs.s[98]++, visible + scrollTop >= pageHeight);
255232
+ cov_d7x60homs.s[99]++;
255187
255233
  this.isBottomScrolled = (cov_d7x60homs.b[37][0]++, bottomOfPage) || (cov_d7x60homs.b[37][1]++, pageHeight < visible);
255188
255234
  },
255189
255235
  toggleFullScreen: function toggleFullScreen() {
255190
255236
  cov_d7x60homs.f[29]++;
255191
- cov_d7x60homs.s[97]++;
255237
+ cov_d7x60homs.s[100]++;
255192
255238
  this.$store.dispatch(TOGGLE_RESULT_FULLSCREEN, {
255193
255239
  value: !this.isResultModalFullScreen
255194
255240
  });
255195
255241
  },
255196
255242
  parseTsvCell: function parseTsvCell(value) {
255197
255243
  cov_d7x60homs.f[30]++;
255198
- var pattern = (cov_d7x60homs.s[98]++, /^((http|https|ftp):\/\/)/);
255199
- cov_d7x60homs.s[99]++;
255244
+ var pattern = (cov_d7x60homs.s[101]++, /^((http|https|ftp):\/\/)/);
255245
+ cov_d7x60homs.s[102]++;
255200
255246
 
255201
255247
  if (pattern.test(value)) {
255202
255248
  cov_d7x60homs.b[38][0]++;
255203
- cov_d7x60homs.s[100]++;
255249
+ cov_d7x60homs.s[103]++;
255204
255250
  return "<a href=\"".concat(value, "\" target=\"_blank\">Open link</a>");
255205
255251
  } else {
255206
255252
  cov_d7x60homs.b[38][1]++;
255207
- cov_d7x60homs.s[101]++;
255253
+ cov_d7x60homs.s[104]++;
255208
255254
  return value;
255209
255255
  }
255210
255256
  }
@@ -255226,8 +255272,8 @@ var ResultsGalleryvue_type_style_index_0_lang_scss_ = __webpack_require__("3942"
255226
255272
 
255227
255273
  var ResultsGallery_component = normalizeComponent(
255228
255274
  analyses_ResultsGalleryvue_type_script_lang_js_,
255229
- ResultsGalleryvue_type_template_id_b8e976ce_render,
255230
- ResultsGalleryvue_type_template_id_b8e976ce_staticRenderFns,
255275
+ ResultsGalleryvue_type_template_id_083d76b5_render,
255276
+ ResultsGalleryvue_type_template_id_083d76b5_staticRenderFns,
255231
255277
  false,
255232
255278
  null,
255233
255279
  null,