@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.
- package/dist/isabl-web.common.js +221 -175
- package/dist/isabl-web.umd.js +221 -175
- package/dist/isabl-web.umd.min.js +3 -3
- package/package.json +2 -2
package/dist/isabl-web.umd.js
CHANGED
|
@@ -90878,7 +90878,7 @@ module.exports = overArg;
|
|
|
90878
90878
|
/***/ "9224":
|
|
90879
90879
|
/***/ (function(module) {
|
|
90880
90880
|
|
|
90881
|
-
module.exports = JSON.parse("{\"name\":\"@papaemmelab/isabl-web\",\"version\":\"0.3.
|
|
90881
|
+
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\"}");
|
|
90882
90882
|
|
|
90883
90883
|
/***/ }),
|
|
90884
90884
|
|
|
@@ -178569,7 +178569,7 @@ exports = module.exports = __webpack_require__("2350")(false);
|
|
|
178569
178569
|
|
|
178570
178570
|
|
|
178571
178571
|
// module
|
|
178572
|
-
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
|
|
178572
|
+
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}", ""]);
|
|
178573
178573
|
|
|
178574
178574
|
// exports
|
|
178575
178575
|
|
|
@@ -204871,9 +204871,9 @@ var lightTheme = (cov_2qw9wivsj.s[0]++, {
|
|
|
204871
204871
|
var settings_darkTheme = (cov_2qw9wivsj.s[1]++, {
|
|
204872
204872
|
primary: '#2196f3',
|
|
204873
204873
|
secondary: '#ff6f00',
|
|
204874
|
-
background: '#
|
|
204875
|
-
accent: '#
|
|
204876
|
-
surface: '#
|
|
204874
|
+
background: '#1a202c',
|
|
204875
|
+
accent: '#4a5568',
|
|
204876
|
+
surface: '#3a4556',
|
|
204877
204877
|
success: '#4caf50',
|
|
204878
204878
|
error: '#ff5252',
|
|
204879
204879
|
info: '#2196f3',
|
|
@@ -251114,8 +251114,8 @@ var RerunButton_component = normalizeComponent(
|
|
|
251114
251114
|
)
|
|
251115
251115
|
|
|
251116
251116
|
/* harmony default export */ var RerunButton = (RerunButton_component.exports);
|
|
251117
|
-
// 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=
|
|
251118
|
-
var
|
|
251117
|
+
// 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&
|
|
251118
|
+
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){
|
|
251119
251119
|
var on = ref.on;
|
|
251120
251120
|
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){
|
|
251121
251121
|
var on = ref.on;
|
|
@@ -251129,18 +251129,18 @@ return [_c('v-icon',_vm._g({staticClass:"primary--text ml-4",attrs:{"small":""},
|
|
|
251129
251129
|
var on = ref.on;
|
|
251130
251130
|
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){
|
|
251131
251131
|
var on = ref.on;
|
|
251132
|
-
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){
|
|
251132
|
+
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){
|
|
251133
251133
|
var items = ref.items;
|
|
251134
|
-
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,
|
|
251135
|
-
var
|
|
251134
|
+
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()}
|
|
251135
|
+
var ResultsGalleryvue_type_template_id_083d76b5_staticRenderFns = []
|
|
251136
251136
|
|
|
251137
251137
|
|
|
251138
|
-
// CONCATENATED MODULE: ./src/components/analyses/ResultsGallery.vue?vue&type=template&id=
|
|
251138
|
+
// CONCATENATED MODULE: ./src/components/analyses/ResultsGallery.vue?vue&type=template&id=083d76b5&
|
|
251139
251139
|
|
|
251140
251140
|
// 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&
|
|
251141
251141
|
var cov_d7x60homs = function () {
|
|
251142
251142
|
var path = "/Users/juanes/papaemmelab/isabl_web/src/components/analyses/ResultsGallery.vue";
|
|
251143
|
-
var hash = "
|
|
251143
|
+
var hash = "a7a0e9116789c5e096ee66495ebce623be882864";
|
|
251144
251144
|
var global = new Function("return this")();
|
|
251145
251145
|
var gcv = "__coverage__";
|
|
251146
251146
|
var coverageData = {
|
|
@@ -251948,221 +251948,251 @@ var cov_d7x60homs = function () {
|
|
|
251948
251948
|
},
|
|
251949
251949
|
"80": {
|
|
251950
251950
|
start: {
|
|
251951
|
-
line:
|
|
251951
|
+
line: 500,
|
|
251952
251952
|
column: 6
|
|
251953
251953
|
},
|
|
251954
251954
|
end: {
|
|
251955
|
-
line:
|
|
251956
|
-
column:
|
|
251955
|
+
line: 500,
|
|
251956
|
+
column: 44
|
|
251957
251957
|
}
|
|
251958
251958
|
},
|
|
251959
251959
|
"81": {
|
|
251960
251960
|
start: {
|
|
251961
|
-
line:
|
|
251962
|
-
column:
|
|
251961
|
+
line: 502,
|
|
251962
|
+
column: 6
|
|
251963
251963
|
},
|
|
251964
251964
|
end: {
|
|
251965
|
-
line:
|
|
251966
|
-
column:
|
|
251965
|
+
line: 507,
|
|
251966
|
+
column: 8
|
|
251967
251967
|
}
|
|
251968
251968
|
},
|
|
251969
251969
|
"82": {
|
|
251970
251970
|
start: {
|
|
251971
|
-
line:
|
|
251971
|
+
line: 509,
|
|
251972
|
+
column: 6
|
|
251973
|
+
},
|
|
251974
|
+
end: {
|
|
251975
|
+
line: 509,
|
|
251976
|
+
column: 43
|
|
251977
|
+
}
|
|
251978
|
+
},
|
|
251979
|
+
"83": {
|
|
251980
|
+
start: {
|
|
251981
|
+
line: 511,
|
|
251982
|
+
column: 6
|
|
251983
|
+
},
|
|
251984
|
+
end: {
|
|
251985
|
+
line: 522,
|
|
251972
251986
|
column: 12
|
|
251987
|
+
}
|
|
251988
|
+
},
|
|
251989
|
+
"84": {
|
|
251990
|
+
start: {
|
|
251991
|
+
line: 513,
|
|
251992
|
+
column: 26
|
|
251973
251993
|
},
|
|
251974
251994
|
end: {
|
|
251975
|
-
line:
|
|
251995
|
+
line: 513,
|
|
251996
|
+
column: 46
|
|
251997
|
+
}
|
|
251998
|
+
},
|
|
251999
|
+
"85": {
|
|
252000
|
+
start: {
|
|
252001
|
+
line: 514,
|
|
252002
|
+
column: 12
|
|
252003
|
+
},
|
|
252004
|
+
end: {
|
|
252005
|
+
line: 519,
|
|
251976
252006
|
column: 16
|
|
251977
252007
|
}
|
|
251978
252008
|
},
|
|
251979
|
-
"
|
|
252009
|
+
"86": {
|
|
251980
252010
|
start: {
|
|
251981
|
-
line:
|
|
252011
|
+
line: 518,
|
|
251982
252012
|
column: 16
|
|
251983
252013
|
},
|
|
251984
252014
|
end: {
|
|
251985
|
-
line:
|
|
252015
|
+
line: 518,
|
|
251986
252016
|
column: 48
|
|
251987
252017
|
}
|
|
251988
252018
|
},
|
|
251989
|
-
"
|
|
252019
|
+
"87": {
|
|
251990
252020
|
start: {
|
|
251991
|
-
line:
|
|
252021
|
+
line: 520,
|
|
251992
252022
|
column: 12
|
|
251993
252023
|
},
|
|
251994
252024
|
end: {
|
|
251995
|
-
line:
|
|
252025
|
+
line: 520,
|
|
251996
252026
|
column: 26
|
|
251997
252027
|
}
|
|
251998
252028
|
},
|
|
251999
|
-
"
|
|
252029
|
+
"88": {
|
|
252000
252030
|
start: {
|
|
252001
|
-
line:
|
|
252031
|
+
line: 524,
|
|
252002
252032
|
column: 6
|
|
252003
252033
|
},
|
|
252004
252034
|
end: {
|
|
252005
|
-
line:
|
|
252035
|
+
line: 526,
|
|
252006
252036
|
column: 7
|
|
252007
252037
|
}
|
|
252008
252038
|
},
|
|
252009
|
-
"
|
|
252039
|
+
"89": {
|
|
252010
252040
|
start: {
|
|
252011
|
-
line:
|
|
252041
|
+
line: 525,
|
|
252012
252042
|
column: 8
|
|
252013
252043
|
},
|
|
252014
252044
|
end: {
|
|
252015
|
-
line:
|
|
252045
|
+
line: 525,
|
|
252016
252046
|
column: 34
|
|
252017
252047
|
}
|
|
252018
252048
|
},
|
|
252019
|
-
"
|
|
252049
|
+
"90": {
|
|
252020
252050
|
start: {
|
|
252021
|
-
line:
|
|
252051
|
+
line: 529,
|
|
252022
252052
|
column: 22
|
|
252023
252053
|
},
|
|
252024
252054
|
end: {
|
|
252025
|
-
line:
|
|
252055
|
+
line: 529,
|
|
252026
252056
|
column: 48
|
|
252027
252057
|
}
|
|
252028
252058
|
},
|
|
252029
|
-
"
|
|
252059
|
+
"91": {
|
|
252030
252060
|
start: {
|
|
252031
|
-
line:
|
|
252061
|
+
line: 530,
|
|
252032
252062
|
column: 6
|
|
252033
252063
|
},
|
|
252034
252064
|
end: {
|
|
252035
|
-
line:
|
|
252065
|
+
line: 530,
|
|
252036
252066
|
column: 30
|
|
252037
252067
|
}
|
|
252038
252068
|
},
|
|
252039
|
-
"
|
|
252069
|
+
"92": {
|
|
252040
252070
|
start: {
|
|
252041
|
-
line:
|
|
252071
|
+
line: 531,
|
|
252042
252072
|
column: 6
|
|
252043
252073
|
},
|
|
252044
252074
|
end: {
|
|
252045
|
-
line:
|
|
252075
|
+
line: 531,
|
|
252046
252076
|
column: 43
|
|
252047
252077
|
}
|
|
252048
252078
|
},
|
|
252049
|
-
"
|
|
252079
|
+
"93": {
|
|
252050
252080
|
start: {
|
|
252051
|
-
line:
|
|
252081
|
+
line: 532,
|
|
252052
252082
|
column: 6
|
|
252053
252083
|
},
|
|
252054
252084
|
end: {
|
|
252055
|
-
line:
|
|
252085
|
+
line: 532,
|
|
252056
252086
|
column: 29
|
|
252057
252087
|
}
|
|
252058
252088
|
},
|
|
252059
|
-
"
|
|
252089
|
+
"94": {
|
|
252060
252090
|
start: {
|
|
252061
|
-
line:
|
|
252091
|
+
line: 535,
|
|
252062
252092
|
column: 25
|
|
252063
252093
|
},
|
|
252064
252094
|
end: {
|
|
252065
|
-
line:
|
|
252095
|
+
line: 535,
|
|
252066
252096
|
column: 52
|
|
252067
252097
|
}
|
|
252068
252098
|
},
|
|
252069
|
-
"
|
|
252099
|
+
"95": {
|
|
252070
252100
|
start: {
|
|
252071
|
-
line:
|
|
252101
|
+
line: 536,
|
|
252072
252102
|
column: 24
|
|
252073
252103
|
},
|
|
252074
252104
|
end: {
|
|
252075
|
-
line:
|
|
252105
|
+
line: 536,
|
|
252076
252106
|
column: 44
|
|
252077
252107
|
}
|
|
252078
252108
|
},
|
|
252079
|
-
"
|
|
252109
|
+
"96": {
|
|
252080
252110
|
start: {
|
|
252081
|
-
line:
|
|
252111
|
+
line: 537,
|
|
252082
252112
|
column: 22
|
|
252083
252113
|
},
|
|
252084
252114
|
end: {
|
|
252085
|
-
line:
|
|
252115
|
+
line: 537,
|
|
252086
252116
|
column: 45
|
|
252087
252117
|
}
|
|
252088
252118
|
},
|
|
252089
|
-
"
|
|
252119
|
+
"97": {
|
|
252090
252120
|
start: {
|
|
252091
|
-
line:
|
|
252121
|
+
line: 538,
|
|
252092
252122
|
column: 25
|
|
252093
252123
|
},
|
|
252094
252124
|
end: {
|
|
252095
|
-
line:
|
|
252125
|
+
line: 538,
|
|
252096
252126
|
column: 48
|
|
252097
252127
|
}
|
|
252098
252128
|
},
|
|
252099
|
-
"
|
|
252129
|
+
"98": {
|
|
252100
252130
|
start: {
|
|
252101
|
-
line:
|
|
252131
|
+
line: 539,
|
|
252102
252132
|
column: 27
|
|
252103
252133
|
},
|
|
252104
252134
|
end: {
|
|
252105
|
-
line:
|
|
252135
|
+
line: 539,
|
|
252106
252136
|
column: 60
|
|
252107
252137
|
}
|
|
252108
252138
|
},
|
|
252109
|
-
"
|
|
252139
|
+
"99": {
|
|
252110
252140
|
start: {
|
|
252111
|
-
line:
|
|
252141
|
+
line: 540,
|
|
252112
252142
|
column: 6
|
|
252113
252143
|
},
|
|
252114
252144
|
end: {
|
|
252115
|
-
line:
|
|
252145
|
+
line: 540,
|
|
252116
252146
|
column: 66
|
|
252117
252147
|
}
|
|
252118
252148
|
},
|
|
252119
|
-
"
|
|
252149
|
+
"100": {
|
|
252120
252150
|
start: {
|
|
252121
|
-
line:
|
|
252151
|
+
line: 543,
|
|
252122
252152
|
column: 6
|
|
252123
252153
|
},
|
|
252124
252154
|
end: {
|
|
252125
|
-
line:
|
|
252155
|
+
line: 545,
|
|
252126
252156
|
column: 8
|
|
252127
252157
|
}
|
|
252128
252158
|
},
|
|
252129
|
-
"
|
|
252159
|
+
"101": {
|
|
252130
252160
|
start: {
|
|
252131
|
-
line:
|
|
252161
|
+
line: 548,
|
|
252132
252162
|
column: 20
|
|
252133
252163
|
},
|
|
252134
252164
|
end: {
|
|
252135
|
-
line:
|
|
252165
|
+
line: 548,
|
|
252136
252166
|
column: 46
|
|
252137
252167
|
}
|
|
252138
252168
|
},
|
|
252139
|
-
"
|
|
252169
|
+
"102": {
|
|
252140
252170
|
start: {
|
|
252141
|
-
line:
|
|
252171
|
+
line: 549,
|
|
252142
252172
|
column: 6
|
|
252143
252173
|
},
|
|
252144
252174
|
end: {
|
|
252145
|
-
line:
|
|
252175
|
+
line: 553,
|
|
252146
252176
|
column: 7
|
|
252147
252177
|
}
|
|
252148
252178
|
},
|
|
252149
|
-
"
|
|
252179
|
+
"103": {
|
|
252150
252180
|
start: {
|
|
252151
|
-
line:
|
|
252181
|
+
line: 550,
|
|
252152
252182
|
column: 8
|
|
252153
252183
|
},
|
|
252154
252184
|
end: {
|
|
252155
|
-
line:
|
|
252185
|
+
line: 550,
|
|
252156
252186
|
column: 65
|
|
252157
252187
|
}
|
|
252158
252188
|
},
|
|
252159
|
-
"
|
|
252189
|
+
"104": {
|
|
252160
252190
|
start: {
|
|
252161
|
-
line:
|
|
252191
|
+
line: 552,
|
|
252162
252192
|
column: 8
|
|
252163
252193
|
},
|
|
252164
252194
|
end: {
|
|
252165
|
-
line:
|
|
252195
|
+
line: 552,
|
|
252166
252196
|
column: 20
|
|
252167
252197
|
}
|
|
252168
252198
|
}
|
|
@@ -252690,7 +252720,7 @@ var cov_d7x60homs = function () {
|
|
|
252690
252720
|
column: 25
|
|
252691
252721
|
},
|
|
252692
252722
|
end: {
|
|
252693
|
-
line:
|
|
252723
|
+
line: 527,
|
|
252694
252724
|
column: 5
|
|
252695
252725
|
}
|
|
252696
252726
|
},
|
|
@@ -252772,145 +252802,145 @@ var cov_d7x60homs = function () {
|
|
|
252772
252802
|
name: "(anonymous_25)",
|
|
252773
252803
|
decl: {
|
|
252774
252804
|
start: {
|
|
252775
|
-
line:
|
|
252805
|
+
line: 512,
|
|
252776
252806
|
column: 32
|
|
252777
252807
|
},
|
|
252778
252808
|
end: {
|
|
252779
|
-
line:
|
|
252809
|
+
line: 512,
|
|
252780
252810
|
column: 33
|
|
252781
252811
|
}
|
|
252782
252812
|
},
|
|
252783
252813
|
loc: {
|
|
252784
252814
|
start: {
|
|
252785
|
-
line:
|
|
252786
|
-
column:
|
|
252815
|
+
line: 512,
|
|
252816
|
+
column: 48
|
|
252787
252817
|
},
|
|
252788
252818
|
end: {
|
|
252789
|
-
line:
|
|
252819
|
+
line: 521,
|
|
252790
252820
|
column: 11
|
|
252791
252821
|
}
|
|
252792
252822
|
},
|
|
252793
|
-
line:
|
|
252823
|
+
line: 512
|
|
252794
252824
|
},
|
|
252795
252825
|
"26": {
|
|
252796
252826
|
name: "(anonymous_26)",
|
|
252797
252827
|
decl: {
|
|
252798
252828
|
start: {
|
|
252799
|
-
line:
|
|
252829
|
+
line: 517,
|
|
252800
252830
|
column: 23
|
|
252801
252831
|
},
|
|
252802
252832
|
end: {
|
|
252803
|
-
line:
|
|
252833
|
+
line: 517,
|
|
252804
252834
|
column: 24
|
|
252805
252835
|
}
|
|
252806
252836
|
},
|
|
252807
252837
|
loc: {
|
|
252808
252838
|
start: {
|
|
252809
|
-
line:
|
|
252839
|
+
line: 517,
|
|
252810
252840
|
column: 41
|
|
252811
252841
|
},
|
|
252812
252842
|
end: {
|
|
252813
|
-
line:
|
|
252843
|
+
line: 519,
|
|
252814
252844
|
column: 15
|
|
252815
252845
|
}
|
|
252816
252846
|
},
|
|
252817
|
-
line:
|
|
252847
|
+
line: 517
|
|
252818
252848
|
},
|
|
252819
252849
|
"27": {
|
|
252820
252850
|
name: "(anonymous_27)",
|
|
252821
252851
|
decl: {
|
|
252822
252852
|
start: {
|
|
252823
|
-
line:
|
|
252853
|
+
line: 528,
|
|
252824
252854
|
column: 4
|
|
252825
252855
|
},
|
|
252826
252856
|
end: {
|
|
252827
|
-
line:
|
|
252857
|
+
line: 528,
|
|
252828
252858
|
column: 5
|
|
252829
252859
|
}
|
|
252830
252860
|
},
|
|
252831
252861
|
loc: {
|
|
252832
252862
|
start: {
|
|
252833
|
-
line:
|
|
252863
|
+
line: 528,
|
|
252834
252864
|
column: 21
|
|
252835
252865
|
},
|
|
252836
252866
|
end: {
|
|
252837
|
-
line:
|
|
252867
|
+
line: 533,
|
|
252838
252868
|
column: 5
|
|
252839
252869
|
}
|
|
252840
252870
|
},
|
|
252841
|
-
line:
|
|
252871
|
+
line: 528
|
|
252842
252872
|
},
|
|
252843
252873
|
"28": {
|
|
252844
252874
|
name: "(anonymous_28)",
|
|
252845
252875
|
decl: {
|
|
252846
252876
|
start: {
|
|
252847
|
-
line:
|
|
252877
|
+
line: 534,
|
|
252848
252878
|
column: 4
|
|
252849
252879
|
},
|
|
252850
252880
|
end: {
|
|
252851
|
-
line:
|
|
252881
|
+
line: 534,
|
|
252852
252882
|
column: 5
|
|
252853
252883
|
}
|
|
252854
252884
|
},
|
|
252855
252885
|
loc: {
|
|
252856
252886
|
start: {
|
|
252857
|
-
line:
|
|
252887
|
+
line: 534,
|
|
252858
252888
|
column: 22
|
|
252859
252889
|
},
|
|
252860
252890
|
end: {
|
|
252861
|
-
line:
|
|
252891
|
+
line: 541,
|
|
252862
252892
|
column: 5
|
|
252863
252893
|
}
|
|
252864
252894
|
},
|
|
252865
|
-
line:
|
|
252895
|
+
line: 534
|
|
252866
252896
|
},
|
|
252867
252897
|
"29": {
|
|
252868
252898
|
name: "(anonymous_29)",
|
|
252869
252899
|
decl: {
|
|
252870
252900
|
start: {
|
|
252871
|
-
line:
|
|
252901
|
+
line: 542,
|
|
252872
252902
|
column: 4
|
|
252873
252903
|
},
|
|
252874
252904
|
end: {
|
|
252875
|
-
line:
|
|
252905
|
+
line: 542,
|
|
252876
252906
|
column: 5
|
|
252877
252907
|
}
|
|
252878
252908
|
},
|
|
252879
252909
|
loc: {
|
|
252880
252910
|
start: {
|
|
252881
|
-
line:
|
|
252911
|
+
line: 542,
|
|
252882
252912
|
column: 23
|
|
252883
252913
|
},
|
|
252884
252914
|
end: {
|
|
252885
|
-
line:
|
|
252915
|
+
line: 546,
|
|
252886
252916
|
column: 5
|
|
252887
252917
|
}
|
|
252888
252918
|
},
|
|
252889
|
-
line:
|
|
252919
|
+
line: 542
|
|
252890
252920
|
},
|
|
252891
252921
|
"30": {
|
|
252892
252922
|
name: "(anonymous_30)",
|
|
252893
252923
|
decl: {
|
|
252894
252924
|
start: {
|
|
252895
|
-
line:
|
|
252925
|
+
line: 547,
|
|
252896
252926
|
column: 4
|
|
252897
252927
|
},
|
|
252898
252928
|
end: {
|
|
252899
|
-
line:
|
|
252929
|
+
line: 547,
|
|
252900
252930
|
column: 5
|
|
252901
252931
|
}
|
|
252902
252932
|
},
|
|
252903
252933
|
loc: {
|
|
252904
252934
|
start: {
|
|
252905
|
-
line:
|
|
252935
|
+
line: 547,
|
|
252906
252936
|
column: 24
|
|
252907
252937
|
},
|
|
252908
252938
|
end: {
|
|
252909
|
-
line:
|
|
252939
|
+
line: 554,
|
|
252910
252940
|
column: 5
|
|
252911
252941
|
}
|
|
252912
252942
|
},
|
|
252913
|
-
line:
|
|
252943
|
+
line: 547
|
|
252914
252944
|
}
|
|
252915
252945
|
},
|
|
252916
252946
|
branchMap: {
|
|
@@ -254048,176 +254078,176 @@ var cov_d7x60homs = function () {
|
|
|
254048
254078
|
"34": {
|
|
254049
254079
|
loc: {
|
|
254050
254080
|
start: {
|
|
254051
|
-
line:
|
|
254081
|
+
line: 511,
|
|
254052
254082
|
column: 22
|
|
254053
254083
|
},
|
|
254054
254084
|
end: {
|
|
254055
|
-
line:
|
|
254085
|
+
line: 522,
|
|
254056
254086
|
column: 12
|
|
254057
254087
|
}
|
|
254058
254088
|
},
|
|
254059
254089
|
type: "cond-expr",
|
|
254060
254090
|
locations: [{
|
|
254061
254091
|
start: {
|
|
254062
|
-
line:
|
|
254092
|
+
line: 512,
|
|
254063
254093
|
column: 10
|
|
254064
254094
|
},
|
|
254065
254095
|
end: {
|
|
254066
|
-
line:
|
|
254096
|
+
line: 521,
|
|
254067
254097
|
column: 12
|
|
254068
254098
|
}
|
|
254069
254099
|
}, {
|
|
254070
254100
|
start: {
|
|
254071
|
-
line:
|
|
254101
|
+
line: 522,
|
|
254072
254102
|
column: 10
|
|
254073
254103
|
},
|
|
254074
254104
|
end: {
|
|
254075
|
-
line:
|
|
254105
|
+
line: 522,
|
|
254076
254106
|
column: 12
|
|
254077
254107
|
}
|
|
254078
254108
|
}],
|
|
254079
|
-
line:
|
|
254109
|
+
line: 511
|
|
254080
254110
|
},
|
|
254081
254111
|
"35": {
|
|
254082
254112
|
loc: {
|
|
254083
254113
|
start: {
|
|
254084
|
-
line:
|
|
254114
|
+
line: 524,
|
|
254085
254115
|
column: 6
|
|
254086
254116
|
},
|
|
254087
254117
|
end: {
|
|
254088
|
-
line:
|
|
254118
|
+
line: 526,
|
|
254089
254119
|
column: 7
|
|
254090
254120
|
}
|
|
254091
254121
|
},
|
|
254092
254122
|
type: "if",
|
|
254093
254123
|
locations: [{
|
|
254094
254124
|
start: {
|
|
254095
|
-
line:
|
|
254125
|
+
line: 524,
|
|
254096
254126
|
column: 6
|
|
254097
254127
|
},
|
|
254098
254128
|
end: {
|
|
254099
|
-
line:
|
|
254129
|
+
line: 526,
|
|
254100
254130
|
column: 7
|
|
254101
254131
|
}
|
|
254102
254132
|
}, {
|
|
254103
254133
|
start: {
|
|
254104
|
-
line:
|
|
254134
|
+
line: 524,
|
|
254105
254135
|
column: 6
|
|
254106
254136
|
},
|
|
254107
254137
|
end: {
|
|
254108
|
-
line:
|
|
254138
|
+
line: 526,
|
|
254109
254139
|
column: 7
|
|
254110
254140
|
}
|
|
254111
254141
|
}],
|
|
254112
|
-
line:
|
|
254142
|
+
line: 524
|
|
254113
254143
|
},
|
|
254114
254144
|
"36": {
|
|
254115
254145
|
loc: {
|
|
254116
254146
|
start: {
|
|
254117
|
-
line:
|
|
254147
|
+
line: 524,
|
|
254118
254148
|
column: 10
|
|
254119
254149
|
},
|
|
254120
254150
|
end: {
|
|
254121
|
-
line:
|
|
254151
|
+
line: 524,
|
|
254122
254152
|
column: 54
|
|
254123
254153
|
}
|
|
254124
254154
|
},
|
|
254125
254155
|
type: "binary-expr",
|
|
254126
254156
|
locations: [{
|
|
254127
254157
|
start: {
|
|
254128
|
-
line:
|
|
254158
|
+
line: 524,
|
|
254129
254159
|
column: 10
|
|
254130
254160
|
},
|
|
254131
254161
|
end: {
|
|
254132
|
-
line:
|
|
254162
|
+
line: 524,
|
|
254133
254163
|
column: 16
|
|
254134
254164
|
}
|
|
254135
254165
|
}, {
|
|
254136
254166
|
start: {
|
|
254137
|
-
line:
|
|
254167
|
+
line: 524,
|
|
254138
254168
|
column: 21
|
|
254139
254169
|
},
|
|
254140
254170
|
end: {
|
|
254141
|
-
line:
|
|
254171
|
+
line: 524,
|
|
254142
254172
|
column: 26
|
|
254143
254173
|
}
|
|
254144
254174
|
}, {
|
|
254145
254175
|
start: {
|
|
254146
|
-
line:
|
|
254176
|
+
line: 524,
|
|
254147
254177
|
column: 30
|
|
254148
254178
|
},
|
|
254149
254179
|
end: {
|
|
254150
|
-
line:
|
|
254180
|
+
line: 524,
|
|
254151
254181
|
column: 53
|
|
254152
254182
|
}
|
|
254153
254183
|
}],
|
|
254154
|
-
line:
|
|
254184
|
+
line: 524
|
|
254155
254185
|
},
|
|
254156
254186
|
"37": {
|
|
254157
254187
|
loc: {
|
|
254158
254188
|
start: {
|
|
254159
|
-
line:
|
|
254189
|
+
line: 540,
|
|
254160
254190
|
column: 30
|
|
254161
254191
|
},
|
|
254162
254192
|
end: {
|
|
254163
|
-
line:
|
|
254193
|
+
line: 540,
|
|
254164
254194
|
column: 66
|
|
254165
254195
|
}
|
|
254166
254196
|
},
|
|
254167
254197
|
type: "binary-expr",
|
|
254168
254198
|
locations: [{
|
|
254169
254199
|
start: {
|
|
254170
|
-
line:
|
|
254200
|
+
line: 540,
|
|
254171
254201
|
column: 30
|
|
254172
254202
|
},
|
|
254173
254203
|
end: {
|
|
254174
|
-
line:
|
|
254204
|
+
line: 540,
|
|
254175
254205
|
column: 42
|
|
254176
254206
|
}
|
|
254177
254207
|
}, {
|
|
254178
254208
|
start: {
|
|
254179
|
-
line:
|
|
254209
|
+
line: 540,
|
|
254180
254210
|
column: 46
|
|
254181
254211
|
},
|
|
254182
254212
|
end: {
|
|
254183
|
-
line:
|
|
254213
|
+
line: 540,
|
|
254184
254214
|
column: 66
|
|
254185
254215
|
}
|
|
254186
254216
|
}],
|
|
254187
|
-
line:
|
|
254217
|
+
line: 540
|
|
254188
254218
|
},
|
|
254189
254219
|
"38": {
|
|
254190
254220
|
loc: {
|
|
254191
254221
|
start: {
|
|
254192
|
-
line:
|
|
254222
|
+
line: 549,
|
|
254193
254223
|
column: 6
|
|
254194
254224
|
},
|
|
254195
254225
|
end: {
|
|
254196
|
-
line:
|
|
254226
|
+
line: 553,
|
|
254197
254227
|
column: 7
|
|
254198
254228
|
}
|
|
254199
254229
|
},
|
|
254200
254230
|
type: "if",
|
|
254201
254231
|
locations: [{
|
|
254202
254232
|
start: {
|
|
254203
|
-
line:
|
|
254233
|
+
line: 549,
|
|
254204
254234
|
column: 6
|
|
254205
254235
|
},
|
|
254206
254236
|
end: {
|
|
254207
|
-
line:
|
|
254237
|
+
line: 553,
|
|
254208
254238
|
column: 7
|
|
254209
254239
|
}
|
|
254210
254240
|
}, {
|
|
254211
254241
|
start: {
|
|
254212
|
-
line:
|
|
254242
|
+
line: 549,
|
|
254213
254243
|
column: 6
|
|
254214
254244
|
},
|
|
254215
254245
|
end: {
|
|
254216
|
-
line:
|
|
254246
|
+
line: 553,
|
|
254217
254247
|
column: 7
|
|
254218
254248
|
}
|
|
254219
254249
|
}],
|
|
254220
|
-
line:
|
|
254250
|
+
line: 549
|
|
254221
254251
|
}
|
|
254222
254252
|
},
|
|
254223
254253
|
s: {
|
|
@@ -254322,7 +254352,10 @@ var cov_d7x60homs = function () {
|
|
|
254322
254352
|
"98": 0,
|
|
254323
254353
|
"99": 0,
|
|
254324
254354
|
"100": 0,
|
|
254325
|
-
"101": 0
|
|
254355
|
+
"101": 0,
|
|
254356
|
+
"102": 0,
|
|
254357
|
+
"103": 0,
|
|
254358
|
+
"104": 0
|
|
254326
254359
|
},
|
|
254327
254360
|
f: {
|
|
254328
254361
|
"0": 0,
|
|
@@ -254402,13 +254435,13 @@ var cov_d7x60homs = function () {
|
|
|
254402
254435
|
version: 3,
|
|
254403
254436
|
sources: ["ResultsGallery.vue"],
|
|
254404
254437
|
names: [],
|
|
254405
|
-
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",
|
|
254438
|
+
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",
|
|
254406
254439
|
file: "ResultsGallery.vue",
|
|
254407
254440
|
sourceRoot: "src/components/analyses",
|
|
254408
|
-
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"]
|
|
254441
|
+
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"]
|
|
254409
254442
|
},
|
|
254410
254443
|
_coverageSchema: "43e27e138ebf9cfc5966b082cf9a028302ed4184",
|
|
254411
|
-
hash: "
|
|
254444
|
+
hash: "a7a0e9116789c5e096ee66495ebce623be882864"
|
|
254412
254445
|
};
|
|
254413
254446
|
var coverage = global[gcv] || (global[gcv] = {});
|
|
254414
254447
|
|
|
@@ -255153,23 +255186,36 @@ function ResultsGalleryvue_type_script_lang_js_defineProperty(obj, key, value) {
|
|
|
255153
255186
|
};
|
|
255154
255187
|
})) : (cov_d7x60homs.b[33][1]++, []);
|
|
255155
255188
|
cov_d7x60homs.s[80]++;
|
|
255156
|
-
|
|
255189
|
+
console.log('before', this.tsvHeaders);
|
|
255190
|
+
cov_d7x60homs.s[81]++;
|
|
255191
|
+
this.tsvHeaders.unshift({
|
|
255192
|
+
text: 1,
|
|
255193
|
+
value: 'index',
|
|
255194
|
+
sortable: this.streamOptions.end,
|
|
255195
|
+
align: 'end'
|
|
255196
|
+
});
|
|
255197
|
+
cov_d7x60homs.s[82]++;
|
|
255198
|
+
console.log('after', this.tsvHeaders);
|
|
255199
|
+
cov_d7x60homs.s[83]++;
|
|
255200
|
+
this.tsvItems = dataRows.length ? (cov_d7x60homs.b[34][0]++, dataRows.slice(1).map(function (row, index) {
|
|
255157
255201
|
cov_d7x60homs.f[25]++;
|
|
255158
|
-
var dictRow = (cov_d7x60homs.s[
|
|
255159
|
-
|
|
255202
|
+
var dictRow = (cov_d7x60homs.s[84]++, {
|
|
255203
|
+
index: index + 2
|
|
255204
|
+
});
|
|
255205
|
+
cov_d7x60homs.s[85]++;
|
|
255160
255206
|
row.trim().split('\t').forEach(function (value, index) {
|
|
255161
255207
|
cov_d7x60homs.f[26]++;
|
|
255162
|
-
cov_d7x60homs.s[
|
|
255208
|
+
cov_d7x60homs.s[86]++;
|
|
255163
255209
|
dictRow["index".concat(index)] = value;
|
|
255164
255210
|
});
|
|
255165
|
-
cov_d7x60homs.s[
|
|
255211
|
+
cov_d7x60homs.s[87]++;
|
|
255166
255212
|
return dictRow;
|
|
255167
255213
|
})) : (cov_d7x60homs.b[34][1]++, []);
|
|
255168
|
-
cov_d7x60homs.s[
|
|
255214
|
+
cov_d7x60homs.s[88]++;
|
|
255169
255215
|
|
|
255170
255216
|
if ((cov_d7x60homs.b[36][0]++, !isTsv) || (cov_d7x60homs.b[36][1]++, isTsv) && (cov_d7x60homs.b[36][2]++, !this.tsvHeaders.length)) {
|
|
255171
255217
|
cov_d7x60homs.b[35][0]++;
|
|
255172
|
-
cov_d7x60homs.s[
|
|
255218
|
+
cov_d7x60homs.s[89]++;
|
|
255173
255219
|
this.displayRawText = true;
|
|
255174
255220
|
} else {
|
|
255175
255221
|
cov_d7x60homs.b[35][1]++;
|
|
@@ -255177,43 +255223,43 @@ function ResultsGalleryvue_type_script_lang_js_defineProperty(obj, key, value) {
|
|
|
255177
255223
|
},
|
|
255178
255224
|
reverseContent: function reverseContent() {
|
|
255179
255225
|
cov_d7x60homs.f[27]++;
|
|
255180
|
-
var reverse = (cov_d7x60homs.s[
|
|
255181
|
-
cov_d7x60homs.s[
|
|
255226
|
+
var reverse = (cov_d7x60homs.s[90]++, this.streamOptions.reverse);
|
|
255227
|
+
cov_d7x60homs.s[91]++;
|
|
255182
255228
|
this.resetStreamEvents();
|
|
255183
|
-
cov_d7x60homs.s[
|
|
255229
|
+
cov_d7x60homs.s[92]++;
|
|
255184
255230
|
this.streamOptions.reverse = !reverse;
|
|
255185
|
-
cov_d7x60homs.s[
|
|
255231
|
+
cov_d7x60homs.s[93]++;
|
|
255186
255232
|
this.loadFileContents();
|
|
255187
255233
|
},
|
|
255188
255234
|
isBottomVisible: function isBottomVisible() {
|
|
255189
255235
|
cov_d7x60homs.f[28]++;
|
|
255190
|
-
var divElement = (cov_d7x60homs.s[
|
|
255191
|
-
var scrollTop = (cov_d7x60homs.s[
|
|
255192
|
-
var visible = (cov_d7x60homs.s[
|
|
255193
|
-
var pageHeight = (cov_d7x60homs.s[
|
|
255194
|
-
var bottomOfPage = (cov_d7x60homs.s[
|
|
255195
|
-
cov_d7x60homs.s[
|
|
255236
|
+
var divElement = (cov_d7x60homs.s[94]++, this.$refs[this.resultType]);
|
|
255237
|
+
var scrollTop = (cov_d7x60homs.s[95]++, divElement.scrollTop);
|
|
255238
|
+
var visible = (cov_d7x60homs.s[96]++, divElement.clientHeight);
|
|
255239
|
+
var pageHeight = (cov_d7x60homs.s[97]++, divElement.scrollHeight);
|
|
255240
|
+
var bottomOfPage = (cov_d7x60homs.s[98]++, visible + scrollTop >= pageHeight);
|
|
255241
|
+
cov_d7x60homs.s[99]++;
|
|
255196
255242
|
this.isBottomScrolled = (cov_d7x60homs.b[37][0]++, bottomOfPage) || (cov_d7x60homs.b[37][1]++, pageHeight < visible);
|
|
255197
255243
|
},
|
|
255198
255244
|
toggleFullScreen: function toggleFullScreen() {
|
|
255199
255245
|
cov_d7x60homs.f[29]++;
|
|
255200
|
-
cov_d7x60homs.s[
|
|
255246
|
+
cov_d7x60homs.s[100]++;
|
|
255201
255247
|
this.$store.dispatch(TOGGLE_RESULT_FULLSCREEN, {
|
|
255202
255248
|
value: !this.isResultModalFullScreen
|
|
255203
255249
|
});
|
|
255204
255250
|
},
|
|
255205
255251
|
parseTsvCell: function parseTsvCell(value) {
|
|
255206
255252
|
cov_d7x60homs.f[30]++;
|
|
255207
|
-
var pattern = (cov_d7x60homs.s[
|
|
255208
|
-
cov_d7x60homs.s[
|
|
255253
|
+
var pattern = (cov_d7x60homs.s[101]++, /^((http|https|ftp):\/\/)/);
|
|
255254
|
+
cov_d7x60homs.s[102]++;
|
|
255209
255255
|
|
|
255210
255256
|
if (pattern.test(value)) {
|
|
255211
255257
|
cov_d7x60homs.b[38][0]++;
|
|
255212
|
-
cov_d7x60homs.s[
|
|
255258
|
+
cov_d7x60homs.s[103]++;
|
|
255213
255259
|
return "<a href=\"".concat(value, "\" target=\"_blank\">Open link</a>");
|
|
255214
255260
|
} else {
|
|
255215
255261
|
cov_d7x60homs.b[38][1]++;
|
|
255216
|
-
cov_d7x60homs.s[
|
|
255262
|
+
cov_d7x60homs.s[104]++;
|
|
255217
255263
|
return value;
|
|
255218
255264
|
}
|
|
255219
255265
|
}
|
|
@@ -255235,8 +255281,8 @@ var ResultsGalleryvue_type_style_index_0_lang_scss_ = __webpack_require__("3942"
|
|
|
255235
255281
|
|
|
255236
255282
|
var ResultsGallery_component = normalizeComponent(
|
|
255237
255283
|
analyses_ResultsGalleryvue_type_script_lang_js_,
|
|
255238
|
-
|
|
255239
|
-
|
|
255284
|
+
ResultsGalleryvue_type_template_id_083d76b5_render,
|
|
255285
|
+
ResultsGalleryvue_type_template_id_083d76b5_staticRenderFns,
|
|
255240
255286
|
false,
|
|
255241
255287
|
null,
|
|
255242
255288
|
null,
|